-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
131 lines (114 loc) · 2.62 KB
/
index.html
File metadata and controls
131 lines (114 loc) · 2.62 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
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
<!DOCTYPE html>
<html>
<head>
<title>httpomate</title>
<style>
/* Body styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f2f2f2;
}
/* Form styles */
form {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 50px;
background-color: #fff;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
border-radius: 10px;
padding: 30px;
width: 50%;
margin: 0 auto;
}
div {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 50px;
background-color: #fff;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
border-radius: 10px;
padding: 30px;
margin: 0 auto;
}
label {
font-size: 20px;
margin-bottom: 20px;
}
input[type="file"] {
margin-bottom: 20px;
}
button[type="button"] {
padding: 10px 20px;
background-color: #4CAF50;
color: white;
font-size: 20px;
border: none;
border-radius: 5px;
cursor: pointer;
}
button[type="button"]:hover {
background-color: #3e8e41;
}
/* Results table styles */
table {
border-collapse: collapse;
margin: 50px auto;
width: 50%;
background-color: #fff;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
border-radius: 10px;
overflow: hidden;
}
select {
font-size: 16px;
padding: 10px 20px;
border: none;
background-color: #f2f2f2;
cursor: pointer;
width: 100%;
}
select:hover {
background-color: #ddd;
}
th {
background-color: #4CAF50;
color: white;
text-align: left;
padding: 10px;
}
td {
border-bottom: 1px solid #ddd;
padding: 10px;
}
tr:hover td {
background-color: #f5f5f5;
}
</style>
</head>
<body>
<form>
<h2>httpOmate</h2>
<label for="file">Choose test file:</label>
<input type="file" id="file" name="file">
<button type="button" id="run-tests">Run Tests</button>
</form>
<br>
<div id="main">
<h3>Below will populate after test run</h3>
<table>
<tr>
<td>
<select id="testDropdown">
</select>
</td>
</tr>
</table>
<div id="testTable"></div>
</div>
<script type="module" src="./renderer.js"></script>
</body>
</html>