Module: deluge Branch: master Commit: 29634505e48c8ace22535ebca711d69097c31aa0
Author: Damien Churchill <[email protected]> Date: Sun Apr 25 19:47:49 2010 +0100 remove the old web templates --- deluge/plugins/label/label/template/config.html | 19 --------- .../plugins/label/label/template/config_page.html | 22 ---------- deluge/plugins/label/label/template/options.html | 41 -------------------- .../plugins/label/label/template/options_page.html | 10 ----- .../label/label/template/torrent_label.html | 29 -------------- 5 files changed, 0 insertions(+), 121 deletions(-) diff --git a/deluge/plugins/label/label/template/config.html b/deluge/plugins/label/label/template/config.html deleted file mode 100644 index 1dc4f27..0000000 --- a/deluge/plugins/label/label/template/config.html +++ /dev/null @@ -1,19 +0,0 @@ -$def with (labels) -<table style="padding-left:20px;"> -$for label in labels: - <tr> - <td><a href="$base/label/options/$label" - title="$_('Options')" - >$label</a></td> - </td> - <td><a href="$base/label/remove/$label"><img - src="$base/static/images/tango/list-remove.png" - title="$_('Remove')" - ></a></td> - </tr> -</table> - -<h2>Options</h2> -<ul> -<li><a href="$base/label/add">$_("Add label")</a></li> -</ul> diff --git a/deluge/plugins/label/label/template/config_page.html b/deluge/plugins/label/label/template/config_page.html deleted file mode 100644 index 382d5e3..0000000 --- a/deluge/plugins/label/label/template/config_page.html +++ /dev/null @@ -1,22 +0,0 @@ -$def with (labels) -$:render.basic_header(_("Label Config")) -<h2>$_("Label Config")</h2> -<table style="padding-left:20px;"> -$for label in labels: - <tr> - <td><a href="$base/label/options/$label" - title="$_('Options')" - >$label</a></td> - </td> - <td><a href="$base/label/remove/$label"><img - src="$base/static/images/tango/list-remove.png" - title="$_('Remove')" - ></a></td> - </tr> -</table> - -<h2>Options</h2> -<ul> -<li><a href="$base/label/add">$_("Add label")</a></li> -</ul> -$:render.footer() \ No newline at end of file diff --git a/deluge/plugins/label/label/template/options.html b/deluge/plugins/label/label/template/options.html deleted file mode 100644 index e55bb60..0000000 --- a/deluge/plugins/label/label/template/options.html +++ /dev/null @@ -1,41 +0,0 @@ -$def with (label_id, options_form, error=None) -$:render.basic_header(_("Label Options")) -<h2>$label_id Options.</h2> -<div class="panel"> -<form method="POST" action='$base/label/options/$label_id'> - <h3>max</h3> - <table> - $:(options_form.as_table(["apply_max", "max_download_speed", "max_upload_speed", "max_upload_slots", "max_connections"])) - </table> - - <h3>queue</h3> - <table> - $:(options_form.as_table(["apply_queue", "is_auto_managed", "stop_at_ratio", "stop_ratio", "remove_at_ratio"])) - </table> - - <h3>location</h3> - <table> - $:(options_form.as_table(["apply_move_completed", "move_completed", "move_completed_path"])) - </table> - - <h3>tracker</h3> - <table> - $:(options_form.as_table(["auto_add", "auto_add_trackers"])) - </table> - - <input type="submit" value="$_("Save")"> -</form> -</div> - -<script language="javascript"> -new InputSensitivitySetter({prefix:"id_",groups:[ - ["apply_max", ["max_download_speed", "max_upload_speed", "max_upload_slots", "max_connections"]], - ["apply_queue", ["is_auto_managed", "stop_at_ratio"]], - ["stop_at_ratio", ["remove_at_ratio", "stop_ratio"]], /*#nested*/ - ["apply_move_completed", ["move_completed"]], - ["move_completed", ["move_completed_path"]], /*#nested*/ - ["auto_add", ["auto_add_trackers"]] -]}); -</script> - -$:render.footer() \ No newline at end of file diff --git a/deluge/plugins/label/label/template/options_page.html b/deluge/plugins/label/label/template/options_page.html deleted file mode 100644 index b1f83e9..0000000 --- a/deluge/plugins/label/label/template/options_page.html +++ /dev/null @@ -1,10 +0,0 @@ -$def with (label_id) -$:render.basic_header(_("Label Options")) -<h2>$label_id Options.</h2> -<div class="panel"> -<form method="POST" action='$base/label/options/$label_id'> - label= $label_id -</form> -</div> - -$:render.footer() \ No newline at end of file diff --git a/deluge/plugins/label/label/template/torrent_label.html b/deluge/plugins/label/label/template/torrent_label.html deleted file mode 100644 index f17404c..0000000 --- a/deluge/plugins/label/label/template/torrent_label.html +++ /dev/null @@ -1,29 +0,0 @@ -$def with (torrent_ids, torrent_list, labels) -$:render.header(_("Label torrent")) -<div class="panel"> -<form method="POST" action='$base/torrent/label/$torrent_ids'> -<div id="del_torrent"> - -<h2>$_("Label torrent")</h2> -<ul> -$for torrent in torrent_list: - <li>$torrent.name ($torrent.label)</li> -</ul> - - <div class="form_row2"> - <span class="form_label2"> -<select size=$(len(labels) + 1) style="width:150px" name="label" id="label"> -<option value="">No Label</option> -$for label in labels: - <option value="$label">$label</option> -</select> - </div> - <div class="form_row2"> - <span class="form_label2"></span> - <input type="submit" name="submit" - value="$_('Label')" class="form_input"> - </div> -</div> -</form> -</div> -$:render.footer() \ No newline at end of file -- You received this message because you are subscribed to the Google Groups "deluge-commit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/deluge-commit?hl=en.
