diff options
author | Robin ALEXANDER <colisee@hotmail.com> | 2022-02-06 09:20:00 +0100 |
---|---|---|
committer | Robin ALEXANDER <colisee@hotmail.com> | 2022-02-06 09:20:00 +0100 |
commit | cf59334d138a7d751ea081581fef27bc82551f42 (patch) | |
tree | 51564185fed3c083f8c720a0fc118eaf2c2dde21 /gui | |
parent | a9aadb35bdc03875b0f90e18fd2190aa19f8f58f (diff) | |
download | dabmux-cf59334d138a7d751ea081581fef27bc82551f42.tar.gz dabmux-cf59334d138a7d751ea081581fef27bc82551f42.tar.bz2 dabmux-cf59334d138a7d751ea081581fef27bc82551f42.zip |
Improve visual aspect of configeditor
Diffstat (limited to 'gui')
-rwxr-xr-x | gui/odr-dabmux-gui.py | 2 | ||||
-rw-r--r-- | gui/views/configeditor.tpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gui/odr-dabmux-gui.py b/gui/odr-dabmux-gui.py index 5a35007..873bd3f 100755 --- a/gui/odr-dabmux-gui.py +++ b/gui/odr-dabmux-gui.py @@ -43,7 +43,7 @@ def config(): return template('configeditor', version = conf.get_mux_version(), - config = conf.get_full_configuration(), + config = json.dumps(conf.get_full_configuration(), indent=4), message = "") @route('/config', method="POST") diff --git a/gui/views/configeditor.tpl b/gui/views/configeditor.tpl index ff7094d..dcf012e 100644 --- a/gui/views/configeditor.tpl +++ b/gui/views/configeditor.tpl @@ -18,7 +18,7 @@ <form action="/config" method="post"> <p> - <textarea name="config" cols="60" rows="50">{{config}}</textarea> + <textarea name="config" cols="60" rows="30">{{config}}</textarea> </p> <p> |