mirror of https://gitee.com/bigwinds/arangodb
first try with modals: some small bugs fixed
This commit is contained in:
parent
f9a5548e03
commit
98636cf1df
|
@ -3,7 +3,7 @@
|
|||
aria-labelledby="myModalLabel" aria-hidden="true">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<a class="arangoHeader"><%=title%>></a>
|
||||
<a class="arangoHeader"><%=title%></a>
|
||||
</div>
|
||||
|
||||
<div class="modal-body">
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
if (row.checked) {
|
||||
checked = 'checked';
|
||||
}
|
||||
if (row.checked) {
|
||||
if (row.disabled) {
|
||||
disabled = 'disabled';
|
||||
}
|
||||
%>
|
||||
|
|
|
@ -76,11 +76,15 @@
|
|||
model = {};
|
||||
model.content = tableContent || [];
|
||||
$(".modal-body").html(template.render(model));
|
||||
$("#modal-dialog").show();
|
||||
$('.modalTooltips').tooltip({
|
||||
placement: "left"
|
||||
});
|
||||
|
||||
$("#modal-dialog").modal("show");
|
||||
},
|
||||
|
||||
hide: function() {
|
||||
$("#modal-dialog").hide();
|
||||
$("#modal-dialog").modal("hide");
|
||||
}
|
||||
});
|
||||
}());
|
||||
|
|
|
@ -196,6 +196,5 @@ pre.gv-object-view {
|
|||
}
|
||||
|
||||
.createModalDialog table {
|
||||
display: none;
|
||||
width: 100%;
|
||||
}
|
|
@ -2595,7 +2595,6 @@ pre.gv-object-view {
|
|||
margin-right: -18px; }
|
||||
|
||||
.createModalDialog table {
|
||||
display: none;
|
||||
width: 100%; }
|
||||
|
||||
.navlogo .stat_cpu {
|
||||
|
|
Loading…
Reference in New Issue