commit
45953fca03
@ -0,0 +1,43 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||||
|
<meta name="description" content="" />
|
||||||
|
<meta name="author" content="" />
|
||||||
|
<title>In English Please !</title>
|
||||||
|
<link rel="icon" type="image/x-icon" href="assets/favicon.ico" />
|
||||||
|
<!-- Google fonts-->
|
||||||
|
<link href="https://fonts.googleapis.com/css?family=Varela+Round" rel="stylesheet" />
|
||||||
|
<link
|
||||||
|
href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i"
|
||||||
|
rel="stylesheet" />
|
||||||
|
<!-- Core theme CSS (includes Bootstrap)-->
|
||||||
|
<link href="css/styles.css" rel="stylesheet" />
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="navBar">
|
||||||
|
<!-- Navigation-->
|
||||||
|
<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="secondNav">
|
||||||
|
<div class="container px-4 px-lg-5">
|
||||||
|
<a class="navbar-brand" href="index.html">Logo</a>
|
||||||
|
<button class="navbar-toggler navbar-toggler-right" type="button" data-bs-toggle="collapse"
|
||||||
|
data-bs-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false"
|
||||||
|
aria-label="Toggle navigation">
|
||||||
|
Menu
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</button>
|
||||||
|
<div class="collapse navbar-collapse" id="navbarResponsive">
|
||||||
|
<ul class="navbar-nav ms-auto">
|
||||||
|
<li class="nav-item"><a class="nav-link" href="#game">Game</a></li>
|
||||||
|
<li class="nav-item"><a class="nav-link" href="#download">Download</a></li>
|
||||||
|
<li class="nav-item"><a class="nav-link" href="login.html">My account</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,61 +0,0 @@
|
|||||||
<table>
|
|
||||||
|
|
||||||
|
|
||||||
{% if translations is defined %}
|
|
||||||
{% for row in translations %}
|
|
||||||
<tr>
|
|
||||||
<td>{{ row.id }}</td>
|
|
||||||
<td>{{ row.word1 }}</td>
|
|
||||||
<td>{{ row.word2 }}</td>
|
|
||||||
<td>{{ row.listVocab }}</td>
|
|
||||||
</tr>
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>Manage groups</title>
|
|
||||||
<!-- Vos liens de styles et de scripts -->
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<section>
|
|
||||||
<h1>Quiz</h1>
|
|
||||||
<form action="quiz" method="post">
|
|
||||||
{% if translations is defined %}
|
|
||||||
{% for translation in translations %}
|
|
||||||
<h2>{{ translation.word1 }}</h2>
|
|
||||||
{% set answers = [translation.word2] %}
|
|
||||||
{% for i in 0..3 %}
|
|
||||||
<input type="radio" name="answer{{ i }}" value="{{ valid[i] }}"> {{ answers[i] }}<br>
|
|
||||||
{% endfor %}
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
||||||
<input type="submit" value="Submit">
|
|
||||||
</form>
|
|
||||||
|
|
||||||
<h1>Translator</h1>
|
|
||||||
<form action="quiz" method="POST">
|
|
||||||
{% if translations is defined %}
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<td>ID</td>
|
|
||||||
<td>Word 1</td>
|
|
||||||
<td>Word 2</td>
|
|
||||||
<td>List Vocabulary</td>
|
|
||||||
</tr>
|
|
||||||
{% for translation in translations %}
|
|
||||||
<tr>
|
|
||||||
<td>{{ translation.id }}</td>
|
|
||||||
<td>{{ translation.word1 }}</td>
|
|
||||||
<td>{{ translation.word2 }}</td>
|
|
||||||
<td>{{ translation.listVocab }}</td>
|
|
||||||
</tr>
|
|
||||||
{% endfor %}
|
|
||||||
</table>
|
|
||||||
{% endif %}
|
|
||||||
</form>
|
|
||||||
</section>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
||||||
|
|
||||||
</table>
|
|
Loading…
Reference in new issue