aboutsummaryrefslogtreecommitdiffstats
path: root/packages/torouter-web/src/tui/views
diff options
context:
space:
mode:
Diffstat (limited to 'packages/torouter-web/src/tui/views')
-rw-r--r--packages/torouter-web/src/tui/views/base.html83
-rw-r--r--packages/torouter-web/src/tui/views/firewall.html7
-rw-r--r--packages/torouter-web/src/tui/views/index.html1
-rw-r--r--packages/torouter-web/src/tui/views/login.html7
-rw-r--r--packages/torouter-web/src/tui/views/logout.html1
-rw-r--r--packages/torouter-web/src/tui/views/main.html1
-rw-r--r--packages/torouter-web/src/tui/views/saved.html8
-rw-r--r--packages/torouter-web/src/tui/views/status.html3
-rw-r--r--packages/torouter-web/src/tui/views/torconfig.html11
-rw-r--r--packages/torouter-web/src/tui/views/torstatus.html5
-rw-r--r--packages/torouter-web/src/tui/views/wired.html7
-rw-r--r--packages/torouter-web/src/tui/views/wireless.html8
-rw-r--r--packages/torouter-web/src/tui/views/wizard.html12
13 files changed, 0 insertions, 154 deletions
diff --git a/packages/torouter-web/src/tui/views/base.html b/packages/torouter-web/src/tui/views/base.html
deleted file mode 100644
index 5db0249..0000000
--- a/packages/torouter-web/src/tui/views/base.html
+++ /dev/null
@@ -1,83 +0,0 @@
-$def with (page,submenu=None)
-
-<!html>
-
-<html>
-<head>
- <title>TUI - Tor Web User Interface</title>
-<style type="text/css">
-/* Clear all */
-body { margin: 0;border: 0;padding: 0; }
-
-div.wrapper {
- min-height: 300px;
- width: 800px;
- margin: 0 auto;
-}
-
-div.footer {
- text-align: center;
- background-color: #333;
- color: white;
- padding-top: 20px;
- padding-bottom: 20px;
-}
-
-div.header {
- color: white;
-}
-
-div.header ul {
- list-style: none;
- height: 20px;
-}
-
-div.header ul li {
- font-size: 20px;
- float: left;
- padding: 5px 10px;
-}
-
-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;
-line-height: 2em;
-}
-
-#torrc em {
-font-weight: bold;
-font-style: normal;
-}
-</style>
-<!-- link REL="stylesheet" href="/static/main.css" type="text/css" -->
-</head>
-<body>
-<div class="header">
- <ul id="menu">
- <li><a href="/">Home</a></li>
- <li><a href="/network">Network</a></li>
- <li><a href="/tor">Tor</a></li>
- <li><a href="/logout">logout</a></li>
- </ul>
- $:submenu
-</div>
-
-<div class="wrapper">
-$:page
-</div>
-
-<div class="footer">
-2011 - The Tor Project
-</div>
-
-</body>
-</html>
diff --git a/packages/torouter-web/src/tui/views/firewall.html b/packages/torouter-web/src/tui/views/firewall.html
deleted file mode 100644
index 30f5a9b..0000000
--- a/packages/torouter-web/src/tui/views/firewall.html
+++ /dev/null
@@ -1,7 +0,0 @@
-$def with (form)
-
-<h2>Firewall configuration page</h2>
-
-<form action="" method="POST">
-$:form.render()
-</form>
diff --git a/packages/torouter-web/src/tui/views/index.html b/packages/torouter-web/src/tui/views/index.html
deleted file mode 100644
index 3907d84..0000000
--- a/packages/torouter-web/src/tui/views/index.html
+++ /dev/null
@@ -1 +0,0 @@
-The main index
diff --git a/packages/torouter-web/src/tui/views/login.html b/packages/torouter-web/src/tui/views/login.html
deleted file mode 100644
index 1377078..0000000
--- a/packages/torouter-web/src/tui/views/login.html
+++ /dev/null
@@ -1,7 +0,0 @@
-Login is required
-<form method="POST" action="/">
- Login: <input type="text" name="user">
- Password: <input type="password" name="password">
- <input type="submit" name="login">
-</form>
-
diff --git a/packages/torouter-web/src/tui/views/logout.html b/packages/torouter-web/src/tui/views/logout.html
deleted file mode 100644
index f027ed4..0000000
--- a/packages/torouter-web/src/tui/views/logout.html
+++ /dev/null
@@ -1 +0,0 @@
-Successfully logged out!
diff --git a/packages/torouter-web/src/tui/views/main.html b/packages/torouter-web/src/tui/views/main.html
deleted file mode 100644
index dc503e7..0000000
--- a/packages/torouter-web/src/tui/views/main.html
+++ /dev/null
@@ -1 +0,0 @@
-the main page
diff --git a/packages/torouter-web/src/tui/views/saved.html b/packages/torouter-web/src/tui/views/saved.html
deleted file mode 100644
index ba14488..0000000
--- a/packages/torouter-web/src/tui/views/saved.html
+++ /dev/null
@@ -1,8 +0,0 @@
-$def with (content)
-
-<ul>
-
-$for i in content.items():
- <li><em>$i[0]</em>: $i[1]</li>
-
-</ul>
diff --git a/packages/torouter-web/src/tui/views/status.html b/packages/torouter-web/src/tui/views/status.html
deleted file mode 100644
index bfe2fcd..0000000
--- a/packages/torouter-web/src/tui/views/status.html
+++ /dev/null
@@ -1,3 +0,0 @@
-$def with (content)
-
-$:content
diff --git a/packages/torouter-web/src/tui/views/torconfig.html b/packages/torouter-web/src/tui/views/torconfig.html
deleted file mode 100644
index 223c339..0000000
--- a/packages/torouter-web/src/tui/views/torconfig.html
+++ /dev/null
@@ -1,11 +0,0 @@
-$def with (content)
-
-<form method="POST" action="/tor/config" enctype="multipart/form-data">
-<ul>
-<li><textarea cols="100" rows="50" name="torrc">
-$:content
-</textarea></li>
-<li><input type="submit" name="save"></li>
-</ul>
-</form>
-
diff --git a/packages/torouter-web/src/tui/views/torstatus.html b/packages/torouter-web/src/tui/views/torstatus.html
deleted file mode 100644
index a2eeacf..0000000
--- a/packages/torouter-web/src/tui/views/torstatus.html
+++ /dev/null
@@ -1,5 +0,0 @@
-$def with (content, torrc)
-<h2>This is the content of $:torrc</h2>
-$:content
-
-<a href="/tor/config">edit torrc</a>
diff --git a/packages/torouter-web/src/tui/views/wired.html b/packages/torouter-web/src/tui/views/wired.html
deleted file mode 100644
index 3676f63..0000000
--- a/packages/torouter-web/src/tui/views/wired.html
+++ /dev/null
@@ -1,7 +0,0 @@
-$def with (form)
-
-<h2>Wired configuration page</h2>
-
-<form action="" method="POST">
-$:form.render()
-</form>
diff --git a/packages/torouter-web/src/tui/views/wireless.html b/packages/torouter-web/src/tui/views/wireless.html
deleted file mode 100644
index 48242bc..0000000
--- a/packages/torouter-web/src/tui/views/wireless.html
+++ /dev/null
@@ -1,8 +0,0 @@
-$def with (form)
-
-<h2>Wireless configuration page</h2>
-
-<form action="" method="POST">
-$:form.render()
-</form>
-
diff --git a/packages/torouter-web/src/tui/views/wizard.html b/packages/torouter-web/src/tui/views/wizard.html
deleted file mode 100644
index 0890507..0000000
--- a/packages/torouter-web/src/tui/views/wizard.html
+++ /dev/null
@@ -1,12 +0,0 @@
-$def with (wiz_form, text, step, next_step)
-
-<h1>Step number $step</h1>
-
-$text
-
-<form action="/wizard/$next_step" method="POST">
-$:wiz_form.render()
-
-</form>
-
-<!-- a href=/wizard/$next_step>Next ($next_step)</a-->