summaryrefslogtreecommitdiffstats
path: root/ogcp/templates
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2021-04-05 14:54:56 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-05-20 18:44:37 +0200
commit5e46157060463c86c42053ec20f789ed579eefce (patch)
tree3081bf12bdab80991e0fa2fd01fbce33bd19a128 /ogcp/templates
parent8441d844d104900f987f874dbddb46aa2503ddda (diff)
Add ogLive list to the dashboard
Add list with ogLives installed in the server and highlight the default ogLive.
Diffstat (limited to 'ogcp/templates')
-rw-r--r--ogcp/templates/dashboard.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/ogcp/templates/dashboard.html b/ogcp/templates/dashboard.html
index 0f022c3..c2b10e8 100644
--- a/ogcp/templates/dashboard.html
+++ b/ogcp/templates/dashboard.html
@@ -66,5 +66,20 @@
</ul>
{% endfor %}
</div>
+ <div class="m-4 w-25 card text-center">
+ <div class="card-header">
+ ogLives
+ </div>
+ <ul class="list-group">
+ {% for oglive in oglive_list['oglive'] %}
+ <li class="list-group-item">
+ {{ oglive['directory'] }}
+ {% if loop.index0 == oglive_list['default'] %}
+ (default)
+ {% endif %}
+ </li>
+ {% endfor %}
+ </ul>
+ </div>
</div>
{% endblock %}