Author:
Hash:
Timestamp:
+22 -14 +/-2 browse
Kevin Schoon [me@kevinschoon.com]
515f53cce0acd8e97ddf892e4a39fe075fbb9b98
Sat, 17 May 2025 11:18:02 +0000 (6 months ago)
| 1 | diff --git a/ayllu/templates/collection.html b/ayllu/templates/collection.html |
| 2 | index 5fc2c9d..3d19242 100644 |
| 3 | --- a/ayllu/templates/collection.html |
| 4 | +++ b/ayllu/templates/collection.html |
| 5 | @@ -1,19 +1,22 @@ |
| 6 | {% extends "base.html" %} |
| 7 | {% block content %} |
| 8 | <section class="raised"> |
| 9 | - <header> |
| 10 | - <h1> |
| 11 | + <section class="info-bar flex-group single"> |
| 12 | + <section> |
| 13 | <a href="/{{ collection.name }}">{{ collection.name }}</a> |
| 14 | {%- if is_hidden %} <span class="negative">[hidden]</span> {%- endif -%} |
| 15 | - </h1> |
| 16 | + </section> |
| 17 | + <section> |
| 18 | {% if let Some(description) = collection.description %}{{ description }}{% endif %} |
| 19 | - </header> |
| 20 | - <table class="data-table"> |
| 21 | + </section> |
| 22 | + </section> |
| 23 | + <section class="lower-half"> |
| 24 | + <table id="{{collection.name}}" class="data-table"> |
| 25 | <thead> |
| 26 | <tr> |
| 27 | <th>Name</th> |
| 28 | <th>Description</th> |
| 29 | - <th class="collapse">Last Updated</th> |
| 30 | + <th>Updated</th> |
| 31 | </tr> |
| 32 | </thead> |
| 33 | <tbody> |
| 34 | @@ -31,5 +34,6 @@ |
| 35 | {% endfor %} |
| 36 | </tbody> |
| 37 | </table> |
| 38 | + </section> |
| 39 | </section> |
| 40 | {% endblock %} |
| 41 | diff --git a/ayllu/templates/index.html b/ayllu/templates/index.html |
| 42 | index 20d073f..6383f27 100644 |
| 43 | --- a/ayllu/templates/index.html |
| 44 | +++ b/ayllu/templates/index.html |
| 45 | @@ -13,7 +13,9 @@ |
| 46 | <section class="scrollable raised"> |
| 47 | {% for collection in collections %} |
| 48 | <section class="info-bar flex-group"> |
| 49 | - {{ collection.name }} |
| 50 | + <section> |
| 51 | + <a href="/{{collection.name}}">{{ collection.name }}</a> |
| 52 | + </section> |
| 53 | {%- if let Some(description) = collection.description -%} |
| 54 | <section> |
| 55 | {{ description }} |
| 56 | @@ -21,13 +23,15 @@ |
| 57 | {%- endif -%} |
| 58 | </section> |
| 59 | <section class="collection lower-half"> |
| 60 | - <table class="data-table"> |
| 61 | - <tbody id="{{ collection.name }}"> |
| 62 | - <tr class="group-label"> |
| 63 | - <th>Name</th> |
| 64 | - <th>Description</th> |
| 65 | - <th class="collapse-xs">Updated</th> |
| 66 | - </tr> |
| 67 | + <table id="{{ collection.name }}" class="data-table"> |
| 68 | + <thead> |
| 69 | + <tr> |
| 70 | + <th>Name</th> |
| 71 | + <th>Description</th> |
| 72 | + <th>Updated</th> |
| 73 | + </tr> |
| 74 | + </thead> |
| 75 | + <tbody> |
| 76 | {% for repo in collection.repositories %} |
| 77 | <tr> |
| 78 | <td> |