Profile dialog shows up now
This commit is contained in:
parent
6442689798
commit
ad58384adf
@ -13,16 +13,22 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- profile dialog -->
|
<!-- profile dialog -->
|
||||||
<div id="profileDlg" class="modal hide fade" tabindex="-1" role="dialog">
|
<div id="profileDlg" class="modal fade" tabindex="-1" role="dialog">
|
||||||
<div class="modal-header">
|
<div class="modal-dialog">
|
||||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
<div class="modal-content">
|
||||||
<h3>Profile</h3>
|
<div class="model-header">
|
||||||
</div>
|
<div class="modal-header">
|
||||||
<div class="modal-body">
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||||
<iframe src="/profile.html" style="zoom:0.60" width="99.6%" height="250" frameborder="0"></iframe>
|
<h3>Profile</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-body">
|
||||||
<button class="btn" data-dismiss="modal">OK</button>
|
<iframe src="/profile.html" width="100%" height="250" frameborder="0"></iframe>
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button class="btn btn-default" data-dismiss="modal">OK</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -56,7 +62,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>
|
<button type="button" data-toggle="modal" data-target="#profileDlg" class="btn btn-primary">Edit profile</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -48,17 +48,12 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
$('#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