diff options
author | Jason Croft | 2016-05-09 22:37:51 -0400 |
---|---|---|
committer | Jason Croft | 2016-05-09 22:37:51 -0400 |
commit | 17d2249ec31bce28f79e8def4be1515ac465d29b (patch) | |
tree | e06da90a10e5a8c33aeb1b2f3fd3cc7f617122ce | |
parent | 521f96fb11af9b2669c6d7002f983d3e7cc99e79 (diff) |
Define snippet import modal
Diffstat (limited to '')
-rw-r--r-- | public/views/body.ejs | 20 |
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">×</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 |