Extract toolbar button into directive

This commit is contained in:
Joe Fiorini
2015-03-13 11:48:41 -04:00
parent 9aed0ad63a
commit ef422d33b1
10 changed files with 176 additions and 215 deletions
+18
View File
@@ -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>
+8
View File
@@ -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>