aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/account/image_list.html
blob: 7566a9cac11f4caafe23ed0c16b133feaf3592a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{% extends "base.html" %}
{% block content %}
<h2>Images I Own</h2>
<div class="card_container">
    {% for image in images %}
        <div class="detail_card">
            <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">
            <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 %}