]> git.ipfire.org Git - pbs.git/commitdiff
web: Refactor the package info box
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 19 Oct 2022 02:34:24 +0000 (02:34 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 19 Oct 2022 02:34:24 +0000 (02:34 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/packages/modules/info.html

index c92dcb7cf8f77dab9275e9a8c0d47d73af25ff71..f7de79c797094872f6be82c8a202eec121db56ab 100644 (file)
@@ -1,19 +1,24 @@
-<h2>
-       {% if show_evr %}
-               {{ package }}
-       {% else %}
-               {{ package.name }}
-       {% end %}
+<div class="block">
+       <h1 class="title is-1">
+               {% if show_evr %}
+                       {{ package }}
+               {% else %}
+                       {{ package.name }}
+               {% end %}
+       </h1>
 
        {% if package.summary %}
-               <small>{{ package.summary }}</small>
+               <h6 class="subtitle is-6">
+                       {{ package.summary }}
+               </h6>
        {% end %}
-</h2>
 
-<div class="callout">
-       {% module Text(package.description) %}
+       <div class="content">
+               {% module Text(package.description) %}
+       </div>
 
-       <ul class="menu simple">
+       {# XXX what to do with this? #}
+       <ul>
                {% if package.url %}
                        <li>
                                <a href="{{ package.url }}">{{ extract_hostname(package.url) }}</a>