Compare commits

..

No commits in common. "c68b0d527eb7556457b6233a65e310cc4c5e2d7a" and "c6381538edeb138a4c65fdbdf6522a11e113a705" have entirely different histories.

4 changed files with 0 additions and 24 deletions

9
app.py
View File

@ -1,9 +0,0 @@
# Fichier principal
from flask import Flask, escape, request
import pages
app = Flask(__name__)
@app.route('/')
def main():
return pages.main()

View File

@ -1,8 +0,0 @@
### Fonctions communes
def read(path):
# Retourne le contenu texte d'un fichier
f = open(path,'r')
result = f.read()
f.close()
return result

View File

@ -1,4 +0,0 @@
import definitions as lib
def main():
return lib.read("templates/main.html")

View File

@ -1,3 +0,0 @@
<h1>Bienvenue !</h1>
<p>Ceci est la page d'accueil !</p>