aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/booking/stats.html
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-06-21 15:11:29 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-06-21 15:11:29 +0000
commit2036a3cf0c3316670fa1a5b06ff57d41195b0de9 (patch)
tree93129029cdc0aeafa607c2f3c9234e1652ff833d /src/templates/booking/stats.html
parente449050bc3b42ee44dc8d651036212541d3bcf36 (diff)
parent79c629d3ba78ad6884a1ec4a7bdf470140647b16 (diff)
Merge "Add bootstrap 4 support"
Diffstat (limited to 'src/templates/booking/stats.html')
-rw-r--r--src/templates/booking/stats.html31
1 files changed, 21 insertions, 10 deletions
diff --git a/src/templates/booking/stats.html b/src/templates/booking/stats.html
index 42eebdd..8bc68cd 100644
--- a/src/templates/booking/stats.html
+++ b/src/templates/booking/stats.html
@@ -41,17 +41,28 @@ function getData(){
{% endblock %}
{% block content %}
- <p>Number of days to plot: </p>
- <div class="form-group">
- <input id="number_days" type="number" class="form-control" min="1" step="1" style="display:inline;width:200px"/>
- <button class="btn btn-primary" onclick="getData();" style="display:inline;">Submit</button>
- </div>
- <div id="all_graph_container">
- <div id="booking_graph_wrapper">
- <div id="booking_graph_container"/>
+ <div class="container-fluid">
+ <div class="row">
+ <div class="col">
+ <p>Number of days to plot: </p>
+ <div class="form-group">
+ <input id="number_days" type="number" class="form-control" min="1" step="1" style="display:inline;width:200px"/>
+ <button class="btn btn-primary" onclick="getData();" style="display:inline;">Submit</button>
+ </div>
+ </div>
</div>
- <div id="user_graph_wrapper" >
- <div id="user_graph_container"/>
+ <div class="row">
+ <div class="col-12 col-md-10">
+ <!-- These graphs do NOT get redrawn when the browser size is changed -->
+ <div id="all_graph_container border" class="mw-100">
+ <div id="booking_graph_wrapper">
+ <div id="booking_graph_container"/>
+ </div>
+ <div id="user_graph_wrapper">
+ <div id="user_graph_container"/>
+ </div>
+ </div>
+ </div>
</div>
</div>
<script>