summaryrefslogtreecommitdiffstats
path: root/reporting/docker/src/templates/index.html
diff options
context:
space:
mode:
authorsaksham115 <saksham.agrawal@research.iiit.ac.in>2017-07-06 19:46:28 +0530
committersaksham115 <saksham.agrawal@research.iiit.ac.in>2017-07-06 19:48:09 +0530
commit99dd390e16ec256232def1c09b0ea23a570807d0 (patch)
tree66d0d377ede38f3bbfbafaf7a48a77f91771097b /reporting/docker/src/templates/index.html
parent1d026b94b60937e4bfaad201d8104267efc3fe04 (diff)
Demo Code
Enter the URL of the json file available at testresults.opnfv.org. It presents the data in the tabular and plots the chart for the series. Data validation and some UI changes are yet to be made Change-Id: I90ceed4e8a3240face479539f127d5c922d19d0c JIRA: STORPERF-162 Signed-off-by: saksham115 <saksham.agrawal@research.iiit.ac.in>
Diffstat (limited to 'reporting/docker/src/templates/index.html')
-rw-r--r--reporting/docker/src/templates/index.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/reporting/docker/src/templates/index.html b/reporting/docker/src/templates/index.html
new file mode 100644
index 0000000..c302299
--- /dev/null
+++ b/reporting/docker/src/templates/index.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+ <title>Graphing Module | Storperf</title>
+ <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}">
+ <script src="{{ url_for('static', filename='js/jquery-2.1.3.min.js') }}"></script>
+ <script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
+ <script src="{{ url_for('static', filename='js/jquery.bootpag.min.js') }}"></script>
+</head>
+
+<body>
+ <div class="container">
+ <div class="content">
+ <div class="row center">
+ <br>
+ <form action="{{ url_for('url') }}" method="post">
+ <div class="form-group">
+ <label for="url">Enter URL:</label>
+ <br>
+ <input type="text" name="url" id="url" class="form-control">
+ <br>
+ <button type="submit" class="btn btn-default">Submit</button>
+ </div>
+ </form>
+ </div>
+ </div>
+ </div>
+</body>
+
+</html> \ No newline at end of file