aboutsummaryrefslogtreecommitdiff
path: root/templates/config.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/config.html')
-rw-r--r--templates/config.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/config.html b/templates/config.html
index 2d64444..9018811 100644
--- a/templates/config.html
+++ b/templates/config.html
@@ -28,7 +28,7 @@
{{$errors := .Errors}}
{{range $i, $schema := .Schema}}
<div class="form-group">
- <label for="{{$schema.Name}}">{{$schema.Description}}</label>
+ <label for="{{$schema.Name}}">{{$schema.Description}}:</label>
{{if $schema.FixedValue}}
<input type="text"
disabled="disabled"
@@ -51,6 +51,12 @@
class="form-control"
name="{{$schema.Name}}"
id="{{$schema.Name}}"
+ placeholder="(not modified if left empty)" />
+ {{else if $schema.IsNumeric}}
+ <input type="number"
+ class="form-control"
+ name="{{$schema.Name}}"
+ id="{{$schema.Name}}"
value="{{index $config $schema.Name}}" />
{{else}}
<input type="text"