forked from DGNum/gestioCOF
Ajout buttons K-Psul pour RAZ (F1) et majoration (F9)
This commit is contained in:
parent
f50d5a30cd
commit
0d900eadbb
2 changed files with 13 additions and 11 deletions
|
@ -228,7 +228,7 @@ input[type=number]::-webkit-outer-spin-button {
|
|||
|
||||
#special_operations button {
|
||||
height:100%;
|
||||
width:50%;
|
||||
width:25%;
|
||||
|
||||
float:left;
|
||||
|
||||
|
@ -239,18 +239,10 @@ input[type=number]::-webkit-outer-spin-button {
|
|||
font-weight:bold;
|
||||
}
|
||||
|
||||
#special_operations button:focus {
|
||||
#special_operations button:focus, #special_operations button:hover {
|
||||
outline:none;
|
||||
}
|
||||
|
||||
#operation_deposit:focus, #operation_deposit:hover {
|
||||
background:#000;
|
||||
color:#FFF;
|
||||
}
|
||||
|
||||
#operation_withdraw:focus, #operation_withdraw:hover {
|
||||
background:#000;
|
||||
color:#FFF;
|
||||
color:#fff;
|
||||
}
|
||||
|
||||
/* Article autocomplete */
|
||||
|
|
|
@ -65,6 +65,8 @@
|
|||
<div id="special_operations">
|
||||
<button role="button" class="btn" id="operation_deposit">Charge</button>
|
||||
<button role="button" class="btn" id="operation_withdraw">Retrait</button>
|
||||
<button role="button" class="btn" id="cool_reset">RAZ</button>
|
||||
<button role="button" class="btn" id="ask_addcost">Major.</button>
|
||||
</div>
|
||||
<div id="article_selection">
|
||||
<input type="text" id="article_autocomplete">
|
||||
|
@ -1142,6 +1144,14 @@ $(document).ready(function() {
|
|||
|
||||
// Shorcuts
|
||||
|
||||
$('#cool_reset').click(function() {
|
||||
coolReset();
|
||||
});
|
||||
|
||||
$('#ask_addcost').click(function() {
|
||||
askAddcost();
|
||||
});
|
||||
|
||||
$(document).on('keydown', function(e) {
|
||||
switch (e.keyCode) {
|
||||
case 112:
|
||||
|
|
Loading…
Reference in a new issue