UI tweaks and miscellaneous bugfixes.

LDP logo at 200x80
This commit is contained in:
david 2002-08-05 00:57:10 +00:00
parent 2ec500e36e
commit 18ab5a50ad
9 changed files with 22 additions and 22 deletions

View File

@ -12,7 +12,7 @@ insert([blklogo],
<table class="logo">
<tr>
<td valign="middle">
LOGO
<a href="|base|home|uri.lang_ext|" alt=="Home"><img src="|uri.base|images/ldp200x80.png" alt="LDP" height="80" width="200"></a>
</td>
</tr>
</table>
@ -45,7 +45,7 @@ insert([blkfooter],
<a href="http://www.python.org"><img src="|uri.base|images/PythonPowered.gif" alt="Python Powered!"></a>
<a href="http://www.opensource.org"><img src="http://www.opensource.org/trademarks/osi-certified/web/osi-certified-90x75.png" height=75 width=90 alt="OSI Certified"></a>
<a href="http://www.gnome.org"><img src="|uri.base|images/gnome2.png" height="48" width="48" alt="Gnome"></a>
<a href="http://www.tldp.org"><img src="|uri.base|images/ldp.gif" height="60" width="150" alt="TLDP"></a>
<a href="http://www.tldp.org"><img src="|uri.base|images/ldp200x80.png" height="60" width="133" alt="TLDP"></a>
<br>|strrender_time|: |elapsed_time|
</center>
])

View File

@ -19,7 +19,7 @@ insert([newdocument], [Dokument hinzuf
insert([users], [Liste der Benutzer], [],
[
|tabletters|
<p>|tabusers|
|tabusers|
], 1)
insert([sessions], [Benutzersitzungen], [],

View File

@ -16,7 +16,7 @@ insert([newdocument], [Add Document], [],
insert([users], [User List], [],
[
|tabletters|
<p>|tabusers|
|tabusers|
], 1)
insert([sessions], [User Sessions], [],
@ -33,13 +33,13 @@ insert([my], [My Home], [],
<p>|session_user_docs|</p>
], 1)
insert([home], [|strproject|], [Home],
insert([home], [|strprojectshort| Home Page], [Home],
[
<p>Welcome to |strproject|.
<p>Welcome to |strproject|.</p>
<p>This site is based on a development version of the
Lampadas Document Management System from
<a href="http://www.tldp.org">The Linux Documentation Project</a>
<a href="http://www.tldp.org">The Linux Documentation Project</a></p>
<p>This is <i><b>alpha quality</b></i> code, updated from the cvs tree
very frequently, whenever there are significant features or
@ -47,7 +47,7 @@ insert([home], [|strproject|], [Home],
This happens at least once a day and sometimes
several times a day.
The system is fairly stable, although some half-
implemented features will cause ugly error dumps.
implemented features will cause ugly error dumps.</p>
<p>This demo site is populated with data from the LDPDB.
If you had an account on the LDPDB, you have one here.
@ -55,12 +55,12 @@ insert([home], [|strproject|], [Home],
hashed form, I was unable to port them over, and you\'ve been
given a new password. To get it, click the "Mail Password"
link and your new password will be mailed to your address
of record.
of record.</p>
<p>There are also a set of additional test users.
Log in as one of them to see the site through their eyes.
The pages change depending on your access level.
These users\'passwords are "password".
These users\'passwords are "password".</p>
<ul>
<li>sysadmin - the SUPERUSER, who manages the system.</li>
@ -77,7 +77,7 @@ insert([home], [|strproject|], [Home],
project.
You can find out more about it by reading the
<a href="http://www.lupercalia.net/lampadas/">Lampadas Developer\'s
Guide</a>.
Guide</a>.</p>
], 1)
insert([doctable], [DocTable], [],

View File

@ -16,7 +16,7 @@ insert([newdocument], [Add Document], [],
insert([users], [User List], [],
[
|tabletters|
<p>|tabusers|
|tabusers|
], 1)
insert([sessions], [User Sessions], [],

View File

@ -20,8 +20,10 @@ insert(index,
<td class="sidebarleft">
|blklogo|
</td>
<td width="100%" colspan="2">
<td class="center" width="100%" colspan="2">
|blkheader|
</td>
<td>
</td>
</tr>
<tr>
@ -31,7 +33,7 @@ insert(index,
<p>|navtypes|
<p>|navlanguages|
</td>
<td class="body" width="100%" valign="top">
<td class="center body" width="100%" valign="top">
|body|
</td>
<td class="sidebarright" valign="top">
@ -60,7 +62,7 @@ insert(default,
<td class="sidebarleft">
|blklogo|
</td>
<td width="100%">
<td class="center" width="100%">
|blkheader|
</td>
</tr>
@ -71,12 +73,12 @@ insert(default,
<p>|navtypes|
<p>|navlanguages|
</td>
<td class="body" width="100%" valign="top">
<td class="center body" width="100%" valign="top">
|body|
</td>
</tr>
<tr>
<td>
<td colspan="2">
|blkfooter|
</td>
</tr>

View File

@ -143,8 +143,6 @@ class PageFactory:
if config.port > '':
newstring = newstring + ':' + config.port
newstring = newstring + config.root_dir
if uri.force_lang:
newstring = newstring + uri.lang + '/'
# Meta-data from the page's URL
elif token=='uri.lang_ext':

View File

@ -541,7 +541,7 @@ class Tables:
def letters(self, uri):
log(3, 'Creating letter table')
box = '<table class="box" width="100%"><tr>\n'
box = '<table class="tab"><tr>\n'
for letter in string.uppercase:
if letter==uri.letter:
box = box + '<td>' + letter + '</td>\n'
@ -1114,7 +1114,7 @@ class Tables:
"""
log(3, 'Creating tabslashlanguages table')
box = WOStringIO('<p class="hide"><div class="map">\n' \
'<p id="p1">|strprojectshort|</p>\n')
'<p id="p1">|strproject|</p>\n')
id = 1
langkeys = lampadas.languages.keys()
for langkey in langkeys:

View File

@ -251,7 +251,7 @@ DIV.map {
margin: 0;
padding: 10;
background-color: #bbccee;
font: bold 64pt "Georgia", serif;
font: bold 24pt "Georgia", serif;
}
#p2, #p2 A, #p3, #p3 A, #p4, #p4 A, #p5, #p5 A, #p6, #p6 A, #p7, #p7 A, #p8, #p8 A, #p9, #p9 A, #p10, #p10 A {

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB