diff --git a/static/style.css b/static/style.css index 4503ae5..df27dd1 100644 --- a/static/style.css +++ b/static/style.css @@ -56,7 +56,7 @@ nav * { color: var(--text); } nav #reddit, #code { color: var(--accent); } nav #logo { grid-area: logo; } nav #code { grid-area: code; } -nav #version { opacity: 25%; } +nav #version { opacity: 50%; } #settings_link { font-size: 18px; diff --git a/templates/post.html b/templates/post.html index 56b7655..3a98b13 100644 --- a/templates/post.html +++ b/templates/post.html @@ -62,7 +62,7 @@ {% if post.post_type == "image" %} - + Post image {% else if post.post_type == "video" || post.post_type == "gif" %} {% else if post.post_type == "link" %} @@ -85,7 +85,7 @@
- {% call utils::options(sort, ["confidence", "top", "new", "controversial", "old"], "confidence") %}
diff --git a/templates/search.html b/templates/search.html index 079b52f..45180ec 100644 --- a/templates/search.html +++ b/templates/search.html @@ -6,16 +6,16 @@ {% block content %}
- + {% if sub != "" %}
{% endif %} - {% call utils::options(params.sort, ["relevance", "hot", "top", "new", "comments"], "") %} - {% if params.sort != "new" %}{% if params.sort != "new" %}{% endif %}
@@ -54,15 +54,16 @@

{% if (prefs.layout.is_empty() || prefs.layout == "card") && post.post_type == "image" %} - + Post image {% else if post.post_type != "self" %} {% if post.thumbnail.url.is_empty() %} + Thumbnail {% else %} - + Thumbnail {% endif %} {% if post.post_type == "link" %}{{ post.domain }}{% else %}{{ post.post_type }}{% endif %} diff --git a/templates/subreddit.html b/templates/subreddit.html index c34f134..ee9c9b8 100644 --- a/templates/subreddit.html +++ b/templates/subreddit.html @@ -22,7 +22,7 @@ {% call utils::sort(["/r/", sub.name.as_str()].concat(), ["hot", "new", "top", "rising", "controversial"], sort.0) %} {% endif %}
- {% if sort.0 == "top" || sort.0 == "controversial" %} {% call utils::options(sort.1, ["hour", "day", "week", "month", "year", "all"], "day") %} {% endif %} @@ -48,15 +48,16 @@

{% if (prefs.layout.is_empty() || prefs.layout == "card") && post.post_type == "image" %} - + Post image {% else if post.post_type != "self" %} {% if post.thumbnail.url.is_empty() %} + Thumbnail {% else %} - + Thumbnail {% endif %} {% if post.post_type == "link" %}{{ post.domain }}{% else %}{{ post.post_type }}{% endif %} @@ -91,7 +92,7 @@ {% endif %}
- + Icon for r/{{ sub.name }}

{{ sub.title }}

r/{{ sub.name }}

{{ sub.description }}

diff --git a/templates/user.html b/templates/user.html index 8e23236..2a7b0dc 100644 --- a/templates/user.html +++ b/templates/user.html @@ -39,15 +39,16 @@

{% if (prefs.layout.is_empty() || prefs.layout == "card") && post.post_type == "image" %} - + Post image {% else if post.post_type != "self" %} {% if post.thumbnail.url.is_empty() %} + Thumbnail {% else %} - + Thumbnail {% endif %} {% if post.post_type == "link" %}{{ post.domain }}{% else %}{{ post.post_type }}{% endif %} diff --git a/templates/utils.html b/templates/utils.html index 626e83e..2b6e088 100644 --- a/templates/utils.html +++ b/templates/utils.html @@ -16,7 +16,7 @@ {% macro search(root, search) -%}