mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-16 06:38:36 -05:00
Extract toolbar button into directive
This commit is contained in:
@@ -4,6 +4,24 @@
|
||||
<div id="refresh-row" class="row">
|
||||
<div class="col-lg-12">
|
||||
<div id="home-list-actions" class="list-actions pull-right">
|
||||
<button
|
||||
toolbar-button
|
||||
mode="all"
|
||||
aw-tool-tip="Refresh the page"
|
||||
ng-click="refresh()"
|
||||
ng-show="socketStatus == 'error'"
|
||||
icon-name="refresh"
|
||||
toolbar="true">
|
||||
</button>
|
||||
<button
|
||||
toolbar-button
|
||||
mode="all"
|
||||
ng-click="showActivity()"
|
||||
aw-tool-tip="View Activity Stream"
|
||||
icon-name="stream"
|
||||
toolbar="true">
|
||||
</button>
|
||||
|
||||
<!-- <button type="button" class="btn btn-xs btn-primary ng-hide" ng-click="refreshJobs()" id="refresh_btn" aw-tool-tip="Refresh the page" data-placement="top" ng-show="socketStatus == 'error'" data-original-title="" title=""><i class="fa fa-refresh fa-lg"></i> </button></div> -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -3,6 +3,14 @@
|
||||
<div id="refresh-row" class="row">
|
||||
<div class="col-lg-12">
|
||||
<div id="portal-list-actions" class="list-actions pull-right">
|
||||
<button
|
||||
toolbar-button
|
||||
icon-name="refresh"
|
||||
ng-click="refresh()"
|
||||
ng-show="socketStatus == 'error'"
|
||||
aw-tool-tip="Refresh the page"
|
||||
toolbar="true">
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user