-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
47 lines (47 loc) · 2.34 KB
/
index.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
39
40
41
42
43
44
45
46
47
<!doctype html>
<html lang=en>
<head>
<meta charset=utf-8>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous">
<title>SCCJS</title>
</head>
<body>
<div class="container" style="max-width: 400px;">
<h1 class="text-center">Submit SCCJS Job</h1>
<form hx-post="https://pe78t1hdk0.execute-api.us-east-1.amazonaws.com/api/" hx-target="#result" hx-ext="json-enc">
<div class="mb-3">
<label for="username" class="form-label">Username</label>
<input type="email" class="form-control" id="username" placeholder="[email protected]" name="username" required>
</div>
<div class="mb-3">
<label for="password" class="form-label">Password</label>
<input type="password" class="form-control" id="password" name="password" required>
</div>
<div class="mb-3">
<label for="search_type" class="form-label">Search type</label>
<select class="form-select" id="search_type" name="search_type">
<option selected value="judge">Judge</option>
<option value="courtroom">Courtroom</option>
</select>
</div>
<div class="mb-3">
<label for="start_date" class="form-label">Start date</label>
<input type="date" class="form-control" id="start_date" name="start_date" required>
</div>
<div class="mb-3">
<label for="end_date" class="form-label">End date</label>
<input type="date" class="form-control" id="end_date" name="end_date" required>
</div>
<code id="result"></code>
<button type="submit" class="form-control text-primary">
Submit
<img class="htmx-indicator" src="https://htmx.org/img/bars.svg"/>
</button>
</form>
</div>
<script src="https://unpkg.com/[email protected]"></script>
<script src="https://unpkg.com/[email protected]/dist/ext/json-enc.js"></script>
<script src="https://unpkg.com/[email protected]/mustache.js"></script>
</body>
</html>