Update homepage and its assets.

This commit is contained in:
Krytarik Raido 2020-10-28 02:04:04 +01:00
parent d62334ed7c
commit 83434d4373
5 changed files with 108 additions and 46 deletions

View File

@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Ubottu factoids</title>
@ -52,7 +52,7 @@
</p>
<form action="factoids.cgi" method="GET">
<input class="input" type="text" name="search" />
<input class="input" type="submit" value="Search">
<input class="submit" type="submit" value="Search">
</form>
<p>
%s

85
bot.css
View File

@ -1,40 +1,45 @@
body {
font-family: verdana, sans;
font-weight: bold;
background-color: #eeeeee;
color: #000066;
font-family: Verdana, sans-serif;
font-size: 10px;
font-weight: bold;
background-color: #f0f8ff;
color: #000066;
}
tbody {
font-weight: normal;
}
div.home {
margin: 20px auto;
width: 300px;
border: 2px solid #000066;
margin: 20px auto;
padding: 0px 10px;
border: 2px solid #000066;
background-color: #ffffff;
text-align: center;
}
#about h1 img {
vertical-align: middle;
}
.submit {
font-size: 10px;
border: solid 1px #000066;
color: #000066;
font-weight: bold;
background-color: #eeeeee;
border: solid 1px #000066;
background-color: #f0f8ff;
color: #000066;
}
.input {
font-size: 10px;
border: solid 1px #000066;
color: #000066;
font-weight: bold;
border: solid 1px #000066;
background-color: white;
color: #000066;
}
th {
border-bottom: solid 1px #000066;
text-align: center;
}
td,th {
td, th {
font-size: 10px;
text-align: left;
vertical-align: top;
@ -43,52 +48,90 @@ 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 #000066;
padding: 0px;
border: 2px solid #000066;
background-color: #ffffff;
text-align: center;
}
div.pdata {
float: right;
text-align: right;
padding-right: 10px;
float: right;
}
div.search {
float: left;
text-align: left;
padding-left: 10px;
}
a, span.pseudolink {
color: #0000ff;
text-decoration: underline;
cursor: pointer;
}
a.disabled {
text-decoration: line-through;
}
span.removal {
color: #6699cc;
}
tr.bg2 {
background-color: #eeeeee;
span.note {
font-size: 75%;
font-weight: normal;
vertical-align: sub;
}
tr.bg2 {
background-color: #f0f8ff;
}
div.invisible {
display: none;
}
div.log {
width: 100%;
display: none;
color: black;
width: 100%;
font-family: monospace;
font-weight: normal;
white-space: normal;
text-align: left;
font-weight: normal;
clear: both;
padding-top: 1em;
}
.highlight {
background-color: yellow;
}
.errors {
font-size: larger;
font-weight: bold;
text-align: center;
vertical-align: middle;
text-decoration: underline;
}
a > img {
border: 0;
}
.small-banner {
width: 140px;
height: 41px;
}

BIN
bot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 880 B

View File

@ -1,33 +1,52 @@
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" />
<title>Ubottu</title>
<link rel="stylesheet" href="bot.css" />
<link rel="shortcut icon" href="favicon.ico" type="image/png" />
</head>
<body>
<div class="home">
<h1>Ubugtu &amp; Ubotu <img src="xchat.png" alt="Hi!" /></h1>
<p>
This is the home of the Ubottu bot which you can find in various
Ubuntu channels on the Freenode network. If you want him to join your
channel ask in #ubuntu-ops
</p>
<h1>Plugins</h1>
<p>
The home grown plugins used by these bots can be found in the bzr branch
located at <a href="https://code.edge.launchpad.net/ubuntu-bots/">Launchpad</a>
</p>
<p>
Bugs and feature requests can be filed at <a
href="http://bugs.launchpad.net/ubuntu-bots">launchpad.net</a>
</p>
<h1>Web interface</h1>
<p><a href="timezones.html">Timezones</a></p>
<!--- <p><a href="bans.cgi">The bantracker</a></p> --->
<p><a href="factoids.cgi">Factoid database</a></p>
<h1>Raw data</h1>
<p><a href="ubuntu.db">Ubuntu database</a></p>
<p>&copy;2006-2007 Dennis Kaarsemaker</p>
<div id="about">
<h1>Ubottu <img src="bot.png" alt="Hi!" /></h1>
<p>
This is the home of the Ubottu bot which you can find in various
Ubuntu channels on the <a href="https://freenode.net/">freenode</a> network.
If you want her to join your Ubuntu channel, ask in
<a href="ircs://chat.freenode.net/ubuntu-irc">#ubuntu-irc</a>
</p>
</div>
<div id="plugins">
<h2>Plugins</h2>
<p>
The bot is powered by <a href="https://limnoria.net/">Limnoria</a>,
and the homegrown plugins used by it can be found at
<a href="https://launchpad.net/ubuntu-bots">Launchpad</a>,
where also bug reports and feature requests can be filed.
</p>
</div>
<div id="web">
<h2>Web interface</h2>
<p>
<a href="factoids.cgi">Factoid database</a>
</p>
</div>
<div id="raw">
<h2>Raw data</h2>
<p>
<a href="ubuntu.db">Ubuntu database</a>
</p>
</div>
<div id="footer" class="footer">
<p>
&copy;2020 Krytarik Raido<br/>
&copy;2015-2019 Benjamin Rubin<br/>
&copy;2008-2015 Terence Simpson<br />
&copy;2006-2007 Dennis Kaarsemaker
</p>
</div>
</div>
</body>
</html>