Skip to content

Commit

Permalink
Sprachanpassungen
Browse files Browse the repository at this point in the history
  • Loading branch information
simatec committed Jul 12, 2018
1 parent 5c332df commit 5badc0d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
21 changes: 12 additions & 9 deletions admin/index_m.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@
showHideSettings();
onChange(false);
M.updateTextFields(); // function Materialize.updateTextFields(); to reinitialize all the Materialize labels on the page if you are dynamically adding inputs.


getAdapterInstances('telegram', function (arr) {
instances = arr;
fillInstances('Telegram_instanz', arr, settings['Telegram_instanz']);
});


}
function fillInstances(id, arr, val) {
var $sel = $('#' + id);
Expand Down Expand Up @@ -169,13 +169,16 @@
<input class="value" id="telegram_message" type="checkbox" />
<label for="Benachrichtigungen per Telegram" class="translate">Benachrichtigungen per Telegram</label>
</div>
<div class="row telegram_inst">
<div class="input-field col s3">
<select id="Telegram_instanz" class="value" /></select>
<label for="Telegram_instanz" class="translate">Telegram Instanz</label>
</div>
</div>
<div class="row telegram_inst">
<div class="input-field col s11 m2">
<select id="Telegram_instanz" class="value" /></select>
<label for="Telegram_instanz" class="translate">Telegram Instanz</label>
</div>
<div class="row">
</div>
</div>

<div class="row">
<div class="input-field col s12 m4 l2">
<input type="number" class="value" id="history_status" min="1" max="50" />
Expand Down
1 change: 1 addition & 0 deletions admin/words.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion io-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
"redis_state": false,
"history_status": "25",
"telegram_message": false,
"telegram_instanz": 0,
"Telegram_instanz": "telegram.0",
"nas_var": false,
"FtpDir_ccu": "",
"FtpDir_komplett": "",
Expand Down

0 comments on commit 5badc0d

Please sign in to comment.