1
0
Fork 0
arangodb/js/apps/system/aardvark/frontend/js/templates/modalBase.ejs

31 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<script id="modalBase.ejs" type="text/template">
<div class="modal hide fade createModalDialog" tabindex="-1" role="dialog"
aria-labelledby="myModalLabel" aria-hidden="true" style="display:none">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<a class="arangoHeader"><%=title%>></a>
</div>
<div class="modal-body">
</div>
<div class="modal-footer">
<%
_.each(buttons, function(value, key){
var type = value.type,
title = value.title,
disabled = '';
if (value.disabled) {
disabled = 'disabled';
}
%>
<button id="modalButton<%=key%>" class="button-<%=type%>" <%=disabled%>><%=title%></button>
<%});%>
</div>
<div class="alert alert-error modal-delete-confirmation" id="modal-delete-confirmation">
<strong>Really delete?</strong>
<button id="modal-confirm-delete" class="button-danger pull-right modal-confirm-delete">Yes</button>
<button id="modal-abort-delete" class="button-neutral pull-right">No</button>
</div>
</div>
</script>