Skip to content

Commit

Permalink
new adminTools
Browse files Browse the repository at this point in the history
  • Loading branch information
Sekiro-kost committed Jul 11, 2024
1 parent 57720c9 commit 072b9dc
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
24 changes: 24 additions & 0 deletions desktop/js/luna.js
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,30 @@ function ajax_start_percentage() {


document.getElementById('bt_reloadConfig')?.addEventListener('click', function() {
bootbox.confirm('{{Êtes-vous sûr de vouloir recharger la configuration de Luna ?}}', function(result) {
if (result) {
$.ajax({
type: "POST",
url: "plugins/luna/core/ajax/luna.ajax.php",
data: {
action: "reloadConfig"
},
dataType: 'json',
async: true,
global: false,
error: function(request, status, error) {
handleAjaxError(request, status, error)
},
success: function(data) {
if (data.state != 'ok') {
$('#div_alert').showAlert({ message: data.result, level: 'danger' })
return
}
location.reload();
}
})
}
});

})

Expand Down
5 changes: 5 additions & 0 deletions docs/fr_FR/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
>
>Pour rappel s'il n'y a pas d'information sur la mise à jour, c'est que celle-ci concerne uniquement de la mise à jour de documentation, de traduction ou de texte.

# 11/07/2024

- Ajout Outils Administration

# 09/07/2024

- Mise en place d'un service LTE pour reconnecter le modem
Expand Down
11 changes: 11 additions & 0 deletions docs/fr_FR/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,14 @@ Le plugin SMS fonctionne en meme temps que la 4G sur la Luna 4G.
Les paramétrages se font dans la page LTE du plugin.

/!\ Attention il faut des APN de type ipv4 (bouygue : ebouygtel.com, Orange : orange, free : free). /!\


# FAQ

>**Je possede une Luna 4G, mais l'onglet LTE ne s'affiche pas**
>
>Dans l'onglet Général, il y a des Options d'administration. Cliquez sur Relancer configuration du Plugin
![adminTools](../images/adminTools.png)


Binary file added docs/images/adminTools.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 072b9dc

Please sign in to comment.