Adding code for profile dialog
This commit is contained in:
parent
c6b38b6758
commit
6442689798
@ -12,6 +12,20 @@
|
|||||||
<h1><img id="spinner" alt="loading" class="pull-right" src="images/spinner.gif" style="display: none;" width="32" height="32">Reactive Search</h1>
|
<h1><img id="spinner" alt="loading" class="pull-right" src="images/spinner.gif" style="display: none;" width="32" height="32">Reactive Search</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- profile dialog -->
|
||||||
|
<div id="profileDlg" class="modal hide fade" tabindex="-1" role="dialog">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||||
|
<h3>Profile</h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<iframe src="/profile.html" style="zoom:0.60" width="99.6%" height="250" frameborder="0"></iframe>
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button class="btn" data-dismiss="modal">OK</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<!-- query -->
|
<!-- query -->
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
@ -42,6 +56,7 @@
|
|||||||
<div class="checkbox">
|
<div class="checkbox">
|
||||||
<label><input type="checkbox" id="useRelativeScale" checked="checked">Use relative scale</label>
|
<label><input type="checkbox" id="useRelativeScale" checked="checked">Use relative scale</label>
|
||||||
</div>
|
</div>
|
||||||
|
<button type="button" id="editProfile" class="btn btn-primary">Edit profile</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -48,12 +48,17 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
$('#minScore,#hintSteps,#walkingDist,#maxResults').change(onSearch);
|
$('#minScore,#hintSteps,#walkingDist,#maxResults').change(onSearch);
|
||||||
|
$('#editProfile').click(onEditProfile);
|
||||||
|
|
||||||
window.accessReview = accessReview;
|
window.accessReview = accessReview;
|
||||||
|
|
||||||
onSearch();
|
onSearch();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function onEditProfile() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
function onSearch() {
|
function onSearch() {
|
||||||
_ctx.query = {
|
_ctx.query = {
|
||||||
features: _ctx.query.features || {},
|
features: _ctx.query.features || {},
|
||||||
|
Loading…
Reference in New Issue
Block a user