aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/account/resource_list.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/account/resource_list.html')
-rw-r--r--src/templates/account/resource_list.html18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/templates/account/resource_list.html b/src/templates/account/resource_list.html
index 1203534..65b46f1 100644
--- a/src/templates/account/resource_list.html
+++ b/src/templates/account/resource_list.html
@@ -2,18 +2,16 @@
{% block content %}
<div class="row">
{% for resource in resources %}
- <div class="col-12 col-md-6 col-lg-4 col-xl-3 p-2">
+ <div class="col-12 col-md-6 col-lg-4 col-xl-3 mb-3">
<div class="card h-100">
<div class="card-header">
<h3>Resource {{resource.id}}</h3>
</div>
- <div class="card-body p-4">
- <ul class="list-group">
- <li class="list-group-item">id: {{resource.id}}</li>
- <li class="list-group-item">name: {{resource.name}}</li>
- <li class="list-group-item">description: {{resource.description}}</li>
- </ul>
- </div>
+ <ul class="list-group list-group-flush h-100">
+ <li class="list-group-item">id: {{resource.id}}</li>
+ <li class="list-group-item">name: {{resource.name}}</li>
+ <li class="list-group-item">description: {{resource.description}}</li>
+ </ul>
<div class="card-footer">
<button
class="btn btn-danger w-100"
@@ -24,6 +22,10 @@
</div>
</div>
</div>
+{% empty %}
+ <div class="col">
+ <p>You don't have any resources. You can create a resource by designing a pod.</p>
+ </div>
{% endfor %}
</div>
<script>