m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/pl/edu/mimuw
diff options
context:
space:
mode:
authorMagdalena Grodzińska <mag.grodzinska@gmail.com>2019-11-21 18:41:30 +0100
committerMagdalena Grodzińska <mag.grodzinska@gmail.com>2019-11-21 18:41:30 +0100
commitd81a616cfbcd0148ce2f8914693527ec164d80d9 (patch)
tree6afa9ef8d8d19e9091f54a08f454d73e822721c0 /src/main/resources/pl/edu/mimuw
parentf6cc5f269fd4391a75edaea6fb23e846d413029e (diff)
Add zone prompt to attribs chart html
Diffstat (limited to 'src/main/resources/pl/edu/mimuw')
-rw-r--r--src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/attribChart.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/attribChart.html b/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/attribChart.html
index 7e0b37f..29721e8 100644
--- a/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/attribChart.html
+++ b/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/attribChart.html
@@ -34,6 +34,18 @@
<body>
<div th:replace="fragments/navbar :: navbar"></div>
+<div id="zoneAttribForm">
+ <form action="#" th:action="@{/values}" th:object="${zoneName}" method="post">
+ <div class="form-group">
+ <label for="ZoneName1">Enter zone name to get attribute values</label>
+ <input type="text" class="form-control" id="ZoneName1" rows="3" th:field="*{string}"/>
+ <small id="passwordHelpBlock" class="form-text text-muted" th:text="${availableZones}">
+ </small>
+ </div>
+ <button type="submit" class="btn btn-primary">Submit</button>
+ </form>
+</div>
+
<div id="chart_div" style="width: 100%; height: 500px;"></div>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>