diff options
Diffstat (limited to '_frame')
-rw-r--r-- | _frame/.DS_Store | bin | 0 -> 6148 bytes | |||
-rw-r--r-- | _frame/about/index.php | 4 | ||||
-rw-r--r-- | _frame/copyright/index.php | 35 | ||||
-rw-r--r-- | _frame/home/index.php | 10 | ||||
-rw-r--r-- | _frame/library.internal/main.php | 2 | ||||
-rw-r--r-- | _frame/library.internal/view.php | 2 | ||||
-rw-r--r-- | _frame/lyrics/index.php | 2 | ||||
-rw-r--r-- | _frame/settings/index.php | 2 |
8 files changed, 48 insertions, 9 deletions
diff --git a/_frame/.DS_Store b/_frame/.DS_Store Binary files differnew file mode 100644 index 0000000..65acc04 --- /dev/null +++ b/_frame/.DS_Store diff --git a/_frame/about/index.php b/_frame/about/index.php index b1166ad..7bdd290 100644 --- a/_frame/about/index.php +++ b/_frame/about/index.php @@ -4,7 +4,7 @@ <head> <meta charset="UTF-8"> <title>Argon</title> - <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> + <link rel="shortcut icon" href="/favicon.svg" type="image/svg+xml"> <link rel="stylesheet" href="/css/fonts.css"> <link rel="stylesheet" href="/css/general.css"> <link rel="stylesheet" href="/css/loader.css"> @@ -23,7 +23,7 @@ <div id="frame-contents"> <div id="frame-about-general"> <div id="frame-about-general-icon"> - <img alt="<?= $_FAMILINE ? "Familine Musique" : "Argon" ?>" src="<?= $_FAMILINE ? "https://familine.minteck.org/icns/familine-music.svg" : "/logo/512.png" ?>" id="frame-about-general-icon"> + <img alt="<?= $_FAMILINE ? "Familine Musique" : "Argon" ?>" src="<?= $_FAMILINE ? "https://familine.minteck.org/icns/familine-music.svg" : "/favicon.svg" ?>" id="frame-about-general-icon"> </div> <div id="frame-about-general-text"> <div id="frame-about-general-text-inner"> diff --git a/_frame/copyright/index.php b/_frame/copyright/index.php new file mode 100644 index 0000000..f36ce7d --- /dev/null +++ b/_frame/copyright/index.php @@ -0,0 +1,35 @@ +<?php if (str_ends_with($_SERVER['HTTP_HOST'], ".familine.minteck.org")) { $_FAMILINE = true; } else { $_FAMILINE = false; } function l($en, $fr) { global $_FAMILINE; if ($_FAMILINE) { return $fr; } else { return $en; } } $root = $_SERVER['DOCUMENT_ROOT']; $root = $_SERVER['DOCUMENT_ROOT']; if ($_FAMILINE) { require_once "/mnt/familine/app/session.php"; } ?> +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <title>Argon</title> + <link rel="shortcut icon" href="/favicon.svg" type="image/svg+xml"> + <link rel="stylesheet" href="/css/fonts.css"> + <link rel="stylesheet" href="/css/general.css"> + <link rel="stylesheet" href="/css/loader.css"> + <link rel="stylesheet" href="/css/header.css"> + <link rel="stylesheet" href="/css/frame-about.css"> + <link rel="stylesheet" href="/css/frame.css"> + <link rel="stylesheet" href="/dark.css"> + <meta name="HandheldFriendly" content="true" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> +</head> +<body> +<div id="argon-frame"> + <div id="frame-header"> + Report a copyright infringement + </div> + <div id="frame-contents"> + <p>If you think a content hosted on Argon is infringing your copyright, you may want to send in a report to the Argon administrators, so they can remove the concerned content. Make sure you have a way to prove you own the copyrighted content before sending in a report.</p> + <p>Before sending a report, make sure you have the following information:</p> + <ul> + <li>the ID of the song containing the copyrighted content, or a link to the page on Argon;</li> + <li>a link pointing to the original content (if the link can't be publicly accessed by the time we view your report, it will be ignored);</li> + <li>a way to prove you own the content (for example: if it is a YouTube video, you can add the Argon song ID at the bottom of the video description)</li> + </ul> + <p>We will try to process your request within at most 4 non-business days, but it may be delayed in some cases; please be patient. To start reporting a copyright infringement, send an email to <a class="frame-about-link" href="mailto:contact@minteck.org">contact@minteck.org</a>.</p> + </div> +</div> +</body> +</html>
\ No newline at end of file diff --git a/_frame/home/index.php b/_frame/home/index.php index c0f0c69..0ea9691 100644 --- a/_frame/home/index.php +++ b/_frame/home/index.php @@ -4,7 +4,7 @@ <head> <meta charset="UTF-8"> <title>Argon</title> - <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> + <link rel="shortcut icon" href="/favicon.svg" type="image/svg+xml"> <link rel="stylesheet" href="/css/fonts.css"> <link rel="stylesheet" href="/css/general.css"> <link rel="stylesheet" href="/css/header.css"> @@ -20,14 +20,18 @@ <?= l("Home", "Accueil") ?> </div> <div id="frame-contents"> - <div id="frame-home-intro" <?= $_FAMILINE ? "style=\"filter: hue-rotate(250deg);\"" : "" ?>> - <img src="<?= str_contains($_SERVER['HTTP_USER_AGENT'], "+AutomateCloud/") ? ("/native.svg") : ($_FAMILINE ? "https://familine.minteck.org/icns/familine-music.svg" : "/logo/256.png") ?>" id="frame-home-logo" <?= $_FAMILINE ? "style=\"filter: hue-rotate(-250deg);\"" : "" ?>> + <div id="frame-home-intro" <?= $_FAMILINE ? "style=\"filter: hue-rotate(150deg);\"" : "" ?>> + <img src="<?= str_contains($_SERVER['HTTP_USER_AGENT'], "+AutomateCloud/") ? ("/native.svg") : ($_FAMILINE ? "https://familine.minteck.org/icns/familine-music.svg" : "/favicon.svg") ?>" id="frame-home-logo" <?= $_FAMILINE ? "style=\"filter: hue-rotate(-150deg);\"" : "" ?>> <div id="frame-home-welcome"><?= l("Welcome to the Argon Media Platform!", "Bienvenue sur Familine Musique !") ?></div> <div id="frame-home-tagline"><?= l("High quality ad-free music from Minteck", "Musique de haute qualité et sans publicités de la famille") ?></div> <button onclick="location.href='/_frame/library';" id="frame-home-button"><?= l("Browse Library", "Explorer la bibliothèque") ?></button> <div id="frame-home-links"> <a onclick="location.href='/_frame/about';" id="frame-home-link-about" class="frame-home-link"><?= l("About Argon", "À propos") ?></a> · + <?php if (!$_FAMILINE): ?> + <a onclick="location.href='/_frame/copyright';" id="frame-home-link-about" class="frame-home-link"><?= l("Copyright", "Droits d'auteurs") ?></a> + · + <?php endif; ?> <a onclick="location.href='/_frame/settings';" id="frame-home-link-settings" class="frame-home-link"><?= l("Preferences", "Préférences") ?></a> · <a onclick="window.open('https://gitlab.minteck.org/explore/projects/topics/Argon');" id="frame-home-link-source" class="frame-home-link"><?= l("Source Code", "Code source") ?></a> diff --git a/_frame/library.internal/main.php b/_frame/library.internal/main.php index 7ce781e..5ffc26b 100644 --- a/_frame/library.internal/main.php +++ b/_frame/library.internal/main.php @@ -4,7 +4,7 @@ <head> <meta charset="UTF-8"> <title>Argon</title> - <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> + <link rel="shortcut icon" href="/favicon.svg" type="image/svg+xml"> <link rel="stylesheet" href="/css/fonts.css"> <link rel="stylesheet" href="/css/general.css"> <link rel="stylesheet" href="/css/header.css"> diff --git a/_frame/library.internal/view.php b/_frame/library.internal/view.php index b66a4ca..e2c9d2a 100644 --- a/_frame/library.internal/view.php +++ b/_frame/library.internal/view.php @@ -48,7 +48,7 @@ if ($selected === null) { <head> <meta charset="UTF-8"> <title>Argon</title> - <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> + <link rel="shortcut icon" href="/favicon.svg" type="image/svg+xml"> <link rel="stylesheet" href="/css/fonts.css"> <link rel="stylesheet" href="/css/general.css"> <link rel="stylesheet" href="/css/header.css"> diff --git a/_frame/lyrics/index.php b/_frame/lyrics/index.php index 5b75d54..14a0cdd 100644 --- a/_frame/lyrics/index.php +++ b/_frame/lyrics/index.php @@ -4,7 +4,7 @@ <head> <meta charset="UTF-8"> <title>Argon</title> - <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> + <link rel="shortcut icon" href="/favicon.svg" type="image/svg+xml"> <link rel="stylesheet" href="/css/fonts.css"> <link rel="stylesheet" href="/css/general.css"> <link rel="stylesheet" href="/css/loader.css"> diff --git a/_frame/settings/index.php b/_frame/settings/index.php index b0ac0b7..2b3e840 100644 --- a/_frame/settings/index.php +++ b/_frame/settings/index.php @@ -4,7 +4,7 @@ <head> <meta charset="UTF-8"> <title>Argon</title> - <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> + <link rel="shortcut icon" href="/favicon.svg" type="image/svg+xml"> <link rel="stylesheet" href="/css/fonts.css"> <link rel="stylesheet" href="/css/general.css"> <link rel="stylesheet" href="/css/loader.css"> |