Make website static and markdown-based

This commit is contained in:
Miraty 2020-08-02 14:15:06 +02:00
parent bff42ed258
commit ce2b09cabd
Signed by: miraty
GPG Key ID: B82D15F03E67B2B5
80 changed files with 1519 additions and 5787 deletions

7
.gitignore vendored Normal file
View File

@ -0,0 +1,7 @@
*.html
*.gz
temp/*
temp2/*
!LICENSE.html
mdp.php
style.min.css

13
404.php
View File

@ -1,13 +0,0 @@
<?php include "inc/debut.php";
head("404.php"); ?>
<div id="page404">
<img id ="img404" src="img/404fourmie.png" alt="Le texte 'erreur 404' en train d'être mangé par des fourmis"/>
<p>
La page à laquelle vous avez tenté d'accéder a été Antièrement dévorée par une armée de fourmis affamées !
</p>
<a href="." class="boutton big smallspecial icon-home">Page d'accueil</a>
</div>
<?php include "inc/footer.php"; ?>

View File

@ -1,19 +1,23 @@
# Présentation # Présentation
Voici le code source de mon site : <https://antopie.org>. Ceci est le code source du [site web d'Antopie](https://antopie.org).
Il devrait fonctionner simplement avec la dernière version de PHP et un serveur Web. C'est un générateur de sites statiques : il faut charger le fichier `compil.php` pour actualiser le contenu.
Les pages sont rédigées principalement en Markdown Extra mais il est aussi possible de rajouter de l'HTML et du PHP.
Elles sont ensuite transformées par compil.php en pages HTML statiques.
# Bibliothèques utilisées # Bibliothèques utilisées
Le dossier bibli contient des dépendances incluses dans ce site. Le dossier bibli contient les dépendances incluses dans ce site.
| Nom | Description | Source | | Nom | Description | Source |
| -------- | ----------------------- | ------------------------------------------ | | --------------- | --------------------------------- | ------------------------------------------- |
| ubuntu | La police Ubuntu | https://design.ubuntu.com/font/ | | ubuntu | La police Ubuntu | https://design.ubuntu.com/font |
| fontello | Pack d'icônes | http://fontello.com/ | | fontello | Pack d'icônes | http://fontello.com |
| lesserphp | Compilateur Less en PHP | https://github.com/MarcusSchwarz/lesserphp | | lesserphp | Compilateur Less en PHP | https://github.com/MarcusSchwarz/lesserphp |
| Konami-JS | Le code de Konami | https://snaptortoise.github.io/konami-js | | konami-js | Le code de Konami | https://snaptortoise.github.io/konami-js |
| Gomez CSS | Gomez de Fez en CSS | https://github.com/maisano/gomez-css | | gomez css | Gomez du jeu vidéo Fez en CSS | https://github.com/maisano/gomez-css |
| static-compress | Compression de fichiers statiques | https://github.com/neosmart/static-compress |
| parsedown | Compilateur Markdown en PHP | https://parsedown.org |
# Licence # Licence

0
bibli/fontello/LICENSE.txt Executable file → Normal file
View File

Binary file not shown.

0
bibli/fontello/README.txt Executable file → Normal file
View File

Binary file not shown.

90
bibli/fontello/config.json Executable file → Normal file
View File

@ -7,16 +7,18 @@
"ascent": 850, "ascent": 850,
"glyphs": [ "glyphs": [
{ {
"uid": "72b1277834cba5b7944b0a6cac7ddb0d", "uid": "2a540649f305b0747c08e168c135b191",
"css": "rss", "css": "ynh",
"code": 61598, "code": 59392,
"src": "fontawesome" "src": "custom_icons",
}, "selected": true,
{ "svg": {
"uid": "d73eceadda1f594cec0536087539afbf", "path": "M1141.2 600C1117.4 658.6 1043.2 666.7 976.5 682.4 969.3 756.4 1012.4 811.2 964.7 870.6 889.3 867.5 876.8 801.7 882.4 717.6 870.6 717.6 858.8 717.6 847.1 717.6 822.5 750.2 857.6 770.8 847.1 811.8 833.9 862.8 754.4 904.8 717.6 894.1 692 886.6 647.5 816.1 658.8 752.9 692 721.1 691.3 789.6 729.4 788.2 788.8 696 616.1 687.6 635.3 588.2 649.9 512.7 772.5 474.6 811.8 576.5 829.9 626 750.9 578.4 752.9 611.8 749.7 630.8 764.1 632 764.7 647.1 794.4 656.1 784.5 621.6 800 611.8 821.9 598 836.4 602.9 870.6 600 899.4 570 883.3 495.1 917.6 470.6 963.2 476 989.2 501.1 988.2 552.9 1070.7 542.5 1109.4 541.8 1141.2 600ZM1023.5 152.9C1030.7 190.7 1050.8 211.5 1047.1 247.1 1043.1 284.8 1012.9 350.9 1000 352.9 986.2 355.1 984.2 373.9 976.5 376.5 921.6 394.9 830.7 359.1 811.8 294.1 798.1 247.4 834.1 136.8 858.8 94.1 874.1 67.6 873.2 58.9 917.6 47.1 946 39.4 960.6 20.6 988.2 47.1 993.8 52.4 1003.5 52.8 1010 57.5 1007.7 57.5 1033.5 94.5 1035.3 105.9 1039.1 130.2 1020.8 138.6 1023.5 152.9ZM929.4 258.8C950.3 236.6 968.1 211.3 964.7 164.7 911.6 145.1 878.5 250.6 929.4 258.8ZM788.2 247.1C787.4 315.4 817.4 372.9 788.2 423.5 709.1 436 703.1 375.3 658.8 352.9 636 369.3 641.3 413.9 623.5 435.3 579.1 440.5 568.4 412.1 541.2 400 570.2 308.1 556 176.7 564.7 94.1 665.6 87.3 655.1 192 705.9 235.3 712 184.2 701.7 52.7 741.2 0 827.4 38.7 789.3 152.8 788.2 247.1ZM611.8 647.1C634.5 746 613.2 914 470.6 882.4 451.9 878.2 371.5 820.9 364.7 800 345.6 741.2 368.7 643.1 400 611.8 459.2 552.6 535.1 592.5 611.8 647.1ZM458.8 776.5C512.4 787.8 532.9 727.1 505.9 694.1 463.2 694.5 454.2 728.7 458.8 776.5ZM458.8 94.1C524.5 104.7 534.1 174.2 517.6 270.6 500.8 369.2 482.1 442.2 411.8 447.1 299.2 454.7 267.6 250.7 305.9 105.9 403.8 120.8 383.4 227.8 376.5 305.9 408.4 315.6 402.4 295.9 411.8 282.4 435.9 247.5 444.9 160.1 458.8 94.1ZM329.4 729.4C330.6 796.1 381.2 862.7 352.9 929.4 302.1 917.5 275.6 881.3 247.1 847.1 210 841.4 220.5 883.2 176.5 870.6 168.6 930.1 203.4 959.6 164.7 988.2 109.4 980.8 86.4 941.2 70.6 894.1 39.9 877.9 6.1 864.5 0 823.5 1.6 782 52.7 790 82.4 776.5 87.9 711.4 65.8 618.7 105.9 588.2 203.6 594 202.5 672.1 188.2 764.7 239.5 768.1 246.4 713.5 247.1 682.4 247.8 653.8 225.6 585.2 270.6 552.9 306.6 544.4 305.2 573.3 341.2 564.7 380.6 620 328.5 675.8 329.4 729.4ZM282.4 141.2C294.9 224.4 236.9 236.9 211.8 282.4 214.2 363.3 206.2 433.6 188.2 494.1 119.3 478.6 85.9 372 117.6 294.1 113.8 252.7 55.8 244.5 35.3 200 31.8 192.2 29.8 147.9 23.5 117.6 12.8 66.2 6.5 50.7 35.3 11.8 131.3 6 120.1 107.4 141.2 176.5 200.6 181.1 187.2 112.7 235.3 105.9 246.8 121.8 266.7 129.4 282.4 141.2Z",
"css": "heart-2", "width": 1153
"code": 59580, },
"src": "fontawesome" "search": [
"logo-ynh-white"
]
}, },
{ {
"uid": "e7cb72a17f3b21e3576f35c3f0a7639b", "uid": "e7cb72a17f3b21e3576f35c3f0a7639b",
@ -25,76 +27,22 @@
"src": "fontawesome" "src": "fontawesome"
}, },
{ {
"uid": "dec0ce0476433f7e49e096526cf89465", "uid": "399ef63b1e23ab1b761dfbb5591fa4da",
"css": "hammer", "css": "right-open",
"code": 59392, "code": 59394,
"src": "fontawesome" "src": "fontawesome"
}, },
{ {
"uid": "63b86fedd4ee9ad2105f54f4888e7088", "uid": "1d7c1d30ad49a988556273a238097c2a",
"css": "info", "css": "doc-text-inv",
"code": 59393, "code": 59395,
"src": "entypo" "src": "entypo"
}, },
{
"uid": "ff1710a605b3fc98346903db89034558",
"css": "balance-scale",
"code": 62030,
"src": "fontawesome"
},
{ {
"uid": "d7271d490b71df4311e32cdacae8b331", "uid": "d7271d490b71df4311e32cdacae8b331",
"css": "home", "css": "home",
"code": 59605, "code": 59393,
"src": "fontawesome" "src": "fontawesome"
},
{
"uid": "7034e4d22866af82bef811f52fb1ba46",
"css": "code",
"code": 61729,
"src": "fontawesome"
},
{
"uid": "fb0987460443f915099339013ad101ef",
"css": "logo-ynh-white",
"code": 59394,
"src": "custom_icons",
"selected": true,
"svg": {
"path": "M1141.2 600C1117.4 658.6 1043.2 666.7 976.5 682.4 969.3 756.4 1012.4 811.2 964.7 870.6 889.3 867.5 876.8 801.7 882.4 717.6 870.6 717.6 858.8 717.6 847.1 717.6 822.5 750.2 857.6 770.8 847.1 811.8 833.9 862.8 754.4 904.8 717.6 894.1 692 886.6 647.5 816.1 658.8 752.9 692 721.1 691.3 789.6 729.4 788.2 788.8 696 616.1 687.6 635.3 588.2 649.9 512.7 772.5 474.6 811.8 576.5 829.9 626 750.9 578.4 752.9 611.8 749.7 630.8 764.1 632 764.7 647.1 794.4 656.1 784.5 621.6 800 611.8 821.9 598 836.4 602.9 870.6 600 899.4 570 883.3 495.1 917.6 470.6 963.2 476 989.2 501.1 988.2 552.9 1070.7 542.5 1109.4 541.8 1141.2 600ZM1023.5 152.9C1030.7 190.7 1050.8 211.5 1047.1 247.1 1043.1 284.8 1012.9 350.9 1000 352.9 986.2 355.1 984.2 373.9 976.5 376.5 921.6 394.9 830.7 359.1 811.8 294.1 798.1 247.4 834.1 136.8 858.8 94.1 874.1 67.6 873.2 58.9 917.6 47.1 946 39.4 960.6 20.6 988.2 47.1 993.8 52.4 1003.5 52.8 1010 57.5 1007.7 57.5 1033.5 94.5 1035.3 105.9 1039.1 130.2 1020.8 138.6 1023.5 152.9ZM929.4 258.8C950.3 236.6 968.1 211.3 964.7 164.7 911.6 145.1 878.5 250.6 929.4 258.8ZM788.2 247.1C787.4 315.4 817.4 372.9 788.2 423.5 709.1 436 703.1 375.3 658.8 352.9 636 369.3 641.3 413.9 623.5 435.3 579.1 440.5 568.4 412.1 541.2 400 570.2 308.1 556 176.7 564.7 94.1 665.6 87.3 655.1 192 705.9 235.3 712 184.2 701.7 52.7 741.2 0 827.4 38.7 789.3 152.8 788.2 247.1ZM611.8 647.1C634.5 746 613.2 914 470.6 882.4 451.9 878.2 371.5 820.9 364.7 800 345.6 741.2 368.7 643.1 400 611.8 459.2 552.6 535.1 592.5 611.8 647.1ZM458.8 776.5C512.4 787.8 532.9 727.1 505.9 694.1 463.2 694.5 454.2 728.7 458.8 776.5ZM458.8 94.1C524.5 104.7 534.1 174.2 517.6 270.6 500.8 369.2 482.1 442.2 411.8 447.1 299.2 454.7 267.6 250.7 305.9 105.9 403.8 120.8 383.4 227.8 376.5 305.9 408.4 315.6 402.4 295.9 411.8 282.4 435.9 247.5 444.9 160.1 458.8 94.1ZM329.4 729.4C330.6 796.1 381.2 862.7 352.9 929.4 302.1 917.5 275.6 881.3 247.1 847.1 210 841.4 220.5 883.2 176.5 870.6 168.6 930.1 203.4 959.6 164.7 988.2 109.4 980.8 86.4 941.2 70.6 894.1 39.9 877.9 6.1 864.5 0 823.5 1.6 782 52.7 790 82.4 776.5 87.9 711.4 65.8 618.7 105.9 588.2 203.6 594 202.5 672.1 188.2 764.7 239.5 768.1 246.4 713.5 247.1 682.4 247.8 653.8 225.6 585.2 270.6 552.9 306.6 544.4 305.2 573.3 341.2 564.7 380.6 620 328.5 675.8 329.4 729.4ZM282.4 141.2C294.9 224.4 236.9 236.9 211.8 282.4 214.2 363.3 206.2 433.6 188.2 494.1 119.3 478.6 85.9 372 117.6 294.1 113.8 252.7 55.8 244.5 35.3 200 31.8 192.2 29.8 147.9 23.5 117.6 12.8 66.2 6.5 50.7 35.3 11.8 131.3 6 120.1 107.4 141.2 176.5 200.6 181.1 187.2 112.7 235.3 105.9 246.8 121.8 266.7 129.4 282.4 141.2Z",
"width": 1153
},
"search": [
"logo-ynh-white"
]
},
{
"uid": "d90d83593e5e742d86d8708c6f7cb025",
"css": "logo-ynh-white-1",
"code": 59395,
"src": "custom_icons",
"selected": true,
"svg": {
"path": "M1141.2 600C1117.4 658.6 1043.2 666.7 976.5 682.4 969.3 756.4 1012.4 811.2 964.7 870.6 889.3 867.5 876.8 801.7 882.4 717.6 870.6 717.6 858.8 717.6 847.1 717.6 822.5 750.2 857.6 770.8 847.1 811.8 833.9 862.8 754.4 904.8 717.6 894.1 692 886.6 647.5 816.1 658.8 752.9 692 721.1 691.3 789.6 729.4 788.2 788.8 696 616.1 687.6 635.3 588.2 649.9 512.7 772.5 474.6 811.8 576.5 829.9 626 750.9 578.4 752.9 611.8 749.7 630.8 764.1 632 764.7 647.1 794.4 656.1 784.5 621.6 800 611.8 821.9 598 836.4 602.9 870.6 600 899.4 570 883.3 495.1 917.6 470.6 963.2 476 989.2 501.1 988.2 552.9 1070.7 542.5 1109.4 541.8 1141.2 600ZM1023.5 152.9C1030.7 190.7 1050.8 211.5 1047.1 247.1 1043.1 284.8 1012.9 350.9 1000 352.9 986.2 355.1 984.2 373.9 976.5 376.5 921.6 394.9 830.7 359.1 811.8 294.1 798.1 247.4 834.1 136.8 858.8 94.1 874.1 67.6 873.2 58.9 917.6 47.1 946 39.4 960.6 20.6 988.2 47.1 993.8 52.4 1003.5 52.8 1010 57.5 1007.7 57.5 1033.5 94.5 1035.3 105.9 1039.1 130.2 1020.8 138.6 1023.5 152.9ZM929.4 258.8C950.3 236.6 968.1 211.3 964.7 164.7 911.6 145.1 878.5 250.6 929.4 258.8ZM788.2 247.1C787.4 315.4 817.4 372.9 788.2 423.5 709.1 436 703.1 375.3 658.8 352.9 636 369.3 641.3 413.9 623.5 435.3 579.1 440.5 568.4 412.1 541.2 400 570.2 308.1 556 176.7 564.7 94.1 665.6 87.3 655.1 192 705.9 235.3 712 184.2 701.7 52.7 741.2 0 827.4 38.7 789.3 152.8 788.2 247.1ZM611.8 647.1C634.5 746 613.2 914 470.6 882.4 451.9 878.2 371.5 820.9 364.7 800 345.6 741.2 368.7 643.1 400 611.8 459.2 552.6 535.1 592.5 611.8 647.1ZM458.8 776.5C512.4 787.8 532.9 727.1 505.9 694.1 463.2 694.5 454.2 728.7 458.8 776.5ZM458.8 94.1C524.5 104.7 534.1 174.2 517.6 270.6 500.8 369.2 482.1 442.2 411.8 447.1 299.2 454.7 267.6 250.7 305.9 105.9 403.8 120.8 383.4 227.8 376.5 305.9 408.4 315.6 402.4 295.9 411.8 282.4 435.9 247.5 444.9 160.1 458.8 94.1ZM329.4 729.4C330.6 796.1 381.2 862.7 352.9 929.4 302.1 917.5 275.6 881.3 247.1 847.1 210 841.4 220.5 883.2 176.5 870.6 168.6 930.1 203.4 959.6 164.7 988.2 109.4 980.8 86.4 941.2 70.6 894.1 39.9 877.9 6.1 864.5 0 823.5 1.6 782 52.7 790 82.4 776.5 87.9 711.4 65.8 618.7 105.9 588.2 203.6 594 202.5 672.1 188.2 764.7 239.5 768.1 246.4 713.5 247.1 682.4 247.8 653.8 225.6 585.2 270.6 552.9 306.6 544.4 305.2 573.3 341.2 564.7 380.6 620 328.5 675.8 329.4 729.4ZM282.4 141.2C294.9 224.4 236.9 236.9 211.8 282.4 214.2 363.3 206.2 433.6 188.2 494.1 119.3 478.6 85.9 372 117.6 294.1 113.8 252.7 55.8 244.5 35.3 200 31.8 192.2 29.8 147.9 23.5 117.6 12.8 66.2 6.5 50.7 35.3 11.8 131.3 6 120.1 107.4 141.2 176.5 200.6 181.1 187.2 112.7 235.3 105.9 246.8 121.8 266.7 129.4 282.4 141.2Z",
"width": 1153
},
"search": [
"logo-ynh-white"
]
},
{
"uid": "d58c84625fe33cc34472940104639c34",
"css": "ynh",
"code": 59396,
"src": "custom_icons",
"selected": true,
"svg": {
"path": "M1141.2 600C1117.4 658.6 1043.2 666.7 976.5 682.4 969.3 756.4 1012.4 811.2 964.7 870.6 889.3 867.5 876.8 801.7 882.4 717.6H847.1C822.5 750.2 857.6 770.8 847.1 811.8 833.9 862.8 754.4 904.8 717.6 894.1 692 886.6 647.5 816.1 658.8 752.9 692 721.1 691.3 789.6 729.4 788.2 788.8 696 616.1 687.6 635.3 588.2 649.9 512.7 772.5 474.6 811.8 576.5 829.9 626 750.9 578.4 752.9 611.8 749.7 630.8 764.1 632 764.7 647.1 794.4 656.1 784.5 621.6 800 611.8 821.9 598 836.4 602.9 870.6 600 899.4 570 883.3 495.1 917.6 470.6 963.2 476 989.2 501.1 988.2 552.9 1070.7 542.5 1109.4 541.8 1141.2 600ZM1023.5 152.9C1030.7 190.7 1050.8 211.5 1047.1 247.1 1043.1 284.8 1012.9 350.9 1000 352.9 986.2 355.1 984.2 373.9 976.5 376.5 921.6 394.9 830.7 359.1 811.8 294.1 798.1 247.4 834.1 136.8 858.8 94.1 874.1 67.6 873.2 58.9 917.6 47.1 946 39.4 960.6 20.6 988.2 47.1 993.8 52.4 1003.5 52.8 1010 57.5 1007.7 57.5 1033.5 94.5 1035.3 105.9 1039.1 130.2 1020.8 138.6 1023.5 152.9ZM929.4 258.8C950.3 236.6 968.1 211.3 964.7 164.7 911.6 145.1 878.5 250.6 929.4 258.8ZM788.2 247.1C787.4 315.4 817.4 372.9 788.2 423.5 709.1 436 703.1 375.3 658.8 352.9 636 369.3 641.3 413.9 623.5 435.3 579.1 440.5 568.4 412.1 541.2 400 570.2 308.1 556 176.7 564.7 94.1 665.6 87.3 655.1 192 705.9 235.3 712 184.2 701.7 52.7 741.2 0 827.4 38.7 789.3 152.8 788.2 247.1ZM611.8 647.1C634.5 746 613.2 914 470.6 882.4 451.9 878.2 371.5 820.9 364.7 800 345.6 741.2 368.7 643.1 400 611.8 459.2 552.6 535.1 592.5 611.8 647.1ZM458.8 776.5C512.4 787.8 532.9 727.1 505.9 694.1 463.2 694.5 454.2 728.7 458.8 776.5ZM458.8 94.1C524.5 104.7 534.1 174.2 517.6 270.6 500.8 369.2 482.1 442.2 411.8 447.1 299.2 454.7 267.6 250.7 305.9 105.9 403.8 120.8 383.4 227.8 376.5 305.9 408.4 315.6 402.4 295.9 411.8 282.4 435.9 247.5 444.9 160.1 458.8 94.1ZM329.4 729.4C330.6 796.1 381.2 862.7 352.9 929.4 302.1 917.5 275.6 881.3 247.1 847.1 210 841.4 220.5 883.2 176.5 870.6 168.6 930.1 203.4 959.6 164.7 988.2 109.4 980.8 86.4 941.2 70.6 894.1 39.9 877.9 6.1 864.5 0 823.5 1.6 782 52.7 790 82.4 776.5 87.9 711.4 65.8 618.7 105.9 588.2 203.6 594 202.5 672.1 188.2 764.7 239.5 768.1 246.4 713.5 247.1 682.4 247.8 653.8 225.6 585.2 270.6 552.9 306.6 544.4 305.2 573.3 341.2 564.7 380.6 620 328.5 675.8 329.4 729.4ZM282.4 141.2C294.9 224.4 236.9 236.9 211.8 282.4 214.2 363.3 206.2 433.6 188.2 494.1 119.3 478.6 85.9 372 117.6 294.1 113.8 252.7 55.8 244.5 35.3 200 31.8 192.2 29.8 147.9 23.5 117.6 12.8 66.2 6.5 50.7 35.3 11.8 131.3 6 120.1 107.4 141.2 176.5 200.6 181.1 187.2 112.7 235.3 105.9 246.8 121.8 266.7 129.4 282.4 141.2Z",
"width": 1153
},
"search": [
"ynh"
]
} }
] ]
} }

0
bibli/fontello/css/animation.css vendored Executable file → Normal file
View File

Binary file not shown.

16
bibli/fontello/css/fontello-codes.css vendored Executable file → Normal file
View File

@ -1,12 +1,6 @@
.icon-hammer:before { content: '\e800'; } /* '' */ .icon-ynh:before { content: '\e800'; } /* '' */
.icon-info:before { content: '\e801'; } /* '' */ .icon-home:before { content: '\e801'; } /* '' */
.icon-logo-ynh-white:before { content: '\e802'; } /* '' */ .icon-right-open:before { content: '\e802'; } /* '' */
.icon-logo-ynh-white-1:before { content: '\e803'; } /* '' */ .icon-doc-text-inv:before { content: '\e803'; } /* '' */
.icon-ynh:before { content: '\e804'; } /* '' */ .icon-git:before { content: '\f1d3'; } /* '' */
.icon-heart-2:before { content: '\e8bc'; } /* '' */
.icon-home:before { content: '\e8d5'; } /* '' */
.icon-rss:before { content: '\f09e'; } /* '' */
.icon-code:before { content: '\f121'; } /* '' */
.icon-git:before { content: '\f1d3'; } /* '' */
.icon-balance-scale:before { content: '\f24e'; } /* '' */

