Changement de Streamlit vers Flask
This commit is contained in:
parent
761f3d10aa
commit
6a4cff83f2
21 changed files with 361 additions and 133 deletions
31
templates/index.html
Normal file
31
templates/index.html
Normal file
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Application Point Médian</title>
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>Application Point Médian</h1>
|
||||
|
||||
<div class="markdown-content">
|
||||
{{ header | markdown }}
|
||||
</div>
|
||||
|
||||
<textarea id="input-text" placeholder="Écris ton texte ici" rows="10"></textarea>
|
||||
<button id="correct-button">Corriger</button>
|
||||
<textarea id="output-text" readonly rows="10"></textarea>
|
||||
|
||||
<div id="email-form"></div>
|
||||
|
||||
<div class="markdown-content">
|
||||
{{ footer | markdown }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||||
<script src="{{ url_for('static', filename='script.js') }}"></script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue