Tweaks to dialog
This commit is contained in:
parent
ad58384adf
commit
276eb9d975
@ -18,8 +18,8 @@
|
||||
<div class="modal-content">
|
||||
<div class="model-header">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<h3>Profile</h3>
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<h4 class="modal-title">Profile</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<iframe src="/profile.html" width="100%" height="250" frameborder="0"></iframe>
|
||||
|
@ -7,11 +7,6 @@
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<!-- busy spinner -->
|
||||
<div class="page-header">
|
||||
<h1><img id="spinner" alt="loading" class="pull-right" src="images/spinner.gif" style="display: none;" width="32" height="32">Search Profile</h1>
|
||||
</div>
|
||||
|
||||
<!-- categories -->
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
@ -48,7 +43,6 @@
|
||||
<button class="btn btn-primary" id="addCategory"><span class="glyphicon glyphicon-plus"></span></button>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<script src="bower_components/jquery/dist/jquery.js"></script>
|
||||
|
@ -78,7 +78,7 @@
|
||||
});
|
||||
}
|
||||
|
||||
function onReady() {
|
||||
$(document).ready(function() {
|
||||
Handlebars.registerHelper('checkMatch', function(value, options) {
|
||||
return new Handlebars.SafeString(value == this.value ? 'checked' : '');
|
||||
});
|
||||
@ -88,11 +88,5 @@
|
||||
$('#addCategory').click(function() {
|
||||
addCategory($('#newCategory').val());
|
||||
});
|
||||
}
|
||||
|
||||
$(document).on({
|
||||
ajaxStart: function() { $('#spinner').show(); },
|
||||
ajaxStop: function() { $('#spinner').hide(); },
|
||||
ready: onReady()
|
||||
});
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user