diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/banner.js | 30 | ||||
-rw-r--r-- | app/fronters/index.html | 10 | ||||
-rw-r--r-- | app/fronters/ponies/ckqsw.png | bin | 0 -> 4042 bytes | |||
-rw-r--r-- | app/fronters/ponies/erknz.png | bin | 8812 -> 6084 bytes | |||
-rw-r--r-- | app/fronters/ponies/sbxze.png | bin | 0 -> 5754 bytes | |||
-rw-r--r-- | app/fronters/profiles/ckqsw.png | bin | 0 -> 237290 bytes | |||
-rw-r--r-- | app/fronters/profiles/djnko.png | bin | 0 -> 56915 bytes | |||
-rw-r--r-- | app/fronters/profiles/erefx.png | bin | 826530 -> 826530 bytes | |||
-rw-r--r-- | app/fronters/profiles/erknz.png | bin | 56915 -> 56915 bytes | |||
-rw-r--r-- | app/fronters/profiles/flukm.png | bin | 0 -> 14049 bytes | |||
-rw-r--r-- | app/fronters/profiles/gevde.png | bin | 100880 -> 100880 bytes | |||
-rw-r--r-- | app/fronters/profiles/gfhsr.png | bin | 1642044 -> 2283131 bytes | |||
-rw-r--r-- | app/fronters/profiles/ghuln.png | bin | 370233 -> 370233 bytes | |||
-rw-r--r-- | app/fronters/profiles/hpwyq.png | bin | 2770 -> 2770 bytes | |||
-rw-r--r-- | app/fronters/profiles/irxyh.png | bin | 0 -> 26543 bytes | |||
-rw-r--r-- | app/fronters/profiles/jnbae.png | bin | 60223 -> 60223 bytes | |||
-rw-r--r-- | app/fronters/profiles/khsbb.png | bin | 249236 -> 249236 bytes | |||
-rw-r--r-- | app/fronters/profiles/kkhbw.png | bin | 40300 -> 40300 bytes | |||
-rw-r--r-- | app/fronters/profiles/lllfw.png | bin | 745786 -> 745786 bytes | |||
-rw-r--r-- | app/fronters/profiles/lzlaq.png | bin | 26543 -> 26543 bytes | |||
-rw-r--r-- | app/fronters/profiles/mglyq.png | bin | 91476 -> 91476 bytes | |||
-rw-r--r-- | app/fronters/profiles/mhnqy.png | bin | 27452 -> 27452 bytes | |||
-rw-r--r-- | app/fronters/profiles/mxpxm.png | bin | 0 -> 56915 bytes | |||
-rw-r--r-- | app/fronters/profiles/pabmo.png | bin | 124750 -> 124750 bytes | |||
-rw-r--r-- | app/fronters/profiles/qbzxm.png | bin | 2843 -> 2843 bytes | |||
-rw-r--r-- | app/fronters/profiles/qraku.png | bin | 45898 -> 45898 bytes | |||
-rw-r--r-- | app/fronters/profiles/rdstg.png | bin | 16881 -> 16881 bytes | |||
-rw-r--r-- | app/fronters/profiles/rirgf.png | bin | 825561 -> 825561 bytes | |||
-rw-r--r-- | app/fronters/profiles/rmlbf.png | bin | 0 -> 56915 bytes | |||
-rw-r--r-- | app/fronters/profiles/rpjok.png | bin | 1542918 -> 1542918 bytes | |||
-rw-r--r-- | app/fronters/profiles/sbxze.png | bin | 0 -> 50554 bytes | |||
-rw-r--r-- | app/fronters/profiles/sehke.png | bin | 1947 -> 1947 bytes | |||
-rw-r--r-- | app/fronters/profiles/tfbob.png | bin | 14049 -> 14049 bytes | |||
-rw-r--r-- | app/fronters/profiles/tgxst.png | bin | 0 -> 40300 bytes | |||
-rw-r--r-- | app/fronters/profiles/tmgiu.png | bin | 260760 -> 260760 bytes | |||
-rw-r--r-- | app/fronters/profiles/vncoa.png | bin | 46475 -> 46475 bytes | |||
-rw-r--r-- | app/fronters/profiles/vvsxf.png | bin | 61010 -> 61010 bytes | |||
-rw-r--r-- | app/fronters/profiles/xbvwt.png | bin | 70342 -> 70342 bytes | |||
-rw-r--r-- | app/fronters/profiles/xcjhj.png | bin | 107053 -> 107053 bytes | |||
-rw-r--r-- | app/fronters/profiles/ybmig.png | bin | 0 -> 40300 bytes | |||
-rw-r--r-- | app/fronters/profiles/zajrk.png | bin | 2097 -> 2097 bytes | |||
-rw-r--r-- | app/fronters/profiles/zdtsg.png | bin | 3046 -> 3046 bytes | |||
-rw-r--r-- | app/fronters/profiles/zhtzs.png | bin | 673763 -> 673763 bytes | |||
-rw-r--r-- | app/fronters/profiles/ztfjz.png | bin | 184686 -> 184686 bytes | |||
-rw-r--r-- | app/fronters/profiles/zzise.png | bin | 69145 -> 69145 bytes | |||
-rwxr-xr-x | app/fronters/script.js | 14 | ||||
-rw-r--r-- | app/functions.js | 2 | ||||
-rw-r--r-- | app/planner/index.php | 2 | ||||
-rw-r--r-- | app/sw.js | 27 |
49 files changed, 49 insertions, 36 deletions
diff --git a/app/banner.js b/app/banner.js index 81991e9..6815de1 100644 --- a/app/banner.js +++ b/app/banner.js @@ -6,10 +6,10 @@ function timeAgo(time) { time = new Date(time).getTime(); } - let periods = ["second", "minute", "hour", "day", "week", "month", "year", "age"]; + let periods = ["sec.", "mn.", "hr.", "d.", "wk.", "mo.", "y.", "ages"]; if (bannerFrench) { - periods = ["seconde", "minute", "heure", "jour", "semaine", "mois", "an", "des année"]; + periods = ["sec.", "min.", "h.", "j.", "sem.", "mois", "an.", "des années"]; } let lengths = ["60", "60", "24", "7", "4.35", "12", "100"]; @@ -46,7 +46,7 @@ function timeAgo(time) { difference = Math.round(difference); - period = periods[j] + (difference > 1 ? "s" : ''); + period = periods[j]; if (bannerFrench) { return `${tense} ${difference} ${period}`; @@ -130,17 +130,17 @@ async function refreshBanner(offline, french) { <div style="display:grid;grid-template-columns: repeat(${data['median'] || data['id'] === "unknown" ? 4 : data['id'] === "fusion" ? 3 : 5}, 1fr);" id="member-card"> <span> - <b>${french ? `Préfixe${data['prefixes'].length > 1 ? 's' : ''} ` : `Prefix${data['prefixes'].length > 1 ? 'es' : ''}`}: </b> + <b>${french ? `Préfixe${data['prefixes'].length > 1 ? 's' : ''} ` : `Prefix${data['prefixes'].length > 1 ? 'es' : ''}`}: </b><span class="member-small-separator"><br></span> <code style="color: white;">${data['prefixes'].join('</code>, <code style="color: white;">')}</code> </span> <span> - <b>${french ? "Pronoms :" : "Pronouns:"} </b> + <b>${french ? "Pronoms :" : "Pronouns:"} </b><span class="member-small-separator"><br></span> ${data['id'] === "fusion" ? "she/her" : data['pronouns']} </span> ${!data['median'] && data['id'] !== "unknown" ? ` <span> ${data["id"] === "fusion" ? ` - <b>Fronting since : </b> + <b>Fronting since: </b><span class="member-small-separator"><br></span> ${data['last_fronted'] ? ` ${data['last_fronted']['now'] ? ` <span class="relative-time" data-relative-timestamp="${data['last_fronted']['timestamp']}">${data['last_fronted']['relative']}</span><br> @@ -148,7 +148,7 @@ async function refreshBanner(offline, french) { <span class="text-muted">Not fronting</span><br> `} ` : `<span class="text-muted">Not fronting</span><br> `}` : ` - <b>${french ? "Front :" : "Last fronted:"} </b> + <b>${french ? "Front :" : "Last fronted:"} </b><span class="member-small-separator"><br></span> ${data['last_fronted'] ? ` ${data['last_fronted']['now'] ? ` ${french ? "En ce moment" : "Right now"}<br> @@ -157,23 +157,23 @@ async function refreshBanner(offline, french) { <span class="relative-time" data-relative-timestamp="${data['last_fronted']['timestamp']}">${data['last_fronted']['relative']}</span><br> (${french ? "pendant" : "for"} ${data['last_fronted']['duration']['pretty']}) `} - ` : `${french ? "Il y a très longtemps" : "A long time ago"}<br> `}`} + ` : `${french ? "Jamais" : "Never"}<br> `}`} </span> ` : ''} ${data['id'] !== "fusion" ? ` <span> ${data['id'] === "unknown" ? "<b>Species: </b> best to ask" : ` - <span style="vertical-align: middle;position:relative;top:-5px;"><b>${french ? (data['species'].length > 1 ? "Espèces : " : "Espèce : ") : "Species: "}</b></span> + <span class="member-small-only"><b>Species: </b></span> ${data['species'].map(species => ` <img data-bs-toggle="tooltip" title="${species['name']}" style="width:32px;vertical-align: middle;position:relative;top:-5px;" src="${offline ? species['icon_offline'] : `/assets/species/${species['icon']}`}" alt="${species['name']}"> `).join("")}`} </span>` : ''} ${data['id'] !== "fusion" ? ` <span> - <b>${french ? "Système : " : "System: "}</b> + <span class="member-small-only"><b>System: </b></span> <a class="member-link" href="${data['system']['page']}"><img style="width:24px;border-radius:5px;" src="${offline ? data['system']['icon_offline'] : `/assets/uploads/${data['system']['icon']}`}"> ${data['system']['name']}</a> ${data['system']['subsystem'] ? ` - <br><b>${french ? "Sous-système : " : "Subsystem: "} </b><a class="member-link" href="${data['system']['subsystem']['page']}"><img style="width:24px;border-radius:5px;" src="/assets/uploads/${data['system']['subsystem']['icon']}"> ${data['system']['subsystem']['name']}</a> + <br><span class="member-small-only"><b>Subsystem: </b></span><a class="member-link" href="${data['system']['subsystem']['page']}"><img style="width:24px;border-radius:5px;" src="/assets/uploads/${data['system']['subsystem']['icon']}"> ${data['system']['subsystem']['name']}</a> ` : data['system']['temporary'] ? '<br>(temporary)' : ''} </span> ` : ''} @@ -183,20 +183,20 @@ async function refreshBanner(offline, french) { <span> <b>${french ? (data['relations']['marefriends'].length > 1 ? 'Partenaires ' : 'Partenaire ') : `Marefriend${data['relations']['marefriends'].length > 1 ? 's' : ''}`}: </b>${data['relations']['marefriends'].length > 1 ? '<span class="list-separator-mobile"><br></span>' : ''} ${data['relations']['marefriends'].map(relation => ` - <a class="member-link" href="${relation['link']}"><img src="${offline ? relation['icon_offline'] : `/assets/uploads/${relation['icon']}`}" style="width:24px;"> ${relation['name']}</a>`).join(`<span class="list-separator-desktop">, </span><span class="list-separator-mobile"><br></span>`)} + <a title="${relation['name']}" data-bs-toggle="tooltip" class="member-link tooltip-nohelp" href="${relation['link']}"><img src="${offline ? relation['icon_offline'] : `/assets/uploads/${relation['icon']}`}" style="width:24px;"></a>`).join(``)} ${data['relations']['marefriends'].length === 0 ? '-' : ''} </span> <span> <b>${french ? (data['relations']['sisters'].length > 1 ? 'Sœurs ' : 'Sœur ') : `Sister${data['relations']['sisters'].length > 1 ? 's' : ''}`}: </b>${data['relations']['sisters'].length > 1 ? '<span class="list-separator-mobile"><br></span>' : ''} ${data['relations']['sisters'].map(relation => ` - <a class="member-link" href="${relation['link']}"><img src="${offline ? relation['icon_offline'] : `/assets/uploads/${relation['icon']}`}" style="width:24px;"> ${relation['name']}</a>`).join(`<span class="list-separator-desktop">, </span><span class="list-separator-mobile"><br></span>`)} + <a title="${relation['name']}" data-bs-toggle="tooltip" class="member-link tooltip-nohelp" href="${relation['link']}"><img src="${offline ? relation['icon_offline'] : `/assets/uploads/${relation['icon']}`}" style="width:24px;"></a>`).join(``)} ${data['relations']['sisters'].length === 0 ? '-' : ''} </span> ${data['little'] ? ` <span> - <b>${french ? (data['relations']['sisters'].length > 1 ? 'Caretakers ' : 'Caretaker ') : `Caretakers${data['relations']['caretakers'].length > 1 ? 's' : ''}`}: </b>${data['relations']['caretakers'].length > 1 ? '<span class="list-separator-mobile"><br></span>' : ''} + <b>${french ? (data['relations']['sisters'].length > 1 ? 'Caretakers ' : 'Caretaker ') : `Caretaker${data['relations']['caretakers'].length > 1 ? 's' : ''}`}: </b>${data['relations']['caretakers'].length > 1 ? '<span class="list-separator-mobile"><br></span>' : ''} ${data['relations']['caretakers'].map(relation => ` - <a class="member-link" href="${relation['link']}"><img src="${offline ? relation['icon_offline'] : `/assets/uploads/${relation['icon']}`}" style="width:24px;"> ${relation['name']}</a>`).join(`<span class="list-separator-desktop">, </span><span class="list-separator-mobile"><br></span>`)} + <a title="${relation['name']}" data-bs-toggle="tooltip" class="member-link tooltip-nohelp" href="${relation['link']}"><img src="${offline ? relation['icon_offline'] : `/assets/uploads/${relation['icon']}`}" style="width:24px;"></a>`).join(``)} ${data['relations']['caretakers'].length === 0 ? '-' : ''} </span> ` : ''} diff --git a/app/fronters/index.html b/app/fronters/index.html index 7a032c1..78a3f92 100644 --- a/app/fronters/index.html +++ b/app/fronters/index.html @@ -12,7 +12,7 @@ samples: { qbzxm: "l. hi i'm here again", zajrk: "t. I kinda want to switch out now hehe, I'm really really tired", - rirgf: "Good morning sweetie!", + rirgf: "s. Good morning sweetie!", lllfw: "z. Okay she is done, sorry for the wait. We can talk now!", pabmo: "b. cat!!", tfbob: "v. eeeeeeeeeee~!", @@ -20,14 +20,15 @@ khsbb: "po. apparently humans are not really nice", ztfjz: "f. Anyway I'm going to let Scoots front now since you miss her", hpwyq: "c. But for now, I'll see you later Twi!", - mhnqy: "d. She'll probably want to sleep in a bit" + mhnqy: "d. She'll probably want to sleep in a bit", + ckqsw: "r. don't even know what they want to do anyway" } }, { system: "ynmuc", name: "cloudburst", samples: { - kkhbw: "i'll see u later hun", + kkhbw: "t. i'll see u later hun", vvsxf: "p. anyway i'll see you later", gevde: "sb. i cuddle switch out go rest..", erefx: "i. brain hears chainsaw and goes like \"aaaaaaa insect AAAAAAAAAAAAAAAAAAAA\"", @@ -41,7 +42,8 @@ rpjok: "e. Affermative", sehke: "w. probably will once i work out how", xbvwt: "s. Twi kinda wants you to do something similar to what I've done", - vncoa: "m. anyway, i'mma honour what i originally said" + vncoa: "m. anyway, i'mma honour what i originally said", + sbxze: "y. you seem friendly though!" } } ] diff --git a/app/fronters/ponies/ckqsw.png b/app/fronters/ponies/ckqsw.png Binary files differnew file mode 100644 index 0000000..8415d1d --- /dev/null +++ b/app/fronters/ponies/ckqsw.png diff --git a/app/fronters/ponies/erknz.png b/app/fronters/ponies/erknz.png Binary files differindex cbaf5ca..c649a9d 100644 --- a/app/fronters/ponies/erknz.png +++ b/app/fronters/ponies/erknz.png diff --git a/app/fronters/ponies/sbxze.png b/app/fronters/ponies/sbxze.png Binary files differnew file mode 100644 index 0000000..c67d128 --- /dev/null +++ b/app/fronters/ponies/sbxze.png diff --git a/app/fronters/profiles/ckqsw.png b/app/fronters/profiles/ckqsw.png Binary files differnew file mode 100644 index 0000000..aa8b705 --- /dev/null +++ b/app/fronters/profiles/ckqsw.png diff --git a/app/fronters/profiles/djnko.png b/app/fronters/profiles/djnko.png Binary files differnew file mode 100644 index 0000000..4b3f717 --- /dev/null +++ b/app/fronters/profiles/djnko.png diff --git a/app/fronters/profiles/erefx.png b/app/fronters/profiles/erefx.png Binary files differindex a65c876..e5175fb 100644 --- a/app/fronters/profiles/erefx.png +++ b/app/fronters/profiles/erefx.png diff --git a/app/fronters/profiles/erknz.png b/app/fronters/profiles/erknz.png Binary files differindex 856533e..4d1f0dd 100644 --- a/app/fronters/profiles/erknz.png +++ b/app/fronters/profiles/erknz.png diff --git a/app/fronters/profiles/flukm.png b/app/fronters/profiles/flukm.png Binary files differnew file mode 100644 index 0000000..5bd1d18 --- /dev/null +++ b/app/fronters/profiles/flukm.png diff --git a/app/fronters/profiles/gevde.png b/app/fronters/profiles/gevde.png Binary files differindex 414a13d..f08887d 100644 --- a/app/fronters/profiles/gevde.png +++ b/app/fronters/profiles/gevde.png diff --git a/app/fronters/profiles/gfhsr.png b/app/fronters/profiles/gfhsr.png Binary files differindex 6ea3317..1d12f37 100644 --- a/app/fronters/profiles/gfhsr.png +++ b/app/fronters/profiles/gfhsr.png diff --git a/app/fronters/profiles/ghuln.png b/app/fronters/profiles/ghuln.png Binary files differindex cfec882..d975de1 100644 --- a/app/fronters/profiles/ghuln.png +++ b/app/fronters/profiles/ghuln.png diff --git a/app/fronters/profiles/hpwyq.png b/app/fronters/profiles/hpwyq.png Binary files differindex 47be11f..6014172 100644 --- a/app/fronters/profiles/hpwyq.png +++ b/app/fronters/profiles/hpwyq.png diff --git a/app/fronters/profiles/irxyh.png b/app/fronters/profiles/irxyh.png Binary files differnew file mode 100644 index 0000000..ff9b84a --- /dev/null +++ b/app/fronters/profiles/irxyh.png diff --git a/app/fronters/profiles/jnbae.png b/app/fronters/profiles/jnbae.png Binary files differindex c2a0f15..67a3cc6 100644 --- a/app/fronters/profiles/jnbae.png +++ b/app/fronters/profiles/jnbae.png diff --git a/app/fronters/profiles/khsbb.png b/app/fronters/profiles/khsbb.png Binary files differindex baefbe4..4a19d1d 100644 --- a/app/fronters/profiles/khsbb.png +++ b/app/fronters/profiles/khsbb.png diff --git a/app/fronters/profiles/kkhbw.png b/app/fronters/profiles/kkhbw.png Binary files differindex 140f080..db09107 100644 --- a/app/fronters/profiles/kkhbw.png +++ b/app/fronters/profiles/kkhbw.png diff --git a/app/fronters/profiles/lllfw.png b/app/fronters/profiles/lllfw.png Binary files differindex aabc5c1..922ae6f 100644 --- a/app/fronters/profiles/lllfw.png +++ b/app/fronters/profiles/lllfw.png diff --git a/app/fronters/profiles/lzlaq.png b/app/fronters/profiles/lzlaq.png Binary files differindex c3c02d6..19890f3 100644 --- a/app/fronters/profiles/lzlaq.png +++ b/app/fronters/profiles/lzlaq.png diff --git a/app/fronters/profiles/mglyq.png b/app/fronters/profiles/mglyq.png Binary files differindex 91bce03..2350ce9 100644 --- a/app/fronters/profiles/mglyq.png +++ b/app/fronters/profiles/mglyq.png diff --git a/app/fronters/profiles/mhnqy.png b/app/fronters/profiles/mhnqy.png Binary files differindex 9d69ef8..bbc296e 100644 --- a/app/fronters/profiles/mhnqy.png +++ b/app/fronters/profiles/mhnqy.png diff --git a/app/fronters/profiles/mxpxm.png b/app/fronters/profiles/mxpxm.png Binary files differnew file mode 100644 index 0000000..a8a5f44 --- /dev/null +++ b/app/fronters/profiles/mxpxm.png diff --git a/app/fronters/profiles/pabmo.png b/app/fronters/profiles/pabmo.png Binary files differindex 9ffe1b6..855989d 100644 --- a/app/fronters/profiles/pabmo.png +++ b/app/fronters/profiles/pabmo.png diff --git a/app/fronters/profiles/qbzxm.png b/app/fronters/profiles/qbzxm.png Binary files differindex c48dcfa..59cfdaf 100644 --- a/app/fronters/profiles/qbzxm.png +++ b/app/fronters/profiles/qbzxm.png diff --git a/app/fronters/profiles/qraku.png b/app/fronters/profiles/qraku.png Binary files differindex 37873ca..0935261 100644 --- a/app/fronters/profiles/qraku.png +++ b/app/fronters/profiles/qraku.png diff --git a/app/fronters/profiles/rdstg.png b/app/fronters/profiles/rdstg.png Binary files differindex 6525f2f..3a28375 100644 --- a/app/fronters/profiles/rdstg.png +++ b/app/fronters/profiles/rdstg.png diff --git a/app/fronters/profiles/rirgf.png b/app/fronters/profiles/rirgf.png Binary files differindex 2f31b54..3fdf039 100644 --- a/app/fronters/profiles/rirgf.png +++ b/app/fronters/profiles/rirgf.png diff --git a/app/fronters/profiles/rmlbf.png b/app/fronters/profiles/rmlbf.png Binary files differnew file mode 100644 index 0000000..017b9bb --- /dev/null +++ b/app/fronters/profiles/rmlbf.png diff --git a/app/fronters/profiles/rpjok.png b/app/fronters/profiles/rpjok.png Binary files differindex 87c9092..1475d47 100644 --- a/app/fronters/profiles/rpjok.png +++ b/app/fronters/profiles/rpjok.png diff --git a/app/fronters/profiles/sbxze.png b/app/fronters/profiles/sbxze.png Binary files differnew file mode 100644 index 0000000..4390c22 --- /dev/null +++ b/app/fronters/profiles/sbxze.png diff --git a/app/fronters/profiles/sehke.png b/app/fronters/profiles/sehke.png Binary files differindex ef80383..efcdf4a 100644 --- a/app/fronters/profiles/sehke.png +++ b/app/fronters/profiles/sehke.png diff --git a/app/fronters/profiles/tfbob.png b/app/fronters/profiles/tfbob.png Binary files differindex eb27d16..a63b6e3 100644 --- a/app/fronters/profiles/tfbob.png +++ b/app/fronters/profiles/tfbob.png diff --git a/app/fronters/profiles/tgxst.png b/app/fronters/profiles/tgxst.png Binary files differnew file mode 100644 index 0000000..c23191f --- /dev/null +++ b/app/fronters/profiles/tgxst.png diff --git a/app/fronters/profiles/tmgiu.png b/app/fronters/profiles/tmgiu.png Binary files differindex f81b22d..acaf6f3 100644 --- a/app/fronters/profiles/tmgiu.png +++ b/app/fronters/profiles/tmgiu.png diff --git a/app/fronters/profiles/vncoa.png b/app/fronters/profiles/vncoa.png Binary files differindex 3dd8fc3..ac1596f 100644 --- a/app/fronters/profiles/vncoa.png +++ b/app/fronters/profiles/vncoa.png diff --git a/app/fronters/profiles/vvsxf.png b/app/fronters/profiles/vvsxf.png Binary files differindex f762204..df4566d 100644 --- a/app/fronters/profiles/vvsxf.png +++ b/app/fronters/profiles/vvsxf.png diff --git a/app/fronters/profiles/xbvwt.png b/app/fronters/profiles/xbvwt.png Binary files differindex 763bb2c..2b94fa8 100644 --- a/app/fronters/profiles/xbvwt.png +++ b/app/fronters/profiles/xbvwt.png diff --git a/app/fronters/profiles/xcjhj.png b/app/fronters/profiles/xcjhj.png Binary files differindex 56eaee9..02a635f 100644 --- a/app/fronters/profiles/xcjhj.png +++ b/app/fronters/profiles/xcjhj.png diff --git a/app/fronters/profiles/ybmig.png b/app/fronters/profiles/ybmig.png Binary files differnew file mode 100644 index 0000000..9fa7caf --- /dev/null +++ b/app/fronters/profiles/ybmig.png diff --git a/app/fronters/profiles/zajrk.png b/app/fronters/profiles/zajrk.png Binary files differindex aa1c3a9..ebfc4d8 100644 --- a/app/fronters/profiles/zajrk.png +++ b/app/fronters/profiles/zajrk.png diff --git a/app/fronters/profiles/zdtsg.png b/app/fronters/profiles/zdtsg.png Binary files differindex 7872104..1c1704d 100644 --- a/app/fronters/profiles/zdtsg.png +++ b/app/fronters/profiles/zdtsg.png diff --git a/app/fronters/profiles/zhtzs.png b/app/fronters/profiles/zhtzs.png Binary files differindex ec6aa1e..2af80d2 100644 --- a/app/fronters/profiles/zhtzs.png +++ b/app/fronters/profiles/zhtzs.png diff --git a/app/fronters/profiles/ztfjz.png b/app/fronters/profiles/ztfjz.png Binary files differindex eb39fdc..cb81f5f 100644 --- a/app/fronters/profiles/ztfjz.png +++ b/app/fronters/profiles/ztfjz.png diff --git a/app/fronters/profiles/zzise.png b/app/fronters/profiles/zzise.png Binary files differindex 8334450..d200bdf 100644 --- a/app/fronters/profiles/zzise.png +++ b/app/fronters/profiles/zzise.png diff --git a/app/fronters/script.js b/app/fronters/script.js index b85dbd8..6450bba 100755 --- a/app/fronters/script.js +++ b/app/fronters/script.js @@ -1,7 +1,7 @@ function getMiniName(name) { let parts = name.split(" "); - if (parts[0].length > 3 && !parts[0].endsWith("e") && parts[0] !== "Filly") { + if (parts[0].length > 3 && !parts[0].endsWith("e") && parts[0] !== "Filly" && parts[0] !== "Windy") { if (parts[0].includes("/")) { return parts[0].split("/")[0]; } else { @@ -86,14 +86,14 @@ function loadApp() { document.getElementById("selector-profiles").innerHTML += "<li><a href='#" + slot + "' onclick='localStorage.setItem(`default-slot`, slot);location.reload();'>" + slotData["name"] + "</a></li>"; } - window.members = JSON.parse(localStorage.getItem("pluralkit-" + configSlot)).filter(i => i.name !== "unknown" && i.name !== "fusion" && i.name !== "smolscoots" && i.name !== "smoltwi").sort(() => Math.random() - 0.5); + window.members = JSON.parse(localStorage.getItem("pluralkit-" + configSlot)).filter(i => i.name !== "unknown" && i.name !== "fusion" && i.name !== "smolscoots" && i.name !== "smoltwi" && !i.name.endsWith("-travelling")).sort(() => Math.random() - 0.5); document.getElementById("loader").innerHTML = "Starting application..."; let dc; let dcName; // Step 1 - window.members = JSON.parse(localStorage.getItem("pluralkit-" + configSlot)).filter(i => i.name !== "unknown" && i.name !== "fusion" && i.name !== "smolscoots" && i.name !== "smoltwi").sort(() => Math.random() - 0.5); + window.members = JSON.parse(localStorage.getItem("pluralkit-" + configSlot)).filter(i => i.name !== "unknown" && i.name !== "fusion" && i.name !== "smolscoots" && i.name !== "smoltwi" && !i.name.endsWith("-travelling")).sort(() => Math.random() - 0.5); dc = document.getElementById("s1-default-card"); dcName = document.getElementById("s1-default-card-name"); @@ -120,7 +120,7 @@ function loadApp() { } // Step 2 - window.members = JSON.parse(localStorage.getItem("pluralkit-" + configSlot)).filter(i => i.name !== "unknown" && i.name !== "fusion" && i.name !== "smolscoots" && i.name !== "smoltwi").sort(() => Math.random() - 0.5); + window.members = JSON.parse(localStorage.getItem("pluralkit-" + configSlot)).filter(i => i.name !== "unknown" && i.name !== "fusion" && i.name !== "smolscoots" && i.name !== "smoltwi" && !i.name.endsWith("-travelling")).sort(() => Math.random() - 0.5); dc = document.getElementById("s2-default-card"); dcName = document.getElementById("s2-default-card-name"); @@ -147,7 +147,7 @@ function loadApp() { } // Step 3 - window.members = JSON.parse(localStorage.getItem("pluralkit-" + configSlot)).filter(i => i.name !== "unknown" && i.name !== "fusion" && i.name !== "smolscoots" && i.name !== "smoltwi").sort(() => Math.random() - 0.5); + window.members = JSON.parse(localStorage.getItem("pluralkit-" + configSlot)).filter(i => i.name !== "unknown" && i.name !== "fusion" && i.name !== "smolscoots" && i.name !== "smoltwi" && !i.name.endsWith("-travelling")).sort(() => Math.random() - 0.5); dc = document.getElementById("s3-default-card"); dcName = document.getElementById("s3-default-card-img"); @@ -174,7 +174,7 @@ function loadApp() { } // Step 4 - window.members = JSON.parse(localStorage.getItem("pluralkit-" + configSlot)).filter(i => i.name !== "unknown" && i.name !== "fusion" && i.name !== "smolscoots" && i.name !== "smoltwi").sort(() => Math.random() - 0.5); + window.members = JSON.parse(localStorage.getItem("pluralkit-" + configSlot)).filter(i => i.name !== "unknown" && i.name !== "fusion" && i.name !== "smolscoots" && i.name !== "smoltwi" && !i.name.endsWith("-travelling")).sort(() => Math.random() - 0.5); dc = document.getElementById("s4-default-card"); dcName = document.getElementById("s4-default-card-img"); @@ -201,7 +201,7 @@ function loadApp() { } // Step 5 - window.members = JSON.parse(localStorage.getItem("pluralkit-" + configSlot)).filter(i => i.name !== "unknown" && i.name !== "fusion" && i.name !== "smolscoots" && i.name !== "smoltwi").sort(() => Math.random() - 0.5); + window.members = JSON.parse(localStorage.getItem("pluralkit-" + configSlot)).filter(i => i.name !== "unknown" && i.name !== "fusion" && i.name !== "smolscoots" && i.name !== "smoltwi" && !i.name.endsWith("-travelling")).sort(() => Math.random() - 0.5); dc = document.getElementById("s5-default-card"); dcName = document.getElementById("s5-default-card-name"); diff --git a/app/functions.js b/app/functions.js index d736464..207bc42 100644 --- a/app/functions.js +++ b/app/functions.js @@ -3,7 +3,7 @@ function getMiniName(name) { let parts = name.split(" "); - if (parts[0].length > 3 && !parts[0].endsWith("e") && parts[0] !== "Filly") { + if (parts[0].length > 3 && !parts[0].endsWith("e") && parts[0] !== "Filly" && parts[0] !== "Windy") { if (parts[0].includes("/")) { return parts[0].split("/")[0]; } else { diff --git a/app/planner/index.php b/app/planner/index.php index b2070da..775fec3 100644 --- a/app/planner/index.php +++ b/app/planner/index.php @@ -39,7 +39,7 @@ function getMiniName(string $name) { $parts = explode(" ", $name); - if (strlen($parts[0]) > 3 && !str_ends_with($parts[0], "e") && $parts[0] !== "Filly") { + if (strlen($parts[0]) > 3 && !str_ends_with($parts[0], "e") && $parts[0] !== "Filly" && $parts[0] !== "Windy") { if (str_contains($parts[0], "/")) { return explode("/", $parts[0])[0]; } else { @@ -57,6 +57,7 @@ let filesToCache = [ "/app/fronters/bootstrap/bootstrap.js", "/app/fronters/bootstrap/bootstrap.js.map", "/app/fronters/index.html", + "/app/fronters/ponies/ckqsw.png", "/app/fronters/ponies/erefx.png", "/app/fronters/ponies/erknz.png", "/app/fronters/ponies/gevde.png", @@ -74,6 +75,7 @@ let filesToCache = [ "/app/fronters/ponies/qraku.png", "/app/fronters/ponies/rirgf.png", "/app/fronters/ponies/rpjok.png", + "/app/fronters/ponies/sbxze.png", "/app/fronters/ponies/sehke.png", "/app/fronters/ponies/tfbob.png", "/app/fronters/ponies/vncoa.png", @@ -84,12 +86,16 @@ let filesToCache = [ "/app/fronters/ponies/zhtzs.png", "/app/fronters/ponies/ztfjz.png", "/app/fronters/ponies/zzise.png", + "/app/fronters/profiles/ckqsw.png", + "/app/fronters/profiles/djnko.png", "/app/fronters/profiles/erefx.png", "/app/fronters/profiles/erknz.png", + "/app/fronters/profiles/flukm.png", "/app/fronters/profiles/gevde.png", "/app/fronters/profiles/gfhsr.png", "/app/fronters/profiles/ghuln.png", "/app/fronters/profiles/hpwyq.png", + "/app/fronters/profiles/irxyh.png", "/app/fronters/profiles/jnbae.png", "/app/fronters/profiles/khsbb.png", "/app/fronters/profiles/kkhbw.png", @@ -98,20 +104,25 @@ let filesToCache = [ "/app/fronters/profiles/lzlaq.png", "/app/fronters/profiles/mglyq.png", "/app/fronters/profiles/mhnqy.png", + "/app/fronters/profiles/mxpxm.png", "/app/fronters/profiles/nabky.png", "/app/fronters/profiles/pabmo.png", "/app/fronters/profiles/qbzxm.png", "/app/fronters/profiles/qraku.png", "/app/fronters/profiles/rdstg.png", "/app/fronters/profiles/rirgf.png", + "/app/fronters/profiles/rmlbf.png", "/app/fronters/profiles/rpjok.png", + "/app/fronters/profiles/sbxze.png", "/app/fronters/profiles/sehke.png", "/app/fronters/profiles/tfbob.png", + "/app/fronters/profiles/tgxst.png", "/app/fronters/profiles/tmgiu.png", "/app/fronters/profiles/vncoa.png", "/app/fronters/profiles/vvsxf.png", "/app/fronters/profiles/xbvwt.png", "/app/fronters/profiles/xcjhj.png", + "/app/fronters/profiles/ybmig.png", "/app/fronters/profiles/zajrk.png", "/app/fronters/profiles/zdtsg.png", "/app/fronters/profiles/zhtzs.png", @@ -143,22 +154,21 @@ let filesToCache = [ "/app/update.sh", "/assets/uploads/cloudburst.png", "/assets/uploads/logo.jpg", - "/assets/uploads/pt-babs.png", + "/assets/uploads/pt-babsseed.png", "/assets/uploads/pt-blueberrycloud.png", - "/assets/uploads/pt-cloudy.png", + "/assets/uploads/pt-cloudydreams.png", "/assets/uploads/pt-duskrainbow.png", "/assets/uploads/pt-fluttershy.png", - "/assets/uploads/pt-frost.png", - "/assets/uploads/pt-fusion.png", - "/assets/uploads/pt-izzymoonbow.png", + "/assets/uploads/pt-frostcrystals.png", + "/assets/uploads/pt-izzy.png", "/assets/uploads/pt-lavender.png", - "/assets/uploads/pt-lyra.png", "/assets/uploads/pt-mintygrape.png", "/assets/uploads/pt-mistycloud.png", "/assets/uploads/pt-mossystorm.png", "/assets/uploads/pt-pipppetals.png", "/assets/uploads/pt-plushie.png", "/assets/uploads/pt-poseybloom.png", + "/assets/uploads/pt-rainbowdash.png", "/assets/uploads/pt-scootaloo.png", "/assets/uploads/pt-skydream.png", "/assets/uploads/pt-smolscoots.png", @@ -170,9 +180,10 @@ let filesToCache = [ "/assets/uploads/pt-sweetiebot.png", "/assets/uploads/pt-twilight.png", "/assets/uploads/pt-velvet.png", - "/assets/uploads/pt-violet.png", + "/assets/uploads/pt-violetdawn.png", + "/assets/uploads/pt-windy.png", "/assets/uploads/pt-windyleaves.png", - "/assets/uploads/pt-zipp.png", + "/assets/uploads/pt-zippstorm.png", "/assets/uploads/pt.png", "/assets/uploads/raindrops.png", "/assets/uploads/ss-sparkles.png" |