Skip to content

Commit b878b3a

Browse files
author
Loïc
authored
Merge pull request #23 from Ethal/patch-1
remove balise center
2 parents 860e96d + d901128 commit b878b3a

1 file changed

Lines changed: 12 additions & 16 deletions

File tree

desktop/php/script.php

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -39,23 +39,20 @@
3939
<div class="col-lg-10 col-md-9 col-sm-8 eqLogicThumbnailDisplay" style="border-left: solid 1px #EEE; padding-left: 25px;">
4040
<legend><i class="fa fa-cog"></i> {{Gestion}}</legend>
4141
<div class="eqLogicThumbnailContainer">
42-
<div class="cursor eqLogicAction" data-action="add" style="background-color : #ffffff; height : 120px;margin-bottom : 10px;padding : 5px;border-radius: 2px;width : 160px;margin-left : 10px;" >
43-
<center>
42+
<div class="cursor eqLogicAction" data-action="add" style="text-align: center; background-color : #ffffff; height : 120px;margin-bottom : 10px;padding : 5px;border-radius: 2px;width : 160px;margin-left : 10px;" >
4443
<i class="fa fa-plus-circle" style="font-size : 5em;color:#94ca02;"></i>
45-
</center>
46-
<span style="font-size : 1.1em;position:relative; top : 15px;word-break: break-all;white-space: pre-wrap;word-wrap: break-word;;color:#94ca02"><center>{{Ajouter}}</center></span>
44+
<br>
45+
<span style="font-size : 1.1em;position:relative; top : 15px;word-break: break-all;white-space: pre-wrap;word-wrap: break-word;;color:#94ca02">{{Ajouter}}</span>
4746
</div>
48-
<div class="cursor" id="bt_getFromMarketicon" style="background-color : #ffffff; height : 120px;margin-bottom : 10px;padding : 5px;border-radius: 2px;width : 160px;margin-left : 10px;" >
49-
<center>
47+
<div class="cursor" id="bt_getFromMarketicon" style="text-align: center; background-color : #ffffff; height : 120px;margin-bottom : 10px;padding : 5px;border-radius: 2px;width : 160px;margin-left : 10px;" >
5048
<i class="fa fa-shopping-cart" style="font-size : 5em;color:#94ca02;"></i>
51-
</center>
52-
<span style="font-size : 1.1em;position:relative; top : 15px;word-break: break-all;white-space: pre-wrap;word-wrap: break-word;;color:#94ca02"><center>{{Market}}</center></span>
49+
<br>
50+
<span style="font-size : 1.1em;position:relative; top : 15px;word-break: break-all;white-space: pre-wrap;word-wrap: break-word;;color:#94ca02">{{Market}}</span>
5351
</div>
54-
<div class="cursor eqLogicAction" data-action="gotoPluginConf" style="background-color : #ffffff; height : 120px;margin-bottom : 10px;padding : 5px;border-radius: 2px;width : 160px;margin-left : 10px;">
55-
<center>
52+
<div class="cursor eqLogicAction" data-action="gotoPluginConf" style="text-align: center; background-color : #ffffff; height : 120px;margin-bottom : 10px;padding : 5px;border-radius: 2px;width : 160px;margin-left : 10px;">
5653
<i class="fa fa-wrench" style="font-size : 5em;color:#767676;"></i>
57-
</center>
58-
<span style="font-size : 1.1em;position:relative; top : 15px;word-break: break-all;white-space: pre-wrap;word-wrap: break-word;color:#767676"><center>{{Configuration}}</center></span>
54+
<br>
55+
<span style="font-size : 1.1em;position:relative; top : 15px;word-break: break-all;white-space: pre-wrap;word-wrap: break-word;color:#767676">{{Configuration}}</span>
5956
</div>
6057
</div>
6158
<legend><i class="fa fa-file"></i> {{Mes Scripts}}
@@ -64,11 +61,10 @@
6461
<?php
6562
foreach ($eqLogics as $eqLogic) {
6663
$opacity = ($eqLogic->getIsEnable()) ? '' : jeedom::getConfiguration('eqLogic:style:noactive');
67-
echo '<div class="eqLogicDisplayCard cursor" data-eqLogic_id="' . $eqLogic->getId() . '" style="background-color : #ffffff; height : 200px;margin-bottom : 10px;padding : 5px;border-radius: 2px;width : 160px;margin-left : 10px;' . $opacity . '" >';
68-
echo "<center>";
64+
echo '<div class="eqLogicDisplayCard cursor" data-eqLogic_id="' . $eqLogic->getId() . '" style="text-align: center; background-color : #ffffff; height : 200px;margin-bottom : 10px;padding : 5px;border-radius: 2px;width : 160px;margin-left : 10px;' . $opacity . '" >';
6965
echo '<img src="plugins/script/doc/images/script_icon.png" height="105" width="95" />';
70-
echo "</center>";
71-
echo '<span style="font-size : 1.1em;position:relative; top : 15px;word-break: break-all;white-space: pre-wrap;word-wrap: break-word;"><center>' . $eqLogic->getHumanName(true, true) . '</center></span>';
66+
echo "<br>";
67+
echo '<span style="font-size : 1.1em;position:relative; top : 15px;word-break: break-all;white-space: pre-wrap;word-wrap: break-word;">' . $eqLogic->getHumanName(true, true) . '</span>';
7268
echo '</div>';
7369
}
7470
?>

0 commit comments

Comments
 (0)