aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/snippets/modal.html
diff options
context:
space:
mode:
Diffstat (limited to 'servo/templates/snippets/modal.html')
-rwxr-xr-xservo/templates/snippets/modal.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/servo/templates/snippets/modal.html b/servo/templates/snippets/modal.html
new file mode 100755
index 0000000..dfa552a
--- /dev/null
+++ b/servo/templates/snippets/modal.html
@@ -0,0 +1,14 @@
+{% load i18n %}
+<div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal">×</button>
+ <h3>{% block header %}{% endblock header %}</h3>
+</div>
+<div class="modal-body">
+ {% block body %}{% endblock body %}
+</div>
+<div class="modal-footer">
+{% block footer %}
+ <button class="btn" data-dismiss="modal">{% trans "Close" %}</button>
+ <button type="submit" class="btn btn-primary submit">{% trans "Done" %}</button>
+{% endblock footer %}
+</div>