Skip to content

Commit

Permalink
Merge pull request #272 from flask-dashboard/movingButton
Browse files Browse the repository at this point in the history
Moved button to above overview table and deleted the first row in the…
  • Loading branch information
bogdanp05 committed Nov 17, 2019
2 parents dedfac4 + f198d6d commit 6d6812b
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions flask_monitoringdashboard/static/pages/overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,15 @@
<div class="rect5"></div>
</div>

<ul class="pagination">
<li class="page-item" ng-class="{'active': isHits}"><a class="page-link" ng-click="toggleHits()">Number
of hits</a></li>
<li class="page-item" ng-class="{'active': !isHits}"><a class="page-link" ng-click="toggleHits()">Median
request duration (ms)</a></li>
</ul>

<table datatable="ng" class="table table-hover table-bordered" dt-options="options">
<thead>
<tr>
<th colspan="2"></th>
<th ng-show="isHits" colspan="3" style="text-align: center; font-size: large;">Number of hits</th>
<th ng-show="isHits==false" colspan="3" style="text-align: center; font-size: large;">Median request
duration (ms)
</th>
<th></th>
<th></th>
</tr>
<tr>
<th></th>
<th>Endpoint</th>
Expand Down Expand Up @@ -75,12 +73,6 @@
</tbody>
</table>

<ul class="pagination">
<li class="page-item" ng-class="{'active': isHits}"><a class="page-link" ng-click="toggleHits()">Number
of hits</a></li>
<li class="page-item" ng-class="{'active': !isHits}"><a class="page-link" ng-click="toggleHits()">Median
request duration</a></li>
</ul>
</div>

</div>
Expand Down

0 comments on commit 6d6812b

Please sign in to comment.