-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.html
38 lines (33 loc) · 1.59 KB
/
home.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous"><script src="javascript/app.js" type="module"></script>
<title>EasyPHPRompt</title>
</head>
<body style="min-width: 600px; height: 100%;">
<div class="container">
<button id="openNewWindowButton" class="btn btn-primary my-2">Open in new window</button>
<a class="btn btn-secondary ml-3" href="processing.html">View procesing requests</a>
<h1 class="h2">Create some prompt for Ollama EasyPHPrompt below</h1>
<form id="myForm">
<div id="alert">
</div>
<label for="dataTextarea" class="form-label">Data:</label><br>
<textarea id="dataTextarea" name="data" rows="8" cols="40" class="form-control"></textarea><br><br>
<label for="recordDropdown" class="form-label">Select a prompt type:</label><br>
<select id="recordDropdown" name="record" class="form-control">
<option value="">No prompts loaded - Check your connection!</option>
</select><br><br>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
<p class="my-2">
<button id="reloadButton" class="btn btn-warning">Reload prompt types</button>
</p>
<div class="text-center">
<p><a href="info.html" target="_self">About this extension</a></p>
</div>
</div>
</body>
</html>