diff options
Diffstat (limited to 'module/web/templates/default')
-rw-r--r-- | module/web/templates/default/backbone/linkgrabber.html | 7 | ||||
-rw-r--r-- | module/web/templates/default/backbone/modal.html | 8 | ||||
-rw-r--r-- | module/web/templates/default/base.html | 2 |
3 files changed, 14 insertions, 3 deletions
diff --git a/module/web/templates/default/backbone/linkgrabber.html b/module/web/templates/default/backbone/linkgrabber.html new file mode 100644 index 000000000..1a9bea925 --- /dev/null +++ b/module/web/templates/default/backbone/linkgrabber.html @@ -0,0 +1,7 @@ +{% extends 'default/backbone/modal.html' %} +{% block header %} + Add Package +{% endblock %} +{% block content %} + Place Content here +{% 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 afc5d7b58..467c85437 100644 --- a/module/web/templates/default/backbone/modal.html +++ b/module/web/templates/default/backbone/modal.html @@ -1,11 +1,15 @@ <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> - <h3><%- header %></h3> + <h3>{% block header%}Dialog{% endblock %}</h3> </div> <div class="modal-body"> - <%- content %> + {% 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 diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html index e93eb52f8..1ae95b127 100644 --- a/module/web/templates/default/base.html +++ b/module/web/templates/default/base.html @@ -42,7 +42,7 @@ <a class="header-link" href="#"><i class="icon-list-alt icon-white"></i> Accounts</a>
<br/>
- <a class="btn btn-success" href="#"><i class="icon-plus icon-white"></i> Add</a>
+ <a class="btn btn-success btn-grabber" href="#"><i class="icon-plus icon-white"></i> Add</a>
<div class="btn-group">
<a class="btn btn-blue" href="#"><i class="icon-user icon-white"></i> User</a>
|