Skip to content

Commit 789b20a

Browse files
authored
Update network.php
1 parent a0890a7 commit 789b20a

File tree

1 file changed

+21
-16
lines changed

1 file changed

+21
-16
lines changed

desktop/modal/network.php

+21-16
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
<li><a href="#action_configuration" data-toggle="tab"><i class="fas fa-cogs"></i></i> {{Configuration}}</a></li>
8383
<li><a href="#action_network" data-toggle="tab"><i class="fas fa-terminal"></i></i> {{Actions}}</a></li>
8484
<li><a href="#devices_network" data-toggle="tab"><i class="fab fa-codepen"></i> {{Noeuds}} (<?php echo count($devices) - 1 ?>)</a></li>
85-
<li role="presentation" id="tab_graph"><a href="#graph_network" aria-controls="profile" role="tab" data-toggle="tab"><i class="far fa-image"></i> {{Graphique du réseaux}}</a></li>
85+
<li role="presentation" id="tab_graph"><a href="#graph_network" aria-controls="profile" role="tab" data-toggle="tab"><i class="far fa-image"></i> {{Graphique du réseau}}</a></li>
8686
<li role="presentation"><a href="#rawBridgeTab" aria-controls="profile" role="tab" data-toggle="tab"><i class="fas fa-list-alt"></i> {{Informations brutes}}</a></li>
8787
<a class="btn btn-info pull-right" id="bt_refreshNetwork"><i class="fas fa-sync"></i></a>
8888
</ul>
@@ -101,30 +101,33 @@
101101
<p>
102102
{{Version :}}
103103
<b><span class="label label-default" style="font-size : 1em;"><?php echo $infos['version'] ?></span></b>
104+
<br/>
104105
{{Niveau de log :}}
105106
<b><span class="label label-default" style="font-size : 1em;"><?php echo $infos['log_level'] ?></span></b>
106-
<br />
107+
<br/>
107108
{{Coordinateur :}}
108109
<b><span class="label label-default" style="font-size : 1em;"><?php echo $infos['coordinator']['type'] ?></span></b>
109110
{{Port :}}
110111
<b><span class="label label-default" style="font-size : 1em;"><?php echo $infos['config']['serial']['port'] ?></span></b>
111112
<br />
112-
{{Interval de verification OTA :}}
113+
{{Intervalle de vérification OTA :}}
113114
<b><span class="label label-default" style="font-size : 1em;"><?php echo $infos['config']['ota']['update_check_interval'] ?>s</span></b>
114115
</p>
115116
</div>
116117
</div>
117118

