diff options
Diffstat (limited to 'client/partials/image/image.html')
| -rw-r--r-- | client/partials/image/image.html | 57 |
1 files changed, 30 insertions, 27 deletions
diff --git a/client/partials/image/image.html b/client/partials/image/image.html index 886a11d..9c17c2f 100644 --- a/client/partials/image/image.html +++ b/client/partials/image/image.html @@ -6,33 +6,36 @@ </div> <div class="panel-body"> - - <div class="btn-group btn-group-md" role="group" aria-label="..."> - <button type="button" class="btn btn-default" data-toggle="modal" data-target="#uploadImageModal"">Upload</button> - <button type="button" class="btn btn-default">Download</button> - </div> - <p></p> - <table class="table table-hover"> - <thead> - <tr> - <th>Name</th> - <th>Size</th> - <th>Action</th> - </tr> - </thead> - <tbody> - <tr ng-repeat="image in images"> - <td>{{ image.name }}</td> - <td>{{ (image.size / 1048576).toFixed(2) }} MB</td> - <td><button type="button" class="btn btn-danger">Remove</button></td> - </tr> - - </tbody> - </table> - - - - + + <div class="btn-group btn-group-md" role="group" aria-label="..."> + <button type="button" class="btn btn-default" data-toggle="modal" data-target="#uploadImageModal">Upload</button> + <button type="button" class="btn btn-default">Download</button> + </div> + <p></p> + <table class="table table-hover"> + <thead> + <tr> + <th>Name</th> + <th>Size</th> + <th>Action</th> + </tr> + </thead> + <tbody> + <tr ng-repeat="image in images"> + <td>{{ image.name}}</td> + <td>{{ (image.size / 1048576).toFixed(2)}} MB</td> + <td> + <button type="button" class="btn btn-primary" ng-click="edit(image)">Edit</button> + <button type="button" class="btn btn-danger">Remove</button> + </td> + </tr> + + </tbody> + </table> + + + + </div> </div> |
