Author:
Hash:
Timestamp:
+33 -33 +/-2 browse
Kevin Schoon [me@kevinschoon.com]
0c74b06980253ac04a79f41c62a0b83d5b224faa
Wed, 07 Oct 2026 10:31:01 +0000 (1 month ago)
| 1 | diff --git a/ayllu-web/templates/repo.html b/ayllu-web/templates/repo.html |
| 2 | index 7ccafcc..b9144d6 100644 |
| 3 | --- a/ayllu-web/templates/repo.html |
| 4 | +++ b/ayllu-web/templates/repo.html |
| 5 | @@ -1,39 +1,40 @@ |
| 6 | {% extends "base.html" %} |
| 7 | {% import "macros.html" as macros %} |
| 8 | {% block content %} |
| 9 | - <section> |
| 10 | - <section id="repo-action-panel" class="raised flex-group lower-half"> |
| 11 | - <section id="project-details" class="dense"> |
| 12 | + <section> |
| 13 | + {{ components::info_bar("Overview", false, None, None) }} |
| 14 | + <section id="repo-action-panel" class="raised flex-group lower-half"> |
| 15 | + <section id="project-details" class="dense"> |
| 16 | + <p> |
| 17 | + <span><b>Project: </b>{{ collection }}/{{ name }}</span> |
| 18 | + </p> |
| 19 | + {% if let Some(license) = license %} |
| 20 | <p> |
| 21 | - <span><b>Project: </b>{{ collection }}/{{ name }}</span> |
| 22 | + <span> <b> License: </b> {{ license }} </span> |
| 23 | </p> |
| 24 | - {% if let Some(license) = license %} |
| 25 | - <p> |
| 26 | - <span> <b> License: </b> {{ license }} </span> |
| 27 | - </p> |
| 28 | - {% endif %} |
| 29 | - {% if let Some(homepage) = homepage %} |
| 30 | - <p> |
| 31 | - <span> <b> Homepage: </b> <a href="{{ homepage }}">{{ homepage }}</a></span> |
| 32 | - </p> |
| 33 | - {% endif %} |
| 34 | - {% if let Some(description) = description %} |
| 35 | - <p> |
| 36 | - <span><b>Description: </b>{{ description | truncate(45) }}</span> |
| 37 | - </p> |
| 38 | - {% endif %} |
| 39 | - </section> |
| 40 | - <section class="clone"> |
| 41 | - <section class="title"> |
| 42 | - Clone |
| 43 | - </section> |
| 44 | - {% call macros::selectable_text("http", http_clone_url) %} |
| 45 | - {% if let Some(clone_url) = git_clone_url %} |
| 46 | - {% call macros::selectable_text("ssh", clone_url) %} |
| 47 | - {% endif %} |
| 48 | - </section> |
| 49 | - </section> |
| 50 | - </section> |
| 51 | + {% endif %} |
| 52 | + {% if let Some(homepage) = homepage %} |
| 53 | + <p> |
| 54 | + <span> <b> Homepage: </b> <a href="{{ homepage }}">{{ homepage }}</a></span> |
| 55 | + </p> |
| 56 | + {% endif %} |
| 57 | + {% if let Some(description) = description %} |
| 58 | + <p> |
| 59 | + <span><b>Description: </b>{{ description | truncate(45) }}</span> |
| 60 | + </p> |
| 61 | + {% endif %} |
| 62 | + </section> |
| 63 | + <section class="clone"> |
| 64 | + <section class="title"> |
| 65 | + Clone |
| 66 | + </section> |
| 67 | + {% call macros::selectable_text("http", http_clone_url) %} |
| 68 | + {% if let Some(clone_url) = git_clone_url %} |
| 69 | + {% call macros::selectable_text("ssh", clone_url) %} |
| 70 | + {% endif %} |
| 71 | + </section> |
| 72 | + </section> |
| 73 | + </section> |
| 74 | <section id="tree" class="raised"> |
| 75 | {{ components::info_bar_rss("Source Tree", false, rss_link_all, rss_link_1d, rss_link_1w, rss_link_1m) }} |
| 76 | <section id="repo-details-panel" class="lower-half"> |
| 77 | diff --git a/ayllu-web/themes/base.css b/ayllu-web/themes/base.css |
| 78 | index c8687ba..d7ff68b 100644 |
| 79 | --- a/ayllu-web/themes/base.css |
| 80 | +++ b/ayllu-web/themes/base.css |
| 81 | @@ -52,12 +52,11 @@ table { |
| 82 | |
| 83 | nav { |
| 84 | text-decoration: none; |
| 85 | - |
| 86 | padding: 3px; |
| 87 | - |
| 88 | display: flex; |
| 89 | flex-direction: row; |
| 90 | justify-content: space-between; |
| 91 | + border: solid 1px; |
| 92 | |
| 93 | ul { |
| 94 | list-style-type: none; margin: 0; |