From d07bc7435bf2d6ddbbfe60539744ab7420e7f113 Mon Sep 17 00:00:00 2001 From: Bernie Innocenti Date: Tue, 12 Oct 2010 09:33:07 -0400 Subject: [PATCH] Simplify page editor --- sys/EditPage | 8 ++++---- sys/geekigeeki.css | 31 ++++++++++++++++++++++--------- sys/macros/CgiVar.py | 2 +- 3 files changed, 27 insertions(+), 14 deletions(-) diff --git a/sys/EditPage b/sys/EditPage index a6deb5e..47ab7d1 100644 --- a/sys/EditPage +++ b/sys/EditPage @@ -1,12 +1,12 @@ -**Editing <> for <> from <>** +Editing **<>** for **<>** from **<>**:
-
+ - + \\ - +  \\ diff --git a/sys/geekigeeki.css b/sys/geekigeeki.css index 2776738..f061a4f 100644 --- a/sys/geekigeeki.css +++ b/sys/geekigeeki.css @@ -15,7 +15,10 @@ body { a { color: #1010FF; } a:visited { color: #501080; } a.nonexistent { color: #D04040; } -a.navlink { color: #000088; font-size: smaller; font-weight: bold} +a.navlink, a.login { font-size: smaller; font-weight: bold; text-decoration: none; } +a.navlink:hover, a.login:hover { text-decoration: underline; } +a.navlink { color: #000088; } +a.login { color: #bb0000; } a.external { font-style: italic; } a.heading { text-decoration: none; color: #aaaaaa; font-size: smaller; } @@ -167,7 +170,7 @@ div.nav { background-color: #aaccee;*/ border-color: #888888; background-color: #cccccc; - border-style: solid; + border-style: solid border-top-width: 0px; border-bottom-width: 2px; border-left-width: 0px; @@ -182,13 +185,22 @@ div.nav { margin-right: 0px; } -.nav hr { - display: none; +.nav li { + display: inline; } -.nav .login { - font-size: small; - color: red; +.nav ul +{ + list-style-type: none; + margin: 0; + padding: 0; + padding-top: 6px; + padding-bottom: 6px; +} + + +.nav hr { + display: none; } #footer div { @@ -337,13 +349,14 @@ pre.notice { margin: 0px; } -#editor { +.editor input[type='text'], .editor textarea { font-family: monospace; - width: 100%; color: black; background-color: white; border: 1px solid #8cacbb; } +.editor textarea.editor { width: 100%; } +.editor input.changelog { width: 50%; } /* thumbnails */ diff --git a/sys/macros/CgiVar.py b/sys/macros/CgiVar.py index 2f0797a..807662c 100644 --- a/sys/macros/CgiVar.py +++ b/sys/macros/CgiVar.py @@ -10,5 +10,5 @@ def _macro_CgiVar(*args, **kvargs): 'REMOTE_USER': remote_user(), 'REMOTE_HOST': get_hostname(remote_host()), 'REMOTE_ADDR': remote_host(), - 'QUERY_STRING': relative_url(query_string()), + 'QUERY_STRING': query_string(), }[args[1]] -- 2.25.1