Skip to content
Extraits de code Groupes Projets
Valider 14e2729c rédigé par Tom Godfroid's avatar Tom Godfroid
Parcourir les fichiers

Ajout des fichiers manquants

parent 300a3d8d
Branches main
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Pipeline #28944 en échec
# Default ignored files
/shelf/
/workspace.xml
<component name="InspectionProjectProfileManager">
<settings>
<option name="USE_PROJECT_PROFILE" value="false" />
<version value="1.0" />
</settings>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.11 (nlib)" project-jdk-type="Python SDK" />
<component name="PyCharmProfessionalAdvertiser">
<option name="shown" value="true" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/nlib.iml" filepath="$PROJECT_DIR$/.idea/nlib.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/venv" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>
\ No newline at end of file
from flask import Flask , render_template
app = Flask(__name__)
@app.route('/')
def hello():
return render_template("index.html")
@app.route('/alek')
def aaaa():
return render_template("alek.html")
@app.route('/tom')
def ahah():
return render_template("tom.html")
@app.route('/participants')
def zzz():
return render_template("participants.html")
\ No newline at end of file
static/money.jpg

240 ko

static/pdp_Tom.jpg

580 ko

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>alek</title>
</head>
<body>
<h1>Alek</h1>
<p>Salut! Je m'appelle Aleksander, j'ai 19 ans et j'ai vendu mon âme au diable pour pouvoir faire des études en sciences informatiques</p>
<a href="https://www.youtube.com/watch?v=tyPBDrIyngE&ab_channel=Mr.Frog">ma vidéo préférée</a>
<br>
<p>Sur l'image on peut me voir en train de penser à mon salaire après avoir fini ces études</p>
<img src="/static/money.jpg" height="300" width="300">
<br>
<a href="http://127.0.0.1:5000/participants">retour en arrière</a>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>menu</title>
</head>
<body>
<h1>menu :)</h1>
<a href="http://127.0.0.1:5000/participants">voir les participants</a>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>participants</title>
</head>
<body>
<a href="http://127.0.0.1:5000/tom">tom</a>
<br>
<a href="http://127.0.0.1:5000/alek">alek</a>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>Tom</title>
</head>
<body>
<h1>Tom</h1>
<p>Hello ! Moi c'est Tom, j'ai 21 ans et je viens de Rochefort. Je fais de l'ultimate frisbee et je suis animateur aux scouts.</p>
<br>
<p>Ah oui j'aime bien l'escalade aussi</p>
<img src="/static/pdp_Tom.jpg" height="300" width="300">
<br>
<a href="http://127.0.0.1:5000/participants">Retour en arrière</a>
</body>
</html>
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter