mirror of
https://github.com/valitydev/redash.git
synced 2024-11-08 09:53:59 +00:00
remove redundant buttons from home
This commit is contained in:
parent
4ed9e01091
commit
fa7eaaebcd
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user