Passage sous flask
11
aurore.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
from flask import Flask, render_template
|
||||
app = Flask(__name__)
|
||||
|
||||
|
||||
@app.route('/')
|
||||
def accueil():
|
||||
return render_template('index.html')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run()
|
1
logo.php
|
@ -1 +0,0 @@
|
|||
lque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1856.28 1685.96"><defs><style>.cls-1{fill:#cf0f23;}.cls-2{fill:#fff;}.cls-3{fill:#b50101;}.cls-4{fill:#fdfdfd;}.cls-5{fill:#f3c3c8;}</style></defs><title>logo_white</title><path class="cls-1" d="M3221.95,1964.42c90.88-198.3,123.84-401.12,48.23-612.4-72.62-202.91-232.79-369.8-434.57-447.17-454.35-174.2-971.76,131.33-1020.51,621-13.39,134.47,8.48,270.42,65.4,393.13,28.31,61,67.49,115.68,107.88,169.47,22.87,30.46,12,14.25,28.36,39,1.5,2.28-44.12,98.66-61.43,133.09-69.65-69.57-131.76-142.75-178.77-229.9-9.3-17.23-86.13-207.53-81.8-208.1-20,41.89,32.91,321.81,40,353.16-27.73-44.9-73.42-236.32-83.18-353.78-2.7-32.46-2-93.62,5.11-167.16,11-114.65,22.75-232.29,59.5-342.09,37.38-111.69,103.72-191.19,164.11-288.31-33.81,13.44-166.78,142.1-261.28,234.35,49-99.75,195.84-236.58,267.28-292.26,87.24-68,186.75-114.37,283.68-165.13,82.52-43.22,190.9-72.64,287.83-82.07,72.05-7,145.21-7.44,217.06,2.25a925.12,925.12,0,0,1,100.23,19.29c31.67,7.91,52.42,14.66,101.63,30.67-15.21-11-148.33-69.45-298.71-153.75,135.5,36.75,294.39,113.06,335.14,136.07,92.83,52.43,178.42,120.32,251.76,197.63,59.39,62.61,114.73,124,158.68,200,51.89,89.77,110.37,211.56,110.37,317.69,8.52-19.65,10.58-106.67,10.41-123.26-.63-60.91-18.17-165.69-27.1-225.67,20.21,51.29,35,136.81,38.59,154.88a1007.84,1007.84,0,0,1,15.7,114.56,1144.92,1144.92,0,0,1,3.44,119c-.37,16.36-2.34,32.58-3,48.91-.17,4.55-1.14,14.28-1.11,19.52-40.32,232.33-88.11,490.35-282.38,651.83-12.12-25.74-75.4-104.55-60.31-126.45,58-84.16,55.45-78.94,69.93-99.36" transform="translate(-1619 -617.75)"/><polygon class="cls-2" points="1519.07 1501.6 1557.8 1585.54 1569.65 1610.71 1520.71 1658.87 1489.16 1685.96 1471.85 1681.66 1455.19 1642.95 1438.33 1606.35 1421.52 1569.64 1405.05 1533.12 1392.65 1507.17 1379.22 1477.46 1351.25 1417.3 1329.15 1369.46 1306.68 1320.72 1284.8 1272.79 1263.29 1225.5 1241.13 1177.44 1219.12 1129.55 1195.71 1078.99 1173.33 1029.07 1160.85 1002.12 1159.1 1000.71 1009.33 1001.06 886.04 1002 881.18 993.36 820.18 895.64 815.24 884.18 830.21 884.29 1082.59 882.82 1107.02 882.81 960.11 562.48 928.72 627.32 896.56 696.88 815.35 884.3 753.56 884.04 683.79 884.41 876.88 457.83 939.35 322.44 960.94 278.76 1000.76 366.57 1051.93 480.42 1088.41 559.81 1105.47 599.52 1142.13 679.61 1161.63 723.43 1198.18 801.39 1226.85 864.75 1257.75 932.43 1283.71 989.43 1320.12 1067.53 1350.98 1136.34 1379.79 1198.45 1428.94 1306.27 1457.72 1368.42 1483.68 1425.42 1505.66 1472.43 1519.07 1501.6 1519.07 1501.6 1519.07 1501.6"/><polyline class="cls-2" points="737.66 1052.19 708.41 1118.49 691.63 1154.74 668.22 1208.2 644 1261.45 621.08 1312.24 605.38 1347.08 583.14 1398.24 553.13 1464.94 548.58 1462.77 529.63 1454.25 479.76 1431.84 451.26 1419.09 443.39 1415.97 479.83 1335.86 498.63 1293.75 509.52 1269.14 527.58 1228.91 547.08 1186.06 561.33 1152.65 570.83 1131.82 582.97 1104.07 599.24 1067.56 621.43 1017.21 625.66 1004.64 756.7 1003.9 756.67 1003.95 756.67 1003.95 756.67 1003.95"/><polygon class="cls-3" points="756.67 1003.95 756.7 1003.9 751.3 993.36 688.68 893.02 683.79 884.41 753.56 884.04 815.35 884.3 815.24 884.19 822 895.58 881.18 993.36 886.04 1002 875.13 1002.56 772 1003.95 756.67 1003.95 756.67 1003.95"/><path class="cls-4" d="M3163,1201.32c3.5,1.2,3.34,4.42,5.14,7.74C3163.42,1206.41,3163.42,1206.41,3163,1201.32Z" transform="translate(-1619 -617.75)"/><path class="cls-5" d="M2179.67,797.88c-.07.51,0,1.4-.23,1.46-1.12.34-1.24-.58-1.41-1.36A2.28,2.28,0,0,1,2179.67,797.88Z" transform="translate(-1619 -617.75)"/><path class="cls-5" d="M1914.4,946.27l-2.29,1.9" transform="translate(-1619 -617.75)"/><path class="cls-5" d="M1665.94,1201.84l-1.53,2.24" transform="translate(-1619 -617.75)"/><path class="cls-5" d="M2778.1,1618.46c1.49-.65,1.95,0,1.75,1.41Z" transform="translate(-1619 -617.75)"/><path class="cls-5" d="M1653.74,1677.93l-.11,2.15C1651.69,1679.26,1651.8,1678.55,1653.74,1677.93Z" transform="translate(-1619 -617.75)"/></svg>
|
|
@ -642,7 +642,6 @@ input, select, textarea {
|
|||
|
||||
.image:before {
|
||||
pointer-events: none;
|
||||
background-image: url("../../images/overlay.png");
|
||||
background-color: rgba(19, 21, 25, 0.5);
|
||||
border-radius: 4px;
|
||||
content: '';
|
||||
|
@ -1136,7 +1135,7 @@ input, select, textarea {
|
|||
-webkit-transition-delay: 0.75s;
|
||||
-ms-transition-delay: 0.75s;
|
||||
transition-delay: 0.75s;
|
||||
background-image: linear-gradient(to top, rgba(19, 21, 25, 0.5), rgba(19, 21, 25, 0.5)), url("../../images/overlay.png");
|
||||
background-image: linear-gradient(to top, rgba(19, 21, 25, 0.5), rgba(19, 21, 25, 0.5));
|
||||
background-size: auto, 256px 256px;
|
||||
background-position: center, center;
|
||||
background-repeat: no-repeat, repeat;
|
||||
|
@ -1152,7 +1151,7 @@ input, select, textarea {
|
|||
-webkit-transition: -webkit-transform 0.325s ease-in-out, -webkit-filter 0.325s ease-in-out;
|
||||
-ms-transition: -ms-transform 0.325s ease-in-out, -ms-filter 0.325s ease-in-out;
|
||||
transition: transform 0.325s ease-in-out, filter 0.325s ease-in-out;
|
||||
background-image: url("../../images/bg.jpg");
|
||||
background-image: url("../../static/images/bg.jpg");
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
Before ![]() (image error) Size: 9.3 KiB After ![]() (image error) Size: 9.3 KiB ![]() ![]() |
Before ![]() (image error) Size: 27 KiB After ![]() (image error) Size: 27 KiB ![]() ![]() |
Before ![]() (image error) Size: 3.4 KiB After ![]() (image error) Size: 3.4 KiB ![]() ![]() |
Before ![]() (image error) Size: 818 B After ![]() (image error) Size: 818 B ![]() ![]() |
Before ![]() (image error) Size: 1.6 KiB After ![]() (image error) Size: 1.6 KiB ![]() ![]() |
Before Width: 48px | Height: 48px | Size: 15 KiB After Width: 48px | Height: 48px | Size: 15 KiB |
Before ![]() (image error) Size: 3.9 KiB After ![]() (image error) Size: 3.9 KiB ![]() ![]() |
Before (image error) Size: 434 KiB After (image error) Size: 434 KiB |
0
images/android-connec1.png → static/images/android-connec1.png
Executable file → Normal file
Before ![]() (image error) Size: 42 KiB After ![]() (image error) Size: 42 KiB ![]() ![]() |
0
images/android-connec2.png → static/images/android-connec2.png
Executable file → Normal file
Before ![]() (image error) Size: 41 KiB After ![]() (image error) Size: 41 KiB ![]() ![]() |
Before ![]() (image error) Size: 2.5 MiB After ![]() (image error) Size: 2.5 MiB ![]() ![]() |
Before ![]() (image error) Size: 34 KiB After ![]() (image error) Size: 34 KiB ![]() ![]() |
Before ![]() (image error) Size: 6 KiB After ![]() (image error) Size: 6 KiB ![]() ![]() |
Before ![]() (image error) Size: 34 KiB After ![]() (image error) Size: 34 KiB ![]() ![]() |
Before ![]() (image error) Size: 8.6 KiB After ![]() (image error) Size: 8.6 KiB ![]() ![]() |
Before ![]() (image error) Size: 7.1 KiB After ![]() (image error) Size: 7.1 KiB ![]() ![]() |
0
images/filaire-1.png → static/images/filaire-1.png
Executable file → Normal file
Before ![]() (image error) Size: 29 KiB After ![]() (image error) Size: 29 KiB ![]() ![]() |
0
images/filaire-2.png → static/images/filaire-2.png
Executable file → Normal file
Before ![]() (image error) Size: 44 KiB After ![]() (image error) Size: 44 KiB ![]() ![]() |
0
images/ios-1.png → static/images/ios-1.png
Executable file → Normal file
Before ![]() (image error) Size: 52 KiB After ![]() (image error) Size: 52 KiB ![]() ![]() |
0
images/ios-2.png → static/images/ios-2.png
Executable file → Normal file
Before ![]() (image error) Size: 30 KiB After ![]() (image error) Size: 30 KiB ![]() ![]() |
0
images/linux1.png → static/images/linux1.png
Executable file → Normal file
Before ![]() (image error) Size: 42 KiB After ![]() (image error) Size: 42 KiB ![]() ![]() |
0
images/linux2.png → static/images/linux2.png
Executable file → Normal file
Before ![]() (image error) Size: 70 KiB After ![]() (image error) Size: 70 KiB ![]() ![]() |
0
images/macos-1.png → static/images/macos-1.png
Executable file → Normal file
Before ![]() (image error) Size: 285 KiB After ![]() (image error) Size: 285 KiB ![]() ![]() |
0
images/macos-2.png → static/images/macos-2.png
Executable file → Normal file
Before ![]() (image error) Size: 225 KiB After ![]() (image error) Size: 225 KiB ![]() ![]() |
Before ![]() (image error) Size: 59 KiB After ![]() (image error) Size: 59 KiB ![]() ![]() |
Before ![]() (image error) Size: 79 KiB After ![]() (image error) Size: 79 KiB ![]() ![]() |
Before ![]() (image error) Size: 8.7 KiB After ![]() (image error) Size: 8.7 KiB ![]() ![]() |
|
@ -9,19 +9,19 @@
|
|||
<title>Aurore</title>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||
<link rel="stylesheet" href="assets/css/main.css" />
|
||||
<link rel="stylesheet" href="assets/css/perso.css" />
|
||||
<noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript>
|
||||
<link rel="stylesheet" href="static/css/main.css" />
|
||||
<link rel="stylesheet" href="static/css/perso.css" />
|
||||
<noscript><link rel="stylesheet" href="static/css/noscript.css" /></noscript>
|
||||
|
||||
<!-- Favicons -->
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="assets/favicon/apple-touch-icon.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="assets/favicon/favicon-32x32.png" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="assets/favicon/favicon-16x16.png" />
|
||||
<link rel="manifest" href="assets/favicon/site.webmanifest" />
|
||||
<link rel="mask-icon" href="assets/favicon/safari-pinned-tab.svg" color="#5bbad5" />
|
||||
<link rel="shortcut icon" href="assets/favicon/favicon.ico" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="static/favicon/apple-touch-icon.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="static/favicon/favicon-32x32.png" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="static/favicon/favicon-16x16.png" />
|
||||
<link rel="manifest" href="static/favicon/site.webmanifest" />
|
||||
<link rel="mask-icon" href="static/favicon/safari-pinned-tab.svg" color="#5bbad5" />
|
||||
<link rel="shortcut icon" href="static/favicon/favicon.ico" />
|
||||
<meta name="msapplication-TileColor" content="#2b5797" />
|
||||
<meta name="msapplication-config" content="assets/favicon/browserconfig.xml" />
|
||||
<meta name="msapplication-config" content="static/favicon/browserconfig.xml" />
|
||||
<meta name="theme-color" content="#ffffff" />
|
||||
</head>
|
||||
<body class="is-preload">
|
||||
|
@ -74,12 +74,12 @@
|
|||
<div class="soutien">
|
||||
<div class="left">
|
||||
<span>Avec le soutien de</span>
|
||||
<a href="http://www.crous-versailles.fr/" target="_blank"><img src="images/crous.png" /></a>
|
||||
<a href="https://www.universite-paris-saclay.fr/fr" target="_blank"><img src="images/universite_ps.png" /></a>
|
||||
<a href="http://www.crous-versailles.fr/" target="_blank"><img src="static/images/crous.png" /></a>
|
||||
<a href="https://www.universite-paris-saclay.fr/fr" target="_blank"><img src="static/images/universite_ps.png" /></a>
|
||||
</div>
|
||||
<div class="right">
|
||||
<span>Membre de</span>
|
||||
<a href="https://www.federez.net/" target="_blank"><img src="images/federez.png" /></a>
|
||||
<a href="https://www.federez.net/" target="_blank"><img src="static/images/federez.png" /></a>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
@ -116,16 +116,16 @@
|
|||
<h3>En ligne (carte bancaire)</h3>
|
||||
|
||||
<div class="image fit">
|
||||
<img src="images/payer.png" />
|
||||
<img src="static/images/payer.png" />
|
||||
</div>
|
||||
|
||||
<div class="images">
|
||||
<div class="static/images">
|
||||
<div class="image left">
|
||||
<img src="images/facture.png" />
|
||||
<img src="static/images/facture.png" />
|
||||
</div>
|
||||
|
||||
<div class="image right">
|
||||
<img src="images/comnpay.png" />
|
||||
<img src="static/images/comnpay.png" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -140,7 +140,7 @@
|
|||
Dans le cas contraire, cela signifie que vous n'êtes pas à jour de votre cotisation.</p>
|
||||
|
||||
<div class="image fit">
|
||||
<img src="images/recap.png" />
|
||||
<img src="static/images/recap.png" />
|
||||
</div>
|
||||
</article>
|
||||
|
||||
|
@ -185,12 +185,12 @@
|
|||
Sélectionnez le réseau Wi-Fi "Aurore".<br />
|
||||
Entrez directement votre login/mot de passe Intranet. Vous devriez bénéficier d'un accès Internet en moins de 10 minutes.
|
||||
</blockquote>
|
||||
<div class="images">
|
||||
<div class="static/images">
|
||||
<div class="image left">
|
||||
<img src="images/macos-1.png" />
|
||||
<img src="static/images/macos-1.png" />
|
||||
</div>
|
||||
<div class="image right">
|
||||
<img src="images/macos-2.png" />
|
||||
<img src="static/images/macos-2.png" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -200,12 +200,12 @@
|
|||
Choisissez en méthode EAP "PEAP", en authentification de phase 2 "Mschapv2" et entrez directement votre login/mot de passe Intranet. Vous devriez bénéficier d'un accès Internet en moins de 10 minutes.<br />
|
||||
Facultatif : vous pouvez pour plus de sûreté, importer le certificat CA-Cert d'Aurore <a href="https://wiki.crans.org/CransNostalgie/AvantEte2018/WiFi/SousAndroid">ici</a>.
|
||||
</blockquote>
|
||||
<div class="images">
|
||||
<div class="static/images">
|
||||
<div class="image left">
|
||||
<img src="images/android-connec1.png" />
|
||||
<img src="static/images/android-connec1.png" />
|
||||
</div>
|
||||
<div class="image right">
|
||||
<img src="images/android-connec2.png" />
|
||||
<img src="static/images/android-connec2.png" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -214,12 +214,12 @@
|
|||
Sélectionnez le réseau Wi-Fi "Aurore". <br />
|
||||
Entrez directement votre login/mot de passe Intranet et acceptez le certificat CA-Cert du réseau Wi-Fi. Vous devriez bénéficier d'un accès Internet en moins de 10 minutes.
|
||||
</blockquote>
|
||||
<div class="images">
|
||||
<div class="static/images">
|
||||
<div class="image left">
|
||||
<img src="images/ios-1.png" />
|
||||
<img src="static/images/ios-1.png" />
|
||||
</div>
|
||||
<div class="image right">
|
||||
<img src="images/ios-2.png" />
|
||||
<img src="static/images/ios-2.png" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -229,12 +229,12 @@
|
|||
Choisissez en méthode EAP "PEAP", en authentification de phase 2 "Mschapv2" et entrez directement votre login/mot de passe Intranet. Vous devriez bénéficier d'un accès Internet en moins de 10 minutes.<br />
|
||||
Facultatif : vous pouvez pour plus de sûreté, importer le certificat CA-Cert du Crans <a href="https://wiki.crans.org/CransNostalgie/AvantEte2018/WiFi/SousLinux">ici</a>. Vous y trouverez également des instructions pour vous connecter sans network manager.
|
||||
</blockquote>
|
||||
<div class="images">
|
||||
<div class="static/images">
|
||||
<div class="image left">
|
||||
<img src="images/linux1.png" />
|
||||
<img src="static/images/linux1.png" />
|
||||
</div>
|
||||
<div class="image right">
|
||||
<img src="images/linux2.png" />
|
||||
<img src="static/images/linux2.png" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -257,12 +257,12 @@
|
|||
Si votre chambre n'est pas à jour, il vous proposera également de l'enregistrer (voir ci-dessous) "Connexion depuis la chambre XXX, est-ce la votre ?". Cochez cette seconde case si elle est présente, et que vous vous connectez depuis votre chambre.<br />
|
||||
Pour terminer, débranchez quelques secondes et rebranchez votre prise câble Ethernet. Vous devriez bénéficier d'un accès Internet en moins de 10 minutes. Vous devriez également recevoir une notification par email.
|
||||
</blockquote>
|
||||
<div class="images">
|
||||
<div class="static/images">
|
||||
<div class="image left">
|
||||
<img src="images/filaire-1.png">
|
||||
<img src="static/images/filaire-1.png">
|
||||
</div>
|
||||
<div class="image right">
|
||||
<img src="images/filaire-2.png">
|
||||
<img src="static/images/filaire-2.png">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -392,12 +392,12 @@
|
|||
<div id="bg"></div>
|
||||
|
||||
<!-- Scripts -->
|
||||
<script src="assets/js/jquery.min.js"></script>
|
||||
<script src="assets/js/browser.min.js"></script>
|
||||
<script src="assets/js/breakpoints.min.js"></script>
|
||||
<script src="assets/js/util.js"></script>
|
||||
<script src="assets/js/main.js"></script>
|
||||
<script src="assets/js/perso.js"></script>
|
||||
<script src="static/js/jquery.min.js"></script>
|
||||
<script src="static/js/browser.min.js"></script>
|
||||
<script src="static/js/breakpoints.min.js"></script>
|
||||
<script src="static/js/util.js"></script>
|
||||
<script src="static/js/main.js"></script>
|
||||
<script src="static/js/perso.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|