diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-01-10 18:10:34 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-01-10 18:10:34 +0100 |
commit | 70749232e6ea7875c14e98c79065340c680168e9 (patch) | |
tree | f0eeebf1d989d0672417e471ee33ae45ad1088d4 /module/web/templates | |
parent | fixed manage.py, addBox working, some code formatted and cleaned (diff) | |
download | pyload-70749232e6ea7875c14e98c79065340c680168e9.tar.xz |
new addbox design
Diffstat (limited to 'module/web/templates')
-rw-r--r-- | module/web/templates/default/base.html | 1 | ||||
-rw-r--r-- | module/web/templates/default/window.html | 40 |
2 files changed, 31 insertions, 10 deletions
diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html index 7171a1f1c..6f9d5ff46 100644 --- a/module/web/templates/default/base.html +++ b/module/web/templates/default/base.html @@ -7,6 +7,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/default.css">
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/jquery-ui-1.7.2.custom.css">
+<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/window.css">
<script src="{{ MEDIA_URL }}js/jquery-1.3.2.min.js"></script>
<!--<script src="{{ MEDIA_URL }}js/jquery-ui-1.7.2.custom.min.js"></script>-->
<script src="{{ MEDIA_URL }}js/sprintf.js"></script>
diff --git a/module/web/templates/default/window.html b/module/web/templates/default/window.html index fa49565d3..7ef02e04a 100644 --- a/module/web/templates/default/window.html +++ b/module/web/templates/default/window.html @@ -1,12 +1,32 @@ <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:absolute; top:0px; left:0px; display:none;"> </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;">
- <div style="width: 900px; text-align: right;"><b onclick="AddBox();">[Close]</b></div>
- <h1>Add</h1>
- <form id="add_form" action="json/add_package" method="post">
- Packagename<input name="add_name" type="text" size="20" />
- <textarea rows="5" style="width: 890px;" name="add_links" id="add_links"></textarea>
- <br />
- <input type="file" name="add_file" id="add_file" />
- <input id="add_submit" type="submit" value="Add Links"/>
- </form>
+<!--<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;">-->
+
+ <!--<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">
+<h1>Add Package</h1>
+<p>Paste your links or upload a container.</p>
+<label>Name
+<span class="small">The name of the new package.</span>
+</label>
+<input name="add_name" type="text" size="20" />
+
+<label>Links
+<span class="small">Paste your links here</span>
+</label>
+<textarea rows="5" name="add_links" id="add_links"></textarea>
+
+<label>File
+<span class="small">Upload a container.</span>
+</label>
+<input type="file" name="add_file" id="add_file" />
+
+<button type="submit">Add Package</button>
+<button style="margin-left:0px;" type="reset" onclick="AddBox();">Reset</button>
+<div class="spacer"></div>
+
+</form>
+
+</div>
+
</div>
|