diff --git a/main/Dockerfiles/app/App b/main/Dockerfiles/app/App deleted file mode 160000 index 6b18b1d..0000000 --- a/main/Dockerfiles/app/App +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 6b18b1d67ba1bbce134c827e983974a2ac9430dd diff --git a/main/Dockerfiles/app/App/app/.idea/.gitignore b/main/Dockerfiles/app/App/app/.idea/.gitignore new file mode 100644 index 0000000..b58b603 --- /dev/null +++ b/main/Dockerfiles/app/App/app/.idea/.gitignore @@ -0,0 +1,5 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/main/Dockerfiles/app/App/app/.idea/app.iml b/main/Dockerfiles/app/App/app/.idea/app.iml new file mode 100644 index 0000000..0c8867d --- /dev/null +++ b/main/Dockerfiles/app/App/app/.idea/app.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/main/Dockerfiles/app/App/app/.idea/modules.xml b/main/Dockerfiles/app/App/app/.idea/modules.xml new file mode 100644 index 0000000..8c4259d --- /dev/null +++ b/main/Dockerfiles/app/App/app/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/main/Dockerfiles/app/App/app/app.py b/main/Dockerfiles/app/App/app/app.py new file mode 100644 index 0000000..d040504 --- /dev/null +++ b/main/Dockerfiles/app/App/app/app.py @@ -0,0 +1,107 @@ +# app/__init__.py + +from flask import Flask, render_template , request, redirect, url_for, abort +from flask_bootstrap import Bootstrap +import requests +import shutil +import os +def create_app(): + app = Flask(__name__) + Bootstrap(app) + + + NB_QUESTIONS = 8 # Number of questions (i.e attributes handle by yolo) + + + + @app.route('/', methods=['POST', 'GET']) + def homepage(): + if request.method == "POST": + # TO DO + # GENERATE GRID + r = requests.get('http://127.0.0.1:50001/') + filename = r.text + shutil.copy('/Datasets/grids/'+filename+'.png', './static/images/'+filename+'.png') + #r = requests.get('http://127.0.0.1:50011/create/TEST/') + #r = requests.get('http://127.0.0.1:50011/create/'+filename+'/') + return redirect(url_for('play',n=1,id=filename)) + return render_template('homepage.html') + + + + + + @app.route('/play///', methods=['POST', 'GET']) + def play(id="grille",n=1): + if (n==1): + # Call YOLO + r = requests.get('http://127.0.0.1:50015/create/'+id+'/') + r = requests.get('http://127.0.0.1:50011/create/'+id+'/') + if (n > NB_QUESTIONS or n < 1) : + abort(404) + + # TO DO + # Get question n from database + r = requests.get("http://127.0.0.1:50011/question/"+str(n)).json() + q = r["intitule"] + attribute = r["attribut"] + answers=r["response"].split(";") + if request.method == "POST": + response="" + if 'YES' in request.form: # ON CLICK YES + response = "0" + elif 'NO' in request.form: # ON CLICK NO + response = "1" + elif 'STOP' in request.form: # ON CLICK STOP + # TO DO + # DELETE IMG + # parameters : id + return redirect(url_for('homepage')) + else: + for a in answers: + if a.upper() in request.form : + attribute=a + response="0" + # TO DO + # UPDATE GRID + # parameters : attribute , response, id + r = requests.get("http://127.0.0.1:50009/update/"+id+"/"+attribute+"/"+response) + nb_characters = int(r.text) + os.remove('./static/images/'+id+'.png') + shutil.copy('/Datasets/grids/'+id+'.png', './static/images/'+id+'.png') + if n == NB_QUESTIONS : + # EVERY QUESTIONS HAVE BEEN DONE + # Prendre un perso au pif ? + return redirect(url_for('end',id=id)) + elif nb_characters == 1 : + # OR THE COMPUTER FOUND THE CHARACTER + return redirect(url_for('end',id=id)) + elif nb_characters == 0 : + return render_template('lost.html') + else: + return redirect(url_for('play',n=n+1, id=id)) + return render_template('play.html', numero = n, question = q, img = id,answers=answers) + + + + + + @app.route('/end/', methods=['POST', 'GET']) + def end(id = "grille") : + if request.method == "POST": + if 'YES' in request.form: + # TO DO + # GENERATE GRID + filename = "grille" + return redirect(url_for('play',n=1,id=filename)) + elif 'NO' in request.form: + # TO DO + # DELETE IMG + # parameters : id + return redirect(url_for('homepage')) + + return render_template('end.html',img=id) + + + + return app diff --git a/main/Dockerfiles/app/App/app/app.py.save b/main/Dockerfiles/app/App/app/app.py.save new file mode 100644 index 0000000..2e985e1 --- /dev/null +++ b/main/Dockerfiles/app/App/app/app.py.save @@ -0,0 +1,81 @@ +# app/__init__.py + +from flask import Flask, render_template , request, redirect, url_for, abort +from flask_bootstrap import Bootstrap + +def create_app(): + app = Flask(__name__) + Bootstrap(app) + + + NB_QUESTIONS = 5 # Number of questions (i.e attributes handle by yolo) + + + + @app.route('/', methods=['POST', 'GET']) + def homepage(): + if request.method == "POST": + # TO DO + # GENERATE GRID + r = requests.get('127.0.0.1:50001/')filename = r + return redirect(url_for('play',n=1,id=filename)) + return render_template('homepage.html') + + + + + + @app.route('/play///', methods=['POST', 'GET']) + def play(id="grille",n=1): + if (n > NB_QUESTIONS or n < 1) : + abort(404) + # TO DO + # Get question n from database + q = "Does your character wear a hat ?" + attribute = "Hat" + if request.method == "POST": + if 'YES' in request.form: # ON CLICK YES + response = 1 + elif 'NO' in request.form: # ON CLICK NO + response = 0 + elif 'STOP' in request.form: # ON CLICK STOP + # TO DO + # DELETE IMG + # parameters : id + return redirect(url_for('homepage')) + # TO DO + # UPDATE GRID + # parameters : attribute , response, id + nb_characters = 2 # TO DO + if n == NB_QUESTIONS : + # EVERY QUESTIONS HAVE BEEN DONE + # Prendre un perso au pif ? + return redirect(url_for('end',id=id)) + elif nb_characters == 1 : + # OR THE COMPUTER FOUND THE CHARACTER + return redirect(url_for('end',id=id)) + else: + return redirect(url_for('play',n=n+1, id=id)) + return render_template('play.html', numero = n, question = q, img = id) + + + + + + @app.route('/end/', methods=['POST', 'GET']) + def end(id = "grille") : + if request.method == "POST": + if 'YES' in request.form: + # TO DO + # GENERATE GRID + filename = "grille" + return redirect(url_for('play',n=1,id=filename)) + elif 'NO' in request.form: + # TO DO + # DELETE IMG + # parameters : id + return redirect(url_for('homepage')) + + return render_template('end.html',img=id) + + return app diff --git a/main/Dockerfiles/app/App/app/static/css/homepage.css b/main/Dockerfiles/app/App/app/static/css/homepage.css new file mode 100644 index 0000000..b78a5d3 --- /dev/null +++ b/main/Dockerfiles/app/App/app/static/css/homepage.css @@ -0,0 +1,165 @@ +/* BOUTON */ +/* ----------------------------------------------------------------- */ +@import url('https://fonts.googleapis.com/css?family=Poppins:900i'); +* { + box-sizing: border-box; +} + +.wrapper { + display: flex; + justify-content: center; + margin-bottom : 50px; +} + +.cta { + display: flex; + padding: 10px 45px; + text-decoration: none; + font-family: 'Poppins', sans-serif; + font-size: 40px; + color: white; + background: #6225E6; + transition: 1s; + box-shadow: 6px 6px 0 black; + transform: skewX(-15deg); +} + +.cta:focus { + outline: none; +} + +.cta:hover { + transition: 0.5s; + box-shadow: 10px 10px 0 #FBC638; +} + +.cta span:nth-child(2) { + transition: 0.5s; + margin-right: 0px; +} + +.cta:hover span:nth-child(2) { + transition: 0.5s; + margin-right: 45px; +} + +span { + transform: skewX(15deg) +} + +span:nth-child(2) { + width: 20px; + margin-left: 30px; + position: relative; + top: 12%; +} + +/**************SVG****************/ + +path.one { + transition: 0.4s; + transform: translateX(-60%); +} + +path.two { + transition: 0.5s; + transform: translateX(-30%); +} + +.cta:hover path.three { + animation: color_anim 1s infinite 0.2s; +} + +.cta:hover path.one { + transform: translateX(0%); + animation: color_anim 1s infinite 0.6s; +} + +.cta:hover path.two { + transform: translateX(0%); + animation: color_anim 1s infinite 0.4s; +} + +/* SVG animations */ + +@keyframes color_anim { + 0% { + fill: white; + } + 50% { + fill: #FBC638; + } + 100% { + fill: white; + } +} +/* ----------------------------------------------------------------- */ +body,h1,h2,h3,h4,h5,h6 {font-family: "Lato", sans-serif;} +body, html { + height: 100%; + color: black; + line-height: 1.8; +} + +/* Create a Parallax Effect */ +.bgimg-1, .bgimg-2, .bgimg-3 { + background-attachment: fixed; + background-position: center; + background-repeat: no-repeat; + background-size: cover; +} + +/* First image (Logo. Full height) */ +.bgimg-1 { + background-image: url("/static/images/paparazzi.png"); + min-height: 100%; +} + +.w3-wide {letter-spacing: 10px;} +.w3-hover-opacity {cursor: pointer;} + +/* Turn off parallax scrolling for tablets and phones */ +@media only screen and (max-device-width: 1600px) { + .bgimg-1, .bgimg-2, .bgimg-3 { + background-attachment: scroll; + min-height: 400px; + } +} + +body,h1,h2,h3,h4,h5,h6 {font-family: "Lato", sans-serif;} +body, html { + height: 100%; + color: black; + line-height: 1.8; +} + +/* Create a Parallax Effect */ +.bgimg-1, .bgimg-2, .bgimg-3 { + background-attachment: fixed; + background-position: center; + background-repeat: no-repeat; + background-size: cover; +} + +/* First image (Logo. Full height) */ +.bgimg-1 { + background-image: url("/static/images/paparazzi.png"); + min-height: 100%; + background-size:300px; +} + +.w3-wide {letter-spacing: 10px;} +.w3-hover-opacity {cursor: pointer;} + +/* Turn off parallax scrolling for tablets and phones */ +@media only screen and (max-device-width: 1600px) { + .bgimg-1, .bgimg-2, .bgimg-3 { + background-attachment: scroll; + min-height: 400px; + margin-top : 50px; + } +} + +.coloriage{ + background-color: khaki; +} diff --git a/main/Dockerfiles/app/App/app/static/css/play.css b/main/Dockerfiles/app/App/app/static/css/play.css new file mode 100644 index 0000000..4368149 --- /dev/null +++ b/main/Dockerfiles/app/App/app/static/css/play.css @@ -0,0 +1,66 @@ +@import url('https://fonts.googleapis.com/css?family=Patrick+Hand+SC'); +*{ + box-sizing:border-box; +} + +body{ + font-family: 'Patrick Hand SC', cursive; + text-align:center; +} + +.title{ + text-align:center; + color:#41403E; + font-size:5rem; + font-family: 'Patrick Hand SC', cursive; + border-radius: 255px 15px 225px 15px/15px 225px 15px 255px; + box-shadow:2px 8px 4px -6px hsla(0,0%,0%,.3); + border:solid 2px #41403E; + margin: 20px !important; + background-color: khaki; + } + +.grid{ + height: 400px; + padding-left: 20px; + margin-bottom: 50px; + margin-top:50px; + max-width: 100%; + max-height: 100%; +} + +.question{ + font-family: 'Patrick Hand SC', cursive; + text-align:center; +} + +.yes_no{ + border:dashed 2px #41403E; + align-self:center; + background:transparent; + padding:1rem 1rem; + margin:0 1rem; + transition:all .5s ease; + color:#41403E; + font-size:2rem; + letter-spacing:1px; + outline:none; + box-shadow: 20px 38px 34px -26px hsla(0,0%,0%,.2); + border-radius: 255px 15px 225px 15px/15px 225px 15px 255px; +} + +.buttons{ + display: flex; + justify-content: center; + align-items: center; +} + +.paparazzi{ + height: 200px; + margin-bottom: 20px; +} +.center{ + display: block; + margin-left: auto; + margin-right: auto; +} diff --git a/main/Dockerfiles/app/App/app/static/images/0OGT77OE.png b/main/Dockerfiles/app/App/app/static/images/0OGT77OE.png new file mode 100644 index 0000000..4404fbb Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/0OGT77OE.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/1YBGKB4W.png b/main/Dockerfiles/app/App/app/static/images/1YBGKB4W.png new file mode 100644 index 0000000..c5f8a6b Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/1YBGKB4W.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/2RSXZ2IT.png b/main/Dockerfiles/app/App/app/static/images/2RSXZ2IT.png new file mode 100644 index 0000000..6577361 Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/2RSXZ2IT.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/3EKW3K1A.png b/main/Dockerfiles/app/App/app/static/images/3EKW3K1A.png new file mode 100644 index 0000000..e6b1be3 Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/3EKW3K1A.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/4EVLZIC0.png b/main/Dockerfiles/app/App/app/static/images/4EVLZIC0.png new file mode 100644 index 0000000..f4dfff6 Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/4EVLZIC0.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/7J5E86WI.png b/main/Dockerfiles/app/App/app/static/images/7J5E86WI.png new file mode 100644 index 0000000..f427c4e Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/7J5E86WI.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/7OXPVDNT.png b/main/Dockerfiles/app/App/app/static/images/7OXPVDNT.png new file mode 100644 index 0000000..2154372 Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/7OXPVDNT.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/BIHYBMDS.png b/main/Dockerfiles/app/App/app/static/images/BIHYBMDS.png new file mode 100644 index 0000000..40dc7da Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/BIHYBMDS.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/BYKYLYXYJYDYH.png b/main/Dockerfiles/app/App/app/static/images/BYKYLYXYJYDYH.png new file mode 100644 index 0000000..40dc7da Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/BYKYLYXYJYDYH.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/D14JMEG4.png b/main/Dockerfiles/app/App/app/static/images/D14JMEG4.png new file mode 100644 index 0000000..40dc7da Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/D14JMEG4.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/DVORUQMI.png b/main/Dockerfiles/app/App/app/static/images/DVORUQMI.png new file mode 100644 index 0000000..5da9997 Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/DVORUQMI.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/DVVVYVPVKVMVY.png b/main/Dockerfiles/app/App/app/static/images/DVVVYVPVKVMVY.png new file mode 100644 index 0000000..2fc0fdb Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/DVVVYVPVKVMVY.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/EVGVQVVVNVVVR.png b/main/Dockerfiles/app/App/app/static/images/EVGVQVVVNVVVR.png new file mode 100644 index 0000000..3d4ebec Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/EVGVQVVVNVVVR.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/FUIXIR47.png b/main/Dockerfiles/app/App/app/static/images/FUIXIR47.png new file mode 100644 index 0000000..8212783 Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/FUIXIR47.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/JFZFUFPFWFSFO.png b/main/Dockerfiles/app/App/app/static/images/JFZFUFPFWFSFO.png new file mode 100644 index 0000000..bb7650f Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/JFZFUFPFWFSFO.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/JHRLW7IN.png b/main/Dockerfiles/app/App/app/static/images/JHRLW7IN.png new file mode 100644 index 0000000..40dc7da Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/JHRLW7IN.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/JNAQW11Y.png b/main/Dockerfiles/app/App/app/static/images/JNAQW11Y.png new file mode 100644 index 0000000..40dc7da Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/JNAQW11Y.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/KN02NRA4.png b/main/Dockerfiles/app/App/app/static/images/KN02NRA4.png new file mode 100644 index 0000000..ba4564b Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/KN02NRA4.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/OI1PW5Z4.png b/main/Dockerfiles/app/App/app/static/images/OI1PW5Z4.png new file mode 100644 index 0000000..40dc7da Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/OI1PW5Z4.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/PJCJTJNJTJQJJ.png b/main/Dockerfiles/app/App/app/static/images/PJCJTJNJTJQJJ.png new file mode 100644 index 0000000..fe8ace0 Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/PJCJTJNJTJQJJ.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/PXMCEA4U.png b/main/Dockerfiles/app/App/app/static/images/PXMCEA4U.png new file mode 100644 index 0000000..21b1ac0 Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/PXMCEA4U.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/QDADRDCDBDYDJ.png b/main/Dockerfiles/app/App/app/static/images/QDADRDCDBDYDJ.png new file mode 100644 index 0000000..40dc7da Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/QDADRDCDBDYDJ.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/TEST.png b/main/Dockerfiles/app/App/app/static/images/TEST.png new file mode 100755 index 0000000..585d313 Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/TEST.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/THJKM4Z5.png b/main/Dockerfiles/app/App/app/static/images/THJKM4Z5.png new file mode 100644 index 0000000..40dc7da Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/THJKM4Z5.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/UWKWIWZWLWNWQ.png b/main/Dockerfiles/app/App/app/static/images/UWKWIWZWLWNWQ.png new file mode 100644 index 0000000..d1dc0c9 Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/UWKWIWZWLWNWQ.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/WAYARAVAUANAV.png b/main/Dockerfiles/app/App/app/static/images/WAYARAVAUANAV.png new file mode 100644 index 0000000..5339b46 Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/WAYARAVAUANAV.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/WEKQJXVH.png b/main/Dockerfiles/app/App/app/static/images/WEKQJXVH.png new file mode 100644 index 0000000..40dc7da Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/WEKQJXVH.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/YWZWLWVWCWYWP.png b/main/Dockerfiles/app/App/app/static/images/YWZWLWVWCWYWP.png new file mode 100644 index 0000000..2f10de4 Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/YWZWLWVWCWYWP.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/Z8EWCF6S.png b/main/Dockerfiles/app/App/app/static/images/Z8EWCF6S.png new file mode 100644 index 0000000..d0b706b Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/Z8EWCF6S.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/ZIND6B2S.png b/main/Dockerfiles/app/App/app/static/images/ZIND6B2S.png new file mode 100644 index 0000000..cd75700 Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/ZIND6B2S.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/game-over.png b/main/Dockerfiles/app/App/app/static/images/game-over.png new file mode 100644 index 0000000..a0437e8 Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/game-over.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/grille.png b/main/Dockerfiles/app/App/app/static/images/grille.png new file mode 100644 index 0000000..4404fbb Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/grille.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/paparazzi.png b/main/Dockerfiles/app/App/app/static/images/paparazzi.png new file mode 100644 index 0000000..ad878cf Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/paparazzi.png differ diff --git a/main/Dockerfiles/app/App/app/static/images/winner.png b/main/Dockerfiles/app/App/app/static/images/winner.png new file mode 100644 index 0000000..952c095 Binary files /dev/null and b/main/Dockerfiles/app/App/app/static/images/winner.png differ diff --git a/main/Dockerfiles/app/App/app/templates/base.html b/main/Dockerfiles/app/App/app/templates/base.html new file mode 100644 index 0000000..1ad4063 --- /dev/null +++ b/main/Dockerfiles/app/App/app/templates/base.html @@ -0,0 +1,3 @@ +{# app/templates/base.html #} +{% extends "bootstrap/base.html" %} + diff --git a/main/Dockerfiles/app/App/app/templates/end.html b/main/Dockerfiles/app/App/app/templates/end.html new file mode 100644 index 0000000..981705d --- /dev/null +++ b/main/Dockerfiles/app/App/app/templates/end.html @@ -0,0 +1,77 @@ + +{% extends 'base.html' %} +{% block content %} + + + +
Guess Who
+ +
+
+