32
bibli/fontello/css/fontello-embedded.css vendored Executable file → Normal file

File diff suppressed because one or more lines are too long

16
bibli/fontello/css/fontello-ie7-codes.css vendored Executable file → Normal file
View File

@ -1,12 +1,6 @@
.icon-hammer { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe800;&nbsp;'); } .icon-ynh { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe800;&nbsp;'); }
.icon-info { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe801;&nbsp;'); } .icon-home { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe801;&nbsp;'); }
.icon-logo-ynh-white { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe802;&nbsp;'); } .icon-right-open { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe802;&nbsp;'); }
.icon-logo-ynh-white-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe803;&nbsp;'); } .icon-doc-text-inv { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe803;&nbsp;'); }
.icon-ynh { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe804;&nbsp;'); } .icon-git { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf1d3;&nbsp;'); }
.icon-heart-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe8bc;&nbsp;'); }
.icon-home { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe8d5;&nbsp;'); }
.icon-rss { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf09e;&nbsp;'); }
.icon-code { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf121;&nbsp;'); }
.icon-git { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf1d3;&nbsp;'); }
.icon-balance-scale { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf24e;&nbsp;'); }

16
bibli/fontello/css/fontello-ie7.css vendored Executable file → Normal file
View File

@ -10,14 +10,8 @@
/* font-size: 120%; */ /* font-size: 120%; */
} }
.icon-hammer { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe800;&nbsp;'); } .icon-ynh { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe800;&nbsp;'); }
.icon-info { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe801;&nbsp;'); } .icon-home { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe801;&nbsp;'); }
.icon-logo-ynh-white { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe802;&nbsp;'); } .icon-right-open { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe802;&nbsp;'); }
.icon-logo-ynh-white-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe803;&nbsp;'); } .icon-doc-text-inv { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe803;&nbsp;'); }
.icon-ynh { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe804;&nbsp;'); } .icon-git { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf1d3;&nbsp;'); }
.icon-heart-2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe8bc;&nbsp;'); }
.icon-home { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe8d5;&nbsp;'); }
.icon-rss { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf09e;&nbsp;'); }
.icon-code { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf121;&nbsp;'); }
.icon-git { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf1d3;&nbsp;'); }
.icon-balance-scale { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf24e;&nbsp;'); }

32
bibli/fontello/css/fontello.css vendored Executable file → Normal file
View File

@ -1,11 +1,11 @@
@font-face { @font-face {
font-family: 'fontello'; font-family: 'fontello';
src: url('../font/fontello.eot?12448413'); src: url('../font/fontello.eot?5025401');
src: url('../font/fontello.eot?12448413#iefix') format('embedded-opentype'), src: url('../font/fontello.eot?5025401#iefix') format('embedded-opentype'),
url('../font/fontello.woff2?12448413') format('woff2'), url('../font/fontello.woff2?5025401') format('woff2'),
url('../font/fontello.woff?12448413') format('woff'), url('../font/fontello.woff?5025401') format('woff'),
url('../font/fontello.ttf?12448413') format('truetype'), url('../font/fontello.ttf?5025401') format('truetype'),
url('../font/fontello.svg?12448413#fontello') format('svg'); url('../font/fontello.svg?5025401#fontello') format('svg');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }
@ -15,7 +15,7 @@
@media screen and (-webkit-min-device-pixel-ratio:0) { @media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face { @font-face {
font-family: 'fontello'; font-family: 'fontello';
src: url('../font/fontello.svg?12448413#fontello') format('svg'); src: url('../font/fontello.svg?5025401#fontello') format('svg');
} }
} }
*/ */
@ -24,7 +24,7 @@
font-family: "fontello"; font-family: "fontello";
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
speak: none; speak: never;
display: inline-block; display: inline-block;
text-decoration: inherit; text-decoration: inherit;
@ -55,14 +55,8 @@
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
} }
.icon-hammer:before { content: '\e800'; } /* '' */ .icon-ynh:before { content: '\e800'; } /* '' */
.icon-info:before { content: '\e801'; } /* '' */ .icon-home:before { content: '\e801'; } /* '' */
.icon-logo-ynh-white:before { content: '\e802'; } /* '' */ .icon-right-open:before { content: '\e802'; } /* '' */
.icon-logo-ynh-white-1:before { content: '\e803'; } /* '' */ .icon-doc-text-inv:before { content: '\e803'; } /* '' */
.icon-ynh:before { content: '\e804'; } /* '' */ .icon-git:before { content: '\f1d3'; } /* '' */
.icon-heart-2:before { content: '\e8bc'; } /* '' */
.icon-home:before { content: '\e8d5'; } /* '' */
.icon-rss:before { content: '\f09e'; } /* '' */
.icon-code:before { content: '\f121'; } /* '' */
.icon-git:before { content: '\f1d3'; } /* '' */
.icon-balance-scale:before { content: '\f24e'; } /* '' */

Binary file not shown.

28
bibli/fontello/demo.html Executable file → Normal file
View File

@ -229,11 +229,11 @@ body {
} }
@font-face { @font-face {
font-family: 'fontello'; font-family: 'fontello';
src: url('./font/fontello.eot?75389355'); src: url('./font/fontello.eot?44739574');
src: url('./font/fontello.eot?75389355#iefix') format('embedded-opentype'), src: url('./font/fontello.eot?44739574#iefix') format('embedded-opentype'),
url('./font/fontello.woff?75389355') format('woff'), url('./font/fontello.woff?44739574') format('woff'),
url('./font/fontello.ttf?75389355') format('truetype'), url('./font/fontello.ttf?44739574') format('truetype'),
url('./font/fontello.svg?75389355#fontello') format('svg'); url('./font/fontello.svg?44739574#fontello') format('svg');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }
@ -244,7 +244,7 @@ body {
font-family: "fontello"; font-family: "fontello";
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
speak: none; speak: never;
display: inline-block; display: inline-block;
text-decoration: inherit; text-decoration: inherit;
@ -298,21 +298,13 @@ body {
</div> </div>
<div class="container" id="icons"> <div class="container" id="icons">
<div class="row"> <div class="row">
<div class="the-icons span3" title="Code: 0xe800"><i class="demo-icon icon-hammer">&#xe800;</i> <span class="i-name">icon-hammer</span><span class="i-code">0xe800</span></div> <div class="the-icons span3" title="Code: 0xe800"><i class="demo-icon icon-ynh">&#xe800;</i> <span class="i-name">icon-ynh</span><span class="i-code">0xe800</span></div>
<div class="the-icons span3" title="Code: 0xe801"><i class="demo-icon icon-info">&#xe801;</i> <span class="i-name">icon-info</span><span class="i-code">0xe801</span></div> <div class="the-icons span3" title="Code: 0xe801"><i class="demo-icon icon-home">&#xe801;</i> <span class="i-name">icon-home</span><span class="i-code">0xe801</span></div>
<div class="the-icons span3" title="Code: 0xe802"><i class="demo-icon icon-logo-ynh-white">&#xe802;</i> <span class="i-name">icon-logo-ynh-white</span><span class="i-code">0xe802</span></div> <div class="the-icons span3" title="Code: 0xe802"><i class="demo-icon icon-right-open">&#xe802;</i> <span class="i-name">icon-right-open</span><span class="i-code">0xe802</span></div>
<div class="the-icons span3" title="Code: 0xe803"><i class="demo-icon icon-logo-ynh-white-1">&#xe803;</i> <span class="i-name">icon-logo-ynh-white-1</span><span class="i-code">0xe803</span></div> <div class="the-icons span3" title="Code: 0xe803"><i class="demo-icon icon-doc-text-inv">&#xe803;</i> <span class="i-name">icon-doc-text-inv</span><span class="i-code">0xe803</span></div>
</div> </div>
<div class="row"> <div class="row">
<div class="the-icons span3" title="Code: 0xe804"><i class="demo-icon icon-ynh">&#xe804;</i> <span class="i-name">icon-ynh</span><span class="i-code">0xe804</span></div>
<div class="the-icons span3" title="Code: 0xe8bc"><i class="demo-icon icon-heart-2">&#xe8bc;</i> <span class="i-name">icon-heart-2</span><span class="i-code">0xe8bc</span></div>
<div class="the-icons span3" title="Code: 0xe8d5"><i class="demo-icon icon-home">&#xe8d5;</i> <span class="i-name">icon-home</span><span class="i-code">0xe8d5</span></div>
<div class="the-icons span3" title="Code: 0xf09e"><i class="demo-icon icon-rss">&#xf09e;</i> <span class="i-name">icon-rss</span><span class="i-code">0xf09e</span></div>
</div>
<div class="row">
<div class="the-icons span3" title="Code: 0xf121"><i class="demo-icon icon-code">&#xf121;</i> <span class="i-name">icon-code</span><span class="i-code">0xf121</span></div>
<div class="the-icons span3" title="Code: 0xf1d3"><i class="demo-icon icon-git">&#xf1d3;</i> <span class="i-name">icon-git</span><span class="i-code">0xf1d3</span></div> <div class="the-icons span3" title="Code: 0xf1d3"><i class="demo-icon icon-git">&#xf1d3;</i> <span class="i-name">icon-git</span><span class="i-code">0xf1d3</span></div>
<div class="the-icons span3" title="Code: 0xf24e"><i class="demo-icon icon-balance-scale">&#xf24e;</i> <span class="i-name">icon-balance-scale</span><span class="i-code">0xf24e</span></div>
</div> </div>
</div> </div>
<div class="container footer">Generated by <a href="http://fontello.com">fontello.com</a></div> <div class="container footer">Generated by <a href="http://fontello.com">fontello.com</a></div>

Binary file not shown.

BIN
bibli/fontello/font/fontello.eot Executable file → Normal file

Binary file not shown.

22
bibli/fontello/font/fontello.svg Executable file → Normal file
View File

@ -1,32 +1,20 @@
<?xml version="1.0" standalone="no"?> <?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg"> <svg xmlns="http://www.w3.org/2000/svg">
<metadata>Copyright (C) 2019 by original authors @ fontello.com</metadata> <metadata>Copyright (C) 2020 by original authors @ fontello.com</metadata>
<defs> <defs>
<font id="fontello" horiz-adv-x="1000" > <font id="fontello" horiz-adv-x="1000" >
<font-face font-family="fontello" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" /> <font-face font-family="fontello" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
<missing-glyph horiz-adv-x="1000" /> <missing-glyph horiz-adv-x="1000" />
<glyph glyph-name="hammer" unicode="&#xe800;" d="M988-7q0-30-20-50l-60-61q-22-20-51-20-29 0-50 20l-203 204q-21 20-21 50 0 29 24 53l-143 143-70-70q-8-8-19-8t-19 8q1-1 7-7t7-7 6-6 5-8 4-8 3-9 0-10q0-21-15-38-2-1-9-10t-11-11-10-9-13-9-12-5-14-3q-23 0-38 16l-228 228q-16 15-16 38 0 7 3 14t5 12 9 13 9 10 11 11 10 9q17 15 38 15 6 0 10 0t9-3 8-4 8-5 6-6 7-7 7-7q-8 8-8 19t8 19l194 194q8 8 19 8t19-8q-1 1-7 7t-7 7-6 7-5 7-3 8-4 9 0 10q0 21 15 38 2 2 9 10t11 11 10 10 13 8 12 5 14 3q23 0 38-16l228-228q16-15 16-38 0-7-3-14t-5-12-8-13-10-10-11-11-10-9q-17-15-38-15-6 0-10 0t-9 4-8 3-7 5-7 6-7 7-7 7q8-8 8-19t-8-19l-70-70 143-143q24 24 53 24 29 0 51-21l203-202q20-22 20-51z" horiz-adv-x="1000" /> <glyph glyph-name="ynh" unicode="&#xe800;" d="M1141 250c-24-59-98-67-164-82-8-74 35-129-12-189-76 3-88 69-83 153-11 0-23 0-35 0-24-32 11-53 0-94-13-51-93-93-129-82-26 7-70 78-59 141 33 32 32-37 70-35 60 92-113 100-94 200 15 75 138 113 177 12 18-50-61-2-59-36-3-19 11-20 12-35 29-9 20 25 35 35 22 14 36 9 71 12 28 30 12 105 47 129 45-5 71-30 70-82 83 11 121 11 153-47z m-117 447c7-38 27-58 23-94-4-38-34-104-47-106-14-2-16-21-23-23-55-19-146 17-165 82-14 47 22 157 47 200 15 26 14 35 59 47 28 8 43 26 70 0 6-5 16-6 22-10-2 0 24-37 25-49 4-24-14-33-11-47z m-95-106c21 22 39 48 36 94-53 20-86-86-36-94z m-141 12c-1-68 29-126 0-176-79-13-85 48-129 70-23-16-18-61-35-82-45-5-56 23-83 35 29 92 15 223 24 306 101 7 90-98 141-141 6 51-4 182 35 235 86-39 48-153 47-247z m-176-400c23-99 1-267-141-235-19 4-99 61-106 82-19 59 4 157 35 188 59 59 135 20 212-35z m-153-129c53-12 74 49 47 82-43 0-52-35-47-82z m0 682c66-11 75-80 59-177-17-98-36-171-106-176-113-8-144 196-106 341 98-15 77-122 71-200 31-10 25 10 35 24 24 35 33 122 47 188z m-130-635c2-67 52-134 24-200-51 11-77 48-106 82-37 6-26-36-70-24-8-59 26-89-12-117-56 7-79 47-94 94-31 16-65 29-71 71 2 41 53 33 82 47 6 65-16 157 24 188 98-6 97-84 82-177 52-3 58 52 59 83 1 28-21 97 24 129 36 9 34-20 70-12 40-55-12-111-12-164z m-47 588c13-83-45-96-70-141 2-81-6-152-24-212-69 15-102 122-70 200-4 41-62 50-83 94-3 8-5 52-11 82-11 52-17 67 11 106 96 6 85-95 106-164 60-5 46 63 94 70 12-16 32-23 47-35z" horiz-adv-x="1153" />
<glyph glyph-name="info" unicode="&#xe801;" d="M352 850q48 0 74-27t26-69q0-50-39-88t-95-38q-48 0-74 26t-24 72q0 46 35 85t97 39z m-206-1000q-100 0-54 178l60 254q14 56 0 56-12 0-54-18t-72-38l-26 44q90 78 189 126t151 48q78 0 36-162l-70-266q-16-64 6-64 44 0 118 60l30-40q-84-86-175-132t-139-46z" horiz-adv-x="460" /> <glyph glyph-name="home" unicode="&#xe801;" d="M786 296v-267q0-15-11-25t-25-11h-214v214h-143v-214h-214q-15 0-25 11t-11 25v267q0 1 0 2t0 2l321 264 321-264q1-1 1-4z m124 39l-34-41q-5-5-12-6h-2q-7 0-12 3l-386 322-386-322q-7-4-13-3-7 1-12 6l-35 41q-4 6-3 13t6 12l401 334q18 15 42 15t43-15l136-113v108q0 8 5 13t13 5h107q8 0 13-5t5-13v-227l122-102q6-4 6-12t-4-13z" horiz-adv-x="928.6" />
<glyph glyph-name="logo-ynh-white" unicode="&#xe802;" d="M1141 250c-24-59-98-67-164-82-8-74 35-129-12-189-76 3-88 69-83 153-11 0-23 0-35 0-24-32 11-53 0-94-13-51-93-93-129-82-26 7-70 78-59 141 33 32 32-37 70-35 60 92-113 100-94 200 15 75 138 113 177 12 18-50-61-2-59-36-3-19 11-20 12-35 29-9 20 25 35 35 22 14 36 9 71 12 28 30 12 105 47 129 45-5 71-30 70-82 83 11 121 11 153-47z m-117 447c7-38 27-58 23-94-4-38-34-104-47-106-14-2-16-21-23-23-55-19-146 17-165 82-14 47 22 157 47 200 15 26 14 35 59 47 28 8 43 26 70 0 6-5 16-6 22-10-2 0 24-37 25-49 4-24-14-33-11-47z m-95-106c21 22 39 48 36 94-53 20-86-86-36-94z m-141 12c-1-68 29-126 0-176-79-13-85 48-129 70-23-16-18-61-35-82-45-5-56 23-83 35 29 92 15 223 24 306 101 7 90-98 141-141 6 51-4 182 35 235 86-39 48-153 47-247z m-176-400c23-99 1-267-141-235-19 4-99 61-106 82-19 59 4 157 35 188 59 59 135 20 212-35z m-153-129c53-12 74 49 47 82-43 0-52-35-47-82z m0 682c66-11 75-80 59-177-17-98-36-171-106-176-113-8-144 196-106 341 98-15 77-122 71-200 31-10 25 10 35 24 24 35 33 122 47 188z m-130-635c2-67 52-134 24-200-51 11-77 48-106 82-37 6-26-36-70-24-8-59 26-89-12-117-56 7-79 47-94 94-31 16-65 29-71 71 2 41 53 33 82 47 6 65-16 157 24 188 98-6 97-84 82-177 52-3 58 52 59 83 1 28-21 97 24 129 36 9 34-20 70-12 40-55-12-111-12-164z m-47 588c13-83-45-96-70-141 2-81-6-152-24-212-69 15-102 122-70 200-4 41-62 50-83 94-3 8-5 52-11 82-11 52-17 67 11 106 96 6 85-95 106-164 60-5 46 63 94 70 12-16 32-23 47-35z" horiz-adv-x="1153" /> <glyph glyph-name="right-open" unicode="&#xe802;" d="M618 361l-414-415q-11-10-25-10t-25 10l-93 93q-11 11-11 25t11 25l296 297-296 296q-11 11-11 25t11 25l93 93q10 11 25 11t25-11l414-414q10-11 10-25t-10-25z" horiz-adv-x="714.3" />
<glyph glyph-name="logo-ynh-white-1" unicode="&#xe803;" d="M1141 250c-24-59-98-67-164-82-8-74 35-129-12-189-76 3-88 69-83 153-11 0-23 0-35 0-24-32 11-53 0-94-13-51-93-93-129-82-26 7-70 78-59 141 33 32 32-37 70-35 60 92-113 100-94 200 15 75 138 113 177 12 18-50-61-2-59-36-3-19 11-20 12-35 29-9 20 25 35 35 22 14 36 9 71 12 28 30 12 105 47 129 45-5 71-30 70-82 83 11 121 11 153-47z m-117 447c7-38 27-58 23-94-4-38-34-104-47-106-14-2-16-21-23-23-55-19-146 17-165 82-14 47 22 157 47 200 15 26 14 35 59 47 28 8 43 26 70 0 6-5 16-6 22-10-2 0 24-37 25-49 4-24-14-33-11-47z m-95-106c21 22 39 48 36 94-53 20-86-86-36-94z m-141 12c-1-68 29-126 0-176-79-13-85 48-129 70-23-16-18-61-35-82-45-5-56 23-83 35 29 92 15 223 24 306 101 7 90-98 141-141 6 51-4 182 35 235 86-39 48-153 47-247z m-176-400c23-99 1-267-141-235-19 4-99 61-106 82-19 59 4 157 35 188 59 59 135 20 212-35z m-153-129c53-12 74 49 47 82-43 0-52-35-47-82z m0 682c66-11 75-80 59-177-17-98-36-171-106-176-113-8-144 196-106 341 98-15 77-122 71-200 31-10 25 10 35 24 24 35 33 122 47 188z m-130-635c2-67 52-134 24-200-51 11-77 48-106 82-37 6-26-36-70-24-8-59 26-89-12-117-56 7-79 47-94 94-31 16-65 29-71 71 2 41 53 33 82 47 6 65-16 157 24 188 98-6 97-84 82-177 52-3 58 52 59 83 1 28-21 97 24 129 36 9 34-20 70-12 40-55-12-111-12-164z m-47 588c13-83-45-96-70-141 2-81-6-152-24-212-69 15-102 122-70 200-4 41-62 50-83 94-3 8-5 52-11 82-11 52-17 67 11 106 96 6 85-95 106-164 60-5 46 63 94 70 12-16 32-23 47-35z" horiz-adv-x="1153" /> <glyph glyph-name="doc-text-inv" unicode="&#xe803;" d="M600 800q42 0 71-29t29-71l0-700q0-40-29-70t-71-30l-500 0q-40 0-70 30t-30 70l0 700q0 42 30 71t70 29l500 0z m-460-208l0-88 420 0 0 88-420 0z m420-480l0 88-420 0 0-88 420 0z m0 196l0 90-418 0 0-90 418 0z" horiz-adv-x="700" />
<glyph glyph-name="ynh" unicode="&#xe804;" d="M1141 250c-24-59-98-67-164-82-8-74 35-129-12-189-76 3-88 69-83 153h-35c-24-32 11-53 0-94-13-51-93-93-129-82-26 7-70 78-59 141 33 32 32-37 70-35 60 92-113 100-94 200 15 75 138 113 177 12 18-50-61-2-59-36-3-19 11-20 12-35 29-9 20 25 35 35 22 14 36 9 71 12 28 30 12 105 47 129 45-5 71-30 70-82 83 11 121 11 153-47z m-117 447c7-38 27-58 23-94-4-38-34-104-47-106-14-2-16-21-23-23-55-19-146 17-165 82-14 47 22 157 47 200 15 26 14 35 59 47 28 8 43 26 70 0 6-5 16-6 22-10-2 0 24-37 25-49 4-24-14-33-11-47z m-95-106c21 22 39 48 36 94-53 20-86-86-36-94z m-141 12c-1-68 29-126 0-176-79-13-85 48-129 70-23-16-18-61-35-82-45-5-56 23-83 35 29 92 15 223 24 306 101 7 90-98 141-141 6 51-4 182 35 235 86-39 48-153 47-247z m-176-400c23-99 1-267-141-235-19 4-99 61-106 82-19 59 4 157 35 188 59 59 135 20 212-35z m-153-129c53-12 74 49 47 82-43 0-52-35-47-82z m0 682c66-11 75-80 59-177-17-98-36-171-106-176-113-8-144 196-106 341 98-15 77-122 71-200 31-10 25 10 35 24 24 35 33 122 47 188z m-130-635c2-67 52-134 24-200-51 11-77 48-106 82-37 6-26-36-70-24-8-59 26-89-12-117-56 7-79 47-94 94-31 16-65 29-71 71 2 41 53 33 82 47 6 65-16 157 24 188 98-6 97-84 82-177 52-3 58 52 59 83 1 28-21 97 24 129 36 9 34-20 70-12 40-55-12-111-12-164z m-47 588c13-83-45-96-70-141 2-81-6-152-24-212-69 15-102 122-70 200-4 41-62 50-83 94-3 8-5 52-11 82-11 52-17 67 11 106 96 6 85-95 106-164 60-5 46 63 94 70 12-16 32-23 47-35z" horiz-adv-x="1153" />
<glyph glyph-name="heart-2" unicode="&#xe8bc;" d="M500-79q-14 0-25 10l-348 336q-5 5-15 15t-31 37-38 54-30 67-13 77q0 123 71 192t196 70q34 0 70-12t67-33 54-38 42-38q20 20 42 38t54 38 67 33 70 12q125 0 196-70t71-192q0-123-128-251l-347-335q-10-10-25-10z" horiz-adv-x="1000" />
<glyph glyph-name="home" unicode="&#xe8d5;" d="M786 296v-267q0-15-11-25t-25-11h-214v214h-143v-214h-214q-15 0-25 11t-11 25v267q0 1 0 2t0 2l321 264 321-264q1-1 1-4z m124 39l-34-41q-5-5-12-6h-2q-7 0-12 3l-386 322-386-322q-7-4-13-3-7 1-12 6l-35 41q-4 6-3 13t6 12l401 334q18 15 42 15t43-15l136-113v108q0 8 5 13t13 5h107q8 0 13-5t5-13v-227l122-102q6-4 6-12t-4-13z" horiz-adv-x="928.6" />
<glyph glyph-name="rss" unicode="&#xf09e;" d="M214 100q0-45-31-76t-76-31-76 31-31 76 31 76 76 31 76-31 31-76z m286-69q1-15-9-26-10-12-27-12h-75q-14 0-24 9t-11 23q-12 128-103 219t-219 103q-14 1-23 11t-9 24v75q0 16 12 26 9 10 24 10h3q89-7 170-45t145-101q63-63 101-145t45-171z m286-1q1-15-10-26-10-11-26-11h-80q-14 0-25 10t-10 23q-7 120-57 228t-129 188-188 129-227 57q-14 1-24 11t-10 24v80q0 16 11 26 10 10 25 10h1q147-8 280-67t238-164q104-104 164-238t67-280z" horiz-adv-x="785.7" />
<glyph glyph-name="code" unicode="&#xf121;" d="M344 69l-28-28q-5-5-12-5t-13 5l-260 261q-6 5-6 12t6 13l260 260q5 6 13 6t12-6l28-28q6-5 6-13t-6-12l-219-220 219-219q6-6 6-13t-6-13z m330 596l-208-721q-2-7-9-11t-13-1l-34 9q-8 3-11 9t-2 14l209 720q2 8 8 11t13 2l35-10q7-2 11-9t1-13z m367-363l-260-261q-6-5-13-5t-13 5l-28 28q-5 6-5 13t5 13l219 219-219 220q-5 5-5 12t5 13l28 28q6 6 13 6t13-6l260-260q5-5 5-13t-5-12z" horiz-adv-x="1071.4" />
<glyph glyph-name="git" unicode="&#xf1d3;" d="M332 5q0 56-92 56-88 0-88-58 0-57 96-57 84 0 84 59z m-33 422q0 34-17 56t-49 23q-69 0-69-81 0-75 69-75 66 0 66 77z m150 180v-112q-20-7-44-13 9-24 9-47 0-70-41-120t-110-63q-22-5-33-15t-11-33q0-17 13-28t32-18 44-12 48-15 44-21 32-35 13-55q0-170-203-170-38 0-72 7t-65 23-49 46-18 71q0 92 102 125v3q-38 22-38 70 0 61 35 76v3q-40 13-66 60t-27 93q0 77 53 129t131 51q54 0 100-26 54 0 121 26z m178-491h-124q2 25 2 74v340q0 53-2 72h124q-3-19-3-69v-343q0-49 3-74z m335 124v-110q-40-22-97-22-35 0-60 12t-39 27-22 44-10 51-2 58v196h1v2q-4 0-11 0t-10 1q-12 0-33-3v106h54v42q0 30-4 50h127q-3-23-3-92h95v-106q-8 0-24 1t-24 1h-47v-204q0-73 48-73 34 0 61 19z m-321 528q0-32-22-57t-54-24q-32 0-54 24t-23 57q0 33 22 57t55 25q33 0 54-25t22-57z" horiz-adv-x="1000" /> <glyph glyph-name="git" unicode="&#xf1d3;" d="M332 5q0 56-92 56-88 0-88-58 0-57 96-57 84 0 84 59z m-33 422q0 34-17 56t-49 23q-69 0-69-81 0-75 69-75 66 0 66 77z m150 180v-112q-20-7-44-13 9-24 9-47 0-70-41-120t-110-63q-22-5-33-15t-11-33q0-17 13-28t32-18 44-12 48-15 44-21 32-35 13-55q0-170-203-170-38 0-72 7t-65 23-49 46-18 71q0 92 102 125v3q-38 22-38 70 0 61 35 76v3q-40 13-66 60t-27 93q0 77 53 129t131 51q54 0 100-26 54 0 121 26z m178-491h-124q2 25 2 74v340q0 53-2 72h124q-3-19-3-69v-343q0-49 3-74z m335 124v-110q-40-22-97-22-35 0-60 12t-39 27-22 44-10 51-2 58v196h1v2q-4 0-11 0t-10 1q-12 0-33-3v106h54v42q0 30-4 50h127q-3-23-3-92h95v-106q-8 0-24 1t-24 1h-47v-204q0-73 48-73 34 0 61 19z m-321 528q0-32-22-57t-54-24q-32 0-54 24t-23 57q0 33 22 57t55 25q33 0 54-25t22-57z" horiz-adv-x="1000" />
<glyph glyph-name="balance-scale" unicode="&#xf24e;" d="M964 600l-214-393h429z m-714 0l-214-393h428z m458 107q-8-22-25-40t-40-25v-721h339q8 0 13-5t5-12v-36q0-8-5-13t-13-5h-750q-8 0-13 5t-5 13v36q0 7 5 12t13 5h339v721q-22 8-39 25t-26 40h-274q-8 0-13 5t-5 13v36q0 8 5 13t13 5h274q12 31 39 51t62 20 62-20 39-51h274q8 0 13-5t5-13v-36q0-8-5-13t-13-5h-274z m-101-9q19 0 32 13t13 32-13 31-32 14-31-14-13-31 13-32 31-13z m607-491q0-41-26-73t-65-51-81-27-78-10-78 10-80 27-66 51-26 73q0 6 20 45t51 98 60 109 57 103 31 55q10 19 31 19t32-19q2-4 31-55t57-103 59-109 52-98 19-45z m-714 0q0-41-26-73t-65-51-81-27-78-10-78 10-80 27-66 51-26 73q0 6 20 45t51 98 60 109 57 103 31 55q10 19 31 19t31-19q3-4 32-55t56-103 60-109 52-98 19-45z" horiz-adv-x="1285.7" />
</font> </font>
</defs> </defs>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
bibli/fontello/font/fontello.ttf Executable file → Normal file

Binary file not shown.

BIN
bibli/fontello/font/fontello.woff Executable file → Normal file

Binary file not shown.

BIN
bibli/fontello/font/fontello.woff2 Executable file → Normal file

Binary file not shown.

Binary file not shown.

0
gomez.min.css → bibli/gomez/gomez.min.css vendored Executable file → Normal file
View File

View File

@ -1,660 +0,0 @@
For ease of distribution, lessphp is under a dual license.
You are free to pick which one suits your needs.
MIT LICENSE
Copyright (c) 2014 Leaf Corcoran, http://leafo.net/lessphp
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.
GPL VERSION 3
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.

View File

@ -1,96 +0,0 @@
[![Build Status](https://travis-ci.org/leafo/lessphp.svg?branch=master)](https://travis-ci.org/leafo/lessphp)
# lessphp v0.5.0
### <http://leafo.net/lessphp>
`lessphp` is a compiler for LESS written in PHP. The documentation is great,
so check it out: <http://leafo.net/lessphp/docs/>.
Here's a quick tutorial:
### How to use in your PHP project
The only file required is `lessc.inc.php`, so copy that to your include directory.
The typical flow of **lessphp** is to create a new instance of `lessc`,
configure it how you like, then tell it to compile something using one built in
compile methods.
The `compile` method compiles a string of LESS code to CSS.
```php
<?php
require "lessc.inc.php";
$less = new lessc;
echo $less->compile(".block { padding: 3 + 4px }");
```
The `compileFile` method reads and compiles a file. It will either return the
result or write it to the path specified by an optional second argument.
```php
<?php
echo $less->compileFile("input.less");
```
The `checkedCompile` method is like `compileFile`, but it only compiles if the output
file doesn't exist or it's older than the input file:
```php
<?php
$less->checkedCompile("input.less", "output.css");
```
If there any problem compiling your code, an exception is thrown with a helpful message:
```php
<?php
try {
$less->compile("invalid LESS } {");
} catch (exception $e) {
echo "fatal error: " . $e->getMessage();
}
```
The `lessc` object can be configured through an assortment of instance methods.
Some possible configuration options include [changing the output format][1],
[setting variables from PHP][2], and [controlling the preservation of
comments][3], writing [custom functions][4] and much more. It's all described
in [the documentation][0].
[0]: http://leafo.net/lessphp/docs/
[1]: http://leafo.net/lessphp/docs/#output_formatting
[2]: http://leafo.net/lessphp/docs/#setting_variables_from_php
[3]: http://leafo.net/lessphp/docs/#preserving_comments
[4]: http://leafo.net/lessphp/docs/#custom_functions
### How to use from the command line
An additional script has been included to use the compiler from the command
line. In the simplest invocation, you specify an input file and the compiled
css is written to standard out:
$ plessc input.less > output.css
Using the -r flag, you can specify LESS code directly as an argument or, if
the argument is left off, from standard in:
$ plessc -r "my less code here"
Finally, by using the -w flag you can watch a specified input file and have it
compile as needed to the output file:
$ plessc -w input-file output-file
Errors from watch mode are written to standard out.
The -f flag sets the [output formatter][1]. For example, to compress the
output run this:
$ plessc -f=compressed myfile.less
For more help, run `plessc --help`

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,538 @@
<?php
#
#
# Parsedown Extra
# https://github.com/erusev/parsedown-extra
#
# (c) Emanuil Rusev
# http://erusev.com
#
# For the full license information, view the LICENSE file that was distributed
# with this source code.
#
#
class ParsedownExtra extends Parsedown
{
# ~
const version = '0.8.1';
# ~
function __construct()
{
if (version_compare(parent::version, '1.7.4') < 0)
{
throw new Exception('ParsedownExtra requires a later version of Parsedown');
}
$this->BlockTypes[':'] []= 'DefinitionList';
$this->BlockTypes['*'] []= 'Abbreviation';
# identify footnote definitions before reference definitions
array_unshift($this->BlockTypes['['], 'Footnote');
# identify footnote markers before before links
array_unshift($this->InlineTypes['['], 'FootnoteMarker');
}
#
# ~
function text($text)
{
$markup = parent::text($text);
# merge consecutive dl elements
$markup = preg_replace('/<\/dl>\s+<dl>\s+/', '', $markup);
# add footnotes
if (isset($this->DefinitionData['Footnote']))
{
$Element = $this->buildFootnoteElement();
$markup .= "\n" . $this->element($Element);
}
return $markup;
}
#
# Blocks
#
#
# Abbreviation
protected function blockAbbreviation($Line)
{
if (preg_match('/^\*\[(.+?)\]:[ ]*(.+?)[ ]*$/', $Line['text'], $matches))
{
$this->DefinitionData['Abbreviation'][$matches[1]] = $matches[2];
$Block = array(
'hidden' => true,
);
return $Block;
}
}
#
# Footnote
protected function blockFootnote($Line)
{
if (preg_match('/^\[\^(.+?)\]:[ ]?(.*)$/', $Line['text'], $matches))
{
$Block = array(
'label' => $matches[1],
'text' => $matches[2],
'hidden' => true,
);
return $Block;
}
}
protected function blockFootnoteContinue($Line, $Block)
{
if ($Line['text'][0] === '[' and preg_match('/^\[\^(.+?)\]:/', $Line['text']))
{
return;
}
if (isset($Block['interrupted']))
{
if ($Line['indent'] >= 4)
{
$Block['text'] .= "\n\n" . $Line['text'];
return $Block;
}
}
else
{
$Block['text'] .= "\n" . $Line['text'];
return $Block;
}
}
protected function blockFootnoteComplete($Block)
{
$this->DefinitionData['Footnote'][$Block['label']] = array(
'text' => $Block['text'],
'count' => null,
'number' => null,
);
return $Block;
}
#
# Definition List
protected function blockDefinitionList($Line, $Block)
{
if ( ! isset($Block) or isset($Block['type']))
{
return;
}
$Element = array(
'name' => 'dl',
'handler' => 'elements',
'text' => array(),
);
$terms = explode("\n", $Block['element']['text']);
foreach ($terms as $term)
{
$Element['text'] []= array(
'name' => 'dt',
'handler' => 'line',
'text' => $term,
);
}
$Block['element'] = $Element;
$Block = $this->addDdElement($Line, $Block);
return $Block;
}
protected function blockDefinitionListContinue($Line, array $Block)
{
if ($Line['text'][0] === ':')
{
$Block = $this->addDdElement($Line, $Block);
return $Block;
}
else
{
if (isset($Block['interrupted']) and $Line['indent'] === 0)
{
return;
}
if (isset($Block['interrupted']))
{
$Block['dd']['handler'] = 'text';
$Block['dd']['text'] .= "\n\n";
unset($Block['interrupted']);
}
$text = substr($Line['body'], min($Line['indent'], 4));
$Block['dd']['text'] .= "\n" . $text;
return $Block;
}
}
#
# Header
protected function blockHeader($Line)
{
$Block = parent::blockHeader($Line);
if (! isset($Block)) {
return null;
}
if (preg_match('/[ #]*{('.$this->regexAttribute.'+)}[ ]*$/', $Block['element']['text'], $matches, PREG_OFFSET_CAPTURE))
{
$attributeString = $matches[1][0];
$Block['element']['attributes'] = $this->parseAttributeData($attributeString);
$Block['element']['text'] = substr($Block['element']['text'], 0, $matches[0][1]);
}
return $Block;
}
#
# Markup
protected function blockMarkupComplete($Block)
{
if ( ! isset($Block['void']))
{
$Block['markup'] = $this->processTag($Block['markup']);
}
return $Block;
}
#
# Setext
protected function blockSetextHeader($Line, array $Block = null)
{
$Block = parent::blockSetextHeader($Line, $Block);
if (! isset($Block)) {
return null;
}
if (preg_match('/[ ]*{('.$this->regexAttribute.'+)}[ ]*$/', $Block['element']['text'], $matches, PREG_OFFSET_CAPTURE))
{
$attributeString = $matches[1][0];
$Block['element']['attributes'] = $this->parseAttributeData($attributeString);
$Block['element']['text'] = substr($Block['element']['text'], 0, $matches[0][1]);
}
return $Block;
}
#
# Inline Elements
#
#
# Footnote Marker
protected function inlineFootnoteMarker($Excerpt)
{
if (preg_match('/^\[\^(.+?)\]/', $Excerpt['text'], $matches))
{
$name = $matches[1];
if ( ! isset($this->DefinitionData['Footnote'][$name]))
{
return;
}
$this->DefinitionData['Footnote'][$name]['count'] ++;
if ( ! isset($this->DefinitionData['Footnote'][$name]['number']))
{
$this->DefinitionData['Footnote'][$name]['number'] = ++ $this->footnoteCount; # » &
}
$Element = array(
'name' => 'sup',
'attributes' => array('id' => 'fnref'.$this->DefinitionData['Footnote'][$name]['count'].':'.$name),
'handler' => 'element',
'text' => array(
'name' => 'a',
'attributes' => array('href' => '#fn:'.$name, 'class' => 'footnote-ref'),
'text' => $this->DefinitionData['Footnote'][$name]['number'],
),
);
return array(
'extent' => strlen($matches[0]),
'element' => $Element,
);
}
}
private $footnoteCount = 0;
#
# Link
protected function inlineLink($Excerpt)
{
$Link = parent::inlineLink($Excerpt);
if (! isset($Link)) {
return null;
}
$remainder = substr($Excerpt['text'], $Link['extent']);
if (preg_match('/^[ ]*{('.$this->regexAttribute.'+)}/', $remainder, $matches))
{
$Link['element']['attributes'] += $this->parseAttributeData($matches[1]);
$Link['extent'] += strlen($matches[0]);
}
return $Link;
}
#
# ~
#
protected function unmarkedText($text)
{
$text = parent::unmarkedText($text);
if (isset($this->DefinitionData['Abbreviation']))
{
foreach ($this->DefinitionData['Abbreviation'] as $abbreviation => $meaning)
{
$pattern = '/\b'.preg_quote($abbreviation, '/').'\b/';
$text = preg_replace($pattern, '<abbr title="'.$meaning.'">'.$abbreviation.'</abbr>', $text);
}
}
return $text;
}
#
# Util Methods
#
protected function addDdElement(array $Line, array $Block)
{
$text = substr($Line['text'], 1);
$text = trim($text);
unset($Block['dd']);
$Block['dd'] = array(
'name' => 'dd',
'handler' => 'line',
'text' => $text,
);
if (isset($Block['interrupted']))
{
$Block['dd']['handler'] = 'text';
unset($Block['interrupted']);
}
$Block['element']['text'] []= & $Block['dd'];
return $Block;
}
protected function buildFootnoteElement()
{
$Element = array(
'name' => 'div',
'attributes' => array('class' => 'footnotes'),
'handler' => 'elements',
'text' => array(
array(
'name' => 'hr',
),
array(
'name' => 'ol',
'handler' => 'elements',
'text' => array(),
),
),
);
uasort($this->DefinitionData['Footnote'], 'self::sortFootnotes');
foreach ($this->DefinitionData['Footnote'] as $definitionId => $DefinitionData)
{
if ( ! isset($DefinitionData['number']))
{
continue;
}
$text = $DefinitionData['text'];
$text = parent::text($text);
$numbers = range(1, $DefinitionData['count']);
$backLinksMarkup = '';
foreach ($numbers as $number)
{
$backLinksMarkup .= ' <a href="#fnref'.$number.':'.$definitionId.'" rev="footnote" class="footnote-backref">&#8617;</a>';
}
$backLinksMarkup = substr($backLinksMarkup, 1);
if (substr($text, - 4) === '</p>')
{
$backLinksMarkup = '&#160;'.$backLinksMarkup;
$text = substr_replace($text, $backLinksMarkup.'</p>', - 4);
}
else
{
$text .= "\n".'<p>'.$backLinksMarkup.'</p>';
}
$Element['text'][1]['text'] []= array(
'name' => 'li',
'attributes' => array('id' => 'fn:'.$definitionId),
'rawHtml' => "\n".$text."\n",
);
}
return $Element;
}
# ~
protected function parseAttributeData($attributeString)
{
$Data = array();
$attributes = preg_split('/[ ]+/', $attributeString, - 1, PREG_SPLIT_NO_EMPTY);
foreach ($attributes as $attribute)
{
if ($attribute[0] === '#')
{
$Data['id'] = substr($attribute, 1);
}
else # "."
{
$classes []= substr($attribute, 1);
}
}
if (isset($classes))
{
$Data['class'] = implode(' ', $classes);
}
return $Data;
}
# ~
protected function processTag($elementMarkup) # recursive
{
# http://stackoverflow.com/q/1148928/200145
libxml_use_internal_errors(true);
$DOMDocument = new DOMDocument;
# http://stackoverflow.com/q/11309194/200145
$elementMarkup = mb_convert_encoding($elementMarkup, 'HTML-ENTITIES', 'UTF-8');
# http://stackoverflow.com/q/4879946/200145
$DOMDocument->loadHTML($elementMarkup);
$DOMDocument->removeChild($DOMDocument->doctype);
$DOMDocument->replaceChild($DOMDocument->firstChild->firstChild->firstChild, $DOMDocument->firstChild);
$elementText = '';
if ($DOMDocument->documentElement->getAttribute('markdown') === '1')
{
foreach ($DOMDocument->documentElement->childNodes as $Node)
{
$elementText .= $DOMDocument->saveHTML($Node);
}
$DOMDocument->documentElement->removeAttribute('markdown');
$elementText = "\n".$this->text($elementText)."\n";
}
else
{
foreach ($DOMDocument->documentElement->childNodes as $Node)
{
$nodeMarkup = $DOMDocument->saveHTML($Node);
if ($Node instanceof DOMElement and ! in_array($Node->nodeName, $this->textLevelElements))
{
$elementText .= $this->processTag($nodeMarkup);
}
else
{
$elementText .= $nodeMarkup;
}
}
}
# because we don't want for markup to get encoded
$DOMDocument->documentElement->nodeValue = 'placeholder\x1A';
$markup = $DOMDocument->saveHTML($DOMDocument->documentElement);
$markup = str_replace('placeholder\x1A', $elementText, $markup);
return $markup;
}
# ~
protected function sortFootnotes($A, $B) # callback
{
return $A['number'] - $B['number'];
}
#
# Fields
#
protected $regexAttribute = '(?:[#.][-\w]+[ ]*)';
}

BIN
bibli/static-compress Executable file

Binary file not shown.

81
cgu.php
View File

@ -1,81 +0,0 @@
<?php include "inc/debut.php";
head("cgu.php"); ?>
<h1>Conditions générales d'utilisation</h1>
<article>
<section>
<h2>Préambule</h2>
<p>
L'utilisation des services <span style="color: red;">Antopie</span> vous lie aux conditions suivantes.<br>
<span style="color: red;">Antopie</span> se réserve le droit de mettre à jour et modifier ces conditions à tout moment. <br>
Ces conditions sont dérivées de <a href="https://framasoft.org/fr/cgu/">celles de Framasoft</a>.
</p>
</section>
<section>
<h2>Conditions des services</h2>
<ul>
<li>Vous êtes responsable de la sécurité de votre compte et de
votre mot de passe.</li>
<li>Vous êtes responsable de tout contenu affiché et de lactivité
qui se produit sous votre compte.</li>
<li>Vous ne pouvez pas vendre, échanger ou exploiter
dans un but commercial un compte du service
utilisé.</li>
<li>Léchec d'<span style="color: red;">Antopie</span> à exercer ou à appliquer tout droit ou
disposition des Conditions dutilisation ne constitue
pas une renonciation à ce droit ou à cette disposition.</li>
<li>Les conditions d'utilisation actuelles remplacent les anciennes versions.
</li>
<li>
Vous ne devez pas tenter de nuire aux services <span style="color: red;">Antopie</span> ou à celleux les utilisant.
</li>
<li>Les services étant hébergés en France par une personne de nationnalité française,
vous devez respecter au moins la législation en vigueur en France.
</li>
<li>
Savoir orthographier correctement le mot « spatule » n'est pas nécessaire pour utiliser les services <span style="color: red;">Antopie</span>.
</li>
</ul>
<h2>Garantie</h2>
<ul>
<li><span style="color: red;">Antopie</span> se dégage de toutes responsabilités dans la limite
de la loi.</li>
<li><span style="color: red;">Antopie</span> se réserve le droit, à tout moment de modifier ou
dinterrompre, temporairement ou définitivement, le service
avec ou sans préavis.</li>
</ul>
<h2>Données personnelles</h2>
<ul>
<li>Conformément à larticle 34 de la loi « Informatique et Libertés »,
<span style="color: red;">Antopie</span> garantit à lutilisateurice un droit dopposition, daccès et de
rectification sur les données nominatives concernant. L'utilisateurice
a la possibilité dexercer ce droit en envoyant un
<a href="mailto:miraty+legal@antopie.org">email</a> à l'admin.</li>
<li>Malgré ce que certaines interfaces pourraient laisser penser,
il n'est jamais nécessaire de révéler votre identité pour utiliser les services.</li>
<li>Tout comme dautres services en ligne, <span style="color: red;">Antopie</span> enregistre
automatiquement certaines informations concernant votre
utilisation du service (exemple : type de navigateur, adresse IP, date et
heure de laccès, URL de référence).<br>
Ces données ne sont ni vendues, ni transmises à des tiers, dans la limite de la loi.
</li>
</ul>
</section>
</article>
<?php include "inc/footer.php"; ?>

157
clr.php
View File

@ -1,17 +1,124 @@
<?php
if (!isset($_GET['clr']))
$clr = sprintf('%06X', mt_rand(0, 0xFFFFFF));
else
$clr = htmlspecialchars($_GET['clr']);
echo $clr;
$hexcode = $clr;
$redhex = substr($hexcode,0,2);
$greenhex = substr($hexcode,2,2);
$bluehex = substr($hexcode,4,2);
$var_r = (hexdec($redhex)) / 255;
$var_g = (hexdec($greenhex)) / 255;
$var_b = (hexdec($bluehex)) / 255;
$var_min = min($var_r,$var_g,$var_b);
$var_max = max($var_r,$var_g,$var_b);
$del_max = $var_max - $var_min;
$l = ($var_max + $var_min) / 2;
if ($del_max == 0) {
$h = 0;
$s = 0;
} else {
if ($l < 0.5) {
$s = $del_max / ($var_max + $var_min);
} else {
$s = $del_max / (2 - $var_max - $var_min);
};
$del_r = ((($var_max - $var_r) / 6) + ($del_max / 2)) / $del_max;
$del_g = ((($var_max - $var_g) / 6) + ($del_max / 2)) / $del_max;
$del_b = ((($var_max - $var_b) / 6) + ($del_max / 2)) / $del_max;
if ($var_r == $var_max) {
$h = $del_b - $del_g;
} elseif ($var_g == $var_max) {
$h = (1 / 3) + $del_r - $del_b;
} elseif ($var_b == $var_max) {
$h = (2 / 3) + $del_g - $del_r;
};
if ($h < 0) {
$h += 1;
};
if ($h > 1) {
$h -= 1;
};
};
$h2 = $h + 0.5;
if ($h2 > 1) {
$h2 -= 1;
};
if ($s == 0) {
$r = $l * 255;
$g = $l * 255;
$b = $l * 255;
} else {
if ($l < 0.5) {
$var_2 = $l * (1 + $s);
} else {
$var_2 = ($l + $s) - ($s * $l);
};
$var_1 = 2 * $l - $var_2;
$r = 255 * hue_2_rgb($var_1,$var_2,$h2 + (1 / 3));
$g = 255 * hue_2_rgb($var_1,$var_2,$h2);
$b = 255 * hue_2_rgb($var_1,$var_2,$h2 - (1 / 3));
};
function hue_2_rgb($v1,$v2,$vh) {
if ($vh < 0) {
$vh += 1;
};
if ($vh > 1) {
$vh -= 1;
};
if ((6 * $vh) < 1) {
return ($v1 + ($v2 - $v1) * 6 * $vh);
};
if ((2 * $vh) < 1) {
return ($v2);
};
if ((3 * $vh) < 2) {
return ($v1 + ($v2 - $v1) * ((2 / 3 - $vh) * 6));
};
return ($v1);
};
$rhex = sprintf("%02X",round($r));
$ghex = sprintf("%02X",round($g));
$bhex = sprintf("%02X",round($b));
$rgbhex = $rhex . $ghex . $bhex;
?>
<!-- Code source : https://code.antopie.org/miraty/web/src/branch/master/clr.php --> <!-- Code source : https://code.antopie.org/miraty/web/src/branch/master/clr.php -->
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<?php
if (!isset($_GET['clr']))
$clr = sprintf('#%06X', mt_rand(0, 0xFFFFFF));
else
$clr = "#" . htmlspecialchars($_GET['clr']);
?>
<head> <head>
<meta content="UTF-8"> <meta content="UTF-8">
<title> <title>
<?php <?php
echo $clr; echo "#" . $clr;
if (isset($_GET['txt'])) if (isset($_GET['txt']))
echo " " . htmlspecialchars($_GET['txt']); echo " " . htmlspecialchars($_GET['txt']);
?> ?>
@ -19,31 +126,37 @@
<style> <style>
body { body {
background-color: <?php echo $clr; ?>; background-color: <?php echo "#" . $clr; ?>;
} }
#txt { #txt {
font-family: "Ubuntu", system-ui, sans-serif; font-family: "Ubuntu", sans-serif;
font-size: 50px; font-size: 50px;
margin: 10px; color: <?php echo "#" . $rgbhex; ?>;
background-color: black;
color: white;
padding: 10px; padding: 10px;
border-radius: 0px; position: absolute;
position: fixed;
top: 20%;
left: 20%;
right: 20%;
text-align: center; text-align: center;
margin-left: auto;
margin-right: auto;
margin-bottom: auto;
margin-top: auto;
width: 90%;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
} }
</style> </style>
</head> </head>
<body> <body>
<?php if (isset($_GET['txt'])) { ?> <?php if (isset($_GET['txt'])) { ?>
<div id=txt> <div id="txt"><?php echo htmlspecialchars($_GET['txt']); ?></div>
<?php echo htmlspecialchars($_GET['txt']); ?> <?php } ?>
</div>
<?php } ?>
</body> </body>
</html> </html>

57
compil.php Normal file
View File

@ -0,0 +1,57 @@
<?php
require "mdp.php";
if (isset($_GET['pw']) AND $_GET['pw'] == $mdp) {
require "bibli/parsedown/Parsedown.php";
require "bibli/parsedown/ParsedownExtra.php";
$nomsPages = array_diff(scandir("pages"), array('..', '.'));
foreach ($nomsPages as $nomPage) {
$nomPage = basename($nomPage, ".md");
// pages/exemple.md > temp/exemple.temp
// Exécute le HTML/PHP avec header et footer vers du HTML statique
ob_start();
require "pages/" . $nomPage . ".md";
file_put_contents("temp/" . $nomPage . ".temp", ob_get_contents());
ob_end_clean();
// temp/exemple.temp > temp2/exemple.temp2
// Compile le Markdown/PHP vers du HTML/PHP
$contenuPage = ParsedownExtra::instance()
->setUrlsLinked(false)
->setMarkupEscaped(false)
->setBreaksEnabled(true)
->text(file_get_contents("temp/" .$nomPage . ".temp"));
file_put_contents("temp2/" . $nomPage . ".temp2", $contenuPage);
// temp2/exemple.temp2 > exemple.html
// Exécute et cache le PHP en HTML
$adresse = $nomPage;
ob_start();
require "inc/pages.php";
require "inc/debut.php";
if ($page['type'] == "article") {
echo "<h1>" . $page['h1'] . "</h1>";
echo "<article>";
} else if ($page['type'] == "centré") {
echo "<div class='centre'>";
}
require "temp2/" . $nomPage . ".temp2";
if ($page['type'] == "article") {
echo "</article>";
} else if ($page['type'] == "centré") {
echo "</div>";
}
require "inc/footer.php";
file_put_contents($nomPage . ".html", ob_get_contents());
ob_end_clean();
}
// exemple.html > exemple.html.gz
// Compresse les fichiers textes statiques HTML & CSS à la racine
exec('bibli/static-compress -c zopfli "*.html" "*.css"');
} else {
echo "Non authentifié·e";
}

View File

@ -1,61 +0,0 @@
<?php include "inc/debut.php";
head("details-techniques.php"); ?>
<h1>Détails techniques sur l'infrastructure d'Antopie</h1>
<article>
<h2>Matériel</h2>
Une tour nommée Pastèque avec :
<ul>
<li>12 Go de RAM</li>
<li>Disque dur d'1,5 To</li>
<li>Intel Core i5 64 bits 4 cœurs 3.4GHz</li>
</ul>
<h2>Système</h2>
<a href="https://yunohost.org/">YunoHost</a> 3.8 (basé sur <a href="https://www.debian.org/">Debian</a> 9) et son écosystème : Nginx, Postfix, Fail2ban...
<h2>DNS</h2>
Le domaine <code>antopie.org</code> est enregistré chez <a href="https://www.gandi.net/">Gandi</a> et administré sur leur interface Web LiveDNS.
<br>
<a href="https://fr.wikipedia.org/wiki/Domain_Name_System_Security_Extensions">DNSSEC</a> est activé dessus.
<br>
Il est enregistré dans la <a href="https://hstspreload.org">HSTS Preload List</a>.
<h2>Internet</h2>
Pastèque est connectée à Internet via une connexion du FAI Free en fibre optique (FTTH) à Paris.
<br>
Le débit maximal disponible varie entre 50 Mo/s (400 Mbit/s) et 100 Mo/s (800 Mbit/s).
<br>
Adresse IPv6 : <code>2a01:e34:ec23:b760:5604:a6ff:fec4:58bd</code>
<br>
Adresse IPv4 : <code>78.194.59.118</code>
<br>
En raison d'un problème de mails, Pastèque utilise actuellement et temporairement un VPN de <a href="https://milkywan.fr/">MilkyWan</a>.
<br>
Adresse IPv6 du VPN : <code>2a0b:cbc0:1103:2::106f</code>
<br>
Adresse IPv4 du VPN : <code>45.13.104.169</code>
<h2>Sauvegarde</h2>
Des sauvegardes sont faites régulièrement avec le <a href="https://yunohost.org/#/backup">système intégré à YunoHost</a>.
<br>
PeerTube et Nextcloud ne sont pas sauvegardées car cela prendrait trop de place.
<br>
Les sauvegardes sont copiées sur un disque dans la même pièce.
<h2>Relai Tor</h2>
Pastèque héberge aussi <a href="https://metrics.torproject.org/rs.html#details/BE8737597F2E6B4F805893202C935125829A902E">un relai Tor</a>. Il ne tourne pas quand le VPN est actif.
</article>
<?php include "inc/footer.php"; ?>

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

BIN
img/antopiev5-500.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
img/docs/k9-imap-300.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
img/docs/k9-imap.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
img/docs/k9-smtp-300.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
img/docs/k9-smtp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 354 B

After

Width:  |  Height:  |  Size: 354 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -1,65 +1,49 @@
<?php <?php
function head($adresse) {
require "url.php"; $adresse = basename($_SERVER['PHP_SELF'], '.php');
require "page.php"; require_once "url.php";
?> ?>
<!DOCTYPE html> <!DOCTYPE html>
<html lang="fr" id="haut"> <html lang="fr">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title><?php echo $page['titre']; ?> · Antopie</title> <title><?php echo $page['titre']; ?></title>
<link rel="icon" type="image/png" href="img/icons/16.png" sizes="16x16"> <link rel="icon" type="image/png" href="img/icons/16.png" sizes="16x16">
<link rel="icon" type="image/png" href="img/icons/32.png" sizes="32x32"> <link rel="icon" type="image/png" href="img/icons/32.png" sizes="32x32">
<link rel="icon" type="image/png" href="img/icons/64.png" sizes="64x64"> <link rel="icon" type="image/png" href="img/icons/64.png" sizes="64x64">
<link rel="icon" type="image/png" href="img/icons/128.png" sizes="128x128"> <link rel="icon" type="image/png" href="img/icons/128.png" sizes="128x128">
<link rel="icon" type="image/png" href="img/icons/256.png" sizes="256x256"> <link rel="icon" type="image/png" href="img/icons/256.png" sizes="256x256">
<link rel="icon" type="image/png" href="img/icons/512.png" sizes="512x512"> <link rel="icon" type="image/png" href="img/icons/512.png" sizes="512x512">
<meta name="author" content="Miraty">
<meta name="publisher" content="Antopie">
<meta name="distribution" content="global"> <meta name="distribution" content="global">
<meta name="robots" content="index, follow"> <meta name="robots" content="index, follow">
<meta name="keywords" content="antopie.org, Antopie">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="<?php echo $page['description']; ?>"> <meta name="description" content="<?php echo $page['description']; ?>">
<script src="bibli/konami.js"></script> <script src="bibli/konami.js"></script>
<script> <script>
var gomez = new Konami(function() { var div = document.getElementById('gomeza'), display = getComputedStyle(div, null).display; if(display == "block") { document.getElementById("gomeza").style.display = "none"; } else { document.getElementById("gomeza").style.display = "block"; }}); var gomez = new Konami(function() { var div = document.getElementById('gomeza'), display = getComputedStyle(div, null).display; if(display == "block") { document.getElementById("gomeza").style.display = "none"; } else { document.getElementById("gomeza").style.display = "block"; }});
</script> </script>
<?php require("bibli/lesserphp/lessc.inc.php"); <?php require_once "bibli/lesserphp/lessc.inc.php";
$less = new lessc; $less = new lessc;
$less->setFormatter("compressed"); $less->setFormatter("compressed");
$less->checkedCompile("style.less", "style.min.css"); ?> $less->checkedCompile("style.less", "style.min.css"); ?>
<link type="text/css" rel="stylesheet" href="style.min.css"> <link type="text/css" rel="stylesheet" href="style.min.css">
<?php $less = new lessc; <?php $less = new lessc;
$less->setFormatter("compressed"); $less->setFormatter("compressed");
$less->checkedCompile("bibli/gomez.css", "gomez.min.css"); ?> $less->checkedCompile("bibli/gomez/gomez.css", "bibli/gomez/gomez.min.css"); ?>
<link type="text/css" rel="stylesheet" href="gomez.min.css"> <link type="text/css" rel="stylesheet" href="bibli/gomez/gomez.min.css">
<link type="text/css" rel="stylesheet" href="bibli/fontello/css/fontello.css"> <link type="text/css" rel="stylesheet" href="bibli/fontello/css/fontello.css">
<link type="text/css" rel="stylesheet" href="bibli/ubuntu/ubuntu.min.css"> <link type="text/css" rel="stylesheet" href="bibli/ubuntu/ubuntu.min.css">
</head> </head>
<body lang="fr"> <body lang="fr">
<aside style="display:none;">
<img title="<?php
if (date('W', time())%2 == 0) {
echo "Bénis soient ses Sabots sacrés";
} else if (date('W', time())%2 == 1) {
echo "Bénis soient ses saints Sabots";
} else {
echo "Le Jour de l'Avoine et du Foin est arrivé !";
}
?>" id="LRI" src="img/lri.png">
</aside>
<header> <header>
<a id="lienHeader" href="."> <a id="lienHeader" href=".">
<div class="logo"><img src="img/antopiev5-600.png" width="80%" alt="Antopie" /></div> <div class="logo"><img src="img/antopiev5-500.png" alt="Antopie" /></div>
</a> </a>
</header> </header>
<main> <main>
<?php } ?>

View File

@ -3,16 +3,11 @@
<footer> <footer>
<div class="liensfooter centre"> <div class="liensfooter centre">
<div class="lienfooter"> <div class="lienfooter">
<a href="<?php formerUrlLocale("cgu"); ?>" class="bouton icon-balance-scale" > <a href="<?php formerUrlLocale("contact"); ?>" class="bouton">
Conditions d'utilisation Me contacter
</a> </a>
</div> </div>
<div class="lienfooter"> <!--
<a href="<?php echo clearnetOrOnion("https://code.antopie.org", "http://antcode5h4tntfei362x7eydifyxdjskjisv5pezk2othlh7oho2zhyd.onion"); ?>/miraty/web/" class="bouton icon-git" >
Code source
</a>
</div>
<?php if ($_SERVER['HTTP_HOST'] == "antopie.org") { ?> <?php if ($_SERVER['HTTP_HOST'] == "antopie.org") { ?>
<div class="lienfooter"> <div class="lienfooter">
<a href="http://antopieee25qeh4bvllwomq5pzrjmpvldbn2b653okyopkq5h7f7ilad.onion" class="bouton" > <a href="http://antopieee25qeh4bvllwomq5pzrjmpvldbn2b653okyopkq5h7f7ilad.onion" class="bouton" >
@ -28,62 +23,20 @@
</div> </div>
<?php } ?> <?php } ?>
-->
</div> </div>
<div class="interlude"> <div class="interlude">
<div class="traitinterlude"> <div class="traitinterlude">
<hr> <hr>
</div> </div>
</div> </div>
<div class="basfooter"> <div class="textefooter">
<div class="logofooter"> Fait avec <a href="https://datalove.fr/">datalove</a> par un·e <a href="https://anargeek.net/fr.html">anargeek</a> à Paris.<br>
<a class="ant" href="."> Le <a href="<?php echo clearnetOrOnion("https://code.antopie.org", "http://antcode5h4tntfei362x7eydifyxdjskjisv5pezk2othlh7oho2zhyd.onion"); ?>/miraty/web">code source de ce site</a> est publié sous <abbr title="GNU Affero General Public License version 3 ou toute version ultérieure"><a href="LICENSE.html">AGPLv3</a>+</abbr>.
<div> </div>
<br><br><br>
<?php
switch (mt_rand(1, 11)) {
case 1: ?>
Antièrement libre
<?php break;
case 2: ?>
100% indépendAnt
<?php break;
case 3: ?>
À l'Antipode des GAFAM
<?php break;
case 4: ?>
Anterrons le capitalisme
<?php break;
case 5: ?>
Pour la liberté d'Anternet !
<?php break;
case 6: ?>
Fourmidable !
<?php break;
case 7: ?>
Sans publicités gênAntes
<?php break;
case 8: ?>
FAntastique !
<?php break;
case 9: ?>
Un site fourmilitAnt
<?php break;
} ?> <div class="gomeza" id="gomeza" onclick='var div = document.getElementById("gomeza"), display = getComputedStyle(div, null).display; document.getElementById("gomeza").style.display = "none";'>
</div> <span class="gomez run"></span>
</a>
</div>
<div class="textefooter">
Fait avec <a href="https://datalove.fr/">datalove</a> par un·e <a href="https://anargeek.net/fr.html">anargeek</a> à Paris.<br>
Le <a href="<?php echo clearnetOrOnion("https://code.antopie.org", "http://antcode5h4tntfei362x7eydifyxdjskjisv5pezk2othlh7oho2zhyd.onion"); ?>/miraty/web">code source de ce site</a> est publié sous <a href="LICENSE.html"><abbr title="GNU Affero General Public License version 3 ou toute version ultérieure">AGPLv3+</abbr></a>.
<br>
Images A, Ant, Antopie et erreur 404 créées par Zarkaa sous <abbr title="Creative Commons - Attribution - Partage dans les mêmes conditions">CC BY-SA</abbr>.
</div>
<div class="gomeza" id="gomeza" onclick='var div = document.getElementById("gomeza"), display = getComputedStyle(div, null).display; document.getElementById("gomeza").style.display = "none";'>
<span class="gomez run"></span>
</div>
</div> </div>
</footer> </footer>
</body> </body>

View File

@ -1,30 +0,0 @@
<?php
switch ($adresse) {
case "index.php":
$page['titre'] = "Accueil";
$page['description'] = "Page d'accueil d'Antopie";
break;
case "404.php":
$page['titre'] = "Erreur 404";
$page['description'] = "Erreur 404 : la page que vous avez demandé n'existe pas";
break;
case "cgu.php":
$page['titre'] = "Conditions d'utilisation";
$page['description'] = "Conditions d'utilisation des services Antopie";
break;
case "navigateur.php":
$page['titre'] = "À propos du navigateur Web";
$page['description'] = "Obtennez des informations envoyées par votre navigateur Web telles que votre adresse IP, le site d'où vous venez, votre agent utilisateur, etc...";
break;
case "manifeste-sur-le-contenu.php":
$page['titre'] = "Manifeste sur le contenu";
$page['description'] = "Manifeste concernant le contenu hébergé par Antopie";
break;
case "details-techniques.php":
$page['titre'] = "Détails techniques";
$page['description'] = "Détails techniques sur l'infrastructure d'Antopie";
break;
default:
$page['titre'] = "Erreur : La page n'existe pas";
$page['description'] = "Erreur : La page n'existe pas";
}

61
inc/pages.php Executable file
View File

@ -0,0 +1,61 @@
<?php
$suffix = " · Antopie";
switch ($adresse) {
case "index":
$page['titre'] = "Antopie";
$page['description'] = "Page d'accueil d'Antopie";
$page['type'] = "centré";
break;
case "404":
$page['titre'] = "Erreur 404" . $suffix;
$page['description'] = "Erreur 404 : la page que vous avez demandé n'existe pas";
$page['type'] = "custom";
break;
case "cgu":
$page['titre'] = "Conditions générales d'utilisation" . $suffix;
$page['h1'] = "Conditions générales d'utilisation";
$page['description'] = "Conditions générales d'utilisation des services Antopie";
$page['type'] = "article";
break;
case "manifeste-sur-le-contenu":
$page['titre'] = "Manifeste sur le contenu" . $suffix;
$page['h1'] = "Manifeste sur le contenu";
$page['description'] = "Manifeste concernant le contenu hébergé par Antopie";
$page['type'] = "article";
break;
case "details-techniques":
$page['titre'] = "Détails techniques" . $suffix;
$page['h1'] = "Détails techniques sur l'infrastructure d'Antopie";
$page['description'] = "Détails techniques sur l'infrastructure d'Antopie";
$page['type'] = "article";
break;
case "contact":
$page['titre'] = "Me contacter" . $suffix;
$page['h1'] = "Me contacter";
$page['description'] = "Me contacter à propos d'Antopie";
$page['type'] = "article";
break;
case "nextcloud":
$page['titre'] = "Nextcloud" . $suffix;
$page['h1'] = "Nextcloud";
$page['description'] = "Aide pour utiliser le serveur Nextcloud d'Antopie";
$page['type'] = "article";
break;
case "courriel":
$page['titre'] = "Courriel" . $suffix;
$page['h1'] = "Comment utiliser mon adresse courriel Antopie ?";
$page['description'] = "Comment utiliser mon adresse courriel Antopie ?";
$page['type'] = "article";
break;
case "matrix":
$page['titre'] = "Utiliser Matrix" . $suffix;
$page['h1'] = "Utiliser Matrix";
$page['description'] = "Tutoriel pour apprendre à utiliser le protocol de communication Matrix";
$page['type'] = "article";
break;
default:
$page['titre'] = "Erreur : Le titre n'a pas été trouvé dans inc/pages.php" . $suffix;
$page['h1'] = "Erreur : Le titre n'a pas été trouvé dans inc/pages.php";
$page['description'] = "Erreur : La descripiton n'a pas été trouvée dans inc/pages.php";
$page['type'] = "article";
}

View File

@ -1,16 +1,16 @@
<?php <?php
// Les URL n'ont pas le .php sur le site d'Antopie // Les URL n'ont pas le .php sur le site d'Antopie
function formerUrlLocale($page) { function formerUrlLocale($page) {
if ($_SERVER['HTTP_HOST'] == "antopie.org" OR $_SERVER['HTTP_HOST'] == "antopieee25qeh4bvllwomq5pzrjmpvldbn2b653okyopkq5h7f7ilad.onion") { if ($_GET['as'] == "dns" OR $_GET['as'] == "onion") {
echo $page; echo $page;
} else { } else {
echo $page . ".php"; echo $page . ".html";
} }
} }
// Détermine si il faut utiliser les liens en .onion ou pas // Détermine si il faut utiliser les liens en .onion ou pas
function clearnetOrOnion($clearnetUrl, $onionUrl) { function clearnetOrOnion($clearnetUrl, $onionUrl) {
if ($_SERVER['HTTP_HOST'] == "antopieee25qeh4bvllwomq5pzrjmpvldbn2b653okyopkq5h7f7ilad.onion") { if ($_GET['as'] == "onion") {
return $onionUrl; return $onionUrl;
} else { } else {
return $clearnetUrl; return $clearnetUrl;

210
index.php
View File

@ -1,210 +0,0 @@
<?php include "inc/debut.php";
head("index.php"); ?>
<div id="pres">
<p>
Antopie propose des services Internet, administrés par et hébergés chez <a href="<?php echo clearnetOrOnion("https://miraty.antopie.org", "http://miratyww5h7xhki2ttodapygnukmnrywn4osw3d32llc4sggzmyso5id.onion"); ?>">Miraty</a> grâce à <a href="https://yunohost.org">YunoHost</a>.
</p>
<p>
Le compte <a rel="me" href="https://miaou.drycat.fr/@Antopie">@Antopie@miaou.drycat.fr</a> (<a href="https://miaou.drycat.fr/@Antopie.rss">RSS</a>) informe des pannes, mises à jour et nouveaux services.
</p>
<a href="<?php formerUrlLocale("manifeste-sur-le-contenu"); ?>" class="bouton">Manifeste sur le contenu</a>
<a href="<?php formerUrlLocale("details-techniques"); ?>" class="bouton">Détails techniques</a>
<a href="<?php formerUrlLocale("cgu"); ?>" class="bouton">Conditions d'utilisation</a>
</div>
<div id="pres-links">
</div>
<div id="services" class="grille-services">
<?php
$logoService = array(
'plume' => 'plume.png',
'peertube' => 'peertube.png',
'gitea' => 'gitea.png',
'libreqr' => 'qr.png',
'bitwarden' => 'bitwarden.png',
'nextcloud' => 'nextcloud.png',
'synapse' => 'matrix.png',
'riot' => 'riot.png',
'privatebin' => 'privatebin.png',
'jirafeau' => 'jirafeau.png',
'rssbridge' => 'rssbridge.png',
'searx' => 'searx.png',
'etherpad' => 'etherpad.png',
'diagrams' => 'diagrams.png',
'opensondage' => 'opensondage.png',
);
$urlService = array(
'plume' => clearnetOrOnion('https://blog.antopie.org', 'http://antblogn2vnc4hncjiow4jn7yidxe64l2o2qhj2tyla33jjhrrf5v2ad.onion'),
'peertube' => 'https://video.antopie.org',
'gitea' => clearnetOrOnion('https://code.antopie.org', 'http://antcode5h4tntfei362x7eydifyxdjskjisv5pezk2othlh7oho2zhyd.onion'),
'libreqr' => clearnetOrOnion('https://qr.antopie.org', 'http://libreqrh5gsyzaaexx4vwyp6k2sd5keg5svyj2gpbkhg7zzyjvswiiyd.onion'),
'bitwarden' => clearnetOrOnion('https://mdp.antopie.org', 'http://antmdpizuaquzfz5kzv3tz3k2funlcgma5gxtujxs5sl6z7wyk76x3qd.onion'),
'nextcloud' => 'https://nuage.antopie.org',
'synapse' => 'https://matrix.antopie.org',
'riot' => 'https://riot.antopie.org',
'privatebin' => clearnetOrOnion('https://texte.antopie.org', 'http://anttxt2u75lbrpl23szr6qtgzx5kkcz7larjmg24udwypceuslzel5qd.onion'),
'jirafeau' => clearnetOrOnion('https://up.antopie.org', 'http://antuplo4vcln7ftoatr5iualwb3py7ccii6t32gemzannhu4blj2xqid.onion'),
'rssbridge' => clearnetOrOnion('https://rss.antopie.org', 'http://antrssv5553pjemejxyszija6ceii4soc5ozk6pdj7y3vauzioavdkid.onion'),
'searx' => clearnetOrOnion('https://searx.antopie.org', 'http://antsrxhuvxylfgvu6c33m6gzlp3dsrxfnil7z3ppfya2vqvs4hkuy7qd.onion'),
'etherpad' => 'https://pad.antopie.org',
'diagrams' => 'https://draw.antopie.org',
'opensondage' => clearnetOrOnion('https://sondage.antopie.org', 'http://antaskuzziqjodxfighsptanvhrwmb7h5nsgjwei2dvvtsuqgjsaxvad.onion'),
);
$nomService = array(
'plume' => 'Plume',
'peertube' => 'PeerTube',
'gitea' => 'Gitea',
'libreqr' => 'LibreQR',
'bitwarden' => 'Bitwarden',
'nextcloud' => 'Nextcloud',
'synapse' => 'Synapse',
'riot' => 'Riot',
'privatebin' => 'PrivateBin',
'jirafeau' => 'Jirafeau',
'rssbridge' => 'RSS Bridge',
'searx' => 'Searx',
'etherpad' => 'Etherpad',
'diagrams' => 'Diagrammes',
'opensondage' => 'OpenSondage',
);
$infoThemeService = array(
'plume' => 'Thème sombre & rouge',
'peertube' => 'Thème rouge',
'gitea' => 'Thème sombre',
'libreqr' => 'Thème sombre',
'bitwarden' => NULL,
'nextcloud' => 'Thème sombre',
'synapse' => NULL,
'riot' => NULL,
'privatebin' => 'Thème sombre',
'jirafeau' => 'Thème sombre',
'rssbridge' => 'Thème sombre & rouge',
'searx' => 'Thème sombre',
'etherpad' => NULL,
'diagrams' => NULL,
'opensondage' => NULL,
);
$descService = array(
'plume' => 'Créez simplement un blog qui sera accessible via le Web, le <a href="https://fr.wikipedia.org/wiki/Fediverse">Fédiverse</a> et un flux <a href="https://fr.wikipedia.org/wiki/Atom_Syndication_Format">Atom</a>.',
'peertube' => 'Regardez ou publiez des vidéos sur le <a href="https://fr.wikipedia.org/wiki/Fediverse">Fédiverse</a> en <a href="https://fr.wikipedia.org/wiki/Pair_%C3%A0_pair">pair à pair</a>.',
'gitea' => '<a href="https://fr.wikipedia.org/wiki/Forge_(informatique)">Forge logicielle</a> simple basée sur <a href="https://fr.wikipedia.org/wiki/Git">Git</a>.',
'libreqr' => "Un générateur de <a href='https://fr.wikipedia.org/wiki/Code_QR'>codes QR</a> fait maison.",
'bitwarden' => 'Générez, enregistrez et synchronisez des mots ou phrases de passe fortes.',
'nextcloud' => 'Synchronisation de fichiers, de contacts (<a href="https://fr.wikipedia.org/wiki/CardDAV">CardDAV</a>), dagenda (<a href="https://fr.wikipedia.org/wiki/CalDAV">CalDAV</a>), <a href="https://getcarnet.app/">Carnet</a> , et plein dautres fonctionnalités grâce à des extensions.',
'synapse' => 'Un serveur <a href="https://fr.wikipedia.org/wiki/Matrix_(protocole)">Matrix</a>, qui est un protocole internet moderne pour la communication écrite, audio ou vidéo.',
'riot' => 'Client Web pour <a href="https://fr.wikipedia.org/wiki/Matrix_(protocole)">Matrix</a>.',
'privatebin' => 'Partagez des textes, codes sources ou <a href="https://fr.wikipedia.org/wiki/Markdown">Markdown</a> rapidement.',
'jirafeau' => 'Partagez rapidement nimporte quel fichier avec nimporte qui.',
'rssbridge' => 'Exportez les données de centaines de sites aux formats <a href="https://fr.wikipedia.org/wiki/Atom_Syndication_Format">Atom</a>, <a href="https://fr.wikipedia.org/wiki/JavaScript_Object_Notation">JSON</a>, <a href="https://fr.wikipedia.org/wiki/Hypertext_Markup_Language">HTML</a>, Mrss ou texte.',
'searx' => '<a href="https://fr.wikipedia.org/wiki/M%C3%A9tamoteur">Métamoteur</a> anonymé : combine plusieurs moteurs de recherche sur une seule page.',
'etherpad' => 'Éditez un texte sur plusieurs appareils en même temps. Utilisable avec <a href="https://pad.antopie.org/mypads/">MyPads</a>.',
'diagrams' => 'Créez des graphiques pour représenter des idées.',
'opensondage' => 'Planifiez un rendez-vous ou prenez des décisions.'
);
$siteOfficielService = array(
'plume' => 'joinplu.me',
'peertube' => 'joinpeertube.org',
'gitea' => 'gitea.io',
'libreqr' => NULL,
'bitwarden' => 'bitwarden.com',
'nextcloud' => 'nextcloud.com/fr_FR',
'synapse' => NULL,
'riot' => 'about.riot.im',
'privatebin' => 'privatebin.info',
'jirafeau' => NULL,
'rssbridge' => NULL,
'searx' => 'asciimoo.github.io/searx',
'etherpad' => 'etherpad.org',
'diagrams' => 'www.diagrams.net',
'opensondage' => NULL,
);
$gitService = array(
'plume' => 'github.com/Plume-org/Plume',
'peertube' => 'github.com/Chocobozzz/PeerTube',
'gitea' => 'github.com/go-gitea/gitea',
'libreqr' => 'code.antopie.org/miraty/libreqr',
'bitwarden' => 'github.com/dani-garcia/bitwarden_rs',
'nextcloud' => 'github.com/nextcloud/server',
'synapse' => 'github.com/matrix-org/synapse',
'riot' => 'github.com/vector-im/riot-web',
'privatebin' => 'github.com/PrivateBin/PrivateBin',
'jirafeau' => 'gitlab.com/mojo42/Jirafeau',
'rssbridge' => 'github.com/rss-bridge/rss-bridge',
'searx' => 'github.com/asciimoo/searx',
'etherpad' => 'github.com/ether/etherpad-lite',
'diagrams' => 'github.com/jgraph/drawio',
'opensondage' => 'framagit.org/framasoft/framadate/framadate'
);
$paquetYnhService = array(
'plume' => 'github.com/YunoHost-Apps/plume_ynh',
'peertube' => 'github.com/YunoHost-Apps/peertube_ynh',
'gitea' => 'github.com/YunoHost-Apps/gitea_ynh',
'libreqr' => 'code.antopie.org/miraty/qr_ynh',
'bitwarden' => 'github.com/YunoHost-Apps/bitwarden_ynh',
'nextcloud' => 'github.com/YunoHost-Apps/nextcloud_ynh',
'synapse' => 'github.com/YunoHost-Apps/synapse_ynh',
'riot' => 'github.com/YunoHost-Apps/riot_ynh',
'privatebin' => 'github.com/YunoHost-Apps/zerobin_ynh',
'jirafeau' => 'github.com/YunoHost-Apps/jirafeau_ynh',
'rssbridge' => 'github.com/YunoHost-Apps/rss-bridge_ynh',
'searx' => 'github.com/YunoHost-Apps/searx_ynh',
'etherpad' => 'github.com/YunoHost-Apps/etherpad_mypads_ynh',
'diagrams' => 'github.com/YunoHost-Apps/diagramsnet_ynh',
'opensondage' => 'github.com/YunoHost-Apps/opensondage_ynh',
);
foreach($descService as $codeService => $descService) { ?>
<div>
<div class="zoneLien">
<a class="lienService" href="<?= $urlService[$codeService] ?><?php if ($codeService == "synapse") { echo "/_matrix/static/"; } ?>">
<div class="logoService"><img class="elLogoServ" src="img/logos/<?= $logoService[$codeService] ?>" alt=""/></div>
<div class="titreService"><?= $nomService[$codeService] ?></div>
<!--<div class="urlService"><?= $urlService[$codeService] ?></div>-->
</a>
</div>
<div class="descService"><?= $descService ?></div>
<div class="themeService"><?php if (!is_null($infoThemeService[$codeService])) { ?>· <?= $infoThemeService[$codeService] ?> ·<?php } ?></div>
<div class="metasService">
<?php if (!is_null($siteOfficielService[$codeService])) {
echo '<a class="icon-home metaService" aria-label="Site officiel" title="Site officiel de ' . $nomService[$codeService] . '" href="https://' . $siteOfficielService[$codeService] . '"></a>';
} ?>
<a class="icon-git metaService" aria-label="Code source" title="Code source de <?= $nomService[$codeService] ?>" href="https://<?= $gitService[$codeService] ?>"></a>
<a class="icon-ynh metaService" aria-label="Paquet YunoHost" title="Paquet YunoHost de <?= $nomService[$codeService] ?>" href="https://<?= $paquetYnhService[$codeService] ?>"></a></div>
</div>
<?php } ?>
</div>
<br>
<p>
Vous trouverez également votre IP, agent utilisateur, référent HTTP et langues demandées sur <a href="<?php formerUrlLocale("navigateur"); ?>">cette page</a>.
</p>
<p>
Antopie n'a pas besoin de dons pour être financée, si vous avez toutefois suffisamment d'argent, vous pouvez par exemple <a href="https://www.laquadrature.net/donner/">soutenir La Quadrature du Net</a>, <a href="https://joinpeertube.org/roadmap">la v3 de PeerTube</a> ou un projet libre sur <a href="https://liberapay.com/explore/">Liberapay</a>.
</p>
<address id="contact">
Vous pouvez me contacter par mail : <a href="mailto:miraty+web@antopie.org">miraty+web@antopie.org</a>, le Fédiverse : <a href="https://plero.antopie.org/miraty" rel="me">@miraty@plero.antopie.org</a> ou Matrix : @miraty:matrix.antopie.org.
</address>
<?php include "inc/footer.php"; ?>

View File

@ -1,67 +0,0 @@
<?php include "inc/debut.php";
head("manifeste-sur-le-contenu.php"); ?>
<h1>Manifeste sur le contenu</h1>
<article>
Antopie refuse d'héberger du contenu soutenant une vision du monde droitiste. Cela inclut :
<ul>
<li>Fascisme, racisme, capacitisme, essentialisme</li>
<li>Capitalisme, publicité</li>
<li>Sexisme, homophobie, transphobie</li>
<li>Théisme, conspirationnisme, spiritualisme</li>
</ul>
Antopie encourage la diffusion d'idées gauchistes. Cela inclut :
<ul>
<li>Librisme, datalove, kopimisme</li>
<li>Anarchisme, communisme, socialisme</li>
<li>Féminisme, queer</li>
<li>Écologisme, véganisme, décroissance</li>
<li>Éducation populaire, pensée critique</li>
</ul>
<p>
L'utilisation de licences libres est encouragée.
</p>
<p style="font-weight: bold;">
Les contenus qui n'ont pas spécifiquement d'impact politique sont également les bienvenus.
</p>
<p>
Ces règles s'appliquent principalement aux contenus hébergés publiquement par Antopie sur <a href="https://video.antopie.org">PeerTube</a> et <a href="<?php echo clearnetOrOnion("https://blog.antopie.org", "http://antblogn2vnc4hncjiow4jn7yidxe64l2o2qhj2tyla33jjhrrf5v2ad.onion"); ?>">Plume</a>.
</p>
<p>
Les contenus accessibles par la fédération ou par une URL communiquée en privé sont moins concernés pas ce manifeste.
</p>
<p>
Ces règles sont édictées pour que vous puissiez vous faire une idée de la modération et du but d'Antopie. Il ne s'agit pas d'une vérité absolue. Je garde ma liberté de ne pas modérer ou de modérer pour d'autres raisons.
</p>
<h2>Ce n'est pas une atteinte à la liberté d'expression</h2>
<p>
Internet est un réseau libre et vous y dites ce que vous voulez. Cependant quand vous publiez du contenu par le serveur de quelqu'un d'autre, c'est aux yeux d'Internet cette personne qui s'exprime à votre place.
</p>
<p>
On peut comparer l'hébergement Internet à l'hébergement dans son sens original : vous êtes ici chez moi. Je permet à d'autres de venir discuter chez moi. Mais je ne souhaite pas que vous veniez chez moi pour dire des bêtises. Dans ce cas, je vous invite plutôt à <del>vous taire</del> aller dans une autre maison ou construire la vôtre.
</p>
<p>
L'avantage d'Internet étant que l'on peut passer très rapidement d'une maison à l'autre.
</p>
<p>
Cette comparaison fonctionne surtout car Antopie utilise des logiciels libres : avec des logiciels privateurs, vous ne pouvez pas construire votre propre maison.
</p>
</article>
<?php include "inc/footer.php"; ?>

View File

@ -1,84 +0,0 @@
<?php if (!isset($_GET["afficherUniquement"])) {
include "inc/debut.php";
head("navigateur.php"); ?>
<h1>Informations de votre navigateur Web</h1>
<p>
<h2>Votre adresse IP</h2>
Votre adresse IP est : <code><?php echo htmlspecialchars($_SERVER['REMOTE_ADDR']); ?></code>
<br><br>
<span class="icon-info texte-secondaire"> Une adresse IP (IP pour Internet Protocol) est une information permettant d'identifier un ordinateur. Elle est utilisée pour n'importe quel échange sur internet.</span>
</p>
<p>
<h2>Votre référent HTTP</h2>
<?php if (!isset($_SERVER['HTTP_REFERER'])) { ?>
Votre navigateur n'a pas envoyé de <a href="https://fr.wikipedia.org/wiki/R%C3%A9f%C3%A9rent_(informatique)">référent HTTP</a> (HTTP referer).
<?php } else { ?>
Votre <a href="https://fr.wikipedia.org/wiki/R%C3%A9f%C3%A9rent_(informatique)">référent HTTP</a> (HTTP referer) est : <code><?php echo htmlspecialchars($_SERVER['HTTP_REFERER']); ?></code>
<?php } ?>
<br><br>
<span class="icon-info texte-secondaire"> Un référent HTTP est une information envoyée par votre navigateur indiquant au site sur quelle page vous vous trouviez avant d'utiliser le lien qui vous a conduit ici.</span>
<br>
</p>
<p>
<h2>Votre agent utilisateur</h2>
L'<a href="https://fr.wikipedia.org/wiki/User_agent">agent utilisateur</a> (user agent) envoyé par votre navigateur est : <code><?php echo htmlspecialchars($_SERVER['HTTP_USER_AGENT']); ?></code>
<br><br>
<span class="icon-info texte-secondaire"> Un agent utilisateur est une information envoyée par votre navigateur indiquant au site diverses informations sur vous. Il peut contenir votre système d'exploitation, votre navigateur, sa version et votre langue.</span>
</p>
<p>
<h2>Langues demandées</h2>
Votre navigateur a demandé la ou les langue·s suivante·s : <code><?php echo htmlspecialchars($_SERVER['HTTP_ACCEPT_LANGUAGE']); ?></code>
<br><br>
<span class="icon-info texte-secondaire"> Votre navigateur envoie aux pages qu'il visite la liste des langues que vous êtes censé·e pouvoir lire (généralement en se basant sur la langue de son interface).</span>
</p>
<?php include "inc/footer.php";
} else if (isset($_GET["afficherUniquement"]) AND $_GET["afficherUniquement"] == "ip") {
echo htmlspecialchars($_SERVER['REMOTE_ADDR']);
} else if (isset($_GET["afficherUniquement"]) AND $_GET["afficherUniquement"] == "agentUtilisateur") {
echo htmlspecialchars($_SERVER['HTTP_USER_AGENT']);
} else if (isset($_GET["afficherUniquement"]) AND $_GET["afficherUniquement"] == "agentIp") {
echo htmlspecialchars($_SERVER['REMOTE_ADDR']);
echo "<br>";
echo htmlspecialchars($_SERVER['HTTP_USER_AGENT']);
} else {
echo "Erreur : Mauvais argument·s";
}

6
pages/404.md Normal file
View File

@ -0,0 +1,6 @@
![Erreur 404](img/404fourmie.png){#img404}
La page à laquelle vous avez tenté d'accéder a été Antièrement dévorée par une armée de fourmis affamées !
[Page d'accueil](.){.bouton}

View File

@ -0,0 +1,12 @@
Cette page liste d'autres initiative de décentraliser et décommercialiser Internet.
<a href="<?= clearnetOrOnion('https://snopyta.org/', 'http://cct5wy6mzgmft24xzw6zeaf55aaqmo6324gjlsghdhbiw5gdaaf4pkad.onion/') ?>">Snopyta</a>
<a href="https://www.drycat.fr/">DryCat</a>
<a href="<?= clearnetOrOnion('https://riseup.net/', 'http://vww6ybal4bd7szmgncyruucpgfkqahzddi37ktceo3ah7ngmcopnpyyd.onion/') ?>">riseup.net</a>
<a href="<?= clearnetOrOnion('https://nixnet.services/', 'http://l4qlywnpwqsluw65ts7md3khrivpirse744un3x7mlskqauz5pyuzgqd.onion/') ?>">NixNet</a>
<a href="https://disroot.org/">Disroot</a>
<a href="https://acab.io/">ACAB.IO</a>
<a href="https://42l.fr/">42l</a>
<a href="https://tedomum.net/">TeDomum</a>
<a href="https://www.infini.fr/">Infini</a>
<a href="https://hostux.network/">Hostux</a>

28
pages/cgu.md Normal file
View File

@ -0,0 +1,28 @@
## Préambule
L'utilisation des services <span style="color: red;">Antopie</span> vous lie aux conditions suivantes.
<span style="color: red;">Antopie</span> se réserve le droit de mettre à jour et modifier ces conditions à tout moment.
Ces conditions sont dérivées de [celles de Framasoft](https://framasoft.org/fr/cgu/).
## Conditions des services
* Vous êtes responsable de la sécurité de votre compte et de votre mot de passe.
* Vous êtes responsable de tout contenu affiché et de lactivité qui se produit sous votre compte.
* Vous ne pouvez pas vendre, échanger ou exploiter dans un but commercial un compte du service utilisé.
* Léchec d'<span style="color: red;">Antopie</span> à exercer ou à appliquer tout droit ou disposition des Conditions dutilisation ne constitue pas une renonciation à ce droit ou à cette disposition.
* Les conditions d'utilisation actuelles remplacent les anciennes versions.
* Vous ne devez pas tenter de nuire aux services <span style="color: red;">Antopie</span> ou à celleux les utilisant.
* Les services étant hébergés en France par une personne de nationnalité française, vous devez respecter au moins la législation en vigueur en France.
* Savoir orthographier correctement le mot « spatule » n'est pas nécessaire pour utiliser les services <span style="color: red;">Antopie</span>.
## Garantie
* <span style="color: red;">Antopie</span> se dégage de toutes responsabilités dans la limite de la loi.
* <span style="color: red;">Antopie</span> se réserve le droit, à tout moment de modifier ou dinterrompre, temporairement ou définitivement, le service avec ou sans préavis.
## Données personnelles
* Conformément à larticle 34 de la loi « Informatique et Libertés », <span style="color: red;">Antopie</span> garantit à lutilisateurice un droit dopposition, daccès et de rectification sur les données nominatives læ concernant. L'utilisateurice a la possibilité dexercer ce droit en envoyant un [email](mailto:miraty+legal@antopie.org) à l'admin.
* Malgré ce que certaines interfaces pourraient laisser penser, il n'est jamais nécessaire de révéler votre identité pour utiliser les services.
* Tout comme dautres services en ligne, <span style="color: red;">Antopie</span> enregistre automatiquement certaines informations concernant votre utilisation du service (exemple : type de navigateur, adresse IP, date et heure de laccès, URL de référence).
Ces données ne sont ni vendues, ni transmises à des tiers, dans la limite de la loi.

5
pages/contact.md Normal file
View File

@ -0,0 +1,5 @@
Vous pouvez me contacter par l'un des moyens suivants :
* Mail : [miraty+antopie@antopie.org](mailto:miraty+antopie@antopie.org)
OpenPGP : [`B16B 12A8 957B 2EC7 9659 04A6 B82D 15F0 3E67 B2B5`](<?= clearnetOrOnion("https://miraty.antopie.org", "http://miratyww5h7xhki2ttodapygnukmnrywn4osw3d32llc4sggzmyso5id.onion") ?>/B16B12A8957B2EC7965904A6B82D15F03E67B2B5.asc)
* Matrix : @miraty:matrix.antopie.org
* Fédiverse : [@miraty@plero.antopie.org](https://plero.antopie.org/miraty)

55
pages/courriel.md Normal file
View File

@ -0,0 +1,55 @@
Cette page de concerne que les personnes pour lesquelles j'ai manuellement créé un compte interne. Ce service n'est pas ouvert au public.
## Webmail Roundcube
[https://mail.antopie.org](https://mail.antopie.org)
Connectez vous avec vos identifiants YunoHost.
Lors de votre première connexion, Roundcube vous demandera votre adresse mail.
Changez `pseudo@localhost` en `pseudo@antopie.org` puis validez.
## Sur son PC, avec Thunderbird
### Installer Thunderbird
#### Linux
Le paquet `thunderbird` devrait être disponible. Si l'interface est en anglais, installer aussi le paquet de langue (`thunderbird-locale-fr` sous Debian/Ubuntu)
#### Partout
Télécharger sur [le site officiel](https://www.thunderbird.net).
### Configurer Thunderbird
Lors du premier démarrage, Thunderbird demande automatiquement à configurer un nouveau compte. Si vous avez déjà une installation de Thunderbird avec un autre compte mail, faites clic droit sur l'adresse du compte, paramètres, gestion des comptes, ajouter un compte de messagerie.
Renseignez les 3 premiers champs (le mot de passe est le même que celui pour accéder à [https://yuno.antopie.org](https://yuno.antopie.org)), puis cliquer sur "Configuration avancée".
Ensuite remplir les champs comme dans l'image ci-dessous :
![config-thunderbird.png](img/docs/config-thunderbird.png)
Puis cliquer sur "Terminé".
## Sur Android, avec K9-Material
### Installer F-Droid
F-Droid est un dépôt de logiciels libres et une application pour Android. En l'installant, elle vous permettra de facilement installer et mettre à jour des logiciels libres sur votre système Android.
Si ce n'est pas déjà fait, téléchargez l'APK d'F-Droid depuis [le site officiel](https://f-droid.org/), puis le lancer. Android demandera peut-être à autoriser votre navigateur à installer des applications, faites-le.
Ne désinstallez pas F-Droid, sinon toutes les applications que vous avez installées avec ne seront plus mises à jour !
### Installer K9 Material
K9 Material est un client mail pour Android, qui fourni une interface plus jolie à K9.
Pour l'installer, rechercher son nom dans F-Droid puis cliquer sur le bouton Télécharger ou Installer.
Ouvrir l'application et cliquer sur ajouter un nouveau compte, renseigner son adresse mail et son mot de passe, puis valider. Remplir ensuite les champs comme ils sont remplis ci-dessous.
![k9-imap-300.png](img/docs/k9-imap-300.png) ![k9-smtp-300.png](img/docs/k9-smtp-300.png)
Choisissez la fréquence de récupération du dossier (tous les combiens de temps K9 devra vérifier si vous avez reçu de nouveau messages ? ; choisir "Toutes les minutes" consommera plus de batterie).
Ce tutoriel a été aidé par [la documentation de YunoHost](https://yunohost.org/#/email_configure_client_fr).

View File

@ -0,0 +1,38 @@
*[FTTH]: Fiber To The Home
*[FAI]: Fournisseur d'Accès à Internet
*[DNSSEC]: Domain Name System Security Extensions
*[HSTS]: HTTP Strict Transport Security
## Matériel
Une tour nommée Pastèque avec :
* 12 Go de RAM
* Disque dur d'1,5 To
* Intel Core i5 64 bits 4 cœurs 3.4GHz
## Système
[YunoHost](https://yunohost.org) 3.8 (basé sur [Debian](https://www.debian.org) 9) et son écosystème : Nginx, Postfix, Fail2ban...
## DNS
Le domaine `antopie.org` est enregistré chez [Gandi](https://gandi.net) et administré sur leur interface Web LiveDNS.
[DNSSEC](https://fr.wikipedia.org/wiki/Domain_Name_System_Security_Extensions) est activé dessus.
Il est enregistré dans la [HSTS Preload List](https://hstspreload.org).
## Internet
Pastèque est connectée à Internet via une connexion du FAI Free en fibre optique (FTTH) à Paris.
Le débit maximal disponible varie entre 50 Mo/s (400 Mbit/s) et 100 Mo/s (800 Mbit/s).
Adresse IPv6 : `2a01:e34:ec23:b760:5604:a6ff:fec4:58bd`
Adresse IPv4 : `78.194.59.118`
## Sauvegarde
Des sauvegardes sont faites régulièrement avec le [système intégré à YunoHost](https://yunohost.org/#/backup).
PeerTube et Nextcloud ne sont pas sauvegardées car cela prendrait trop de place.
Les sauvegardes sont copiées sur un disque dans la même pièce.
## Relai Tor
Pastèque héberge aussi [un relai Tor](https://metrics.torproject.org/rs.html#details/BE8737597F2E6B4F805893202C935125829A902E).

206
pages/index.md Normal file
View File

@ -0,0 +1,206 @@
*[RSS]: Really Simple Syndication
*[v3]: version 3
Antopie propose des services Internet, administrés par et hébergés chez [Miraty](<?php echo clearnetOrOnion('https://miraty.antopie.org', 'http://miratyww5h7xhki2ttodapygnukmnrywn4osw3d32llc4sggzmyso5id.onion'); ?>) grâce à [YunoHost](https://yunohost.org).
Le compte <a href="https://miaou.drycat.fr/@Antopie" rel="me">@Antopie@miaou.drycat.fr</a> ([RSS](https://miaou.drycat.fr/@Antopie.rss)) informe des pannes, mises à jour et nouveaux services.
[Manifeste sur le contenu](<?php formerUrlLocale('manifeste-sur-le-contenu'); ?>) {.bouton} [Détails techniques](<?php formerUrlLocale('details-techniques'); ?>) {.bouton} [Conditions d'utilisation](<?php formerUrlLocale('cgu'); ?>) {.bouton}
<div id="services" class="grille-services">
<?php
$logoService = array(
'plume' => 'plume.png',
'peertube' => 'peertube.png',
'gitea' => 'gitea.png',
'libreqr' => 'libreqr.png',
'bitwarden' => 'bitwarden.png',
'nextcloud' => 'nextcloud.png',
'synapse' => 'matrix.png',
'riot' => 'riot.png',
'privatebin' => 'privatebin.png',
'jirafeau' => 'jirafeau.png',
'rssbridge' => 'rssbridge.png',
'searx' => 'searx.png',
'etherpad' => 'etherpad.png',
'diagrams' => 'diagrams.png',
'opensondage' => 'opensondage.png',
'iprefua' => NULL,
);
$urlService = array(
'plume' => clearnetOrOnion('https://blog.antopie.org', 'http://antblogn2vnc4hncjiow4jn7yidxe64l2o2qhj2tyla33jjhrrf5v2ad.onion'),
'peertube' => 'https://video.antopie.org',
'gitea' => clearnetOrOnion('https://code.antopie.org', 'http://antcode5h4tntfei362x7eydifyxdjskjisv5pezk2othlh7oho2zhyd.onion'),
'libreqr' => clearnetOrOnion('https://qr.antopie.org', 'http://libreqrh5gsyzaaexx4vwyp6k2sd5keg5svyj2gpbkhg7zzyjvswiiyd.onion'),
'bitwarden' => clearnetOrOnion('https://mdp.antopie.org', 'http://antmdpizuaquzfz5kzv3tz3k2funlcgma5gxtujxs5sl6z7wyk76x3qd.onion'),
'nextcloud' => 'https://nuage.antopie.org',
'synapse' => 'https://matrix.antopie.org',
'riot' => 'https://riot.antopie.org',
'privatebin' => clearnetOrOnion('https://texte.antopie.org', 'http://anttxt2u75lbrpl23szr6qtgzx5kkcz7larjmg24udwypceuslzel5qd.onion'),
'jirafeau' => clearnetOrOnion('https://up.antopie.org', 'http://antuplo4vcln7ftoatr5iualwb3py7ccii6t32gemzannhu4blj2xqid.onion'),
'rssbridge' => clearnetOrOnion('https://rss.antopie.org', 'http://antrssv5553pjemejxyszija6ceii4soc5ozk6pdj7y3vauzioavdkid.onion'),
'searx' => clearnetOrOnion('https://searx.antopie.org', 'http://antsrxhuvxylfgvu6c33m6gzlp3dsrxfnil7z3ppfya2vqvs4hkuy7qd.onion'),
'etherpad' => 'https://pad.antopie.org',
'diagrams' => 'https://draw.antopie.org',
'opensondage' => clearnetOrOnion('https://sondage.antopie.org', 'http://antaskuzziqjodxfighsptanvhrwmb7h5nsgjwei2dvvtsuqgjsaxvad.onion'),
'iprefua' => 'https://ip.antopie.org',
);
$nomService = array(
'plume' => 'Plume',
'peertube' => 'PeerTube',
'gitea' => 'Gitea',
'libreqr' => 'LibreQR',
'bitwarden' => 'Bitwarden',
'nextcloud' => 'Nextcloud',
'synapse' => 'Synapse',
'riot' => 'Riot',
'privatebin' => 'PrivateBin',
'jirafeau' => 'Jirafeau',
'rssbridge' => 'RSS Bridge',
'searx' => 'Searx',
'etherpad' => 'Etherpad',
'diagrams' => 'Diagrammes',
'opensondage' => 'OpenSondage',
'iprefua' => 'Iprefua',
);
$descService = array(
'plume' => 'Créez simplement un blog qui sera accessible via le Web, le <a href="https://fr.wikipedia.org/wiki/Fediverse">Fédiverse</a> et un flux <a href="https://fr.wikipedia.org/wiki/Atom_Syndication_Format">Atom</a>.',
'peertube' => 'Regardez ou publiez des vidéos sur le <a href="https://fr.wikipedia.org/wiki/Fediverse">Fédiverse</a> en <a href="https://fr.wikipedia.org/wiki/Pair_%C3%A0_pair">pair à pair</a>.',
'gitea' => '<a href="https://fr.wikipedia.org/wiki/Forge_(informatique)">Forge logicielle</a> simple basée sur <a href="https://fr.wikipedia.org/wiki/Git">Git</a>.',
'libreqr' => 'Un générateur de <a href="https://fr.wikipedia.org/wiki/Code_QR">codes QR</a> fait maison.',
'bitwarden' => 'Générez, enregistrez et synchronisez des mots ou phrases de passe fortes.',
'nextcloud' => 'Synchronisation de fichiers, de contacts (<a href="https://fr.wikipedia.org/wiki/CardDAV">CardDAV</a>), dagenda (<a href="https://fr.wikipedia.org/wiki/CalDAV">CalDAV</a>), <a href="https://getcarnet.app/">Carnet</a> , et plein dautres fonctionnalités grâce à des extensions.',
'synapse' => 'Un serveur <a href="https://fr.wikipedia.org/wiki/Matrix_(protocole)">Matrix</a>, qui est un protocole internet moderne pour la communication écrite, audio ou vidéo.<div class="centre"><code>matrix.antopie.org</code></div>',
'riot' => 'Client Web pour <a href="https://fr.wikipedia.org/wiki/Matrix_(protocole)">Matrix</a>.',
'privatebin' => 'Partagez des textes, codes sources ou <a href="https://fr.wikipedia.org/wiki/Markdown">Markdown</a> rapidement.',
'jirafeau' => 'Partagez rapidement nimporte quel fichier avec nimporte qui.',
'rssbridge' => 'Exportez les données de centaines de sites aux formats <a href="https://fr.wikipedia.org/wiki/Atom_Syndication_Format">Atom</a>, <a href="https://fr.wikipedia.org/wiki/JavaScript_Object_Notation">JSON</a>, <a href="https://fr.wikipedia.org/wiki/Hypertext_Markup_Language">HTML</a>, Mrss ou texte.',
'searx' => '<a href="https://fr.wikipedia.org/wiki/M%C3%A9tamoteur">Métamoteur</a> anonymé : combine plusieurs moteurs de recherche sur une seule page.',
'etherpad' => 'Éditez un texte sur plusieurs appareils en même temps. Utilisable avec <a href="https://pad.antopie.org/mypads/">MyPads</a>.',
'diagrams' => 'Créez des diagrammes.',
'opensondage' => 'Planifiez un rendez-vous ou prenez des décisions.',
'iprefua' => 'Afficher adresse IP, agent utilisateur, référent HTTP et langues demandées.',
);
$siteOfficielService = array(
'plume' => 'joinplu.me',
'peertube' => 'joinpeertube.org',
'gitea' => 'gitea.io',
'libreqr' => NULL,
'bitwarden' => 'bitwarden.com',
'nextcloud' => 'nextcloud.com/fr_FR',
'synapse' => NULL,
'riot' => 'about.riot.im',
'privatebin' => 'privatebin.info',
'jirafeau' => NULL,
'rssbridge' => NULL,
'searx' => 'asciimoo.github.io/searx',
'etherpad' => 'etherpad.org',
'diagrams' => 'www.diagrams.net',
'opensondage' => NULL,
'iprefua' => NULL,
);
$gitService = array(
'plume' => 'git.joinplu.me/plume/plume',
'peertube' => 'github.com/Chocobozzz/PeerTube',
'gitea' => 'github.com/go-gitea/gitea',
'libreqr' => 'code.antopie.org/miraty/libreqr',
'bitwarden' => 'github.com/dani-garcia/bitwarden_rs',
'nextcloud' => 'github.com/nextcloud/server',
'synapse' => 'github.com/matrix-org/synapse',
'riot' => 'github.com/vector-im/riot-web',
'privatebin' => 'github.com/PrivateBin/PrivateBin',
'jirafeau' => 'gitlab.com/mojo42/Jirafeau',
'rssbridge' => 'github.com/rss-bridge/rss-bridge',
'searx' => 'github.com/asciimoo/searx',
'etherpad' => 'github.com/ether/etherpad-lite',
'diagrams' => 'github.com/jgraph/drawio',
'opensondage' => 'framagit.org/framasoft/framadate/framadate',
'iprefua' => 'code.antopie.org/miraty/iprefua',
);
$paquetYnhService = array(
'plume' => 'github.com/YunoHost-Apps/plume_ynh',
'peertube' => 'github.com/YunoHost-Apps/peertube_ynh',
'gitea' => 'github.com/YunoHost-Apps/gitea_ynh',
'libreqr' => 'code.antopie.org/miraty/qr_ynh',
'bitwarden' => 'github.com/YunoHost-Apps/bitwarden_ynh',
'nextcloud' => 'github.com/YunoHost-Apps/nextcloud_ynh',
'synapse' => 'github.com/YunoHost-Apps/synapse_ynh',
'riot' => 'github.com/YunoHost-Apps/riot_ynh',
'privatebin' => 'github.com/YunoHost-Apps/zerobin_ynh',
'jirafeau' => 'github.com/YunoHost-Apps/jirafeau_ynh',
'rssbridge' => 'github.com/YunoHost-Apps/rss-bridge_ynh',
'searx' => 'github.com/YunoHost-Apps/searx_ynh',
'etherpad' => 'github.com/YunoHost-Apps/etherpad_mypads_ynh',
'diagrams' => 'github.com/YunoHost-Apps/diagramsnet_ynh',
'opensondage' => 'github.com/YunoHost-Apps/opensondage_ynh',
'iprefua' => 'github.com/YunoHost-Apps/multi_webapp_ynh',
);
$actionService = array(
'plume' => 'Bloguer',
'peertube' => 'Accéder au service',
'gitea' => 'Coder',
'libreqr' => 'Accéder au service',
'bitwarden' => 'Accéder au service',
'nextcloud' => 'Accéder au service',
'synapse' => "Plus d'infos",
'riot' => 'Clavarder',
'privatebin' => 'Téléverser du texte',
'jirafeau' => 'Téléverser un fichier',
'rssbridge' => 'Bridger',
'searx' => 'Rechercher',
'etherpad' => 'Créer un nouveau pad',
'diagrams' => 'Accéder au service',
'opensondage' => 'Créer un sondage',
'iprefua' => 'Accéder au service',
);
$aboutService = array(
'plume' => NULL,
'peertube' => NULL,
'gitea' => NULL,
'libreqr' => NULL,
'bitwarden' => NULL,
'nextcloud' => 'nextcloud',
'synapse' => NULL,
'riot' => NULL,
'privatebin' => NULL,
'jirafeau' => NULL,
'rssbridge' => NULL,
'searx' => NULL,
'etherpad' => NULL,
'diagrams' => NULL,
'opensondage' => NULL,
'iprefua' => NULL,
);
foreach($descService as $codeService => $descService) { ?>
<div>
<?php if (isset($logoService[$codeService])) { ?><div class="logoService"><img class="elLogoServ" src="img/logos/<?php echo $logoService[$codeService]; ?>" alt=""/></div> <?php } ?>
<div class="titreService"><?php echo $nomService[$codeService]; ?></div>
<div class="metasService">
<?php if (!is_null($siteOfficielService[$codeService])) {
echo '<a class="icon-home metaService" aria-label="Site officiel" title="Site officiel de ' . $nomService[$codeService] . '" href="https://' . $siteOfficielService[$codeService] . '"></a>';
} ?>
<a class="icon-git metaService" aria-label="Code source" title="Code source de <?php echo $nomService[$codeService]; ?>" href="https://<?php echo $gitService[$codeService]; ?>"></a>
<a class="icon-ynh metaService" aria-label="Paquet YunoHost" title="Paquet YunoHost de <?php echo $nomService[$codeService]; ?>" href="https://<?php echo$paquetYnhService[$codeService]; ?>"></a></div>
<!--<div class="urlService"><?php echo $urlService[$codeService]; ?></div>-->
<div class="descService"><?php echo $descService; ?></div>
<?php if (isset($aboutService[$codeService])) { ?><div><a class="petit-bouton icon-doc-text-inv" href="<?= $aboutService[$codeService] ?>.html">Présentation</span></a></div><?php } ?>
<div><a class="petit-bouton" href="<?php echo $urlService[$codeService]; ?><?php if ($codeService == 'synapse') { echo '/_matrix/static/'; } ?>"><?php echo $actionService[$codeService]; ?><span class="icon-right-open"></span></a></div>
</div>
<?php } ?>
</div>

View File

@ -0,0 +1,20 @@
Ce manifeste s'applique aux cas où les services Antopie sont utilisés pour diffuser publiquement du contenu. L'utilisation des services dans un cadre privé n'est pas concernée par ce manifeste.
Antopie refuse d'héberger du contenu soutenant une vision du monde droitiste, y compris :
* Fascisme, racisme, capacitisme, essentialisme
* Capitalisme, publicité
* Sexisme, homophobie, transphobie
* Théisme, conspirationnisme, spiritualisme
Antopie encourage la diffusion d'idées gauchistes, y compris :
* Librisme, datalove, kopimisme
* Anarchisme, communisme, socialisme
* Féminisme, queer
* Écologisme, véganisme, décroissance
* Éducation populaire, pensée critique
**Les contenus qui n'ont pas particulièrement d'impact politique sont également les bienvenus.**
Ces règles sont édictées pour que vous puissiez vous faire une idée de la modération et du but d'Antopie. Il ne s'agit pas d'une vérité absolue. Je garde ma liberté de ne pas modérer ou de modérer pour d'autres raisons.
**Ce n'est pas une atteinte à la liberté d'expression.** Ce manifeste ne vous interdit pas de vous exprimer. Il vous demande simplement de ne pas le faire par un service Antopie si vous avez des idées trop différentes, auquel cas vous pourrez trouvez un service qui vous convient mieux.

55
pages/matrix.md Normal file
View File

@ -0,0 +1,55 @@
Matrix est un protocole de communication permettant les communications instantanées sur Internet.
Antopie propose un serveur Matrix à l'adresse `matrix.antopie.org` et le client Web Riot à l'adresse [https://riot.antopie.org](https://riot.antopie.org).
Ce tutoriel se propose de vous apprendre à utiliser ces services.
## Client / serveur
Tout comme les courriels, Matrix fonctionne sur le modèle client/serveur.
Le serveur est un logiciel qui tourne sur un ordinateur laissé allumé en permanence.
Le client, c'est votre appareil qui se connecte au serveur pour vérifier si il a reçu de nouveaux messages ou pour en envoyer.
## La pratique
Rendez-vous sur [https://riot.antopie.org/#/register](https://riot.antopie.org/#/register).
Renseignez votre pseudo ou nom et définissez un nouveau mot de passe, puis validez. Vous pouvez aussi spécifier une adresse mail pour changer de mot de passe si vous l'avez oublié.
Vous arriverez sur l'interface de Riot, et rejoindrez automatiquement le salon de discussion publique `#antopie:matrix.antopie.org`.
Si vous souhaitez que d'autres personnes vous contactent, votre identifiant Matrix est `@pseudo:matrix.antopie.org`.
Pour commencer une autre discussion, cliquez sur le plus à côté de la section messages directs, à gauche, et cherchez l'identifiant Matrix.
Mon identifiant Matrix est `@miraty:matrix.antopie.org`.
## Les clients
### Linux
#### [Riot](https://riot.im/download/desktop/)
#### Fractal
#### Nhecko
#### Quaternion
### Windows et MacOS
#### [Riot](https://riot.im/download/desktop/)
### Android
#### Riot
[Sur F-Droid](https://f-droid.org/fr/packages/im.vector.alpha/) et le Google Play Store
#### RiotX
Une version destinée à terme à remplacer la version actuelle de Riot.
### iOS
Il y a aussi une version de Riot sur l'App Store d'iOS

60
pages/nextcloud.md Normal file
View File

@ -0,0 +1,60 @@
*[SMTP]: Simple Mail Transfer Protocol
*[IMAP]: Internet Message Access Protocol
*[Gio]: gibioctet
Antopie propose une instance Nextcloud sur [https://nuage.antopie.org](https://nuage.antopie.org).
L'instance utilise un thème sombre, basé sur breeze dark de KDE.
![L'interface de Nextcloud](img/docs/nextcloud-files-zoom.png) {.imgArticle}
La limite de stockage par défaut est de 20 Gio.
Les données de Nextcloud ne sont pas sauvegardées ; n'en gardez pas d'importantes uniquement dessus.
## Créer un compte
Pour commencer à utiliser l'instance Nextcloud d'Antopie :
1. Accéder à [https://nuage.antopie.org/apps/registration](https://nuage.antopie.org/apps/registration).
2. Indiquer son adresse courriel
3. Cliquer sur le lien envoyé par courriel
4. Indiquer son pseudo/nom et un mot de passe
5. Accepter les [conditions d'utilisation](<?php formerUrlLocale("cgu"); ?>)
## Applications disponibles
Les applications listées ici sont celle qui semblent les plus stables ou officielles, ou qui ont été plus testées. D'autres sont disponibles mais utilisez-les avec plus de précautions.
Fichiers
: Sauvegarder et synchroniser des fichiers
Fonctionnalité principale de Nextcloud
[Télécharger les clients](https://nextcloud.com/install/#install-clients)
Carnet
: Prise de notes
Peut se syncroniser avec les autres clients Carnet
[Télécharger les clients](https://getcarnet.app/)
Mail
: Webmail
Permet d'ajouter n'importe quel compte IMAP/SMTP
Contacts
: Gestion de contacts
Syncronisation CardDAV possible
Agenda
: Gestion d'agendas
Syncronisation CalDAV possible
Nextcloud Notes
: Prise de notes
Sondage
: Équivalent Nextcloud à [OpenSondage](<?= clearnetOrOnion('https://sondage.antopie.org', 'http://antaskuzziqjodxfighsptanvhrwmb7h5nsgjwei2dvvtsuqgjsaxvad.onion') ?>)
Favoris
: Gestion de marques-pages
Peut se syncroniser avec les marques-pages du navigateur Web via [Floccus](https://addons.mozilla.org/firefox/addon/floccus)
Talk
: Permet de chatter et de faire des appels audio/vidéo

View File

@ -1,180 +0,0 @@
<?php include "inc/debut.php";
head("services.php"); ?>
<div id="services" class="grille-services">
<?php
$logoService = array(
'plume' => 'plume.png',
'peertube' => 'peertube.png',
'gitea' => 'gitea.png',
'libreqr' => 'qr.png',
'bitwarden' => 'bitwarden.png',
'nextcloud' => 'nextcloud.png',
'synapse' => 'matrix.png',
'riot' => 'riot.png',
'privatebin' => 'privatebin.png',
'jirafeau' => 'jirafeau.png',
'rssbridge' => 'rssbridge.png',
'searx' => 'searx.png',
'etherpad' => 'etherpad.png',
'diagrams' => 'diagrams.png',
'opensondage' => 'opensondage.png',
);
$urlService = array(
'plume' => 'blog',
'peertube' => 'video',
'gitea' => 'code',
'libreqr' => 'qr',
'bitwarden' => 'mdp',
'nextcloud' => 'nuage',
'synapse' => 'matrix',
'riot' => 'riot',
'privatebin' => 'texte',
'jirafeau' => 'up',
'rssbridge' => 'rss',
'searx' => 'searx',
'etherpad' => 'pad',
'diagrams' => 'draw',
'opensondage' => 'sondage',
);
$nomService = array(
'plume' => 'Plume',
'peertube' => 'PeerTube',
'gitea' => 'Gitea',
'libreqr' => 'LibreQR',
'bitwarden' => 'Bitwarden',
'nextcloud' => 'Nextcloud',
'synapse' => 'Synapse',
'riot' => 'Riot',
'privatebin' => 'PrivateBin',
'jirafeau' => 'Jirafeau',
'rssbridge' => 'RSS Bridge',
'searx' => 'Searx',
'etherpad' => 'Etherpad',
'diagrams' => 'Diagrammes',
'opensondage' => 'OpenSondage',
);
$infoThemeService = array(
'plume' => 'Thème sombre & rouge',
'peertube' => 'Thème rouge',
'gitea' => 'Thème sombre',
'libreqr' => 'Thème sombre',
'bitwarden' => NULL,
'nextcloud' => 'Thème sombre',
'synapse' => NULL,
'riot' => NULL,
'privatebin' => 'Thème sombre',
'jirafeau' => 'Thème sombre',
'rssbridge' => 'Thème sombre & rouge',
'searx' => 'Thème sombre',
'etherpad' => NULL,
'diagrams' => NULL,
'opensondage' => NULL,
);
$descService = array(
'plume' => 'Créez simplement un blog qui sera accessible via le Web, le <a href="https://fr.wikipedia.org/wiki/Fediverse">Fédiverse</a> et un flux <a href="https://fr.wikipedia.org/wiki/Atom_Syndication_Format">Atom</a>.',
'peertube' => 'Regardez ou publiez des vidéos sur le <a href="https://fr.wikipedia.org/wiki/Fediverse">Fédiverse</a> en <a href="https://fr.wikipedia.org/wiki/Pair_%C3%A0_pair">pair à pair</a>.',
'gitea' => '<a href="https://fr.wikipedia.org/wiki/Forge_(informatique)">Forge logicielle</a> simple basée sur <a href="https://fr.wikipedia.org/wiki/Git">Git</a>.',
'libreqr' => "Un générateur de <a href='https://fr.wikipedia.org/wiki/Code_QR'>codes QR</a> fait maison.",
'bitwarden' => 'Générez, enregistrez et synchronisez des mots ou phrases de passe fortes.',
'nextcloud' => 'Synchronisation de fichiers, de contacts (<a href="https://fr.wikipedia.org/wiki/CardDAV">CardDAV</a>), dagenda (<a href="https://fr.wikipedia.org/wiki/CalDAV">CalDAV</a>), <a href="https://getcarnet.app/">Carnet</a> , et plein dautres fonctionnalités grâce à des extensions.',
'synapse' => 'Un serveur <a href="https://fr.wikipedia.org/wiki/Matrix_(protocole)">Matrix</a>, qui est un protocole internet moderne pour la communication écrite, audio ou vidéo.',
'riot' => 'Client Web pour <a href="https://fr.wikipedia.org/wiki/Matrix_(protocole)">Matrix</a>.',
'privatebin' => 'Partagez des textes, codes sources ou <a href="https://fr.wikipedia.org/wiki/Markdown">Markdown</a> rapidement.',
'jirafeau' => 'Partagez rapidement nimporte quel fichier avec nimporte qui.',
'rssbridge' => 'Exportez les données de centaines de sites aux formats <a href="https://fr.wikipedia.org/wiki/Atom_Syndication_Format">Atom</a>, <a href="https://fr.wikipedia.org/wiki/JavaScript_Object_Notation">JSON</a>, <a href="https://fr.wikipedia.org/wiki/Hypertext_Markup_Language">HTML</a>, Mrss ou texte.',
'searx' => '<a href="https://fr.wikipedia.org/wiki/M%C3%A9tamoteur">Métamoteur</a> anonymé : combine plusieurs moteurs de recherche sur une seule page.',
'etherpad' => 'Éditez un texte sur plusieurs appareils en même temps. Utilisable avec <a href="https://pad.antopie.org/mypads/">MyPads</a>.',
'diagrams' => 'Créez des graphiques pour représenter des idées.',
'opensondage' => 'Planifiez un rendez-vous ou prenez des décisions rapidement et simplement.'
);
$siteOfficielService = array(
'plume' => 'joinplu.me',
'peertube' => 'joinpeertube.org',
'gitea' => 'gitea.io',
'libreqr' => NULL,
'bitwarden' => 'bitwarden.com',
'nextcloud' => 'nextcloud.com/fr_FR',
'synapse' => NULL,
'riot' => 'about.riot.im',
'privatebin' => 'privatebin.info',
'jirafeau' => NULL,
'rssbridge' => NULL,
'searx' => 'asciimoo.github.io/searx',
'etherpad' => 'etherpad.org',
'diagrams' => 'www.diagrams.net',
'opensondage' => NULL,
);
$gitService = array(
'plume' => 'github.com/Plume-org/Plume',
'peertube' => 'github.com/Chocobozzz/PeerTube',
'gitea' => 'github.com/go-gitea/gitea',
'libreqr' => 'code.antopie.org/miraty/libreqr',
'bitwarden' => 'github.com/dani-garcia/bitwarden_rs',
'nextcloud' => 'github.com/nextcloud/server',
'synapse' => 'github.com/matrix-org/synapse',
'riot' => 'github.com/vector-im/riot-web',
'privatebin' => 'github.com/PrivateBin/PrivateBin',
'jirafeau' => 'gitlab.com/mojo42/Jirafeau',
'rssbridge' => 'github.com/rss-bridge/rss-bridge',
'searx' => 'github.com/asciimoo/searx',
'etherpad' => 'github.com/ether/etherpad-lite',
'diagrams' => 'github.com/jgraph/drawio',
'opensondage' => 'framagit.org/framasoft/framadate/framadate'
);
$paquetYnhService = array(
'plume' => 'github.com/YunoHost-Apps/plume_ynh',
'peertube' => 'github.com/YunoHost-Apps/peertube_ynh',
'gitea' => 'github.com/YunoHost-Apps/gitea_ynh',
'libreqr' => 'code.antopie.org/miraty/qr_ynh',
'bitwarden' => 'github.com/YunoHost-Apps/bitwarden_ynh',
'nextcloud' => 'github.com/YunoHost-Apps/nextcloud_ynh',
'synapse' => 'github.com/YunoHost-Apps/synapse_ynh',
'riot' => 'github.com/YunoHost-Apps/riot_ynh',
'privatebin' => 'github.com/YunoHost-Apps/zerobin_ynh',
'jirafeau' => 'github.com/YunoHost-Apps/jirafeau_ynh',
'rssbridge' => 'github.com/YunoHost-Apps/rss-bridge_ynh',
'searx' => 'github.com/YunoHost-Apps/searx_ynh',
'etherpad' => 'github.com/YunoHost-Apps/etherpad_mypads_ynh',
'diagrams' => 'github.com/YunoHost-Apps/diagramsnet_ynh',
'opensondage' => 'github.com/YunoHost-Apps/opensondage_ynh',
);
foreach($descService as $codeService => $descService) { ?>
<div>
<div class="zoneLien">
<a class="lienService" href="https://<?= $urlService[$codeService] ?>.antopie.org<?php if ($codeService == "synapse") { echo "/_matrix/static/"; } ?>">
<div class="logoService"><img class="elLogoServ" src="img/logos/<?= $logoService[$codeService] ?>" alt=""/></div>
<div class="titreService"><?= $nomService[$codeService] ?></div>
<div class="urlService"><?= $urlService[$codeService] ?>.antopie.org</div>
</a>
</div>
<div class="descService"><?= $descService ?></div>
<div class="themeService"><?php if (!is_null($infoThemeService[$codeService])) { ?>· <?= $infoThemeService[$codeService] ?> ·<?php } ?></div>
<div class="metasService">
<?php if (!is_null($siteOfficielService[$codeService])) {
echo '<a class="icon-home metaService" aria-label="Site officiel" title="Site officiel de ' . $nomService[$codeService] . '" href="https://' . $siteOfficielService[$codeService] . '"></a>';
} ?>
<a class="icon-git metaService" aria-label="Code source" title="Code source de <?= $nomService[$codeService] ?>" href="https://<?= $gitService[$codeService] ?>"></a>
<a class="icon-ynh metaService" aria-label="Paquet YunoHost" title="Paquet YunoHost de <?= $nomService[$codeService] ?>" href="https://<?= $paquetYnhService[$codeService] ?>"></a></div>
</div>
<?php } ?>
</div>
<?php include "inc/footer.php"; ?>

View File

@ -1,14 +1,12 @@
@fond: #2a2a2a; @fond: #2a2a2a;
@fondSecondaire: #222222; @fondSecondaire: #222222;
@fondOptionHover: lighten(@fond, 10%); @fondOptionHover: lighten(@fond, 10%);
@texteSecondaire: #aaaaaa;
@texte: white; @texte: white;
@couleurL: white; @couleurLien: white;
@couleurPrincipale: red; @couleurPrincipale: red;
@border: #5f5f5f;
.texte-secondaire { @borderHover: #808080;
color: @texteSecondaire; @borderFocus: white;
}
::selection { ::selection {
color: @fond; color: @fond;
@ -33,23 +31,35 @@
} }
.petit-bouton {
border: 2px solid grey;
padding: 2px;
padding-left: 10px;
padding-right: 10px;
margin: 5px;
font-size: 80%;
display: inline-block;
border-radius: 14px;
color: @texte;
text-decoration: none;
&:hover {
color: @couleurPrincipale;
border: 2px solid @couleurPrincipale;
}
}
html { html {
font-size: 20px; font-size: 20px;
scrollbar-color: @texte @fond; scrollbar-color: @texte @fond;
scrollbar-width: auto; scrollbar-width: auto;
} }
@media all and (max-width: 640px) {
html {
font-size: 13px;
}
}
a, a:visited { a, a:visited {
text-decoration: underline; text-decoration: underline;
color: @couleurL; color: @couleurLien;
transition: all 0.1s linear; transition: all 0.1s linear;
&:hover { &:hover {
@ -63,17 +73,18 @@ a, a:visited {
margin-bottom: 10px; margin-bottom: 10px;
} }
#img404 { img {
padding-top: 10px; height: auto;
padding-bottom: 30px; max-width: 100%;
width: 30%;
@media (max-width: 1300px) {
width: 766px;
}
} }
#page404 { .imgArticle {
text-align: center; border: 1px white solid;
border-radius: 5px;
display: block;
margin: auto;
margin-top: 20px;
margin-bottom: 20px;
} }
del { del {
@ -92,7 +103,7 @@ body {
font-family: "Ubuntu", sans-serif; font-family: "Ubuntu", sans-serif;
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
background-color: @fond; background-color: @fondSecondaire;
color: @texte; color: @texte;
font-size: 25px; font-size: 25px;
line-height: 35px; line-height: 35px;
@ -102,11 +113,30 @@ address {
font-style: normal; font-style: normal;
} }
ul {
padding-left: 35px;
margin: 0px;
}
dt {
font-weight: 500;
}
dd {
margin-left: 25px;
padding-bottom: 10px;
}
p {
margin: 0px;
padding-top: 10px;
padding-bottom: 10px;
}
.grille-services { .grille-services {
display: grid; display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr; grid-template-columns: 1fr 1fr 1fr 1fr;
grid-gap: 30px; grid-gap: 30px;
padding-top: 30px;
@media (max-width: 1500px) { @media (max-width: 1500px) {
grid-template-columns: 1fr 1fr 1fr; grid-template-columns: 1fr 1fr 1fr;
@ -128,28 +158,6 @@ address {
justify-content: center; justify-content: center;
} }
.lienService, .lienService:visited {
padding: 20px;
border: 2px @fond solid;
border-radius: 16px;
transition: border 0.2s linear;
color: @texte;
text-decoration: none;
display: block;
padding-bottom: 10px;
margin-bottom: 10px;
max-width: 210px;
&:hover {
border: 2px white solid;
color: @texte;
}
}
.themeService {
text-align: center;
font-size: 0.8em;
}
.titreService { .titreService {
font-size: 1.3em; font-size: 1.3em;
text-align: center; text-align: center;
@ -164,7 +172,8 @@ address {
.metaService { .metaService {
text-decoration: none; text-decoration: none;
font-size: 26px; font-size: 28px;
margin-top: 6px;
} }
.metasService { .metasService {
@ -191,11 +200,15 @@ address {
} }
main { main {
background-color: @fond;
margin: 0px; margin: 0px;
margin-top: 30px; padding: 30px;
margin-left: 30px; padding-top: 15px;
margin-bottom: 50px;
margin-right: 30px; @media (max-width: 500px) {
padding-left: 10px;
padding-right: 10px;
}
} }
.centre { .centre {
@ -203,7 +216,6 @@ main {
justify-content: center; justify-content: center;
} }
article { article {
margin-left: 20%; margin-left: 20%;
margin-right: 20%; margin-right: 20%;
@ -234,11 +246,9 @@ article {
// FOOTER // FOOTER
.textefooter { .textefooter {
margin: 10px; margin: 30px;
line-height: 1.5em; line-height: 1.5em;
width: 60%; text-align: center;
padding-left: 20px;
padding-right: 20px;
} }
.interlude { .interlude {
@ -252,23 +262,11 @@ article {
.traitinterlude { .traitinterlude {
border-top: 2px gray dashed; border-top: 2px gray dashed;
width: 650px; width: 250px;
}
.basfooter {
display: flex;
justify-content: space-around;
margin-top: 30px;
margin-bottom: 20px;
}
.corps {
text-align: center;
} }
footer { footer {
text-align: center; text-align: center;
background-color: @fondSecondaire;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
@ -279,21 +277,6 @@ footer {
text-align: center; text-align: center;
} }
.ant {
background-color: @fondSecondaire;
background-image: url(img/antpetitgris.png);
background-repeat: no-repeat;
background-position: center top;
display: inline-block;
text-decoration: none;
min-width: 264px;
min-height: 80px;
}
.ant:hover {
background-image: url(img/antpetit.png);
}
.liensfooter { .liensfooter {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@ -332,7 +315,6 @@ footer {
header { header {
display: flex; display: flex;
justify-content: center; justify-content: center;
background-color: @fondSecondaire;
} }
@ -360,47 +342,35 @@ h1, h2, h3, h4, h5, h6 {
h1 { h1 {
font-size: 250%; font-size: 250%;
text-align: center; text-align: center;
margin: 0px;
padding-bottom: 20px;
padding-top: 15px;
} }
h2 { h2 {
font-size: 170%; font-size: 200%;
margin-top: 50px;
margin-bottom: 20px;
} }
h3 { h3 {
font-size: 160%; font-size: 160%;
margin-top: 30px;
margin-bottom: 10px;
} }
h4 { h4 {
font-size: 140%; font-size: 130%;
margin-top: 0px;
margin-bottom: 0px;
} }
h5 { h5 {
font-size: 125%; font-size: 115%;
} }
h6 { h6 {
font-size: 110%; font-size: 107%;
}
#LRI {
color: pink !important;
aime: "les pizza ananas-champignons";
width: 200px;
position: absolute;
top: 10px;
left: 10px;
@media (max-width: 1300px) {
width: 60px;
position: absolute;
top: 2px;
left: 2px;
}
@media (max-width: 1000px) {
width: 32px;
position: absolute;
top: 2px;
left: 2px;
}
} }
.gomeza { .gomeza {
@ -411,35 +381,59 @@ h6 {
z-index: 100; z-index: 100;
} }
// --- Formulaire ---
/*
input, textarea {
border: 2px @border solid;
border-radius: 10px;
font-size: 20px;
font-weight: normal;
color: @texte;
transition: border 0.1s linear;
background-color: @fondSecondaire;
margin-top: 8px;
font-family: "Ubuntu", sans-serif;
padding: 10px;
margin: 10px;
&:hover {
border: 2px @borderHover solid;
}
&:focus {
border: 2px @borderFocus solid;
outline: none;
}
}
input[type="text"] {
width: 100px;
}
textarea {
background-color: @fondSecondaire;
color: @texte;
scrollbar-color: @texte @fond;
scrollbar-width: auto;
width: 90%;
}
textarea::placeholder {
color: @texteSecondaire;
opacity: 1;
font-family: "Ubuntu", sans-serif;
font-weight: normal;
font-size: 1em;
}
*/
@media (max-width: 800px) { @media (max-width: 800px) {
.basfooter { .basfooter {
flex-direction: column; flex-direction: column;
} }
.textefooter {
width: auto;
margin: 4%;
margin-bottom: 0px;
}
.logofooter { .logofooter {
padding: 0px; padding: 0px;
} }
.traitinterlude {
width: 80%;
}
}
@media (max-width: 500px) {
.textefooter {
padding-left: 8%;
padding-right: 8%;
margin: 0px;
}
.liensfooter {
flex-direction: column;
}
} }