-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
182f9e5
commit 9a96dd0
Showing
5 changed files
with
75 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
plugins/pencilblue/templates/admin-new/elements/deletion_modal.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<div class="modal fade deletion-modal"> | ||
<div class="modal-dialog"> | ||
<div class="modal-content"> | ||
<div class="modal-body"> | ||
^loc_CONFIRM_DELETE^ <span style="font-style: italic" ng-bind="objectToDelete[deletionNameKey]"></span>? | ||
</div> | ||
<div class="modal-footer"> | ||
<button type="button" class="btn btn-default" data-dismiss="modal" ng-disabled="deleting"> | ||
<i class="fa fa-ban"></i> ^loc_CANCEL^ | ||
</button> | ||
<button type="button" class="btn btn-danger" ng-click="deleteObject()" ng-disabled="deleting"> | ||
<i class="fa fa-trash"></i> ^loc_DELETE^ <i class="fa fa-spinner fa-spin" ng-if="deleting"></i> | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
10 changes: 5 additions & 5 deletions
10
plugins/pencilblue/templates/admin-new/elements/pagination.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<ul class="pagination pagination-sm" ng-if="pages.length > 1"> | ||
<li class="clickable" ng-class="{'disabled': paginationOffset === 0}"><a ng-click="paginate(0)"><i class="fa fa-angle-double-left"></i></a></li> | ||
<li class="clickable" ng-class="{'disabled': paginationOffset === 0}"><a ng-click="paginate(paginationOffset - 1)"><i class="fa fa-angle-left"></i></a></li> | ||
<li class="clickable" ng-class="{'active': paginationOffset === $index}" ng-repeat="page in pages"><a ng-click="paginate($index)" ng-bind="$index + 1"></a></li> | ||
<li class="clickable" ng-class="{'disabled': paginationOffset === pages.length - 1}"><a ng-click="paginate(paginationOffset + 1)"><i class="fa fa-angle-right"></i></a></li> | ||
<li class="clickable" ng-class="{'disabled': paginationOffset === pages.length - 1}"><a ng-click="paginate(pages.length - 1)"><i class="fa fa-angle-double-right"></i></a></li> | ||
<li class="clickable" ng-class="{'disabled': paginationPage === 0}"><a ng-click="paginate(0)"><i class="fa fa-angle-double-left"></i></a></li> | ||
<li class="clickable" ng-class="{'disabled': paginationPage === 0}"><a ng-click="paginate(paginationPage - 1)"><i class="fa fa-angle-left"></i></a></li> | ||
<li class="clickable" ng-class="{'active': paginationPage === $index}" ng-repeat="page in pages"><a ng-click="paginate($index)" ng-bind="$index + 1"></a></li> | ||
<li class="clickable" ng-class="{'disabled': paginationPage === pages.length - 1}"><a ng-click="paginate(paginationPage + 1)"><i class="fa fa-angle-right"></i></a></li> | ||
<li class="clickable" ng-class="{'disabled': paginationPage === pages.length - 1}"><a ng-click="paginate(pages.length - 1)"><i class="fa fa-angle-double-right"></i></a></li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters