Add image creation and suppression

This commit is contained in:
Loic GUEGAN 2016-05-06 14:24:15 +02:00
parent 664cddd4fa
commit 2856a776db
9 changed files with 107 additions and 47 deletions

View file

@ -8,7 +8,7 @@
<div class="btn-group btn-group-md" role="group" aria-label="...">
<button type="button" class="btn btn-default" ng-click="showUploadImageModal()">Upload</button>
<button type="button" class="btn btn-default" ng-click="showCreateImageModal()">Create Image</button>
<button type="button" class="btn btn-default">Download</button>
</div>
<p></p>
@ -30,7 +30,7 @@
<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>
<button type="button" class="btn btn-danger" ng-click="deleteImage(image.id)">Remove</button>
</td>
</tr>