Merge branch 'dev' into 'master'

Dev

See merge request Miraty/Antopie!2
This commit is contained in:
Miraty 2018-09-22 11:09:44 +02:00
commit 4ea03eaf2b
20 changed files with 112 additions and 327 deletions

0
.directory Normal file → Executable file
View File

0
README.md Normal file → Executable file
View File

View File

@ -4,26 +4,18 @@ head("apropos.php"); ?>
<h1>À propos</h1>
<div class="pgauche">
Site réalisé par Miraty et publié sous license libre CeCILL à l'exception des AntMusiques publiées sous LFTCQTV (Licence Fais Tout Ce Que Tu Veux).
Site réalisé par Miraty et publié sous license libre <a href="licences/cecill.html" title="Lire la license CeCILL" class="icon-doc-text-2 souligne">CeCILL</a> à l'exception des AntMusiques publiées sous <a href="licences/lftcqtv.html" title="Lire la LFTCQTV" class="icon-doc-text-1 souligne"> LFTCQTV (Licence Fais Tout Ce Que Tu Veux)</a>.
<br><br>
<a href="https://framagit.org/Miraty/Antopie" title="Voir le code source sur Framagit" class="icon-gitlab"> Voir le code source sur Framagit</a>
<br><br>
<a href="licences/cecill.html" title="Lire la license CeCILL" class="icon-doc-text-2 souligne"> Lire la license CeCILL</a>
<br><br>
<a href="licences/lftcqtv.html" title="Lire la LFTCQTV" class="icon-doc-text-1 souligne"> Lire la LFTCQTV</a>
<br><br>
Les icones de ce site sont celles du pack fontello.
<br><br>
<a href="licences/fontello.txt" class="icon-doc-text souligne"> Licences Fontello</a>
<br><br>
Les "publicité" du site sont celles du projet <a href="https://sense3.org/fr/home/" title="Le projet sense3">sense3</a> créé par <a href="https://liberapay.com/josephk/" title="Soutenir JosephK sur Liberapay">JosephK</a>.
</div>
<br>
<br>
<div>
Code CSS partiellement issu de <a href="https://html5up.net/" title="Voir le site html5up.net">HTML5 UP</a>.
Les "publicité" du site sont celles du projet <a href="https://sense3.org/fr/home/" title="Le projet sense3">sense3</a> créé par <a href="https://liberapay.com/josephk/" title="Soutenir JosephK sur Liberapay">JosephK</a> et diffusé sous <a href="licence/sense3.txt" title="License MIT">licence MIT</a>.
<br><br>
Code CSS partiellement issu de <a href="https://html5up.net/" title="Voir le site html5up.net">HTML5 UP</a>.
</div>
<br>
<br>
@ -44,7 +36,7 @@ head("apropos.php"); ?>
<br><br>
<div>
Ce site ne charge aucun contenu depuis des sites tiers.
Ce site ne charge aucun contenu depuis des sites tiers et n'utilise que des technologies libres.
</div>
<br><br>
<div>
@ -76,6 +68,20 @@ head("apropos.php"); ?>
<br><br>
<div id="desactiver-matomo">
<h2>Désactiver Matomo</h2>
Ce site utilise <a href="https://matomo.org/" title="Visiter le site officiel de Matomo, https://matomo.org/">Matomo</a>.
<br/>
Vous pouvez le désactiver en bloquant le domaine <code>matomo.antopie.org</code> avec une extension telle que <a href="https://addons.mozilla.org/fr/firefox/addon/privacy-badger17/" title="Télécharger Privacy Badger sur AMO">Privacy Badger</a> ou <a href="https://addons.mozilla.org/fr/firefox/addon/umatrix/" title="Télécharger uMatrix sur AMO">uMatrix</a>.
<br/><br/>
</div>
<?php include "inc/footer.php"; ?>

0
bdd.sql Normal file → Executable file
View File

File diff suppressed because one or more lines are too long

View File

