summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/views/body.ejs20
1 files changed, 20 insertions, 0 deletions
diff --git a/public/views/body.ejs b/public/views/body.ejs
index 771da880..23a3acef 100644
--- a/public/views/body.ejs
+++ b/public/views/body.ejs
@@ -151,4 +151,24 @@
</div>
</div>
</div>
+<!-- snippet import modal -->
+<div class="modal fade" id="snippetImportModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
+ <div class="modal-dialog">
+ <div class="modal-content">
+ <div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span>
+ </button>
+ <h4 class="modal-title" id="myModalLabel">Import from Snippet</h4>
+ </div>
+ <div class="modal-body">
+ <input type="url" class="form-control" placeholder="Paste your snippet url here... (like: /projects/:id/snippets/:snippet_id)" id="snippetImportModalContent">
+ </div>
+ <div class="modal-footer">
+ <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
+ <button type="button" class="btn btn-danger" id="snippetImportModalClear">Clear</button>
+ <button type="button" class="btn btn-primary" id="snippetImportModalConfirm">Import</button>
+ </div>
+ </div>
+ </div>
+</div>
<%- include modal %> \ No newline at end of file