summaryrefslogtreecommitdiff
path: root/public/views
diff options
context:
space:
mode:
authorJason Croft2016-05-09 22:37:51 -0400
committerJason Croft2016-05-09 22:37:51 -0400
commit17d2249ec31bce28f79e8def4be1515ac465d29b (patch)
treee06da90a10e5a8c33aeb1b2f3fd3cc7f617122ce /public/views
parent521f96fb11af9b2669c6d7002f983d3e7cc99e79 (diff)
Define snippet import modal
Diffstat (limited to '')
-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