diff options
author | Arturo FilastoĢ <hellais@torproject.org> | 2011-08-11 18:34:26 +0200 |
---|---|---|
committer | Arturo FilastoĢ <hellais@torproject.org> | 2011-08-11 18:34:26 +0200 |
commit | 6d6eb966bc080325c3fdfd0320df794cdf523ea8 (patch) | |
tree | 1aaa8641060be1a8fc2ee922eaa2237cd7c48825 /packages/torouter-web | |
parent | db774cfe565e40a7ce4def89c130f69540493bf1 (diff) | |
download | torouter-6d6eb966bc080325c3fdfd0320df794cdf523ea8.tar.gz torouter-6d6eb966bc080325c3fdfd0320df794cdf523ea8.zip |
Move styling to static/ folder
Diffstat (limited to 'packages/torouter-web')
-rw-r--r-- | packages/torouter-web/config.pyc | bin | 255 -> 308 bytes | |||
-rw-r--r-- | packages/torouter-web/runui.pyc | bin | 1390 -> 1390 bytes | |||
-rw-r--r-- | packages/torouter-web/static/main.css | 29 | ||||
-rw-r--r-- | packages/torouter-web/tui/controllers/main.pyc | bin | 1196 -> 1196 bytes | |||
-rw-r--r-- | packages/torouter-web/tui/controllers/network.pyc | bin | 6373 -> 6373 bytes | |||
-rw-r--r-- | packages/torouter-web/tui/utils/session.pyc | bin | 1207 -> 1244 bytes | |||
-rw-r--r-- | packages/torouter-web/tui/views/base.html | 32 | ||||
-rw-r--r-- | packages/torouter-web/view.pyc | bin | 411 -> 411 bytes |
8 files changed, 31 insertions, 30 deletions
diff --git a/packages/torouter-web/config.pyc b/packages/torouter-web/config.pyc Binary files differindex 23bf9e9..9ed9f95 100644 --- a/packages/torouter-web/config.pyc +++ b/packages/torouter-web/config.pyc diff --git a/packages/torouter-web/runui.pyc b/packages/torouter-web/runui.pyc Binary files differindex ce57e6c..a564a49 100644 --- a/packages/torouter-web/runui.pyc +++ b/packages/torouter-web/runui.pyc diff --git a/packages/torouter-web/static/main.css b/packages/torouter-web/static/main.css new file mode 100644 index 0000000..41cb47f --- /dev/null +++ b/packages/torouter-web/static/main.css @@ -0,0 +1,29 @@ + +/* Clear all */ +body { margin: 0;border: 0;padding: 0; } + +div.wrapper { + width: 800px; + margin: 0 auto; +} + +div.footer { + background-color: #CCC; + color: white; +} + +div.header { + color: white; +} + +div.header ul { + list-style: none; + height: 20px; +} + +div.header ul li { + float: left; + padding: 5px 10px; +} + + diff --git a/packages/torouter-web/tui/controllers/main.pyc b/packages/torouter-web/tui/controllers/main.pyc Binary files differindex 6fb29f0..93200bc 100644 --- a/packages/torouter-web/tui/controllers/main.pyc +++ b/packages/torouter-web/tui/controllers/main.pyc diff --git a/packages/torouter-web/tui/controllers/network.pyc b/packages/torouter-web/tui/controllers/network.pyc Binary files differindex ba6e816..0a0db6d 100644 --- a/packages/torouter-web/tui/controllers/network.pyc +++ b/packages/torouter-web/tui/controllers/network.pyc diff --git a/packages/torouter-web/tui/utils/session.pyc b/packages/torouter-web/tui/utils/session.pyc Binary files differindex 2084493..e825de5 100644 --- a/packages/torouter-web/tui/utils/session.pyc +++ b/packages/torouter-web/tui/utils/session.pyc diff --git a/packages/torouter-web/tui/views/base.html b/packages/torouter-web/tui/views/base.html index 47091f8..aca2bf9 100644 --- a/packages/torouter-web/tui/views/base.html +++ b/packages/torouter-web/tui/views/base.html @@ -5,38 +5,10 @@ $def with (page,submenu=None) <html> <head> <title>TUI - Tor Web User Interface</title> - <style type="text/css"> - body { - margin: 0; - border: 0; - padding: 0; - - } - - div.wrapper { - width: 800px; - margin: 0 auto; - } - - div.footer { - background-color: #CCC; - color: white; - } - - div.header { - background-color: #CCC; - color: white; - } - - ul#menu { - list-style: none; - - } - - </style> + <link REL="stylesheet" href="/static/main.css" type="text/css"> </head> <body> -<div id="header"> +<div class="header"> <ul id="menu"> <li><a href="/">Home</a></li> <li><a href="/network">Network</a></li> diff --git a/packages/torouter-web/view.pyc b/packages/torouter-web/view.pyc Binary files differindex 17728c0..3870298 100644 --- a/packages/torouter-web/view.pyc +++ b/packages/torouter-web/view.pyc |