Update index.html
Browse files- index.html +52 -51
index.html
CHANGED
|
@@ -1,51 +1,52 @@
|
|
| 1 |
-
<!DOCTYPE html>
|
| 2 |
-
<html lang="en">
|
| 3 |
-
<head>
|
| 4 |
-
<meta charset="UTF-8" />
|
| 5 |
-
<title>Legal Assistant</title>
|
| 6 |
-
<link rel="stylesheet" href="style.css" />
|
| 7 |
-
<script src="script.js"></script>
|
| 8 |
-
</head>
|
| 9 |
-
<body>
|
| 10 |
-
<h1 class="title">Legal Assistant</h1>
|
| 11 |
-
|
| 12 |
-
<div class="container">
|
| 13 |
-
<div class="left-panel">
|
| 14 |
-
<img src="man.jpg" alt="Profile" />
|
| 15 |
-
</div>
|
| 16 |
-
|
| 17 |
-
<div class="center-panel">
|
| 18 |
-
<div class="top-label">
|
| 19 |
-
<textarea id="topLabel" readonly>Dictate your legal question!</textarea>
|
| 20 |
-
</div>
|
| 21 |
-
|
| 22 |
-
<div class="qa-section">
|
| 23 |
-
<div class="input-area">
|
| 24 |
-
<label>Ask your legal question:</label>
|
| 25 |
-
<textarea id="question" rows="10"></textarea>
|
| 26 |
-
</div>
|
| 27 |
-
<div class="output-area">
|
| 28 |
-
<label>Answer:</label>
|
| 29 |
-
<textarea id="answer" rows="10" readonly></textarea>
|
| 30 |
-
</div>
|
| 31 |
-
</div>
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
<button onclick="
|
| 36 |
-
<button onclick="readAloud()">π Read Aloud</button>
|
| 37 |
-
<button onclick="
|
| 38 |
-
<button onclick="
|
| 39 |
-
<button onclick="
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
<
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
</
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8" />
|
| 5 |
+
<title>Legal Assistant</title>
|
| 6 |
+
<link rel="stylesheet" href="style.css" />
|
| 7 |
+
<script src="script.js"></script>
|
| 8 |
+
</head>
|
| 9 |
+
<body>
|
| 10 |
+
<h1 class="title">Legal Assistant</h1>
|
| 11 |
+
|
| 12 |
+
<div class="container">
|
| 13 |
+
<div class="left-panel">
|
| 14 |
+
<img src="man.jpg" alt="Profile" />
|
| 15 |
+
</div>
|
| 16 |
+
|
| 17 |
+
<div class="center-panel">
|
| 18 |
+
<div class="top-label">
|
| 19 |
+
<textarea id="topLabel" readonly>Dictate your legal question!</textarea>
|
| 20 |
+
</div>
|
| 21 |
+
|
| 22 |
+
<div class="qa-section">
|
| 23 |
+
<div class="input-area">
|
| 24 |
+
<label>Ask your legal question:</label>
|
| 25 |
+
<textarea id="question" rows="10"></textarea>
|
| 26 |
+
</div>
|
| 27 |
+
<div class="output-area">
|
| 28 |
+
<label>Answer:</label>
|
| 29 |
+
<textarea id="answer" rows="10" readonly></textarea>
|
| 30 |
+
</div>
|
| 31 |
+
</div>
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
<div class="button-panel">
|
| 35 |
+
<button onclick="handleDictate()">π Dictate</button>
|
| 36 |
+
<button id="generateBtn">π§Ύ Generate Response</button> <button onclick="readAloud()">π Read Aloud</button>
|
| 37 |
+
<button onclick="readAloud()">π Read Aloud</button>
|
| 38 |
+
<button onclick="uploadMP3()">π΅ Upload MP3</button>
|
| 39 |
+
<button onclick="saveQA()">π¨ Save/Print</button>
|
| 40 |
+
<button onclick="resetApp()">π§Ή Reset</button>
|
| 41 |
+
</div>
|
| 42 |
+
</div>
|
| 43 |
+
|
| 44 |
+
<div class="right-panel">
|
| 45 |
+
<label>Conversation History:</label>
|
| 46 |
+
<textarea id="history" readonly></textarea>
|
| 47 |
+
</div>
|
| 48 |
+
</div>
|
| 49 |
+
|
| 50 |
+
<script src="script.js"></script>
|
| 51 |
+
</body>
|
| 52 |
+
</html>
|