remove redundant buttons from home

This commit is contained in:
Zsolt Kocsmarszky 2017-11-13 21:24:17 +01:00
parent 4ed9e01091
commit fa7eaaebcd

View File

@ -1,12 +1,4 @@
<div class="container">
<div class="tile m-t-10 m-b-5" ng-if="$ctrl.canCreateQuery || $ctrl.canCreateDashboard || $ctrl.canCreateAlert">
<div class="t-body p-5">
<a href="queries/new" ng-show="$ctrl.canCreateQuery" class="btn btn-default">New Query</a>
<button ng-show="$ctrl.canCreateDashboard" class="btn btn-default" ng-click="$ctrl.newDashboard()">New Dashboard
</button>
<a href="alerts/new" ng-show="$ctrl.canCreateAlert" class="btn btn-default">New Alert</a>
</div>
</div>
<div class="tile">
<div class="t-body tb-padding">
@ -30,4 +22,4 @@
</div>
</div>
</div>
</div>