web: rename help modal
This commit is contained in:
parent
8c07e68c4a
commit
ed3fd58fb9
@ -119,7 +119,7 @@ searchform VD{..} = [hamlet|
|
|||||||
<input .form-control style="font-size:18px; padding-bottom:2px;" name=q value=#{q} title="Enter hledger search patterns to filter the data below">
|
<input .form-control style="font-size:18px; padding-bottom:2px;" name=q value=#{q} title="Enter hledger search patterns to filter the data below">
|
||||||
<td width="1%" style="white-space:nowrap;">
|
<td width="1%" style="white-space:nowrap;">
|
||||||
<button .btn style="font-size:18px;" type=submit title="Apply search terms">Search
|
<button .btn style="font-size:18px;" type=submit title="Apply search terms">Search
|
||||||
<button .btn style="font-size:18px;" type=button data-toggle="modal" data-target="#searchhelpmodal" title="Show search and general help">?
|
<button .btn style="font-size:18px;" type=button data-toggle="modal" data-target="#helpmodal" title="Show search and general help">?
|
||||||
|]
|
|]
|
||||||
where
|
where
|
||||||
filtering = not $ null q
|
filtering = not $ null q
|
||||||
|
|||||||
@ -23,8 +23,8 @@ $(document).ready(function() {
|
|||||||
$('#sidebar td').mouseleave(function(){ $(this).removeClass('mouseover'); });
|
$('#sidebar td').mouseleave(function(){ $(this).removeClass('mouseover'); });
|
||||||
|
|
||||||
/* keyboard shortcuts */
|
/* keyboard shortcuts */
|
||||||
$(document).bind('keydown', 'shift+/', function(){ $('#searchhelpmodal').modal('toggle'); return false; });
|
$(document).bind('keydown', 'shift+/', function(){ $('#helpmodal').modal('toggle'); return false; });
|
||||||
$(document).bind('keydown', 'h', function(){ $('#searchhelpmodal').modal('toggle'); return false; });
|
$(document).bind('keydown', 'h', function(){ $('#helpmodal').modal('toggle'); return false; });
|
||||||
$(document).bind('keydown', 'j', function(){ location.href = '/journal'; return false; });
|
$(document).bind('keydown', 'j', function(){ location.href = '/journal'; return false; });
|
||||||
$(document).bind('keydown', 's', function(){ sidebarToggle(); return false; });
|
$(document).bind('keydown', 's', function(){ sidebarToggle(); return false; });
|
||||||
$(document).bind('keydown', 'a', function(){ addformFocus(); return false; });
|
$(document).bind('keydown', 'a', function(){ addformFocus(); return false; });
|
||||||
|
|||||||
@ -47,12 +47,12 @@ $newline never
|
|||||||
window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})
|
window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})
|
||||||
\<![endif]-->
|
\<![endif]-->
|
||||||
|
|
||||||
<div .modal.fade #searchhelpmodal tabindex="-1" role="dialog" aria-labelledby="searchHelpLabel" aria-hidden="true">
|
<div .modal.fade #helpmodal tabindex="-1" role="dialog" aria-labelledby="helpLabel" aria-hidden="true">
|
||||||
<div .modal-dialog .modal-lg>
|
<div .modal-dialog .modal-lg>
|
||||||
<div .modal-content>
|
<div .modal-content>
|
||||||
<div .modal-header>
|
<div .modal-header>
|
||||||
<button type="button" .close data-dismiss="modal" aria-hidden="true">×
|
<button type="button" .close data-dismiss="modal" aria-hidden="true">×
|
||||||
<h3 .modal-title #searchHelpLabel>Help
|
<h3 .modal-title #helpLabel>Help
|
||||||
<div .modal-body>
|
<div .modal-body>
|
||||||
<div .row>
|
<div .row>
|
||||||
<div .col-xs-6>
|
<div .col-xs-6>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user