toolbar buttons are disabled by default
This commit is contained in:
parent
1db9e2d352
commit
d2db91403b
|
@ -45,17 +45,17 @@
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="divider"></li>
|
<li class="divider"></li>
|
||||||
<li ng-class="{'disabled': !isSpecifiedTaskSelected('paused')}">
|
<li class="disabled" ng-class="{'disabled': !isSpecifiedTaskSelected('paused')}">
|
||||||
<a class="toolbar" title="{{'Start' | translate}}" ng-click="changeTasksState('start')">
|
<a class="toolbar" title="{{'Start' | translate}}" ng-click="changeTasksState('start')">
|
||||||
<i class="fa fa-play"></i>
|
<i class="fa fa-play"></i>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li ng-class="{'disabled': !isSpecifiedTaskSelected('active')}">
|
<li class="disabled" ng-class="{'disabled': !isSpecifiedTaskSelected('active')}">
|
||||||
<a class="toolbar" title="{{'Pause' | translate}}" ng-click="changeTasksState('pause')">
|
<a class="toolbar" title="{{'Pause' | translate}}" ng-click="changeTasksState('pause')">
|
||||||
<i class="fa fa-pause"></i>
|
<i class="fa fa-pause"></i>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li ng-class="{'disabled': !taskContext.list || taskContext.list.length < 1}">
|
<li class="disabled" ng-class="{'disabled': !taskContext.list || taskContext.list.length < 1}">
|
||||||
<a class="toolbar dropdown-toggle" data-toggle="dropdown" title="{{'Delete' | translate}}">
|
<a class="toolbar dropdown-toggle" data-toggle="dropdown" title="{{'Delete' | translate}}">
|
||||||
<i class="fa fa-trash-o"></i>
|
<i class="fa fa-trash-o"></i>
|
||||||
<i class="fa fa-caret-right fa-right-bottom fa-rotate-45 fa-half" aria-hidden="true"></i>
|
<i class="fa fa-caret-right fa-right-bottom fa-rotate-45 fa-half" aria-hidden="true"></i>
|
||||||
|
@ -74,12 +74,12 @@
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="divider"></li>
|
<li class="divider"></li>
|
||||||
<li ng-class="{'disabled': !taskContext.enableSelectAll || !taskContext.list || taskContext.list.length < 1}">
|
<li class="disabled" ng-class="{'disabled': !taskContext.enableSelectAll || !taskContext.list || taskContext.list.length < 1}">
|
||||||
<a class="toolbar" title="{{'Select All' | translate}}" ng-click="selectAllTasks()">
|
<a class="toolbar" title="{{'Select All' | translate}}" ng-click="selectAllTasks()">
|
||||||
<i class="fa fa-th-large"></i>
|
<i class="fa fa-th-large"></i>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li class="disabled" ng-class="{'disabled': !taskContext.enableSelectAll || !taskContext.list || taskContext.list.length < 1}">
|
||||||
<a class="toolbar dropdown-toggle" data-toggle="dropdown" title="{{'Display Order' | translate}}">
|
<a class="toolbar dropdown-toggle" data-toggle="dropdown" title="{{'Display Order' | translate}}">
|
||||||
<i class="fa fa-sort-alpha-asc"></i>
|
<i class="fa fa-sort-alpha-asc"></i>
|
||||||
<i class="fa fa-caret-right fa-right-bottom fa-rotate-45 fa-half" aria-hidden="true"></i>
|
<i class="fa fa-caret-right fa-right-bottom fa-rotate-45 fa-half" aria-hidden="true"></i>
|
||||||
|
|
Reference in a new issue