aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/account/image_list.html
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-06-21 15:11:29 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-06-21 15:11:29 +0000
commit2036a3cf0c3316670fa1a5b06ff57d41195b0de9 (patch)
tree93129029cdc0aeafa607c2f3c9234e1652ff833d /src/templates/account/image_list.html
parente449050bc3b42ee44dc8d651036212541d3bcf36 (diff)
parent79c629d3ba78ad6884a1ec4a7bdf470140647b16 (diff)
Merge "Add bootstrap 4 support"
Diffstat (limited to 'src/templates/account/image_list.html')
-rw-r--r--src/templates/account/image_list.html17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/templates/account/image_list.html b/src/templates/account/image_list.html
index cd83dcf..068e096 100644
--- a/src/templates/account/image_list.html
+++ b/src/templates/account/image_list.html
@@ -3,9 +3,11 @@
<h2>Images I Own</h2>
<div class="card_container">
{% for image in images %}
- <div class="detail_card">
- <div>
+ <div class="card">
+ <div class="card-header">
<h3>Image {{image.id}}</h3>
+ </div>
+ <div class="card-body">
<ul class="list-group">
<li class="list-group-item">id: {{image.id}}</li>
<li class="list-group-item">lab: {{image.from_lab.name}}</li>
@@ -14,10 +16,9 @@
<li class="list-group-item">host profile: {{image.host_type.name}}</li>
</ul>
</div>
- <div class="detail_button_container">
+ <div class="card-footer">
<button
- class="btn btn-danger"
- style="width:49%;float:right;"
+ class="btn btn-danger w-100"
onclick='delete_image({{image.id}});'
data-toggle="modal"
data-target="#imageModal"
@@ -29,9 +30,11 @@
<h2>Public Images</h2>
<div class="card_container">
{% for image in public_images %}
- <div class="detail_card">
- <div>
+ <div class="card">
+ <div class="card-header">
<h3>Image {{image.id}}</h3>
+ </div>
+ <div class="card-body">
<ul class="list-group">
<li class="list-group-item">id: {{image.id}}</li>
<li class="list-group-item">lab: {{image.from_lab.name}}</li>