config field but button count

pull/1/head
Ondřej Hruška 7 years ago
parent 8de41f9e4f
commit 57f7e4b5e0
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 1
      _debug_replacements.php
  2. 1
      lang/en.php
  3. 5
      pages/cfg_term.php

@ -32,6 +32,7 @@ return [
'bm3' => '',
'bm4' => '',
'bm5' => '05',
'button_count' => 5,
'labels_seq' => ESP_DEMO ? 'TESPTerm Web UI DemoOKCancelHelp' : 'TESPTerm local debugOKCancelHelp',
'want_all_fn' => '0',

@ -80,6 +80,7 @@ return [
'term.debugbar' => 'Debug internal state',
'term.ascii_debug' => 'Display control codes',
'term.backdrop' => 'Background image URL',
'term.button_count' => 'Button count',
'cursor.block_blink' => 'Block, blinking',
'cursor.block_steady' => 'Block, steady',

@ -154,6 +154,11 @@
<input type="hidden" id="show_buttons" name="show_buttons" value="%show_buttons%">
</div>
<div class="Row">
<label for="button_count"><?= tr('term.button_count') ?></label>
<input type="number" step=1 min=0 max=5 name="button_count" id="button_count" value="%h:button_count%" required>
</div>
<div class="Row">
<label><?= tr("term.buttons") ?></label>
<input class="tiny" type="text" name="btn1" id="btn1" value="%h:btn1%">

Loading…
Cancel
Save