diff options
author | Parker Berberian <pberberian@iol.unh.edu> | 2019-01-18 14:43:11 -0500 |
---|---|---|
committer | Parker Berberian <pberberian@iol.unh.edu> | 2019-01-18 14:47:30 -0500 |
commit | febdee2820e6527fb4f5f5843f951a01c24c8ba9 (patch) | |
tree | a18f6306623c75bbb383301240b36691f9feb181 /src/templates/account/image_list.html | |
parent | 4f02f83fe61740a439694b8d37bf4962ffaa0e01 (diff) |
Style Account pages
Adds some prettiness to the account pages that list bookings, etc
Change-Id: I90508cfafba00380d67965a038dc54d1fac43f60
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'src/templates/account/image_list.html')
-rw-r--r-- | src/templates/account/image_list.html | 38 |
1 files changed, 24 insertions, 14 deletions
diff --git a/src/templates/account/image_list.html b/src/templates/account/image_list.html index 72ea1f5..7566a9c 100644 --- a/src/templates/account/image_list.html +++ b/src/templates/account/image_list.html @@ -1,27 +1,37 @@ {% extends "base.html" %} {% block content %} <h2>Images I Own</h2> +<div class="card_container"> {% for image in images %} <div class="detail_card"> - <ul> - <li>id: {{image.id}}</li> - <li>lab: {{image.from_lab.name}}</li> - <li>name: {{image.name}}</li> - <li>description: {{image.description}}</li> - <li>host profile: {{image.host_type.name}}</li> - </ul> + <div> + <h3>Image {{image.id}}</h3> + <ul class="list-group"> + <li class="list-group-item">id: {{image.id}}</li> + <li class="list-group-item">lab: {{image.from_lab.name}}</li> + <li class="list-group-item">name: {{image.name}}</li> + <li class="list-group-item">description: {{image.description}}</li> + <li class="list-group-item">host profile: {{image.host_type.name}}</li> + </ul> + </div> </div> {% endfor %} +</div> <h2>Public Images</h2> +<div class="card_container"> {% for image in public_images %} <div class="detail_card"> - <ul> - <li>id: {{image.id}}</li> - <li>lab: {{image.from_lab.name}}</li> - <li>name: {{image.name}}</li> - <li>description: {{image.description}}</li> - <li>host profile: {{image.host_type.name}}</li> - </ul> + <div> + <h3>Image {{image.id}}</h3> + <ul class="list-group"> + <li class="list-group-item">id: {{image.id}}</li> + <li class="list-group-item">lab: {{image.from_lab.name}}</li> + <li class="list-group-item">name: {{image.name}}</li> + <li class="list-group-item">description: {{image.description}}</li> + <li class="list-group-item">host profile: {{image.host_type.name}}</li> + </ul> + </div> </div> {% endfor %} +</div> {% endblock %} |