summaryrefslogtreecommitdiffstats
path: root/predPy/templates
diff options
context:
space:
mode:
authorLinghui Zeng <linghui.zeng@huawei.com>2016-04-21 17:01:43 +0800
committerLinghui Zeng <linghui.zeng@huawei.com>2016-04-21 17:01:43 +0800
commit79d3c6c1e9a68792d315aed5f50d5ae0ac6d8d68 (patch)
treebc03207ecaa59962148377682b593a2de6f5dca9 /predPy/templates
parent8a605204c49c1658cbe20f1f87a8ca5b51e834ab (diff)
Add other dashboard code for data collection
JIRA: PREDICTION-50 Change-Id: Icc4a960f7da71c4922b27e8179dad5bdced1fc2d Signed-off-by: Linghui Zeng <linghui.zeng@huawei.com>
Diffstat (limited to 'predPy/templates')
-rw-r--r--predPy/templates/meterSamples.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/predPy/templates/meterSamples.html b/predPy/templates/meterSamples.html
new file mode 100644
index 0000000..63c460d
--- /dev/null
+++ b/predPy/templates/meterSamples.html
@@ -0,0 +1,12 @@
+$def with (count)
+
+$if count:
+ <h2>Well done! Collection is completed.</h2>
+ <h2><em style="color: green;">$count</em> rows of meter samples have been written in the file named "collectMeterSamples.arff" in your current directory.</h2>
+ <h2>Please check!</h2>
+$else:
+ <h2><em>That's too bad! The meter samples are not successfully generated. Please try again!</em></h2>
+
+<form action="/" method="GET">
+ <button style="color: blue; font-size: 2em;" type="submit">Try again!</button>
+</form>