From 969b7600a86185187cd17d45bd252143db4a6728 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Wed, 16 Aug 2023 19:31:48 +0200 Subject: ref: Some typography tweaks --- templates/album.qtpl | 6 +++--- templates/base.qtpl | 10 +++++----- templates/fs.qtpl | 8 +++++--- templates/media.qtpl | 2 +- templates/settings.qtpl | 14 +++++++------- 5 files changed, 21 insertions(+), 19 deletions(-) (limited to 'templates') diff --git a/templates/album.qtpl b/templates/album.qtpl index ce8111e..9f4c0bd 100644 --- a/templates/album.qtpl +++ b/templates/album.qtpl @@ -20,10 +20,10 @@ func (m *AlbumPage) PreloadAttr() string { {% func (p *AlbumPage) Title() %}Media{% endfunc %} {% func (p *AlbumPage) Content() %} -

{%s p.Name %}

+

{%s p.Name %}

{% for _, a := range p.Albums %} - {%s a.Name %} + {%s a.Name %} {% endfor %}
@@ -41,7 +41,7 @@ func (m *AlbumPage) PreloadAttr() string {
{% endfor %} -
+
next
{% endfunc %} diff --git a/templates/base.qtpl b/templates/base.qtpl index 772167d..b1878ba 100644 --- a/templates/base.qtpl +++ b/templates/base.qtpl @@ -33,16 +33,16 @@ Page prints a page implementing Page interface.
{% endfor %} -
+
next
{% endfunc %} diff --git a/templates/settings.qtpl b/templates/settings.qtpl index 4207439..3d1af81 100644 --- a/templates/settings.qtpl +++ b/templates/settings.qtpl @@ -15,7 +15,7 @@ type SettingsPage struct {
-
-
-
{% for _, user := range p.Users %} -
+
-
+
{%s user.Username %}
-
+
{%s user.Path %}
@@ -57,7 +57,7 @@ type SettingsPage struct {
{% endfor %}
-- cgit v1.2.3