@ -110,14 +110,13 @@ nav a:link {
input {
font-family: fin;
}
.optionhaute {
border-top: 0px black solid;
}
}
.boite {
border: 3px black solid;
border-radius: 10px;
@ -439,7 +438,7 @@ footer {
}
.option:hover {
background-color: #dbfeff;
background-color: #FFB3B3;
transition: all 0.2s ease-in-out;
}
@ -784,7 +783,7 @@ footer {
/* ============================= Fin de mon code CSS ========================================== */
/* ============================= Début du code initial HTML5UP ================================ */
/* ============================= Début du code HTML5UP ================================ */
@ -861,7 +860,7 @@ footer {
}
a:hover {
color: #47D3E5;
color: #FF1919;
}
b {
@ -878,31 +877,6 @@ footer {
}
/* Box */
.box {
border-radius: 4px;
border: solid 1px;
margin-bottom: 2rem;
padding: 1.5rem;
}
.box > :last-child,
.box > :last-child > :last-child,
.box > :last-child > :last-child > :last-child {
margin-bottom: 0;
}
.box.alt {
border: 0;
border-radius: 0;
padding: 0;
}
.box {
border-color: rgba(0, 0, 0, 0.2);
}
/* Button */
input[type="submit"],
@ -1009,8 +983,9 @@ footer {
input[type="button"]:hover,
button:hover,
.button:hover {
box-shadow: inset 0 0 0 1px #47D3E5;
color: #47D3E5 !important;
box-shadow: inset 0 0 0 1px red;
color: red !important;
background-color: #FFBFBF;
}
input[type="submit"]:active,
@ -1019,8 +994,8 @@ footer {
button:active:not(#bouttonmenu),
.button:active {
background-color: rgba(71, 211, 229, 0.2);
box-shadow: inset 0 0 0 1px #47D3E5;
color: #47D3E5 !important;
box-shadow: inset 0 0 0 1px red;
color: red !important;
}
input[type="submit"].special,
@ -1038,7 +1013,7 @@ footer {
input[type="button"].special:hover,
button.special:hover,
.button.special:hover {
background-color: #47D3E5;
background-color: red;
}
input[type="submit"].special:active,
@ -1046,7 +1021,7 @@ footer {
input[type="button"].special:active,
button.special:active,
.button.special:active {
background-color: #1ebdd1;
background-color: red;
}
label {
@ -1189,8 +1164,8 @@ footer {
input[type="number"]:focus,
select:focus,
textarea:focus {
border-color: #47D3E5;
box-shadow: 0 0 0 1px #47D3E5;
border-color: red;
box-shadow: 0 0 0 1px red;
}
@ -1214,270 +1189,8 @@ footer {
input[type="checkbox"]:focus + label:before,
input[type="radio"]:focus + label:before {
border-color: #47D3E5;
box-shadow: 0 0 0 1px #47D3E5;
}
.icon {
text-decoration: none;
border-bottom: none;
position: relative;
text-align: center;
}
.icon:before {
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
text-transform: none !important;
}
.icon > .label {
display: none;
}
.icon.style2:before {
border-radius: 2.75em;
display: inline-block;
height: 2.75em;
line-height: 2.75em;
width: 2.75em;
}
.icon.major {
display: block;
margin: 0 0 1rem 0;
}
.icon.major:before {
font-size: 1.25rem;
}
a.icon.style2:before {
transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
}
.icon.style2:before {
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}
a.icon.style2:hover:before {
box-shadow: inset 0 0 0 1px #47D3E5;
color: #47D3E5;
}
a.icon.style2:active:before {
background-color: rgba(71, 211, 229, 0.1);
box-shadow: inset 0 0 0 1px #47D3E5;
color: #47D3E5;
}
/* List */
ol {
list-style: decimal;
margin: 0 0 2rem 0;
padding-left: 1.25rem;
}
ol li {
padding-left: 0.25rem;
}
ul {
list-style: disc;
margin: 0 0 2rem 0;
padding-left: 1rem;
}
ul li {
padding-left: 0.5rem;
}
ul.alt {
list-style: none;
padding-left: 0;
}
ul.alt li {
border-top: solid 1px;
padding: 0.5rem 0;
}
ul.alt li:first-child {
border-top: 0;
padding-top: 0;
}
ul.icons {
cursor: default;
list-style: none;
padding-left: 0;
}
ul.icons li {
display: inline-block;
padding: 0 0.75rem 0 0;
}
ul.icons li:last-child {
padding-right: 0;
}
ul.actions {
cursor: default;
list-style: none;
padding-left: 0;
}
ul.actions li {
display: inline-block;
padding: 0 1rem 0 0;
vertical-align: middle;
}
ul.actions li:last-child {
padding-right: 0;
}
ul.actions.small li {
padding: 0 0.5rem 0 0;
}
ul.actions.vertical li {
display: block;
padding: 1rem 0 0 0;
}
ul.actions.vertical li:first-child {
padding-top: 0;
}
ul.actions.vertical li > * {
margin-bottom: 0;
}
ul.actions.vertical.small li {
padding: 0.5rem 0 0 0;
}
ul.actions.vertical.small li:first-child {
padding-top: 0;
}
ul.actions.fit {
display: table;
margin-left: -1rem;
padding: 0;
table-layout: fixed;
width: calc(100% + 1rem);
}
ul.actions.fit li {
display: table-cell;
padding: 0 0 0 1rem;
}
ul.actions.fit li > * {
margin-bottom: 0;
}
ul.actions.fit.small {
margin-left: -0.5rem;
width: calc(100% + 0.5rem);
}
ul.actions.fit.small li {
padding: 0 0 0 0.5rem;
}
@media screen and (max-width: 480px) {
ul.actions {
margin: 0 0 2rem 0;
}
ul.actions li {
padding: 1rem 0 0 0;
display: block;
text-align: center;
width: 100%;
}
ul.actions li:first-child {
padding-top: 0;
}
ul.actions li > * {
width: 100%;
margin: 0 !important;
}
ul.actions li > *.icon:before {
margin-left: -2rem;
}
ul.actions.small li {
padding: 0.5rem 0 0 0;
}
ul.actions.small li:first-child {
padding-top: 0;
}
}
dl {
margin: 0 0 2rem 0;
}
dl dt {
display: block;
font-weight: 400;
margin: 0 0 1rem 0;
}
dl dd {
margin-left: 2rem;
}
dl.style2 dt {
width: 25%;
float: left;
}
dl.style2 dd {
width: 70%;
float: left;
}
dl.style2:after {
content: '';
display: block;
clear: both;
}
ul.alt li {
border-top-color: rgba(0, 0, 0, 0.2);
}
/* Section/Article */
section.special, article.special {
text-align: center;
}
header p {
position: relative;
margin: -0.65rem 0 1.5rem 0;
font-style: italic;
}
header p {
color: rgba(0, 0, 0, 0.75);
border-color: red;
box-shadow: 0 0 0 1px red;
}
/* Table */

View File

@ -40,13 +40,46 @@ catch (Exception $e) {
<meta property="og:type" content="website"/>
<meta property="og:title" content="<?php echo $page['titre']; ?> | Ant"/>
<meta property="og:site_name" content="Ant"/>
<meta property="og:image" content="https://anternet.pw/web/media/logo/antorigine.png"/>
<meta property="og:image:secure_url" content="https://anternet.pw/web/media/logo/antorigine.png"/>
<meta property="og:image" content="https://antopie.org/web/media/logo/antorigine.png"/>
<meta property="og:image:secure_url" content="https://antopie.org/web/media/logo/antorigine.png"/>
<meta property="og:image:type" content="image/png"/>
<meta property="og:image:width" content="1680"/>
<meta property="og:image:height" content="510"/>
<meta property="og:image:alt" content="Logo Ant"/>
<meta property="og:description" content="<?php echo $page['description']; ?>"/>
<!-- Début du code Matomo -->
<!-- Code Javascript Matomo si activé -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push([function() {
var self = this;
function getOriginalVisitorCookieTimeout() {
var now = new Date(),
nowTs = Math.round(now.getTime() / 1000),
visitorInfo = self.getVisitorInfo();
var createTs = parseInt(visitorInfo[2]);
var cookieTimeout = 33696000; // 13 mois en secondes
var originalTimeout = createTs + cookieTimeout -
nowTs;
return originalTimeout;
}
this.setVisitorCookieTimeout( getOriginalVisitorCookieTimeout() );
}]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//matomo.antopie.org/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- Image Matomo si JS désactivé -->
<noscript>
<img src="https://matomo.antopie.org/piwik.php?idsite=1&amp;rec=1&amp;action_name=<?php echo $page['titre']; ?>" style="border:0" alt="" />
</noscript>
<!-- Fin du code Matomo -->
</head>
@ -106,7 +139,7 @@ catch (Exception $e) {
Fourmiedable !
<?php break;
case 17: ?>
Un site indépendAnt
100% indépendAnt
<?php break;
case 18: ?>
Les fourmies n'ont pas d'L mais elles ont des E
@ -177,6 +210,9 @@ catch (Exception $e) {
<a href="https://nuant.antopie.org/" title="Accéder à NuAnt, le nuage Ant" class="option icon-cloud" >
NuAnt
</a>
<a href="https://jirafourmie.antopie.org/" title="Accéder à Jirafourmie, un service de téléversement de fichiers" class="option icon-upload-cloud" >
Jirafourmie
</a>
<a href="2048/" title="Jouer au 2048 en ligne" class="option icon-gamepad" >
2048
</a>

View File

@ -44,7 +44,8 @@
</a>
</div>
<div class="textefooter">
Fait avec <span class="icon-heart"></span> en France.<br>
Fait avec <span class="icon-heart"></span> en France. | <a href="apropos.php#desactiver-matomo" title="Désactiver le tracker Matomo">Désactiver Matomo</a><br>
<img src="media/copyleft.png" alt="Copyleft" width="15em" title="Copyleft Ant 2018"/> Ant 2018. Tous droits distribués. Toute reproduction autorisée.
<br>Antopie.org n'est ni affilié aux Illuminatis™, ni à Corée du Nord GmbH, ni à Lactalis® et ni à Nicolas Dupont-Aignan.
En utilisant ce site, vous acceptez ses <a href="cgu.php" title="Lire les Conditions générales d'utilisation">Conditions générales d'utilisation</a>.

View File

@ -61,6 +61,17 @@ head("index.php"); ?>
</div>
<div class="pres pgauche">
<h1>
Jirafourmie
</h1>
<span class="descriptionCatégorie">Accéder à Jirafourmie, un service de téléversement de fichiers.</span>
<br><br>
<a href="https://jirafourmie.antopie.org/" title="Accéder à Jirafourmie, un service de téléversement de fichiers" class="button special icon-upload-cloud" >
Jirafourmie
</a>
</div>
<div class="pres pdroite">
<h1>
2048
</h1>
@ -71,7 +82,7 @@ head("index.php"); ?>
</a>
</div>
<div class="pres pdroite">
<div class="pres pgauche">
<h1>
Espace commentaire
</h1>

0
licences/cecill.html Normal file → Executable file
View File

22
licences/sense3.txt Executable file
View File

@ -0,0 +1,22 @@
MIT License
Copyright (c) 2018 JosephK
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.

0
media/728x90.xcf Normal file → Executable file
View File

0
media/logomastodon.svg Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

0
media/nav/falkon.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

0
media/nav/gnomeweb.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

0
media/non-pub-horizontale.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

0
media/onglet/falkon.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 746 KiB

After

Width:  |  Height:  |  Size: 746 KiB

0
media/onglet/gnomeweb.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 KiB

After

Width:  |  Height:  |  Size: 120 KiB

0
sense3/img/bg/peertube.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB