[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 110/219: task #0001271: Rendre possible un c
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 110/219: task #0001271: Rendre possible un copier/coller du résultat de la calculatrice. Add a button to Pin a box |
Date: |
Mon, 18 Dec 2017 13:22:46 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 695f1b8135a5eae99ccffb9928c0f770ca0b84dc
Author: Dany De Bontridder <address@hidden>
Date: Tue Oct 24 21:46:38 2017 +0200
task #0001271: Rendre possible un copier/coller du résultat de la
calculatrice.
Add a button to Pin a box
---
html/js/scripts.js | 4 ++--
include/template/ledger_detail_top.php | 3 +++
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/html/js/scripts.js b/html/js/scripts.js
index 97326f7..88ba2b9 100644
--- a/html/js/scripts.js
+++ b/html/js/scripts.js
@@ -1061,8 +1061,8 @@ function show_calc()
}
var sid = 'calc1';
var shtml = '';
- shtml += '<div
style="float:right;height:10px;display:block;margin-top:2px;margin-right:2px">
<a onclick="removeDiv(\'calc1\');" href="javascript:void(0)"
id="close_div">X</a></div>';
- shtml += '<div> <h2 class="info">Calculatrice</h2></div>';
+ shtml += '<div
style="float:right;height:10px;display:block;margin-top:2px;margin-right:2px"><span
id="pin_calc1"><a class="input_text" onclick="pin(\'calc1\')"
id="close_div">❉</a></span> <a onclick="removeDiv(\'calc1\');"
href="javascript:void(0)" id="close_div">X</a></div>';
+ shtml += '<div> <h2 class="title">Calculatrice</h2></div>';
shtml += '<form name="calc_line" method="GET" onSubmit="cal();return
false;" >Calculatrice simplifiée: écrivez simplement les opérations que vous
voulez puis la touche retour. exemple : 1+2+3*(1/5) <input class="input_text"
type="text" size="30" id="inp" name="calculator"> <input type="button"
value="Efface tout" class="button" onClick="Clean();return false;" > <input
type="button" class="button" value="Fermer" onClick="removeDiv(\'calc1\')" >';
shtml += '</form><span id="result"> </span><br><span id="sub_total">
Taper une formule (ex 20*5.1) puis enter </span><br><span id="listing">
</span>';
diff --git a/include/template/ledger_detail_top.php
b/include/template/ledger_detail_top.php
index 8b7d11a..934b31a 100644
--- a/include/template/ledger_detail_top.php
+++ b/include/template/ledger_detail_top.php
@@ -18,6 +18,9 @@
echo '<A id="close_div" title="'.$msg_pop.'" onclick="var
a=window.open(\'popup.php?'.$str.'\',\'\',\'titlebar=no,location=no,statusbar=no,menubar=no,toolbar=no,fullscreen=yes,scrollbars=yes,resizable=yes,status=no\');
a.focus();removeDiv(\''.$div.'\')">⬜
</A>';
+ printf('<span id="pin_%s"
style="margin:0px;padding:0px;margin-right:6px;padding-top:2px;font-size:120%%;border-width:0px"
><a class="input_text" onclick="pin(\'%s\')"
id="close_div">❉</a></span>',
+ $div,
+ $div);
echo '<A id="close_div" title="'.$msg_close.'"
onclick="removeDiv(\''.$div.'\');">⨉</A>';
}
?>
- [Noalyss-commit] [noalyss] 38/219: task #0001411: Faire des boutons du menu des... boutons, (continued)
- [Noalyss-commit] [noalyss] 38/219: task #0001411: Faire des boutons du menu des... boutons, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 95/219: Recording operation : when adding a row , the css class was not copied, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 02/219: Improve redirect, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 87/219: Esthetic : no span surrounding the value, must be done in the caller, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 140/219: Javascript : small error, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 115/219: Correct indentation, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 68/219: HttpInput : do not use isset but in_array, to avoid problem if the value is null, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 58/219: Correct : json function, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 60/219: Inplace_Edit : improve button + test, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 132/219: Manage_Table_SQL : add a function to set the order, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 110/219: task #0001271: Rendre possible un copier/coller du résultat de la calculatrice. Add a button to Pin a box,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 03/219: Improve redirect, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 97/219: esthetic style-r692 : size icon, arrow ..., Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 08/219: profil : CFGPRO , correct, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 11/219: Infobulle : esthetic, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 73/219: Esthetic : History , improve place of button, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 184/219: Icon move / fix Correct button_anchor to avoid the message "javascript:void(0)", Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 43/219: Add the icon for modify, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 12/219: Infobulle : warning : esthetic, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 126/219: Esthetic : align text, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 113/219: Améliore esthétique, Dany De Bontridder, 2017/12/18