mirror of
https://github.com/sismics/docs.git
synced 2025-12-20 13:11:41 +00:00
Close button on file preview
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
<div class="text-center">
|
||||
<div class="btn-group pull-left">
|
||||
<button type="button" class="btn" ng-click="closeFile()"><span class="icon-remove"></span></button>
|
||||
</div>
|
||||
|
||||
<div class="btn-group">
|
||||
<button type="button" class="btn" ng-click="previousFile()">Previous</button>
|
||||
<button type="button" class="btn" ng-click="nextFile()">Next</button>
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
<button type="submit" class="btn btn-primary" ng-click="edit()" ng-disabled="!editUserForm.$valid">
|
||||
<span class="icon-pencil icon-white"></span> {{ isEdit() ? 'Edit' : 'Add' }}
|
||||
</button>
|
||||
<button type="button" class="btn btn-danger" ng-click="remove()">
|
||||
<button type="button" class="btn btn-danger" ng-click="remove()" ng-show="isEdit()">
|
||||
<span class="icon-trash icon-white"></span> Delete
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user