diff options
author | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2023-08-16 19:31:48 +0200 |
---|---|---|
committer | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2023-08-16 19:31:48 +0200 |
commit | 969b7600a86185187cd17d45bd252143db4a6728 (patch) | |
tree | c4d625c9b1a1fa5584e70f02f02f5cd077fb94c9 /templates/fs.qtpl | |
parent | a98acb9c8b86a2c2f35841c86d3c3f1d7c176b61 (diff) | |
download | lens-969b7600a86185187cd17d45bd252143db4a6728.tar.gz lens-969b7600a86185187cd17d45bd252143db4a6728.tar.bz2 lens-969b7600a86185187cd17d45bd252143db4a6728.zip |
ref: Some typography tweaks
Diffstat (limited to 'templates/fs.qtpl')
-rw-r--r-- | templates/fs.qtpl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/fs.qtpl b/templates/fs.qtpl index 489f79f..3dc2c5a 100644 --- a/templates/fs.qtpl +++ b/templates/fs.qtpl @@ -14,7 +14,7 @@ type FilePage struct { <div class="panel-block"> <div class="columns file-row is-gapless is-mobile"> <div id="path" class="container-fluid"> - <small>{% for _, h := range p.Page.History %}<a href="/fs?path={%s h.UrlEncodedPath %}" >{%s h.Name %}/</a>{% endfor %}</small> + <small>{% for _, h := range p.Page.History %}<a class="text-size-2" href="/fs?path={%s h.UrlEncodedPath %}" >{%s h.Name %}/</a>{% endfor %}</small> </div> </div> </div> @@ -22,15 +22,17 @@ type FilePage struct { <div class="panel-block"> <div class="columns wide-column is-mono is-gapless is-mobile"> <div class="column"> + <span class="text-size-2"> {% if p.ShowMode %}{%s f.Info.Mode().String() %} {% endif %} {% if p.ShowOwner %}{%d f.GetGid() %}:{%d f.GetUid() %} {% endif %} {% if f.Info.IsDir() %} - <a href="/?path={%s f.UrlEncodedPath %}">{%s f.Info.Name() %}/</a> + </span> + <a class="text-size-2" href="/?path={%s f.UrlEncodedPath %}">{%s f.Info.Name() %}/</a> {% else %} {%s f.Info.Name() %} {% endif %} </div> - <div class="column has-text-right">{%dl f.Info.Size() %} B</div> + <div class="column text-size-2 has-text-right">{%dl f.Info.Size() %} B</div> </div> </div> {% endfor %} |