diff --git a/desktop/js/atlas.js b/desktop/js/atlas.js index 92b4855..a5dc147 100644 --- a/desktop/js/atlas.js +++ b/desktop/js/atlas.js @@ -112,19 +112,41 @@ function addCmdToTable(_cmd) { if (!isset(_cmd)) { var _cmd = { configuration: {} } } + if (!isset(_cmd.configuration)) { + _cmd.configuration = {} + } var tr = '' + tr += '' + tr += '' + tr += '' tr += '' - tr += '' - tr += '' + tr += '
' + tr += '' + tr += '' + tr += '' + tr += '
' + tr += '' + tr += '' + tr += '' + jeedom.cmd.availableType() + '' + tr += '' + tr += '' tr += '' - tr += ' ' + tr += ' ' + tr += ' ' + tr += ' ' + tr += '
' + tr += '' + tr += '' + tr += '' + tr += '
' tr += '' + tr += ''; + tr += ''; + tr += ''; tr += '' - tr += '' - tr += '' if (is_numeric(_cmd.id)) { - tr += ' ' - tr += ' {{Tester}}' + tr += ' ' + tr += ' {{Tester}}' } tr += '' tr += '' diff --git a/desktop/php/atlas.php b/desktop/php/atlas.php index ccd370f..b557bed 100644 --- a/desktop/php/atlas.php +++ b/desktop/php/atlas.php @@ -19,16 +19,16 @@
{{Configuration}} - -
- -
- {{Création clé Recovery (BETA)}} -
- + + if ($hostname == 'JeedomAtlas' || $hostname == 'jeedomAtlas') { ?> +
+ +
+ {{Création clé Recovery (BETA)}} +
+

@@ -39,11 +39,11 @@ {{Mes Modules Atlas}}
{{Aucun équipement Atlas n\'a été trouvé.}}
'; + echo '
{{Aucun équipement Atlas n\'a été trouvé}}
'; } else { // Champ de recherche echo '
'; - echo ''; + echo ''; echo '
'; echo ''; echo ''; @@ -54,9 +54,12 @@ foreach ($eqLogics as $eqLogic) { $opacity = ($eqLogic->getIsEnable()) ? '' : 'disableCard'; echo '
'; - echo ''; + echo ''; echo '
'; echo '' . $eqLogic->getHumanName(true, true) . ''; + echo ''; echo '
'; } echo '
'; @@ -83,142 +86,161 @@
  • {{Commandes}}
  • -
    -

    -
    -
    -
    -
    - {{Général}} -
    - -
    - - -
    - +
    + +
    + + + +
    +
    + {{Paramètres généraux}} +
    + +
    + + +
    +
    +
    + +
    + +
    +
    +
    + +
    + $value) { + echo ''; + } + ?> +
    +
    +
    + +
    + + +
    +
    + {{Paramètres spécifiques}} +
    + +
    + +
    +
    +
    - -
    -
    -
    -
    - {{Informations}} -
    - -
    - -
    -
    -
    - -
    - -
    -
    -
    - -
    - -
    -
    -
    - -
    - -
    -
    -
    -
    -
    -
    -
    +
    + +
    + +
    + +
    +
    + + + +
    + + +
    + {{Informations}} +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + + +
    + +
    - - - - - - - - - + +

    +
    +
    {{Nom}}{{Options}}{{Action}}
    + + + + + + + + + + + - -
    {{Nom}}{{Type}}{{Options}}{{Valeur}}{{Actions}}
    + + +
    @@ -228,4 +250,4 @@ - + \ No newline at end of file