diff options
Diffstat (limited to 'ogcp/templates')
-rw-r--r-- | ogcp/templates/dashboard.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ogcp/templates/dashboard.html b/ogcp/templates/dashboard.html index 9c34768..518ae20 100644 --- a/ogcp/templates/dashboard.html +++ b/ogcp/templates/dashboard.html @@ -18,5 +18,20 @@ <p class="card-text">{{ images | length }}</p> </div> </div> + <div class="m-4 w-25 card text-center"> + <div class="card-header"> + Latest images + </div> + {% for image in images[:10] %} + <ul class="list-group list-group-horizontal"> + <li class="list-group-item w-50"> + {{ image['name'] }} + </li> + <li class="list-group-item w-50"> + {{ image['modified'] }} + </li> + </ul> + {% endfor %} + </div> </div> {% endblock %} |