Repository navigation
Expand file tree
/
Copy pathtest_template.html
More file actions
144 lines (123 loc) · 2.61 KB
/
Copy pathtest_template.html
File metadata and controls
144 lines (123 loc) · 2.61 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
132
133
134
135
136
137
138
139
140
141
142
143
144
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CodEval Submission Results</title>
<style>
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background-color: #f5f5f5;
padding: 20px;
}
.card {
max-width: 900px;
margin: 0 auto;
background: #ffffff;
border: 1px solid #ddd;
border-radius: 6px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
padding: 20px 24px;
}
h1 {
font-size: 1.4rem;
margin-top: 0;
text-align: center;
border-bottom: 1px solid #ddd;
padding-bottom: 8px;
}
.meta {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
font-size: 0.9rem;
margin-bottom: 8px;
}
.meta div {
margin-right: 16px;
margin-bottom: 4px;
}
.status {
margin: 12px 0 16px;
padding: 8px 12px;
border-radius: 4px;
background: #fff8e1;
border: 1px solid #ffecb3;
font-weight: 600;
}
.section {
margin-top: 20px;
}
.section-title {
font-weight: 600;
margin-bottom: 6px;
}
.section hr {
border: none;
border-top: 1px solid #ddd;
margin: 4px 0 8px;
}
table {
width: 100%;
border-collapse: collapse;
font-size: 0.9rem;
margin-bottom: 8px;
}
th,
td {
border: 1px solid #e0e0e0;
padding: 4px 6px;
vertical-align: top;
}
th {
background: #fafafa;
text-align: left;
}
.result-pass {
color: #2e7d32;
font-weight: 600;
}
.result-fail {
color: #c62828;
font-weight: 600;
}
.code-block {
font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
background: #f9f9f9;
border: 1px solid #e0e0e0;
border-radius: 4px;
padding: 8px;
font-size: 0.85rem;
overflow-x: auto;
white-space: pre;
margin-bottom: 8px;
}
.test-row-header {
font-weight: 600;
margin-top: 8px;
}
.test-note {
font-size: 0.85rem;
color: #555;
margin-top: 4px;
}
.buttons {
margin-top: 8px;
}
.buttons button {
font-size: 0.85rem;
padding: 6px 10px;
margin-right: 8px;
border-radius: 4px;
border: 1px solid #ccc;
background: #f5f5f5;
cursor: default;
/* mockup only */
}
.buttons button:hover {
background: #eeeeee;
}
</style>
</head>
<body>
<div class="card">
<h1>CodEval Submission Results</h1>