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
version: 0.1.11.6
version: 0.1.11.7
synopsis: Image gallery in Yesod
homepage: https://eidolon.nek0.eu
license: AGPL-3

View File

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

View File

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

View File

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