118119
<div class="panel panel-primary">
119120
<div class="panel-heading">
120-
<h4 class="panel-title"><i class="fas fa-info-circle"></i> {{Réseaux zigbee}}</h4>
121+
<h4 class="panel-title"><i class="fas fa-info-circle"></i> {{Réseau zigbee}}</h4>
121122
</div>
122123
<div class="panel-body">
123124
<p>
124125
{{Canal :}}
125126
<b><span class="label label-default" style="font-size : 1em;"><?php echo $infos['network']['channel'] ?></span></b>
127+
<br/>
126128
{{Ext pan id :}}
127129
<b><span class="label label-default" style="font-size : 1em;"><?php echo $infos['network']['extended_pan_id'] ?></span></b>
130+
<br/>
128131
{{Pan id :}}
129132
<b><span class="label label-default" style="font-size : 1em;"><?php echo $infos['network']['pan_id'] ?></span></b>
130133
</p>
@@ -140,8 +143,10 @@
140143
<p>
141144
{{Topic :}}
142145
<b><span class="label label-default" style="font-size : 1em;"><?php echo $infos['config']['mqtt']['base_topic'] ?></span></b>
146+
<br/>
143147
{{Serveur :}}
144148
<b><span class="label label-default" style="font-size : 1em;"><?php echo $infos['config']['mqtt']['server'] ?></span></b>
149+
<br/>
145150
{{Utilisateur :}}
146151
<b><span class="label label-default" style="font-size : 1em;"><?php echo $infos['config']['mqtt']['user'] ?></span></b>
147152
</p>
@@ -233,12 +238,12 @@
233238
</thead>
234239
<tbody>
235240
<tr>
236-
<td><a class="btn btn-default" id="bt_z2mNetworkBackup">{{Sauvegarder}}</a></td>
237-
<td>{{Créer un zip contenant une sauvegarde du réseaux}}</td>
238-
</tr>
241+
<td><a class="btn btn-info" id="bt_z2mNetworkBackup">{{Sauvegarder}}</a></td>
242+
<td>{{Création d'un zip contenant une sauvegarde du réseau}} <a class="btn btn-success" href="index.php?v=d&p=editor&root=plugins/z2m/data/backup">{{Accéder à la sauvegarde}}</a></td>
243+
</tr>
239244
<tr>
240-
<td><a class="btn btn-warning" id="bt_z2mNetworkRestart">{{Redemarrer}}</a></td>
241-
<td>{{Redemarre zigbee2mqtt}}</td>
245+
<td><a class="btn btn-warning" id="bt_z2mNetworkRestart">{{Redémarrer  }}</a></td>
246+
<td>{{Redémarre zigbee2mqtt}}</td>
242247
</tr>
243248
</tbody>
244249
</table>
@@ -254,7 +259,7 @@
254259
<th>{{Nom}}</th>
255260
<th>{{LQI}}</th>
256261
<th>{{Type}}</th>
257-
<th>{{Derniere communication}}</th>
262+
<th>{{Dernière communication}}</th>
258263
<th>{{Action}}</th>
259264
</tr>
260265
</thead>
@@ -417,7 +422,7 @@
417422
},
418423
success: function() {
419424
$('#div_alert').showAlert({
420-
message: '{{Paramètre envoyé. Attention cela peut demander un redemarrage du Z2M}}',
425+
message: '{{Paramètre envoyé. Attention cela peut demander un redémarrage de Z2M}}',
421426
level: 'success'
422427
});
423428
}
@@ -427,7 +432,7 @@
427432

428433
$('#bt_refreshNetwork').off('click').on('click', function() {
429434
$('#md_modal').dialog({
430-
title: "{{Configuration du réseaux}}"
435+
title: "{{Configuration du réseau}}"
431436
}).load('index.php?v=d&plugin=z2m&modal=network').dialog('open');
432437
});
433438

@@ -441,7 +446,7 @@
441446
},
442447
success: function() {
443448
$('#div_alert').showAlert({
444-
message: '{{Demande de sauvegarde envoyée avec success}}',
449+
message: '{{Demande de sauvegarde envoyée avec succès}}',
445450
level: 'success'
446451
});
447452
}
@@ -458,7 +463,7 @@
458463
},
459464
success: function() {
460465
$('#div_alert').showAlert({
461-
message: '{{Demande de redemarrage envoyée avec success}}',
466+
message: '{{Demande de redémarrage envoyée avec succès}}',
462467
level: 'success'
463468
});
464469
}
@@ -479,7 +484,7 @@
479484
},
480485
success: function() {
481486
$('#div_alert').showAlert({
482-
message: '{{Demande de suppression envoyée avec success}}',
487+
message: '{{Demande de suppression envoyée avec succès}}',
483488
level: 'success'
484489
});
485490
}
@@ -496,7 +501,7 @@
496501
},
497502
success: function() {
498503
$('#div_alert').showAlert({
499-
message: '{{Demande de mise à jour de la carte réseaux envoyée. Veuillez attendre 3min et reouvrir la carte}}',
504+
message: '{{Demande de mise à jour de la carte réseau envoyée. Veuillez attendre 3min et réouvrir la carte}}',
500505
level: 'success'
501506
});
502507
}

0 commit comments

Comments
 (0)