Fix change dashboard domain UI issues

This commit is contained in:
Girish Ramakrishnan
2019-01-06 14:52:36 -08:00
parent 67415ff715
commit 428bd43d60
4 changed files with 44 additions and 25 deletions
+4 -5
View File
@@ -317,7 +317,7 @@
<div class="row">
<div class="col-md-8">
<p>
Use this to move this dashboard to another domain.
This will move the dashboard to the <code>my</code>subdomain of the selected domain.
</p>
</div>
<div class="col-md-4">
@@ -325,8 +325,6 @@
</div>
</div>
<br/>
<div class="row">
<div class="col-md-12" style="margin-bottom: 10px;">
<div ng-show="changeDashboard.busy" class="progress progress-striped active animateMe">
@@ -343,8 +341,9 @@
</p>
</div>
<div class="col-md-6 text-right">
<button class="btn btn-outline btn-primary" ng-click="changeDashboard.change()" ng-disabled="changeDashboard.busy || changeDashboard.selectedDomain.domain === changeDashboard.adminDomain.domain" style="margin-right: 10px">Change Dashboard</button>
<a class="btn btn-primary pull-right" ng-href="/logs.html?taskId={{changeDashboard.taskId}}" ng-enabled="changeDashboard.taskId" target="_blank">Show Logs</a>
<button class="btn btn-outline btn-primary" ng-click="changeDashboard.change()" ng-hide="changeDashboard.busy" ng-disabled="changeDashboard.selectedDomain.domain === changeDashboard.adminDomain.domain">Change Dashboard</button>
<button class="btn btn-outline btn-danger" ng-click="changeDashboard.stop()" ng-show="changeDashboard.busy" style="margin-right: 10px">Cancel</button>
<a class="btn btn-primary pull-right" ng-href="/logs.html?taskId={{changeDashboard.taskId}}" ng-show="changeDashboard.busy" target="_blank">Show Logs</a>
</div>
</div>
</div>