End ...

+

Is this your character ?

+
+ Guess who +
+
+ + + +
+
+
+
+ grid +
+
+ + + + + + + + + + +{% endblock %} diff --git a/main/Dockerfiles/app/App/app/templates/homepage.html b/main/Dockerfiles/app/App/app/templates/homepage.html new file mode 100644 index 0000000..bb6d3b9 --- /dev/null +++ b/main/Dockerfiles/app/App/app/templates/homepage.html @@ -0,0 +1,125 @@ + +{% extends 'base.html' %} +{% block content %} + + + + + + + +
+ + + + +
+ + +
+
+
+
+ +
+
+ +
+
+ + +
+
+

ABOUT US

+

Team Guess Who

+

+ Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's + standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make + a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, + remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing + Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions + of Lorem Ipsum +

+
+
+ +
+
+ 270 000
+ Images +
+
+ 6
+ Classmates +
+
+ 3
+ Tutors +
+
+ 15
+ Meetings +
+
+ + + + + + + + + +{% endblock %} diff --git a/main/Dockerfiles/app/App/app/templates/lost.html b/main/Dockerfiles/app/App/app/templates/lost.html new file mode 100644 index 0000000..95e5f34 --- /dev/null +++ b/main/Dockerfiles/app/App/app/templates/lost.html @@ -0,0 +1,37 @@ + +{% extends 'base.html' %} + +{% block content %} + + + + + + + + +{% endblock %} diff --git a/main/Dockerfiles/app/App/app/templates/play.html b/main/Dockerfiles/app/App/app/templates/play.html new file mode 100644 index 0000000..a57151a --- /dev/null +++ b/main/Dockerfiles/app/App/app/templates/play.html @@ -0,0 +1,37 @@ + +{% extends 'base.html' %} +{% block content %}
Guess Who
+ + +
+
+ grid +
+
+

Question {{ numero }} :

+

{{ question }}

+
+ Guess who +
+
+ {% for item in answers %} + + {% endfor %} +
+
+
+
+ + + + +{% endblock %}