diff options
-rwxr-xr-x[-rw-r--r--] | module/web/templates/default/backbone/linkgrabber.html | 51 | ||||
-rwxr-xr-x[-rw-r--r--] | module/web/templates/default/backbone/modal.html | 28 |
2 files changed, 59 insertions, 20 deletions
diff --git a/module/web/templates/default/backbone/linkgrabber.html b/module/web/templates/default/backbone/linkgrabber.html index 1a9bea925..cbb46fd80 100644..100755 --- a/module/web/templates/default/backbone/linkgrabber.html +++ b/module/web/templates/default/backbone/linkgrabber.html @@ -1,7 +1,46 @@ -{% extends 'default/backbone/modal.html' %} -{% block header %} - Add Package -{% endblock %} -{% block content %} - Place Content here +{% extends 'default/backbone/modal.html' %}
+{% block header %}
+ AddPackage
+ <small>paste&add links to pyLoad</small>
+{% endblock %}
+{% block content %}
+ <div class="alert alert-error">
+ Upload files container failed. Please try again.
+ </div>
+ <form class="form-horizontal">
+ <div class="control-group">
+ <label class="control-label" for="inputPackageName">Package name</label>
+
+ <div class="controls">
+ <input type="text" id="inputPackageName" placeholder="Name of your package">
+ </div>
+ </div>
+ <div class="control-group">
+ <label class="control-label" for="inputLinks">Links</label>
+
+ <div class="controls">
+ <textarea id="inputLinks" rows="10" placeholder="Paste your links here..."></textarea>
+ </div>
+ </div>
+ <div class="control-group">
+ <label class="control-label" for="inputPassword">Password</label>
+
+ <div class="controls">
+ <input type="text" id="inputPassword" placeholder="Password for .rar files">
+ </div>
+ </div>
+ <div class="control-group">
+ <label class="control-label" for="inputContainer">Upload links container</label>
+
+ <div class="controls">
+ <input type="text" id="inputContainer" placeholder="Path to your container">
+ <button id="inputContainer-btn" class="btn" type="button">Browse…</button>
+ </div>
+ </div>
+
+ </form>
+{% endblock %}
+{% block buttons %}
+ <a href="#" class="btn btn-success"><i class="icon-plus icon-white"></i> Add</a>
+ <a href="#" class="btn btn-close">Close</a>
{% endblock %}
\ No newline at end of file diff --git a/module/web/templates/default/backbone/modal.html b/module/web/templates/default/backbone/modal.html index 467c85437..90a326a8f 100644..100755 --- a/module/web/templates/default/backbone/modal.html +++ b/module/web/templates/default/backbone/modal.html @@ -1,15 +1,15 @@ -<div class="modal-header"> - <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> - <h3>{% block header%}Dialog{% endblock %}</h3> -</div> -<div class="modal-body"> - {% block content %} - <%= content %> - {% endblock %} -</div> -<div class="modal-footer"> - {% block buttons %} - <a href="#" class="btn btn-close">Close</a> - <a href="#" class="btn btn-primary">Save</a> - {% endblock %} +<div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
+ <h3>{% block header%}Dialog{% endblock %}</h3>
+</div>
+<div class="modal-body" style="max-height: 100%">
+ {% block content %}
+ <%= content %>
+ {% endblock %}
+</div>
+<div class="modal-footer">
+ {% block buttons %}
+ <a href="#" class="btn btn-close">Close</a>
+ <a href="#" class="btn btn-primary">Save</a>
+ {% endblock %}
</div>
\ No newline at end of file |