Docfile commited on
Commit
f92ef64
·
verified ·
1 Parent(s): 6d9a561

Create templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +53 -0
templates/index.html ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Mariam AI</title>
5
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css" integrity="sha384-vKruj+a13U8yHIkAyGgK1J3ArTL/LY/sVhVKg8tvkGTl/mmexC3wpUdSZvKYE2qX" crossorigin="anonymous">
6
+ <script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js" integrity="sha384-PwRUT/YqbnEjkZO0zZxNqcxACrXe+j766U2amWiwIj8VZkb9rmKa9b9lhVencyWv" crossorigin="anonymous"></script>
7
+ <script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/contrib/auto-render.min.js" integrity="sha384-+VBxd3r6XgURycqtZ117nYw44OOcIax56Z4dCRWbxyPt0Koah1uHoK0o4+/RRE05" crossorigin="anonymous"></script>
8
+ <style>
9
+ body {
10
+ font-family: sans-serif;
11
+ margin: 20px;
12
+ }
13
+ #navbar {
14
+ background-color: #f0f0f0; /* Couleur de fond de la barre de navigation */
15
+ padding: 10px;
16
+ margin-bottom: 20px;
17
+ border-radius: 5px; /* Coins arrondis */
18
+
19
+ }
20
+ #output {
21
+ padding: 15px; /* Ajout de padding */
22
+ border: 1px solid #ddd; /* Bordure légère */
23
+ border-radius: 5px;
24
+ }
25
+ </style>
26
+ <script>
27
+ document.addEventListener("DOMContentLoaded", function() {
28
+ renderMathInElement(document.body, {
29
+ delimiters: [
30
+ {left: "$$", right: "$$", display: true},
31
+ {left: "$", right: "$", display: false},
32
+ {left: "\\[", right: "\\]", display: true},
33
+ ]
34
+ });
35
+ });
36
+ </script>
37
+
38
+ </head>
39
+ <body>
40
+ <div id="navbar">
41
+ <h1>Mariam AI</h1>
42
+ <!-- Vous pouvez ajouter d'autres éléments de navigation ici si nécessaire -->
43
+ </div>
44
+
45
+ <form method="POST" enctype="multipart/form-data">
46
+ <input type="file" name="image">
47
+ <input type="submit" value="Résoudre">
48
+ </form>
49
+ <div id="output">
50
+ {{ e | safe }}
51
+ </div>
52
+ </body>
53
+ </html>