summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgui/odr-dabmux-gui.py2
-rw-r--r--gui/views/configeditor.tpl2
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>