better tagging

This commit is contained in:
nek0 2017-10-22 14:17:12 +02:00
parent f3c1ca2b03
commit 61383bf719
4 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
name: eidolon name: eidolon
version: 0.1.11.6 version: 0.1.11.7
synopsis: Image gallery in Yesod synopsis: Image gallery in Yesod
homepage: https://eidolon.nek0.eu homepage: https://eidolon.nek0.eu
license: AGPL-3 license: AGPL-3

View file

@ -227,7 +227,7 @@ ul, ol {
display: inline; display: inline;
} }
.tags li:before { .tag:before {
display: inline-block; display: inline-block;
background-image: url(../img/tags.svg); background-image: url(../img/tags.svg);
width: 1.8ex; width: 1.8ex;

View file

@ -35,7 +35,7 @@
$else $else
$forall tag <- mediumTags medium $forall tag <- mediumTags medium
<li> <li>
<a href=@{TagR tag}>#{tag} <a .tag href=@{TagR tag}>#{tag}
$if presence == True $if presence == True
<a href=@{MediumSettingsR mediumId}>Change medium settings <a href=@{MediumSettingsR mediumId}>Change medium settings

View file

@ -13,7 +13,7 @@ $else
Results in Users: Results in Users:
$forall (Entity uId user) <- userList $forall (Entity uId user) <- userList
<div .item> <div .item>
<a href=@{ProfileR uId}> <a .pagin href=@{ProfileR uId}>
#{userSlug user} #{userSlug user}
$if not $ null albumList $if not $ null albumList
<div .subheader .item> <div .subheader .item>
@ -44,5 +44,5 @@ $else
Results in Tags: Results in Tags:
$forall tag <- tagList $forall tag <- tagList
<div .item> <div .item>
<a href=@{TagR tag}> <a .pagin .tag href=@{TagR tag}>
#{tag} #{tag}