remove the old web templates

This commit is contained in:
Damien Churchill 2010-04-25 19:47:49 +01:00
parent faa1752d04
commit 29634505e4
5 changed files with 0 additions and 121 deletions

View File

@ -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>

View File

@ -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()

View File

@ -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()

View File

@ -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()

View File

@ -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()