summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcos Pinto <markybob@dipconsultants.com>2007-11-27 21:35:16 +0000
committerMarcos Pinto <markybob@dipconsultants.com>2007-11-27 21:35:16 +0000
commitda0dd8a4a93385566c5ad4628ce4602d0d43e2eb (patch)
tree8b3b90d3541d18ac146bf377c88f20c72b048b13
parentd182928f8c739940fce46c5aa808ef487a1ce1d2 (diff)
downloaddeluge-0.5.7.tar.gz
deluge-0.5.7.tar.bz2
deluge-0.5.7.zip
remove webui example templatedeluge-0.5.7
-rw-r--r--plugins/WebUi/templates/example/footer.html3
-rw-r--r--plugins/WebUi/templates/example/header.html12
-rw-r--r--plugins/WebUi/templates/example/index.html42
3 files changed, 0 insertions, 57 deletions
diff --git a/plugins/WebUi/templates/example/footer.html b/plugins/WebUi/templates/example/footer.html
deleted file mode 100644
index 11a09caf8..000000000
--- a/plugins/WebUi/templates/example/footer.html
+++ /dev/null
@@ -1,3 +0,0 @@
-
-</body>
-</html>
diff --git a/plugins/WebUi/templates/example/header.html b/plugins/WebUi/templates/example/header.html
deleted file mode 100644
index 6b0702f4a..000000000
--- a/plugins/WebUi/templates/example/header.html
+++ /dev/null
@@ -1,12 +0,0 @@
-$def with (title)
-<html>
-<head>
- <title>Deluge(example) : $title</title>
- <link rel="icon" href="/static/images/deluge_icon.gif" type="image/gif" />
- <link rel="shortcut icon" href="/static/images/deluge_icon.gif" type="image/gif" />
-</head>
-<body>
-<img src="/template/static/example.png">
-<a href=/home>[HOME]</a>
-
-<h1>$title</h1>
diff --git a/plugins/WebUi/templates/example/index.html b/plugins/WebUi/templates/example/index.html
deleted file mode 100644
index 7c3ca4aab..000000000
--- a/plugins/WebUi/templates/example/index.html
+++ /dev/null
@@ -1,42 +0,0 @@
-$def with (torrent_list)
-$:render.header(_('Torrent list'))
-
-<form action="/torrent/pause" method="POST">
-<table class="torrent_list" border=1>
- <tr>
- $:(sort_head('calc_state_str', 'S'))
- $:(sort_head('queue_pos', '#'))
- $:(sort_head('name', _('Name')))
- $:(sort_head('progress', _('Progress')))
- </tr>
-$#4-space indentation is mandatory for for-loops in templetor!
-$for torrent in torrent_list:
- <tr>
- <td><input type="image"
- src="/static/images/$(torrent.calc_state_str)16.png"
- name="$torrent.action" value="$torrent.id">
- </td>
- <td>$torrent.queue_pos</td>
- <td style="width:100px; overflow:hidden;white-space: nowrap">
- <a href="/torrent/info/$torrent.id">$(crop(torrent.name, 40))</a></td>
- <td class="progress_bar">
- <div class="progress_bar_outer">
- <div class="progress_bar" style="width:$(torrent.progress)%">
- $torrent.message
- </div>
- </div>
- </td>
- </tr>
-</table>
-
-</form>
-
-<div class="panel" bgcolor="5555AA">
-$:render.part_button('GET', '/torrent/add', _('Add torrent'), 'tango/list-add.png')
-$:render.part_button('POST', '/pause_all', _('Pause all'), 'tango/media-playback-pause.png')
-$:render.part_button('POST', '/resume_all', _('Resume all'), 'tango/media-playback-start.png')
-$:render.part_button('POST', '/logout', _('Logout'), 'tango/system-log-out.png')
-</div>
-
-$:render.footer()
-