aboutsummaryrefslogtreecommitdiffstats
path: root/packages/torouter-web
diff options
context:
space:
mode:
authorArturo FilastoĢ€ <hellais@torproject.org>2011-08-11 18:34:26 +0200
committerArturo FilastoĢ€ <hellais@torproject.org>2011-08-11 18:34:26 +0200
commit6d6eb966bc080325c3fdfd0320df794cdf523ea8 (patch)
tree1aaa8641060be1a8fc2ee922eaa2237cd7c48825 /packages/torouter-web
parentdb774cfe565e40a7ce4def89c130f69540493bf1 (diff)
downloadtorouter-6d6eb966bc080325c3fdfd0320df794cdf523ea8.tar.gz
torouter-6d6eb966bc080325c3fdfd0320df794cdf523ea8.zip
Move styling to static/ folder
Diffstat (limited to 'packages/torouter-web')
-rw-r--r--packages/torouter-web/config.pycbin255 -> 308 bytes
-rw-r--r--packages/torouter-web/runui.pycbin1390 -> 1390 bytes
-rw-r--r--packages/torouter-web/static/main.css29
-rw-r--r--packages/torouter-web/tui/controllers/main.pycbin1196 -> 1196 bytes
-rw-r--r--packages/torouter-web/tui/controllers/network.pycbin6373 -> 6373 bytes
-rw-r--r--packages/torouter-web/tui/utils/session.pycbin1207 -> 1244 bytes
-rw-r--r--packages/torouter-web/tui/views/base.html32
-rw-r--r--packages/torouter-web/view.pycbin411 -> 411 bytes
8 files changed, 31 insertions, 30 deletions
diff --git a/packages/torouter-web/config.pyc b/packages/torouter-web/config.pyc
index 23bf9e9..9ed9f95 100644
--- a/packages/torouter-web/config.pyc
+++ b/packages/torouter-web/config.pyc
Binary files differ
diff --git a/packages/torouter-web/runui.pyc b/packages/torouter-web/runui.pyc
index ce57e6c..a564a49 100644
--- a/packages/torouter-web/runui.pyc
+++ b/packages/torouter-web/runui.pyc
Binary files differ
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
index 6fb29f0..93200bc 100644
--- a/packages/torouter-web/tui/controllers/main.pyc
+++ b/packages/torouter-web/tui/controllers/main.pyc
Binary files differ
diff --git a/packages/torouter-web/tui/controllers/network.pyc b/packages/torouter-web/tui/controllers/network.pyc
index ba6e816..0a0db6d 100644
--- a/packages/torouter-web/tui/controllers/network.pyc
+++ b/packages/torouter-web/tui/controllers/network.pyc
Binary files differ
diff --git a/packages/torouter-web/tui/utils/session.pyc b/packages/torouter-web/tui/utils/session.pyc
index 2084493..e825de5 100644
--- a/packages/torouter-web/tui/utils/session.pyc
+++ b/packages/torouter-web/tui/utils/session.pyc
Binary files differ
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
index 17728c0..3870298 100644
--- a/packages/torouter-web/view.pyc
+++ b/packages/torouter-web/view.pyc
Binary files differ