diff --git a/epicyon-profile.css b/epicyon-profile.css index 4342b620e..d5c6d85a0 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -135,6 +135,10 @@ blockquote p { display: inline; } +.voteicon { + width: 3vw; +} + .imageAnchor:focus img{ border: 2px solid var(--focus-color); } diff --git a/img/icons/hacker/vote.png b/img/icons/hacker/vote.png new file mode 100644 index 000000000..c810092b0 Binary files /dev/null and b/img/icons/hacker/vote.png differ diff --git a/img/icons/henge/vote.png b/img/icons/henge/vote.png new file mode 100644 index 000000000..c810092b0 Binary files /dev/null and b/img/icons/henge/vote.png differ diff --git a/img/icons/indymedia/vote.png b/img/icons/indymedia/vote.png new file mode 100644 index 000000000..c810092b0 Binary files /dev/null and b/img/icons/indymedia/vote.png differ diff --git a/img/icons/lcd/vote.png b/img/icons/lcd/vote.png new file mode 100644 index 000000000..c810092b0 Binary files /dev/null and b/img/icons/lcd/vote.png differ diff --git a/img/icons/light/vote.png b/img/icons/light/vote.png new file mode 100644 index 000000000..c810092b0 Binary files /dev/null and b/img/icons/light/vote.png differ diff --git a/img/icons/night/vote.png b/img/icons/night/vote.png new file mode 100644 index 000000000..c810092b0 Binary files /dev/null and b/img/icons/night/vote.png differ diff --git a/img/icons/purple/vote.png b/img/icons/purple/vote.png new file mode 100644 index 000000000..c810092b0 Binary files /dev/null and b/img/icons/purple/vote.png differ diff --git a/img/icons/solidaric/vote.png b/img/icons/solidaric/vote.png new file mode 100644 index 000000000..c810092b0 Binary files /dev/null and b/img/icons/solidaric/vote.png differ diff --git a/img/icons/starlight/vote.png b/img/icons/starlight/vote.png new file mode 100644 index 000000000..c810092b0 Binary files /dev/null and b/img/icons/starlight/vote.png differ diff --git a/img/icons/vote.png b/img/icons/vote.png new file mode 100644 index 000000000..c810092b0 Binary files /dev/null and b/img/icons/vote.png differ diff --git a/img/icons/zen/vote.png b/img/icons/zen/vote.png new file mode 100644 index 000000000..c810092b0 Binary files /dev/null and b/img/icons/zen/vote.png differ diff --git a/webinterface.py b/webinterface.py index 70ec8ac04..07920a1ed 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5386,6 +5386,7 @@ def htmlNewswire(newswire: str, nickname: str, moderator: bool, translate: {}, positiveVoting: bool) -> str: """Converts a newswire dict into html """ + iconsDir = getIconsDir(baseDir) htmlStr = '' for dateStr, item in newswire.items(): dateStrLink = dateStr.replace(' ', 'T') @@ -5429,12 +5430,13 @@ def htmlNewswire(newswire: str, nickname: str, moderator: bool, htmlStr += '
' + \ '' + \ item[0] + '' + totalVotesStr - htmlStr += \ - ' ' + \ - '' - htmlStr += dateStr.replace('+00:00', '') + '
' + htmlStr += '' + \ '' + \