-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
74 lines (73 loc) · 3.81 KB
/
index.html
File metadata and controls
74 lines (73 loc) · 3.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!--index.html-->
<!DOCTYPE html>
<html>
<head>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>chatGPT Electron App</title>
<link rel="icon" href="chatgpt.ico" />
<link rel="stylesheet" href="styles.css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css" crossorigin="anonymous" referrerpolicy="no-referrer" rel="stylesheet" type='text/css'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/github-dark-dimmed.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/highlight.min.js"></script>
</head>
<body>
<!-- The Modal -->
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<span id="close" class="close">×</span>
<h2 class="settingsTitle">Paramètres</h2>
<form name="settings" class="form">
<div class="form-entry">
<label for="identity" class="labelSettings">Quel est votre nom ?</label>
<input type='text' name="identity" class="settings" id="identityUser" raw="1" cols ="50" placeholder="Entrez votre nom (ou pseudo) ici..." @keypress.enter="changeUsername()" required>
</div>
<div class="form-entry">
<label for="identity" class="labelSettings">Changer le nom du chatbot ?</label>
<input type='text' name="identity" class="settings" id="identityBot" raw="1" cols ="50" placeholder="Entrez un nom pour le chatbot ici..." @keypress.enter="changeBotname()" required>
</div>
<div class="form-entry">
<label for="identity" class="labelSettings">Ecrivez ici votre prompt pour changer la personnalité de chatGPT ?</label>
<input type='text' name="identity" class="settings" id="identityPersonnalityBot" raw="1" cols ="50" placeholder="Entrez votre nom (ou pseudo) ici..." @keypress.enter="changePrompt()" required>
</div>
<div class="form-submit">
<input id="saveSettingsButton" class="submitButton settings" value="Envoyer !" readonly="readonly">
</div>
</form>
</div>
</div>
<header class="header">
<img class="imgTitleBar" src="chatgpt.png">
<h1 class="titrebar">ChatGPT Electron App</h1>
<nav>
<button class="minimize-btn btn" id="minimize-btn" title="duire"><i class="fa fa-window-minimize" id="icons-btn-min"></i></button>
<button class="maximize-btn btn" id="maximize-btn" title="Maximiser"><i class="fa fa-window-maximize" id="icons-btn-max"></i></button>
<button class="close-btn btn" id="close-btn" title="Fermer"><i class="fa fa-xmark" id="icons-btn-close"></i></button>
</nav>
</header>
<main class="main">
<section class="response" id="response">
<div class="messages" id="messages" markdown="1"></div>
</section>
<form name="ipcForm" class="form">
<div class="form-entry">
<label for="question">Posez votre question</label>
<input type='text' name="question" id="question" raw="1" cols ="50" placeholder="Entrez votre texte ici..." @keypress.enter="exchangeMessages()" required>
</div>
<div class="form-submit">
<input id="submitButton" class="submitButton" value="Envoyer !" readonly="readonly">
</div>
</form>
</main>
<footer>
<button id="settings">
<i class="fa-solid fa-gear"></i>
</button>
</footer>
<!-- Vous pouvezgalement demander que d'autres fichiers s'ecutent dans ce processus -->
<script src="./renderer.js"></script>
</body>
</html>