summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorColin Reeder <colin@vpzom.click>2020-07-28 20:54:14 -0600
committerColin Reeder <colin@vpzom.click>2020-07-28 20:54:14 -0600
commitd405e70b780e1b8bc7e2014962624911b42b32ad (patch)
tree3b0cc24bf88f3addfc39a7e1d43c968c3bc7906a /res
parent4eba40cc1d5ba8b88dd02f144d1656947cc67104 (diff)
Add sorting options for community posts
Diffstat (limited to 'res')
-rw-r--r--res/lang/en.ftl3
-rw-r--r--res/lang/eo.ftl3
-rw-r--r--res/main.css8
3 files changed, 14 insertions, 0 deletions
diff --git a/res/lang/en.ftl b/res/lang/en.ftl
index d6f0d43..2f0aee7 100644
--- a/res/lang/en.ftl
+++ b/res/lang/en.ftl
@@ -58,6 +58,9 @@ reply = reply
reply_submit = Reply
reply_to = Reply to
score = { $score } likes
+sort = Sort:
+sort_hot = hot
+sort_new = new
submit = Submit
submitted = Submitted
text_with_markdown = Text (markdown supported)
diff --git a/res/lang/eo.ftl b/res/lang/eo.ftl
index af95189..f767b96 100644
--- a/res/lang/eo.ftl
+++ b/res/lang/eo.ftl
@@ -58,6 +58,9 @@ reply = respondi
reply_submit = Respondi
reply_to = Respondo al
score = { $score } ŝatantoj
+sort = Ordigi:
+sort_hot = furora
+sort_new = nova
submit = Sendi
submitted = Afiŝita
text_with_markdown = Teksto (markdown estas permesita)
diff --git a/res/main.css b/res/main.css
index 148a792..f036c13 100644
--- a/res/main.css
+++ b/res/main.css
@@ -62,6 +62,14 @@ body {
padding-left: 5px;
}
+.sortOptions {
+ margin-top: 1em;
+}
+
+.sortOptions > * {
+ margin-right: .5em;
+}
+
@media (max-width: 768px) {
.communitySidebar {
display: none; /* TODO still show this somewhere */