summaryrefslogtreecommitdiffstats
path: root/module/web/templates/default/window.html
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/templates/default/window.html')
-rw-r--r--module/web/templates/default/window.html31
1 files changed, 15 insertions, 16 deletions
diff --git a/module/web/templates/default/window.html b/module/web/templates/default/window.html
index 3613c6df7..734745887 100644
--- a/module/web/templates/default/window.html
+++ b/module/web/templates/default/window.html
@@ -1,4 +1,3 @@
-{% load i18n %}
<iframe id="upload_target" name="upload_target" src="" style="display: none; width:0;height:0"></iframe>
<div id="add_bg" style="filter:alpha(opacity:80);KHTMLOpacity:0.80;MozOpacity:0.80;opacity:0.80; background:#000; width:100%; height: 100%; position:fixed; top:0; left:0; display:none;">&nbsp;</div>
<!--<div id="add_box" style="left:50%; top:200px; margin-left: -450px; width: 900px; position: absolute; background: #FFF; padding: 10px 10px 10px 10px; display:none;">-->
@@ -6,39 +5,39 @@
<!--<div style="width: 900px; text-align: right;"><b onclick="AddBox();">[Close]</b></div>-->
<div id="add_box" class="myform">
<form id="add_form" action="/json/add_package" method="POST" enctype="multipart/form-data">
-<h1>{% trans "Add Package" %}</h1>
-<p>{% trans "Paste your links or upload a container." %}</p>
-<label for="add_name">{% trans "Name" %}
-<span class="small">{% trans "The name of the new package." %}</span>
+<h1>{{_("Add Package")}}</h1>
+<p>{{_("Paste your links or upload a container.")}}</p>
+<label for="add_name">{{_("Name")}}
+<span class="small">{{_("The name of the new package.")}}</span>
</label>
<input id="add_name" name="add_name" type="text" size="20" />
-<label for="add_links">{% trans "Links" %}
-<span class="small">{% trans "Paste your links here" %}</span>
+<label for="add_links">{{_("Links")}}
+<span class="small">{{_("Paste your links here")}}</span>
</label>
<textarea rows="5" name="add_links" id="add_links"></textarea>
-<label for="add_password">{% trans "Password" %}
- <span class="small">{% trans "Password for RAR-Archive" %}</span>
+<label for="add_password">{{_("Password")}}
+ <span class="small">{{_("Password for RAR-Archive")}}</span>
</label>
<input id="add_password" name="add_password" type="text" size="20">
-<label>{% trans "File" %}
-<span class="small">{% trans "Upload a container." %}</span>
+<label>{{_("File")}}
+<span class="small">{{_("Upload a container.")}}</span>
</label>
<input type="file" name="add_file" id="add_file"/>
-<label for="add_dest">{% trans "Destination" %}
+<label for="add_dest">{{_("Destination")}}
</label>
<span class="cont">
- {% trans "Queue" %}
+ {{_("Queue")}}
<input type="radio" name="add_dest" id="add_dest" value="1" checked="checked"/>
- {% trans "Collector" %}
+ {{_("Collector")}}
<input type="radio" name="add_dest" id="add_dest2" value="0"/>
</span>
-<button type="submit">{% trans "Add Package" %}</button>
-<button id="add_reset" style="margin-left:0;" type="reset">{% trans "Reset" %}</button>
+<button type="submit">{{_("Add Package")}}</button>
+<button id="add_reset" style="margin-left:0;" type="reset">{{_("Reset")}}</button>
<div class="spacer"></div>
</form>