Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #7 from JEALG/beta
Browse files Browse the repository at this point in the history
Nettoyage du code
  • Loading branch information
JEALG committed Sep 1, 2019
2 parents 233180b + 3bdab62 commit 40cc0bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd.info.numeric.Fenetre.html
@@ -1,7 +1,7 @@
<div style="padding:0;width:90px;min-height:62px;" class="cmd #history# tooltips cmd-widget" data-type="info" data-subtype="binary" data-cmd_id="#id#" data-cmd_uid="#uid#" data-eqLogic_id="#eqLogic_id#" data-eqLogic_id="#eqLogic_id#" title="#collectDate#">
<!-- Info Widget
Basé sur les widget de :
Mise à jour : JAG 20190827 : Création
Mise à jour : JAG 201908901 : Nettoyage du code
-->
<div class="title #hide_name#">
<div class="cmdName" style="#hideCmdName#">#name_display#</div>
Expand All @@ -17,8 +17,8 @@
jeedom.cmd.update['#id#'] = function(_options){
// Options de personnalisation avec valeur par defaut
// Paramètre "sizeh" & "sizew"
var srcImgHeight = is_numeric('#sizeh#') ? parseFloat('#sizeh#'):80;
var srcImgWidth = is_numeric('#sizew#') ? parseFloat('#sizew#'):80;
var srcImgHeight = is_numeric('#sizeh#') ? parseFloat('#sizeh#'):80;
var srcImgWidth = is_numeric('#sizew#') ? parseFloat('#sizew#'):80;
// Type de taille
var srcImgpourcent = ('#Pourcentage#'!='#'+'Pourcentage#') ? "#Pourcentage#" : "NO";
if (srcImgpourcent == "NO") {
Expand Down

0 comments on commit 40cc0bd

Please sign in to comment.