summaryrefslogtreecommitdiff
path: root/public/views
diff options
context:
space:
mode:
authorJason Croft2016-05-11 17:05:53 -0400
committerJason Croft2016-05-11 17:05:53 -0400
commit9f401b3fa88aa60c435c548f807fbb0742aaa2e0 (patch)
tree6606ddd7b16e8967cb32ec80e1e4f97aac7b8566 /public/views
parent3dd3e6bc3596c0bba50dca3d1789f55883e0f681 (diff)
Fully-fleshed snippetImportModal
Diffstat (limited to 'public/views')
-rw-r--r--public/views/body.ejs8
1 files changed, 5 insertions, 3 deletions
diff --git a/public/views/body.ejs b/public/views/body.ejs
index 23a3acef..039690ef 100644
--- a/public/views/body.ejs
+++ b/public/views/body.ejs
@@ -158,15 +158,17 @@
<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>
+ <h4 class="modal-title" id="myModalLabel">Import from Snippet <i class="fa fa-refresh fa-spin" id="snippetImportModalLoading"></i></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">
+ <input type="hidden" id="snippetImportModalAccessToken" />
+ <input type="hidden" id="snippetImportModalBaseURL" />
+ <input type="url" class="form-control" placeholder="Paste your snippet url here... (like: /projects/:id/snippets/:snippet_id)" id="snippetImportModalContent" disabled="disabled">
</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>
+ <button type="button" class="btn btn-primary" id="snippetImportModalConfirm" disabled="disabled">Import</button>
</div>
</div>
</div>