/usr/share/rtpg-www/templates/default/panel.tt.html is in rtpg-www 0.2.11-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | <div id="panel">
<input type="button" class="panel add"
title="[% gettext('Add new torrent') %]" />
<input type="button" class="panel delete"
title="[% gettext('Delete selected torrents') %]"/>
<span class="panel separator"> </span>
<input type="button" class="panel start"
title="[% gettext('Start selected torrents') %]"/>
<input type="button" class="panel pause"
title="[% gettext('Pause selected torrents') %]"/>
<input type="button" class="panel stop"
title="[% gettext('Stop selected torrents') %]"/>
<input type="button" class="panel check"
title="[% gettext('Check selected torrents for errors') %]"/>
<span class="panel separator"> </span>
<input type="button" class="panel priority off"
title="[% gettext('Stop selected torrents') %]"/>
<input type="button" class="panel priority low"
title="[% gettext('Set low priority for selected torrents') %]"/>
<input type="button" class="panel priority normal"
title="[% gettext('Set normal priority for selected torrents') %]"/>
<input type="button" class="panel priority high"
title="[% gettext('Set high priority for selected torrents') %]"/>
<span class="panel separator"> </span>
<input
type="button"
class="panel refresh"
title="[% gettext('Refresh') %]"/>
<input
type="button"
class="panel about"
title="[% gettext('About') %]"/>
</div>
<div id="settings">
[%
SET layout = [
{'default' => gettext('All') },
{'list' => gettext('List') },
{'act_list' => gettext('Actions and List') },
{'list_prop' => gettext('List and Props') },
];
%]
<select id="layout" title="[% gettext('Select layout') | html %]">
[% FOR ly = layout %]
<option
value="[% ly.keys.0 %]"
[% IF data.layout == ly.keys.0 %]selected="selected"[% END %]>
[% ly.values.0 %]
</option>
[% END %]
</select>
<select id="refresh" title="[% gettext('Select refresh interval') | html %]">
[%
SET str_sec = gettext('sec.');
SET str_min = gettext('min.');
SET time = [
{'0' => gettext('Never')},
{'10' => '10 ' _ str_sec},
{'30' => '30 ' _ str_sec},
{'60' => '1 ' _ str_min},
{'180' => '3 ' _ str_min},
{'300' => '5 ' _ str_min},
{'600' => '10 ' _ str_min},
{'1800' => '30 ' _ str_min},
];
%]
[% FOR tm = time %]
<option
value="[% tm.keys.0 %]"
[% IF data.refresh == tm.keys.0 %]selected="selected"[% END %]>
[% tm.values.0 %]
</option>
[% END %]
</select>
[% IF skins.size > 1 %]
<select id="skin" title="[% gettext('Select skin') | html %]">
[% FOR sk IN skins %]
<option
value="[% sk.key | html %]"
[% IF data.skin == sk.key %]selected="selected"[% END %]>
[% gettext(sk.value) | html %]
</option>
[% END %]
</select>
[% END %]
<select id="locale" title="[% gettext('Select language') | html %]">
[% FOR lg = langs %]
<option
value="[% lg.code | html %]"
title="[% lg.name %]"
[% IF data.locale == lg.code %]selected="selected"[% END %]>
[% lg.code | upper | html %]
</option>
[% END %]
</select>
</div>
|