aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArturo FilastoĢ€ <hellais@torproject.org>2011-08-17 18:20:48 +0200
committerArturo FilastoĢ€ <hellais@torproject.org>2011-08-17 18:20:48 +0200
commit1908a9a1966f67313a2afe3aefab33768cf8dce8 (patch)
tree0c85c9d6e892ffd4be540034892af6648c51a2f3
parent525766e515148f9da5e78d39d1905264a4d14bad (diff)
downloadtorouter-1908a9a1966f67313a2afe3aefab33768cf8dce8.tar.gz
torouter-1908a9a1966f67313a2afe3aefab33768cf8dce8.zip
Add style to sub-menus
-rw-r--r--packages/torouter-web/static/main.css5
-rw-r--r--packages/torouter-web/tui/controllers/network.py4
2 files changed, 7 insertions, 2 deletions
diff --git a/packages/torouter-web/static/main.css b/packages/torouter-web/static/main.css
index 34e26cf..7277912 100644
--- a/packages/torouter-web/static/main.css
+++ b/packages/torouter-web/static/main.css
@@ -35,6 +35,11 @@ div.header ul#submenu li {
font-size: 15px;
}
+div.header ul#submenu li a.sel {
+ color: black;
+ text-decoration: none;
+}
+
/* More specific stuff */
#torrc {
list-style: none;
diff --git a/packages/torouter-web/tui/controllers/network.py b/packages/torouter-web/tui/controllers/network.py
index d189d0c..cc46643 100644
--- a/packages/torouter-web/tui/controllers/network.py
+++ b/packages/torouter-web/tui/controllers/network.py
@@ -55,14 +55,14 @@ class firewall:
def GET(self):
if session.is_logged() > 0:
- return render.base(render.firewall(configuration.get_form("firewall")),menu(0))
+ return render.base(render.firewall(configuration.get_form("firewall")),menu(1))
else:
return render.base(render.login())
def POST(self):
if session.is_logged() > 0:
self.update_config(web.input())
- return render.base(render.firewall(),menu(1))
+ return render.base(render.firewall(configuration.get_form("firewall")),menu(1))
else:
return render.base(render.login())