aboutsummaryrefslogtreecommitdiff
path: root/statusbar.php
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-02-14 14:22:19 +0100
committerMinteck <contact@minteck.org>2022-02-14 14:22:19 +0100
commit4622ccde9cf34b8518dc9507382fcd2d7eafcb0c (patch)
tree41691f7fb00b8f555d9b544904006d6e9dbe37c6 /statusbar.php
parent7a025720d6a07323c4a0b32cf6c5fdb7d0269807 (diff)
downloadcore-4622ccde9cf34b8518dc9507382fcd2d7eafcb0c.tar.gz
core-4622ccde9cf34b8518dc9507382fcd2d7eafcb0c.tar.bz2
core-4622ccde9cf34b8518dc9507382fcd2d7eafcb0c.zip
Add license notice
Diffstat (limited to 'statusbar.php')
-rw-r--r--statusbar.php70
1 files changed, 70 insertions, 0 deletions
diff --git a/statusbar.php b/statusbar.php
index a6e80ab..d648233 100644
--- a/statusbar.php
+++ b/statusbar.php
@@ -1,4 +1,28 @@
<?php
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022- Minteck
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ *
+ */
global $_CONFIG;
$_CONFIG = json_decode(file_get_contents("/mnt/familine/private/FamilineConfig.json"), true);
@@ -112,8 +136,54 @@ if (isset($_PROFILE["projectRoles"]) && is_array($_PROFILE["projectRoles"]) && i
display: none;
}
}
+
+ .statusbar-drag-region {
+ -webkit-app-region: drag;
+ }
+
+ #statusbar-drag-region-01 {
+ left: 348px;
+ position: fixed;
+ top: 0;
+ /*background: rgba(255, 0, 0, 0.5);*/
+ height: 36px;
+ right: 70px;
+ }
+
+ #statusbar-drag-region-02 {
+ left: 0;
+ position: fixed;
+ top: 0;
+ /*background: rgba(255, 0, 0, 0.5);*/
+ height: 36px;
+ right: unset;
+ width: 32px;
+ }
+
+ #statusbar-drag-region-03 {
+ left: unset;
+ position: fixed;
+ top: 0;
+ /*background: rgba(255, 0, 0, 0.5);*/
+ height: 36px;
+ right: 0;
+ width: 32px;
+ }
+
+ #statusbar.desktop #statusbar-drag-region-01 {
+ left: 118px;
+ }
+
+ @media (min-width: 1101px) {
+ #statusbar-drag-region-01 {
+ right: 154px;
+ }
+ }
</style>
<div id="statusbar">
+ <div class="statusbar-drag-region" id="statusbar-drag-region-01"></div>
+ <div class="statusbar-drag-region" id="statusbar-drag-region-02"></div>
+ <div class="statusbar-drag-region" id="statusbar-drag-region-03"></div>
<a title="Accueil de Familine" href="https://familine.minteck.org" target="_parent"><span class="logo" style="display: inline-block;top: 0;position: relative;padding: 8px 7px 7px 7px;margin: -11px 0;"><img src="https://familine.minteck.org/favicon.svg" style="width: 16px;vertical-align: middle;position: relative;top: -2px;"> Familine</span></a>
<span id="apps-desktop" <?= $_SERVER['HTTP_REFERER'] === "https://familine.minteck.org/" ? "style=\"display: none;\"" : "" ?>><span style="opacity: .25;">|</span><a style="text-decoration: none;" title="Familine Pages" href="https://docs.familine.minteck.org" target="_parent">
<span class="logo" style="display: inline-block;top: -2px;position: relative;padding: 6px 2px 7px 2px;margin: -11px 0;"><img src="https://familine.minteck.org/icns/familine-docs.svg" style="width: 20px;vertical-align: middle;"></span></a><a style="text-decoration: none;" title="Familine Aide" href="https://support.familine.minteck.org" target="_parent">