Skip to content

Commit

Permalink
#2645, better positionning of the text.
Browse files Browse the repository at this point in the history
  • Loading branch information
www-data committed Nov 8, 2023
1 parent 0aaa967 commit e771dcd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 26 deletions.
12 changes: 6 additions & 6 deletions desktop/js/Abeille.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,22 +118,22 @@ function refreshAdvEq() {

console.log("paramType: " + eq.paramType);
if (eq.paramType == "telecommande") {
document.getElementById("telecommande" ).style.visibility = "visible";
document.getElementById("telecommande" ).style.display = "block";
}
else {
document.getElementById("telecommande" ).style.visibility = "hidden";
document.getElementById("telecommande" ).style.display = "none";
}
if (eq.paramType == "telecommande7groups") {
document.getElementById("telecommande7groups").style.visibility = "visible";
document.getElementById("telecommande7groups").style.display = "block";
}
else {
document.getElementById("telecommande7groups").style.visibility = "hidden";
document.getElementById("telecommande7groups").style.display = "none";
}
if (eq.paramType == "paramABC") {
document.getElementById("paramABC" ).style.visibility = "visible";
document.getElementById("paramABC" ).style.display = "block";
}
else {
document.getElementById("paramABC" ).style.visibility = "hidden";
document.getElementById("paramABC" ).style.display = "none";
}


Expand Down
28 changes: 8 additions & 20 deletions desktop/php/Abeille-Eq-Advanced-Specific.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,10 @@
if (isset($dbgDeveloperMode)) echo __FILE__;
?>


<!-- telecommande: visible / hidden -->
<div class="form-group" id="telecommande" style="visibility: hidden">
<hr>
<div class="col-sm-3">
<h3 class="col-sm-5" style="text-align:center">{{Télécommande}}</h3>
</div>
<div class="form-group" id="telecommande" style="display: none">

<label>{{Télécommande}}</label></br>

<div class="form-group">
<label class="col-sm-3 control-label">{{Adresse groupe}}</label>
Expand All @@ -29,14 +26,10 @@
</div>

<!-- telecommande7groups: visible / hidden -->
<div class="form-group" id="telecommande7groups" style="visibility: hidden">
<div class="form-group" id="telecommande7groups" style="display: none">
<hr>

<div class="form-group">
<div class="col-sm-3">
<h3 class="col-sm-5" style="text-align:left">{{Télécommande}}</h3>
</div>
</div>
<label>{{Télécommande 7 groupes}}</label></br>

<div class="form-group">
<label class="col-sm-3 control-label">{{Adresse groupe Tous}}</label>
Expand Down Expand Up @@ -90,14 +83,9 @@


<!-- paramABC: visible / hidden -->
<div class="form-group" id="paramABC" style="visibility: hidden">
<hr>

<div class="form-group">
<div class="col-sm-3">
<h3 class="col-sm-5" style="text-align:left">{{Calibration (y=ax2+bx+c)}}</h3>
</div>
</div>
<div class="form-group" id="paramABC" style="display: none">

<label>{{Calibration (y=ax2+bx+c)}}</label></br>

<div class="form-group">
<label class="col-sm-3 control-label">{{Paramètre A}}</label>
Expand Down

0 comments on commit e771dcd

Please sign in to comment.