Compare commits

...

2 Commits

20 changed files with 27 additions and 9 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
.directory
temp/*
*~

View File

@ -11,7 +11,7 @@ $timeBeforeDeletion = 60 * 60 * 24 * 7;
// EN: Theme's name (must be in the themes directory)
// FR : Nom du thème (doit être dans le dossier themes)
$theme = "dark";
$theme = "chapril";
// EN: Language used if those requested by the user are not available
// FR : Langue utilisée si celles demandées par l'utilisateurice ne sont pas disponibles

View File

@ -121,11 +121,11 @@ if (badQuery()) {
<main>
<header>
<header style="margin-top: 20px;">
<a id="linkTitles" href="./">
<img alt="" id="logo" src="themes/<?php echo $theme; ?>/icons/128.png">
<img alt="" id="logo" src="themes/<?php echo $theme; ?>/icons/chapril-libreqr-logo.png">
<div id="titles">
<h1>LibreQR</h1>
<h1>QrcodeChaprilOrg</h1>
<h2><?= $loc['subtitle'] ?></h2>
</div>
</a>

View File

@ -42,7 +42,7 @@ $loc = array(
'metaText_qr' => "
<h3>Qu'est-ce qu'un code QR ?</h3>
Un code QR est un code-barres en 2 dimensions dans lequel du texte est inscrit en binaire. Il peut être décodé avec un appareil muni d'un capteur photo et d'un logiciel adéquat.
<a href='https://fr.wikipedia.org/wiki/Code_QR'>Code QR sur Wikipédia</a>
<a href='https://fr.wikipedia.org/wiki/Code_QR'>Code QR sur Wikipédia</a> Votre code QR est conservé 7 jours avant suppression automatique.
",
'metaText_legal' => "LibreQR " . $libreqrVersion . " est un logiciel libre dont le <a href='https://code.antopie.org/miraty/libreqr/'>code source</a> est disponible selon les termes de l'<abbr title='GNU Affero General Public License version 3 ou toute version ultérieure'><a href='LICENSE.html'>AGPLv3</a>+</abbr>.",

View File

@ -75,12 +75,12 @@ main {
}
body {
margin: 18px;
margin: 0px;
background-color: @bg;
color: @text;
font-weight: normal;
font-size: 20px;
height: 99%;
height: 96%;
}
html {
@ -237,7 +237,7 @@ header, footer {
#txt {
background-color: @bgTextField;
color: @text;
color: @fgTextField;
padding: 10px;
margin: 10px;
width: 500px;
@ -253,7 +253,7 @@ input[type=submit] {
}
#txt::placeholder {
color: @secondaryText;
color: @fgDefaultTextField;
opacity: 1;
font-family: "Ubuntu", sans-serif;
font-weight: normal;

0
temp/.gitkeep Executable file → Normal file
View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

BIN
themes/chapril/icons/16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

BIN
themes/chapril/icons/32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

BIN
themes/chapril/icons/48.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

BIN
themes/chapril/icons/64.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
themes/chapril/icons/96.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

17
themes/chapril/theme.php Executable file
View File

@ -0,0 +1,17 @@
<?php
$themeDimensionsIcons = array(16, 32, 48, 64, 96, 128, 192, 256, 384, 512); // Liste les dimensions des icones
$variablesTheme = array(
"bg" => "#67a3f2",
"bgField" => "#2e5281",
"bgTextField" => "white",
"fgTextField" => "black",
"fgDefaultTextField" => "#999999",
"bgHelp" => "#2e5281",
"border" => "#2e5281",
"borderHover" => "#808080",
"borderFocus" => "white",
"text" => "white",
"secondaryText" => "white"
); // Définit les couleurs du thème