-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.html
58 lines (57 loc) · 1.89 KB
/
page.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
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html>
<head>
<title>DOJ Press Releases</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="//netdna.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" media="screen">
<style>
.container {
max-width: 1000px;
}
body {
background-color: #ebebe0;
color: #0f0f0a;
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif
}
</style>
</head>
<body>
<br>
<div class="container">
<center><h1>Department of Justice</h1>
<br>
<h2>Press Release Search</h2>
<br>
<br>
<form role="form" method='POST' action='/score'><!-- search bar for relevant press releases -->
<div class="form-group">
<input type="text" name="url" class="form-control" id="url-box" placeholder="What are you looking for?" style="max-width: 400px;" autofocus required>
</div>
<button type="submit" class="btn btn-default">Search</button>
</form>
<br>
<br>
<br>
<h4> Press Release Generator
<br>
<form role="form" method='POST' action='/gen'> <!-- drop down for generator for select topics -->
<div>
<select name= "topics" method="POST" action="/gen">
{% for topic in topics %}
<option value= "{{topic}}" SELECTED>{{topic}}</option>"
{% endfor %}
</select>
<button type="submit" class="btn btn-default">Generate</button>
</div>
</form>
<br>
<br>
<br>
<br>
<img src = "https://upload.wikimedia.org/wikipedia/commons/thumb/5/54/Seal_of_the_United_States_Department_of_Justice.svg/2000px-Seal_of_the_United_States_Department_of_Justice.svg.png" alt="DOJ logo", width='250',height='300'>
</center>
</div>
<script src="//code.jquery.com/jquery-2.2.1.min.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
</body>
</html>