summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-03-03 07:04:02 +0100
committerMinteck <contact@minteck.org>2023-03-03 07:04:02 +0100
commit29928887e733f3bc2c2baaf06dafd495a006753b (patch)
tree90f5fa4c5273f201cc2d26086298ad094d9dadda /assets
parent3d77712a9ab014635c75a33ea0f491bbda6aead3 (diff)
downloadpluralconnect-29928887e733f3bc2c2baaf06dafd495a006753b.tar.gz
pluralconnect-29928887e733f3bc2c2baaf06dafd495a006753b.tar.bz2
pluralconnect-29928887e733f3bc2c2baaf06dafd495a006753b.zip
Updated 18 files and added 10 files (automated)
Diffstat (limited to 'assets')
-rw-r--r--assets/editor/ponytown/step1.pngbin0 -> 3093 bytes
-rw-r--r--assets/editor/ponytown/step2.pngbin0 -> 7770 bytes
-rw-r--r--assets/editor/ponytown/step2b.pngbin0 -> 3098 bytes
-rw-r--r--assets/editor/ponytown/step3.pngbin0 -> 2911 bytes
-rw-r--r--assets/editor/ponytown/step4.pngbin0 -> 2318 bytes
-rw-r--r--assets/editor/ponytown/step4b.pngbin0 -> 33531 bytes
-rw-r--r--assets/editor/ponytown/step5.pngbin0 -> 3709 bytes
-rw-r--r--assets/editor/ponytown/step9.pngbin0 -> 35735 bytes
-rw-r--r--assets/logo/banner.js32
-rw-r--r--assets/logo/custom.css4
-rw-r--r--assets/uploads/pt-scootaloo.pngbin4147 -> 613 bytes
11 files changed, 11 insertions, 25 deletions
diff --git a/assets/editor/ponytown/step1.png b/assets/editor/ponytown/step1.png
new file mode 100644
index 0000000..ad99540
--- /dev/null
+++ b/assets/editor/ponytown/step1.png
Binary files differ
diff --git a/assets/editor/ponytown/step2.png b/assets/editor/ponytown/step2.png
new file mode 100644
index 0000000..baad7c9
--- /dev/null
+++ b/assets/editor/ponytown/step2.png
Binary files differ
diff --git a/assets/editor/ponytown/step2b.png b/assets/editor/ponytown/step2b.png
new file mode 100644
index 0000000..64d8eca
--- /dev/null
+++ b/assets/editor/ponytown/step2b.png
Binary files differ
diff --git a/assets/editor/ponytown/step3.png b/assets/editor/ponytown/step3.png
new file mode 100644
index 0000000..0daab07
--- /dev/null
+++ b/assets/editor/ponytown/step3.png
Binary files differ
diff --git a/assets/editor/ponytown/step4.png b/assets/editor/ponytown/step4.png
new file mode 100644
index 0000000..188c4d5
--- /dev/null
+++ b/assets/editor/ponytown/step4.png
Binary files differ
diff --git a/assets/editor/ponytown/step4b.png b/assets/editor/ponytown/step4b.png
new file mode 100644
index 0000000..341995d
--- /dev/null
+++ b/assets/editor/ponytown/step4b.png
Binary files differ
diff --git a/assets/editor/ponytown/step5.png b/assets/editor/ponytown/step5.png
new file mode 100644
index 0000000..203c3f5
--- /dev/null
+++ b/assets/editor/ponytown/step5.png
Binary files differ
diff --git a/assets/editor/ponytown/step9.png b/assets/editor/ponytown/step9.png
new file mode 100644
index 0000000..d3134ee
--- /dev/null
+++ b/assets/editor/ponytown/step9.png
Binary files differ
diff --git a/assets/logo/banner.js b/assets/logo/banner.js
index 38a88aa..3f41912 100644
--- a/assets/logo/banner.js
+++ b/assets/logo/banner.js
@@ -6,11 +6,7 @@ function timeAgo(time) {
time = new Date(time).getTime();
}
- let periods = ["sec.", "mn.", "hr.", "d.", "wk.", "mo.", "y.", "ages"];
-
- if (bannerFrench) {
- periods = ["sec.", "min.", "h.", "j.", "sem.", "mois", "an.", "des années"];
- }
+ let periods = ["sec", "min", "hr", "d", "wk", "mo", "y", "ages"];
let lengths = ["60", "60", "24", "7", "4.35", "12", "100"];
@@ -20,22 +16,12 @@ function timeAgo(time) {
let tense;
let period;
- if (bannerFrench) {
- if (difference <= 10 && difference >= 0) {
- return "à l'instant";
- } else if (difference > 0) {
- tense = "il y a";
- } else {
- tense = "dans";
- }
+ if (difference <= 10 && difference >= 0) {
+ return "now";
+ } else if (difference > 0) {
+ tense = "ago";
} else {
- if (difference <= 10 && difference >= 0) {
- return "now";
- } else if (difference > 0) {
- tense = "ago";
- } else {
- tense = "later";
- }
+ tense = "later";
}
let j;
@@ -48,11 +34,7 @@ function timeAgo(time) {
period = periods[j];
- if (bannerFrench) {
- return `${tense} ${difference} ${period}`;
- } else {
- return `${difference} ${period} ${tense}`;
- }
+ return `${difference} ${period} ${tense}`;
}
async function refreshBanner(_, french) {
diff --git a/assets/logo/custom.css b/assets/logo/custom.css
index 4237274..adde95f 100644
--- a/assets/logo/custom.css
+++ b/assets/logo/custom.css
@@ -1,3 +1,7 @@
+img {
+ image-rendering: pixelated !important;
+}
+
#admin-page {
margin-left: 32px;
}
diff --git a/assets/uploads/pt-scootaloo.png b/assets/uploads/pt-scootaloo.png
index 436d6a3..c1823b8 100644
--- a/assets/uploads/pt-scootaloo.png
+++ b/assets/uploads/pt-scootaloo.png
Binary files differ