aboutsummaryrefslogtreecommitdiffstats
path: root/web/index.html
diff options
context:
space:
mode:
authorroot <root@colazero.tele.tg18.gathering.org>2018-03-22 02:15:07 +0100
committerroot <root@colazero.tele.tg18.gathering.org>2018-03-22 02:15:07 +0100
commit9ddfd86b4f54ba3f178fde9f8cb959baa02da718 (patch)
tree0cf1e0b1e2c04d2180a343e31da9ee07d35c097f /web/index.html
parent05e09f3b63269a48d1beb0dc9900b180101cec7f (diff)
Commit diverse av Ole Mathias sitt template-greier
Diffstat (limited to 'web/index.html')
-rw-r--r--web/index.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/web/index.html b/web/index.html
index d8f2a60..2fee54f 100644
--- a/web/index.html
+++ b/web/index.html
@@ -143,11 +143,11 @@
<div class="span3 col-lg-6">
<textarea id="template-input" class="form-control" cols="80" rows="25"></textarea>
<div class="form-inline">
- <div class="form-group">
- <button onclick="nmsTemplate.fromFile('HOWTO.txt')" class="btn btn-info">Load HOWTO.txt</button>
- <button onclick="nmsTemplate.fromFile('switches.txt')" class="btn btn-info">Load switches.txt</button>
- <button onclick="nmsTemplate.fromFile('switch.txt')" class="btn btn-info">Load switch.txt</button>
- </div>
+ <div class="form-group">
+ <select onchange="nmsTemplate.fromFile(this.value)" class="form-control" id="nmsTemplate-select">
+ <option value="">Select template</option>
+ </select>
+ </div>
<div class="form-group">
<label for="template-query-params">Query parameters</label>
<input type="text" class="form-control" id="template-query-params" value="?switch=e13-1&foo=bar" />