From 0a6e0b01654e7785c7b4f5b10e8143edcb14ec3a Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 19 Sep 2023 17:24:27 +0200 Subject: [PATCH] appstore: misc cosmetics/constrast --- store/templates/app.html | 14 +++++++------- store/templates/base.html | 3 --- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/store/templates/app.html b/store/templates/app.html index 8d163e1f..59e40895 100644 --- a/store/templates/app.html +++ b/store/templates/app.html @@ -16,7 +16,7 @@ loading="lazy" class="h-12 w-12 rounded-lg object-cover shadow-sm mt-1" > -

{{ infos["manifest"]["name"] }}

+

12 %}text-2xl{% else %}text-3xl{% endif %} font-bold text-gray-900">{{ infos["manifest"]["name"] }}

{% if infos['category'] %} @@ -45,7 +45,7 @@
- + {% set this_app_stars = stars.get(app_id, {})|length %} @@ -95,26 +95,26 @@

{{ _("Potential alternative to: %(alternatives)s", alternatives=infos["potential_alternative_to"]|join(', ')) }}

{% endif %} -
{{ infos["full_description_html"]|safe }}
+
{{ infos["full_description_html"]|safe }}
{% if infos["screenshot"] %} {{ _( {% endif %} {% if infos["manifest"]["integration"]["architectures"] != "all" %} -
+
{{ _("This app is only compatible with these specific architectures: %(archs)s", archs=infos["manifest"]["integration"]["architectures"]|join(', ')) }}
{% endif %} {% if infos["manifest"]["integration"]["ram"]["build_binary"] >= 500 * 1024 * 1024 %} -
+
{{ _("This app requires an unusual amount of RAM to install: %(ram)s", ram=infos["manifest"]["integration"]["ram"]["build"]) }}
{% endif %} {% if infos["pre_install_html"] %} -
+

{{ _("Important infos before installing") }}

{{ infos["pre_install_html"] | safe }}
@@ -123,7 +123,7 @@ {% if infos["antifeatures"] %}

{{ _("Anti-features") }}

{{ _("(This app has features you may not like)") }}

-
+
    {% for antifeature in infos["antifeatures"] %}
  • {{ catalog['antifeatures'][antifeature]['description']|localize }}
  • diff --git a/store/templates/base.html b/store/templates/base.html index 31cd9b51..9627c89f 100644 --- a/store/templates/base.html +++ b/store/templates/base.html @@ -27,9 +27,6 @@ .btn-primary-outline { @apply border text-blue-600 border-blue-500 hover:text-blue-400; } - .from-markdown { - @apply my-4; - } .from-markdown p { @apply mb-2; }