From 2e7294c83c6388e3855ce787f0a18c20ed652131 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Sat, 10 Jun 2023 11:06:53 +0200 Subject: Updated 12 files and added includes/system/compare.inc (automated) --- includes/components/navigation.inc | 2 +- includes/components/planner.inc | 34 ++++--- includes/flags.json | 4 +- includes/system/compare.inc | 187 +++++++++++++++++++++++++++++++++++++ includes/util/banner.inc | 10 +- 5 files changed, 219 insertions(+), 18 deletions(-) create mode 100644 includes/system/compare.inc (limited to 'includes') diff --git a/includes/components/navigation.inc b/includes/components/navigation.inc index b82e247..478420d 100644 --- a/includes/components/navigation.inc +++ b/includes/components/navigation.inc @@ -117,7 +117,7 @@ $navigation_admin = [ "name" => $lang["navigation"]["apps"], "minimal" => false, "items" => [ - [ + time() >= 1686787200 ? null : [ "name" => $pages["fronting"]["name"][$lang["_name"]], "icon" => "/assets/icons/fronting.svg", "invert" => true, diff --git a/includes/components/planner.inc b/includes/components/planner.inc index f005f52..b5fc7a5 100644 --- a/includes/components/planner.inc +++ b/includes/components/planner.inc @@ -482,23 +482,29 @@

Front planner

+ +
+ The fronting schedule will be removed on June 15th. Due to internal discussion, we have decided to remove the fronting schedule as it is causing a lot of trouble inside the respective systems. Archives will be kept in the database. +
+ diff --git a/includes/flags.json b/includes/flags.json index d11fd54..0aed68e 100644 --- a/includes/flags.json +++ b/includes/flags.json @@ -1,7 +1,7 @@ { "age_regressor": null, "age_spells": null, - "host": null, + "host": "Host", "not_talking": null, "median": null, @@ -30,4 +30,4 @@ "other2": "Potentially having sex with %other%", "other3": "#Having sex with Raindrops", "other4": "#Potentially having sex with Raindrops" -} \ No newline at end of file +} diff --git a/includes/system/compare.inc b/includes/system/compare.inc new file mode 100644 index 0000000..6eec002 --- /dev/null +++ b/includes/system/compare.inc @@ -0,0 +1,187 @@ + + +
+
+

+
grid-template-columns: 3fr 1.5fr 2fr repeat(4, 1fr);"> + + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + + + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + + + + Code + Code + Code + Code + Code + Code + + + + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + + + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + + + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + + + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + + + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + " data-bs-toggle="tooltip"> + + + + " data-bs-toggle="tooltip" class="member-link comparison-item comparison-item-clickable" href="/"> + " style="width:24px;"> + ; height: 16px; width: 16px;display: inline-block;vertical-align: middle;border-radius:2px;"> + + + + " style="width:24px;vertical-align: middle;position:relative;top:-5px;" src="/assets/species/.png" alt=""> + + + + + + + - + + + + + + 0 ? count($metadata["marefriends"]) + count($metadata["sisters"]) : "" ?> + + +
" data-bs-toggle="tooltip" data-bs-html="true" class="member-link tooltip-nohelp" href="/">" style="width:24px;">

" data-bs-toggle="tooltip" data-bs-html="true" class="member-link tooltip-nohelp" href="/">" style="width:24px;">

" data-bs-toggle="tooltip" data-bs-html="true" class="member-link tooltip-nohelp" href="/">" style="width:24px;">
+
+
+ + 0): ?> + + " src="/assets/icons/partial.svg" alt="" style="width:24px;"> + + " src="/assets/icons/complete.svg" alt="" style="width:24px;"> + + + " src="/assets/icons/none.svg" alt="" style="width:24px;"> + + + + + " src="/assets/icons/complete.svg" alt="" style="width:24px;"> + + " src="/assets/icons/none.svg" alt="" style="width:24px;"> + + + + + " src="/assets/icons/complete.svg" alt="" style="width:24px;"> + + " src="/assets/icons/partial.svg" alt="" style="width:24px;"> + + " src="/assets/icons/none.svg" alt="" style="width:24px;"> + + + + + + " src="/assets/icons/partial.svg" alt="" style="width:24px;"> + + " src="/assets/icons/complete.svg" alt="" style="width:24px;"> + + + " src="/assets/icons/none.svg" alt="" style="width:24px;"> + + + +
+
+ + \ No newline at end of file diff --git a/includes/util/banner.inc b/includes/util/banner.inc index 01362a0..1f4d7fd 100644 --- a/includes/util/banner.inc +++ b/includes/util/banner.inc @@ -337,6 +337,14 @@ function getMemberBannerData(string $id, string $system, bool $french = false) { ]; } + if (($metadata["host"] ?? false)) { + $badges[] = [ + "id" => "host", + "color" => "fc6735", + "html" => 'Host' + ]; + } + if (($metadata["leader"] ?? false)) { $badges[] = [ "id" => "leader", @@ -403,4 +411,4 @@ function getMemberBannerData(string $id, string $system, bool $french = false) { 'friends' => $friends ?? [] ] ]; -} \ No newline at end of file +} -- cgit