-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutput.html
More file actions
98 lines (74 loc) · 2.46 KB
/
output.html
File metadata and controls
98 lines (74 loc) · 2.46 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Barlow+Semi+Condensed" rel="stylesheet">
<title>Recommendations</title>
</head>
<style>
body{
background-color: #c4f8ff;
margin: 15;
}
h1{
font-family: 'Barlow Semi Condensed', sans-serif;
}
.results{
margin: 50 250 50 250;
}
#backBtn{
margin-top: 15;
}
</style>
<script>
function myFunction() {
var x = document.getElementById("myDIV");
if (x.style.display === "none") {
x.style.display = "block";
} else {
x.style.display = "none";
}
}
</script>
<body background=#FF6961>
<center>
<h1>Your Recommendations!</h1>
<div class="results">
<form action="{{ url_for('showForm') }}" method="post">
<div class="alert alert-success" role="alert">
<strong>Try This: </strong> {{ sponsors[0] }}
</div>
<div class="alert alert-primary" role="alert">
<strong>1:</strong> {{ output[0] }}
<strong>Address: </strong> {{addresses[0]}} {{cities[0]}}, {{states[0]}} {{zips[0]}}
</div>
<div class="alert alert-primary" role="alert">
<strong>2:</strong> {{ output[1] }}
<strong>Address: </strong> {{addresses[1]}} {{cities[1]}}, {{states[1]}} {{zips[1]}}
</div>
<div class="alert alert-primary" role="alert">
<strong>3:</strong> {{ output[2] }}
<strong>Address: </strong> {{addresses[2]}} {{cities[2]}}, {{states[2]}} {{zips[2]}}
</div>
</form>
</div>
<button id="moreBtn" class= "btn btn-primary" onclick="myFunction()">Show 3 More</button>
<div id="myDIV" class="results" style="display:none;">
<div class="alert alert-primary" role="alert">
<strong>4:</strong> {{ output[3] }}
<strong>Address: </strong> {{addresses[3]}} {{cities[3]}}, {{states[3]}} {{zips[3]}}
</div>
<div class="alert alert-primary" role="alert">
<strong>5:</strong> {{ output[4] }}
<strong>Address: </strong> {{addresses[4]}} {{cities[4]}}, {{states[4]}} {{zips[4]}}
</div>
<div class="alert alert-primary" role="alert">
<strong>6: </strong> {{output[5]}}
<strong>Address: </strong> {{addresses[5]}} {{cities[5]}}, {{states[5]}} {{zips[5]}}
</div>
</div>
<form>
<a href="/"><button class="btn btn-primary" id="backBtn">Enter a New Restaurant!</button> </a>
</form>
</center>
</body>
</html>