From ac81be3363fd3e724c99ac6c319d36e65aa25918 Mon Sep 17 00:00:00 2001 From: Brendan Early Date: May 19 2020 09:09:53 +0000 Subject: [PATCH 1/7] make the image clickable --- diff --git a/templates/package.html.j2 b/templates/package.html.j2 index c26921a..4a2ace8 100644 --- a/templates/package.html.j2 +++ b/templates/package.html.j2 @@ -9,9 +9,11 @@
-
- -
+ +
+ +
+
From 8b65666aaacf32447a37839c926b5fd3bb536865 Mon Sep 17 00:00:00 2001 From: Brendan Early Date: May 19 2020 09:09:53 +0000 Subject: [PATCH 2/7] make the maintainers section prettier --- diff --git a/templates/package.html.j2 b/templates/package.html.j2 index 4a2ace8..8922bde 100644 --- a/templates/package.html.j2 +++ b/templates/package.html.j2 @@ -88,7 +88,11 @@
  • Upstream: {{ pkg.upstream }}
  • License(s): {{ pkg.license }}
  • -
  • Maintainer(s):{% for fas in pkg.maintainers %} {{ fas }}{% endfor %}
  • + {% if pkg.maintainers | length == 1 %} +
  • Maintainer:{% for fas in pkg.maintainers %} {{ fas }}{% endfor %}
  • + {% else %} +
  • Maintainers:{% for fas in pkg.maintainers %} {{ fas }}{{ "," if not loop.last }}{% endfor %}
  • + {% endif %}

From 507e43e1edbdaca7a45c86289a592cdaf4a8aadd Mon Sep 17 00:00:00 2001 From: Brendan Early Date: May 19 2020 09:09:53 +0000 Subject: [PATCH 3/7] typo in email --- diff --git a/templates/package.html.j2 b/templates/package.html.j2 index 8922bde..9d1861f 100644 --- a/templates/package.html.j2 +++ b/templates/package.html.j2 @@ -97,7 +97,7 @@


You can contact the maintainers of this package at - {{ pkg.source() }} dash owner at fedoraproject dotorg. + {{ pkg.source() }} dash owner at fedoraproject dot org.

{% if pkg.subpackages | length %}
From 26da47f6a3c425d43413b6874e1bd0a81d8c63ac Mon Sep 17 00:00:00 2001 From: Brendan Early Date: May 19 2020 09:09:53 +0000 Subject: [PATCH 4/7] * add subpackages header * fix put \ul inside the if statement * move subpackages above the contact info --- diff --git a/templates/package.html.j2 b/templates/package.html.j2 index 9d1861f..ad4bacd 100644 --- a/templates/package.html.j2 +++ b/templates/package.html.j2 @@ -94,19 +94,20 @@
  • Maintainers:{% for fas in pkg.maintainers %} {{ fas }}{{ "," if not loop.last }}{% endfor %}
  • {% endif %} -
    -

    - You can contact the maintainers of this package at - {{ pkg.source() }} dash owner at fedoraproject dot org. -

    {% if pkg.subpackages | length %}
    + Subpackages:
      {% for subpkg in pkg.subpackages %}
    • {{ subpkg }}
    • {% endfor %} - {% endif %}
    + {% endif %} +
    +

    + You can contact the maintainers of this package at + {{ pkg.source() }} dash owner at fedoraproject dot org. +

    From ef57697f4b53fa9c6605017e245a97421c495bd8 Mon Sep 17 00:00:00 2001 From: Brendan Early Date: May 19 2020 09:09:53 +0000 Subject: [PATCH 5/7] more headers --- diff --git a/templates/package.html.j2 b/templates/package.html.j2 index ad4bacd..2a677da 100644 --- a/templates/package.html.j2 +++ b/templates/package.html.j2 @@ -50,6 +50,7 @@
    +

    Releases Overview

    @@ -85,6 +86,7 @@
    + Package info:
    • Upstream: {{ pkg.upstream }}
    • License(s): {{ pkg.license }}
    • From 701cb997b97e36254b154665178a3be8869ea9f1 Mon Sep 17 00:00:00 2001 From: Brendan Early Date: May 19 2020 09:09:53 +0000 Subject: [PATCH 6/7] more headers, reduce padding on lists --- diff --git a/assets/css/main.css b/assets/css/main.css index b05e405..96d5fba 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -47,3 +47,7 @@ body { .max-width { width: 100%; } + +ol, ul { + padding-left: 1.5em; +} diff --git a/templates/package.html.j2 b/templates/package.html.j2 index 2a677da..e03a9b1 100644 --- a/templates/package.html.j2 +++ b/templates/package.html.j2 @@ -50,7 +50,7 @@
      -

      Releases Overview

      +

      Releases Overview

      @@ -86,7 +86,7 @@
      - Package info: + Package Info {% if pkg.subpackages | length %}
      - Subpackages: + Subpackages
        {% for subpkg in pkg.subpackages %}
      • {{ subpkg }}
      • From 803555419abd22595a8bb76a88929f14998aec91 Mon Sep 17 00:00:00 2001 From: Brendan Early Date: May 19 2020 09:09:53 +0000 Subject: [PATCH 7/7] icons --- diff --git a/assets/images/16_abrt.png b/assets/images/16_abrt.png new file mode 100644 index 0000000..3de2836 Binary files /dev/null and b/assets/images/16_abrt.png differ diff --git a/assets/images/16_bodhi.png b/assets/images/16_bodhi.png new file mode 100644 index 0000000..b57c531 Binary files /dev/null and b/assets/images/16_bodhi.png differ diff --git a/assets/images/16_bugzilla.png b/assets/images/16_bugzilla.png new file mode 100644 index 0000000..8eb4bff Binary files /dev/null and b/assets/images/16_bugzilla.png differ diff --git a/assets/images/16_koji.png b/assets/images/16_koji.png new file mode 100644 index 0000000..44e1dcc Binary files /dev/null and b/assets/images/16_koji.png differ diff --git a/assets/images/git-logo.png b/assets/images/git-logo.png new file mode 100644 index 0000000..45d0f2a Binary files /dev/null and b/assets/images/git-logo.png differ diff --git a/templates/package.html.j2 b/templates/package.html.j2 index e03a9b1..eb509f7 100644 --- a/templates/package.html.j2 +++ b/templates/package.html.j2 @@ -39,11 +39,36 @@

        {{ pkg.summary }}

        {{ pkg.description }}