Merge branch 'fix_pokemon'
This commit is contained in:
@@ -38,19 +38,18 @@ def get_leaderboard():
|
|||||||
@app.route('/questions')
|
@app.route('/questions')
|
||||||
def show_questions():
|
def show_questions():
|
||||||
with open('./data/quizz.json', 'r') as file:
|
with open('./data/quizz.json', 'r') as file:
|
||||||
#questions = json.load(file)["outils_list"]
|
|
||||||
questions = json.load(file)
|
questions = json.load(file)
|
||||||
return render_template('quiz.html', questions=questions)
|
return render_template('quiz.html', questions=questions)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@app.route('/')
|
@app.route('/')
|
||||||
def main():
|
def main():
|
||||||
return render_template('index.html')
|
return render_template('index.html')
|
||||||
|
|
||||||
@app.route('/pokemon')
|
@app.route('/pokemon')
|
||||||
def poke():
|
def poke():
|
||||||
return render_template('pokemon.html')
|
with open('./data/softwares.json', 'r') as file:
|
||||||
|
softwares = json.load(file)["outils_list"]
|
||||||
|
return render_template('pokemon.html', data=softwares)
|
||||||
|
|
||||||
@app.route('/PAI')
|
@app.route('/PAI')
|
||||||
def pai():
|
def pai():
|
||||||
|
|||||||
Reference in New Issue
Block a user