This repository has been archived by the owner on May 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbrowse.html
135 lines (115 loc) · 2.5 KB
/
browse.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
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script type="text/javascript">
</script>
<style>
body {
background-image: url("images/1.jpg");
background-attachment: fixed;
}
.layer {
background-color: rgba(255, 254, 236, 0.7);
background-size: cover;
background-clip: padding-box;
padding: 15px;
}
.button {
margin: auto;
background-color: #F3DBA4;
border: none;
color: black;
padding: 12px 24px;
display: block;
text-align: center;
font-size: 18px;
font: helvetica;
cursor: default;
width: 200px;
margin-bottom: 8px;
}
.button:hover {
background-color: rgb(231, 193, 139);
}
.center {
font-family: helvetica;
font-size: 18px;
position: absolute;
vertical-align: middle;
text-align: center;
overflow: hidden;
margin-top: 4px;
margin-left: 50%;
margin-right: 50%;
width: 60%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, 0%);
}
.recipe-name {
text-align: center;
margin-bottom: 4px;
}
table,
th,
td {
border: 1px solid black;
border-collapse: collapse;
opacity: 0.95;
font-family: helvetica;
padding: 3%;
}
table {
margin-right: auto;
margin-left: auto;
width: 90%;
display: table;
}
.row {
display: table-row;
}
th,
td {
text-align: center;
}
th {
background-color: white;
color: rgb(187, 145, 8);
font-size: 20;
}
tr:nth-child(even) {
background-color: rgb(250, 233, 193)
}
tr:nth-child(odd) {
background-color: white;
}
</style>
</head>
<body class="center" style="overflow: auto;"></body>
<br>
<table id=tableId>
</table>
<br>
<div class="top">
<!--<button class="button" onclick="printFunction()">Print all recipes</button> -->
<button class="button" onclick="location.href='basic.html'">Back</button>
<script>
function printFunction() {
window.print();
}
</script>
<!-- end of print function -->
</div>
<!---
<button id="button">Next Recipe</button>
<br>
<button id="button">Previous Recipe</button>
<br>
<input type="button" onclick="location.href='basic.html'" value="Back">
<br>-->
<script>
require('./browse.js')
//require('./main.js')
</script>
</body>
</html>