From 7fec796ae500313ddbbbedf32d4f7581985d41d4 Mon Sep 17 00:00:00 2001 From: Brandon Lo Date: Thu, 27 Jun 2019 15:43:55 -0400 Subject: Replace and change CSS Fix animation bugs Fix layout issues Replace custom CSS to bootstrap classes Remove unused files Change code to use es6 syntax Add dropdown styles Change-Id: Ie2ed31fa2e6763cf30d3b19e4bf9379019cbb0f5 Signed-off-by: Brandon Lo --- src/templates/account/image_list.html | 90 ++++++++++++++++++----------------- 1 file changed, 47 insertions(+), 43 deletions(-) (limited to 'src/templates/account/image_list.html') diff --git a/src/templates/account/image_list.html b/src/templates/account/image_list.html index 068e096..a626710 100644 --- a/src/templates/account/image_list.html +++ b/src/templates/account/image_list.html @@ -1,36 +1,10 @@ {% extends "base.html" %} {% block content %}

Images I Own

-
+
{% for image in images %} -
-
-

Image {{image.id}}

-
-
-
    -
  • id: {{image.id}}
  • -
  • lab: {{image.from_lab.name}}
  • -
  • name: {{image.name}}
  • -
  • description: {{image.description}}
  • -
  • host profile: {{image.host_type.name}}
  • -
-
- -
-{% endfor %} -
-

Public Images

-
- {% for image in public_images %} -
+
+

Image {{image.id}}

@@ -43,6 +17,34 @@
  • host profile: {{image.host_type.name}}
  • + +
    +
    +{% endfor %} +
    +

    Public Images

    +
    + {% for image in public_images %} +
    +
    +
    +

    Image {{image.id}}

    +
    +
    +
      +
    • id: {{image.id}}
    • +
    • lab: {{image.from_lab.name}}
    • +
    • name: {{image.name}}
    • +
    • description: {{image.description}}
    • +
    • host profile: {{image.host_type.name}}
    • +
    +
    +
    {% endfor %}
    @@ -52,7 +54,6 @@ var used_images = {{used_images|safe|default:"{}"}}; function delete_image(image_id) { current_image_id = image_id; - document.getElementById('modal_warning').style['max-height'] = '0px'; var warning_header = document.getElementById("warning_header"); var warning_text = document.getElementById("warning_text"); var delete_image_button = document.getElementById("final_delete_b"); @@ -94,11 +95,11 @@ } } -