aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/templates
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-23 16:39:29 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-23 16:39:29 +0800
commit58bc8b4bca4a0272ea78294d8aa413598eaf75c6 (patch)
treeb8b0bf3c310698b777794b3503fc35a891fc0ee9 /fg21sim/webui/templates
parent16b75072db5ff7822a6e0d4345f7d73f678fff42 (diff)
downloadfg21sim-58bc8b4bca4a0272ea78294d8aa413598eaf75c6.tar.bz2
webui: Add "from_localhost" to IndexHandler and products template
Diffstat (limited to 'fg21sim/webui/templates')
-rw-r--r--fg21sim/webui/templates/products.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/fg21sim/webui/templates/products.html b/fg21sim/webui/templates/products.html
index e7c7427..a883565 100644
--- a/fg21sim/webui/templates/products.html
+++ b/fg21sim/webui/templates/products.html
@@ -25,12 +25,14 @@
<input class="form-control code" type="text" id="products-manifest" required />
</div>
</div>
+ {% if from_localhost %}
<div class="row">
<div class="column form-group">
<label for="products-ds9">DS9 Executable Path:</label>
<input class="form-control code" type="text" id="products-ds9" value="ds9" />
</div>
</div>
+ {% end %}
</form>
<hr class="hr-thin hr-condensed hr-dashed" />