-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.html
51 lines (50 loc) · 1.29 KB
/
profile.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Guess the Piece - Profile</title>
<link rel="stylesheet" href="style.css">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<style>
#card {
padding: 0 !important;
}
main {
max-width: 400px;
}
#bar {
background: #007F00;
display: flex;
flex-direction: horizontal;
}
#bar div {
flex-grow: 1;
text-align: center;
padding: 16px 8px;
font-size: 16px;
}
h1 {
font-size: 24px;
margin: 0;
padding: 24px;
}
label {
font-size: 14px;
color: rgba(255,255,255,0.7);
}
</style>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet">
</head>
<body>
<a href="/" class="topleft button raised material-icons" aria-label="Back" style="background:#F2A10C"></a>
<main>
<div class="raised" id="card" style="text-align:left;background:#00CC00;color:#fff">
<h1 style="text-align:center">{{.Name}}</h1>
<div id="bar">
<div id="score"><label>Score</label><br>{{.Score}} / {{mulu .PieceCount 10}}</div>
<div id="piece"><label>Attempts</label><br>{{.PieceCount}}</div>
</div>
</div>
</main>
</body>
</html>