ubuntu-bots/Encyclopedia/factoids.tmpl

135 lines
2.3 KiB
Cheetah

<html>
<head>
<title>Ubotu factoids</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<style type="text/css">
body {
font-family: verdana, sans;
font-weight: bold;
background-color: #d9bb7a;
color: #980101;
font-size: 10px;
}
.submit {
font-size: 10px;
border: solid 1px #980101;
color: #980101;
font-weight: bold;
background-color: #fdff99;
}
.input {
font-size: 10px;
border: solid 1px #980101;
color: #980101;
font-weight: bold;
background-color: white;
}
th {
font-size: 10px;
border-bottom: solid 1px #980101;
text-align: center;
}
td,th {
font-size: 10px;
text-align: left;
vertical-align: top;
}
td.comment {
white-space: normal;
padding-left: 20px;
}
li {
list-style: none;
}
table {
width: 100%%;
padding-top: 1em;
clear: both;
}
div.main {
margin: 20px;
border: 2px solid #980101;
padding: 0px;
background-color: #fdd99b;
text-align: center;
}
div.pdata {
text-align: right;
padding-right: 10px;
float: right;
}
div.search {
float: left;
text-align: left;
padding-left: 10px;
}
a, span.pseudolink {
color: #d40000;
text-decoration: underline;
cursor: pointer;
}
span.removal {
color: #6699cc;
}
tr.bg2 {
background-color: #fdff99;
}
div.invisible {
display: none;
}
div.log {
display: none;
color: black;
width: 100%%;
font-family: monospace;
white-space: normal;
}
</style>
<script type="text/javascript">
var DHTML = (document.getElementById || document.all || document.layers);
function getObj(name) {
if (document.getElementById) {
this.obj = document.getElementById(name);
this.style = document.getElementById(name).style;
}
else if (document.all) {
this.obj = document.all[name];
this.style = document.all[name].style;
}
else if (document.layers) {
this.obj = document.layers[name];
this.style = document.layers[name];
}
}
function toggle(item,prefix) {
var c = new getObj(prefix + '_' + item);
if ( c.style.display == 'inline' ) {
c.style.display = 'none';
}
else {
if ( !c.innerHTML && prefix == 'log' ) {
loadlog(item);
}
else {
c.style.display = 'inline';
}
}
}
</script>
<body>
<div class="main">
<h1>Ubotu factoids</h1>
<p>
%s
</p>
<p>
&copy;2006 Dennis Kaarsemaker
</p>
</div>
</body>
</html>