Spaces:
Sleeping
Sleeping
Upload Front end june 9.html
Browse files- Front end june 9.html +95 -0
Front end june 9.html
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
|
5 |
+
<meta charset="UTF-8">
|
6 |
+
<title>Consult The Word</title>
|
7 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
|
8 |
+
<style>
|
9 |
+
body {
|
10 |
+
font-family: Arial, sans-serif;
|
11 |
+
/* Set background properties here */
|
12 |
+
background-image: url('/home/legend/Documents/CTW/image.jpg'); /* Replace with your image path */
|
13 |
+
background-size: cover;
|
14 |
+
background-repeat: no-repeat;
|
15 |
+
background-attachment: fixed;
|
16 |
+
background-position: center;
|
17 |
+
padding: 20px;
|
18 |
+
}
|
19 |
+
|
20 |
+
form {
|
21 |
+
background-color: rgba(255, 255, 255, 0.8);
|
22 |
+
padding: 20px;
|
23 |
+
border-radius: 8px;
|
24 |
+
max-width: 500px;
|
25 |
+
margin: 50px auto;
|
26 |
+
}
|
27 |
+
|
28 |
+
.prompt,
|
29 |
+
.sacredText {
|
30 |
+
margin-bottom: 15px;
|
31 |
+
}
|
32 |
+
|
33 |
+
label {
|
34 |
+
display: block;
|
35 |
+
margin-bottom: 5px;
|
36 |
+
font-weight: bold;
|
37 |
+
}
|
38 |
+
|
39 |
+
input[type="text"],
|
40 |
+
select {
|
41 |
+
width: 100%;
|
42 |
+
padding: 10px;
|
43 |
+
border-radius: 4px;
|
44 |
+
border: 1px solid #ccc;
|
45 |
+
}
|
46 |
+
|
47 |
+
button[type="submit"] {
|
48 |
+
padding: 10px 20px;
|
49 |
+
border: none;
|
50 |
+
border-radius: 4px;
|
51 |
+
background-color: #007BFF;
|
52 |
+
color: #fff;
|
53 |
+
cursor: pointer;
|
54 |
+
transition: background-color 0.3s ease;
|
55 |
+
}
|
56 |
+
|
57 |
+
button[type="submit"]:hover {
|
58 |
+
background-color: #0056b3;
|
59 |
+
}
|
60 |
+
|
61 |
+
#results {
|
62 |
+
margin-top: 20px;
|
63 |
+
background-color: rgba(255, 255, 255, 0.8);
|
64 |
+
padding: 20px;
|
65 |
+
border-radius: 8px;
|
66 |
+
}
|
67 |
+
</style>
|
68 |
+
</head>
|
69 |
+
<body>
|
70 |
+
<form id="chatForm">
|
71 |
+
<div class="prompt">
|
72 |
+
<label for="promptInput">Prompt:</label>
|
73 |
+
<input type="text" name="prompt" id="promptInput" placeholder="Talk to me..." />
|
74 |
+
</div>
|
75 |
+
<div class="sacredText">
|
76 |
+
<label for="scriptureSelect">Sacred Text:</label>
|
77 |
+
<select name="scripture" id="scriptureSelect">
|
78 |
+
<option disabled selected hidden>Choose a book</option>
|
79 |
+
|
80 |
+
<option value="TaoTeChing">All texts</option>
|
81 |
+
<option value="Bible">Bible</option>
|
82 |
+
<option value="Quran">Quran</option>
|
83 |
+
<option value="Gita">Bhagavad Gita</option>
|
84 |
+
<option value="Dhammapada">Dhammapada</option>
|
85 |
+
<option value="TaoTeChing">Tao Te Ching</option>
|
86 |
+
</select>
|
87 |
+
</div>
|
88 |
+
<button type="submit">Submit</button>
|
89 |
+
</form>
|
90 |
+
|
91 |
+
<div id="results"></div>
|
92 |
+
|
93 |
+
<script src="script.js"></script>
|
94 |
+
</body>
|
95 |
+
</html>
|