summaryrefslogtreecommitdiff
path: root/client/partials/image/image.html
diff options
context:
space:
mode:
authorLoic GUEGAN <loic@Manzerbredes.home>2016-04-27 17:03:29 +0200
committerLoic GUEGAN <loic@Manzerbredes.home>2016-04-27 17:03:29 +0200
commit9a93133272efc239368252bbf4e0eee1791fd911 (patch)
treeb6e1a94cd103bf5c33e3e735d72f463cfe56950b /client/partials/image/image.html
parent3c72415dcda4ca43a2adf9a0254d51cc6ce196c3 (diff)
parent1cdc04c5f10d57e56a049481d53c3f1006229fcb (diff)
Merge branch 'loic-image-edition' into loic
Diffstat (limited to 'client/partials/image/image.html')
-rw-r--r--client/partials/image/image.html57
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>