summaryrefslogtreecommitdiffstats
path: root/pyload/web/app/templates/default
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/web/app/templates/default')
-rw-r--r--pyload/web/app/templates/default/dashboard/package.html4
-rw-r--r--pyload/web/app/templates/default/dialogs/editPackage.html52
2 files changed, 54 insertions, 2 deletions
diff --git a/pyload/web/app/templates/default/dashboard/package.html b/pyload/web/app/templates/default/dashboard/package.html
index bc8314494..751ca5b4c 100644
--- a/pyload/web/app/templates/default/dashboard/package.html
+++ b/pyload/web/app/templates/default/dashboard/package.html
@@ -29,8 +29,8 @@
</i>
<ul class="dropdown-menu" role="menu">
<li><a href="#" class="btn-open"><i class="icon-folder-open-alt"></i> Open</a></li>
- <li><a href="#"><i class="icon-plus-sign"></i> Add links</a></li>
- <li><a href="#"><i class="icon-edit"></i> Details</a></li>
+ <li><a href="#" class="btn-add"><i class="icon-plus-sign"></i> Add links</a></li>
+ <li><a href="#" class="btn-edit"><i class="icon-edit"></i> Edit</a></li>
<li><a href="#" class="btn-delete"><i class="icon-trash"></i> Delete</a></li>
<li><a href="#" class="btn-recheck"><i class="icon-refresh"></i> Recheck</a></li>
<li class="divider"></li>
diff --git a/pyload/web/app/templates/default/dialogs/editPackage.html b/pyload/web/app/templates/default/dialogs/editPackage.html
new file mode 100644
index 000000000..1302bdae5
--- /dev/null
+++ b/pyload/web/app/templates/default/dialogs/editPackage.html
@@ -0,0 +1,52 @@
+<div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
+ <h3>{{_ "Edit Package" }}</h3>
+</div>
+<div class="modal-body">
+ <form class="form-horizontal">
+ <legend>
+ {{ name }}
+ </legend>
+ <div class="control-group">
+ <label class="control-label" for="rename">
+ {{_ "Rename" }}
+ </label>
+
+ <div class="controls">
+ <input type="text" id="rename" value="{{name}}" disabled>
+ </div>
+ </div>
+ <div class="control-group">
+ <label class="control-label" for="site">
+ {{_ "Site" }}
+ </label>
+
+ <div class="controls">
+ <input type="text" class="input" data-attr="site" id="site" value="{{site}}">
+ </div>
+ </div>
+ <div class="control-group">
+ <label class="control-label" for="password">
+ {{_ "Password" }}
+ </label>
+
+ <div class="controls">
+ <input type="password" class="input" data-attr="password" id="password" value="{{password}}">
+ </div>
+ </div>
+
+ <div class="control-group">
+ <label class="control-label" for="comment">
+ {{_ "Comments" }}
+ </label>
+
+ <div class="controls">
+ <textarea class="input" data-attr="comment" id="comment">{{comment}}</textarea>
+ </div>
+ </div>
+ </form>
+</div>
+<div class="modal-footer">
+ <a class="btn btn-close">Close</a>
+ <a class="btn btn-primary btn-confirm">Save</a>
+</div> \ No newline at end of file