-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
171 lines (163 loc) · 5.73 KB
/
test.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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!DOCTYPE html>
<!-- Match container-->
<html>
<head>
<meta charset="UTF-8" />
<title>League Stats</title>
<link
href="https://fonts.googleapis.com/css?family=Lato"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
/>
<link rel="stylesheet" href="./public/stylesheets/match-wrapper.css" />
<!-- Jquery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<!-- Bootstraps -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="./scripts/league-stat.js"></script>
</head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="./public/scripts/create-match.js"></script>
<script src="dummy-data.js"></script>
<script>
// $(document).ready(() => {
// $("body").append(createMatch(dummyData.matchList.matches[0]));
// });
</script>
<style>
.sprite {
background-image: url("http://ddragon.leagueoflegends.com/cdn/10.16.1/img/sprite/spell0.png");
/* background-position: -192px -48px; */
height: 48px;
width: 48px;
}
.keystone {
background-image: url("http://ddragon.leagueoflegends.com/cdn/img/perk-images/Styles/Precision/Conqueror/Conqueror.png");
background-size: contain;
background-color:black;
border-radius: 50%;
height: 24px;
width: 24px;
}
</style>
<body>
<div class="sprite"></div>
<div class="keystone"></img>
<div class="match-wrapper" style="margin-top: 300px">
<!-- Heading -->
<div class="match-header">
<div>3 days ago</div>
<div>40 mins</div>
<div>Avg rating: Plat 4</div>
</div>
<!-- Body -->
<div class="match-body shadow-noshadow rounded-bottom p-1">
<!-- Match result -->
<div class="match-result">
<div class="win-text">Victory</div>
<hr class="my-1" />
<div class="type-text">Ranked</div>
<div class="type-text">Solo Duo</div>
</div>
<!-- Champion Icon -->
<div class="pick-detail-wrapper">
<div class="pick-detail">
<img
class="champ-icon"
src="http://ddragon.leagueoflegends.com/cdn/10.16.1/img/champion/Irelia.png"
alt="Irelia"
/>
<div class="summoner-spell">
<img src="public/resources/flash.jpg" />
<img src="public/resources/ignite.jpg" />
</div>
<div class="runes">
<img src="public/resources/Conqueror.png" />
<img src="public/resources/7203_Whimsy.png" />
</div>
</div>
<div class="name">Irelia</div>
</div>
<!-- KDA -->
<div class="match-stats-wrapper">
<h4>0 / 0 / 0</h4>
<div class="match-stats">
<div>CS: 231 (6.4)</div>
<div>Dmg Share: 41%</div>
<div>Participation: 41%</div>
</div>
</div>
<!-- items -->
<div class="player-build-wrapper">
<div class="inventory">
<div class="items">
<img src="public/resources/Conqueror.png" />
<img src="public/resources/7203_Whimsy.png" />
<img src="public/resources/Conqueror.png" />
<img src="public/resources/7203_Whimsy.png" />
<img src="public/resources/Conqueror.png" />
<img src="public/resources/7203_Whimsy.png" />
</div>
<div class="trinket">
<img src="public/resources/7203_Whimsy.png" width="25px" />
</div>
</div>
<div>Control wards: 5</div>
<div>Hourglass: Yes</div>
</div>
<!-- Teams -->
<div class="teams-wrapper">
<div class="team-blue">
<div class="team-member">
<img src="public/resources/Irelia.png" />
<div>MakingHandties</div>
</div>
<div class="team-member">
<img src="public/resources/Irelia.png" />
<div>MakingHandties</div>
</div>
<div class="team-member">
<img src="public/resources/Irelia.png" />
<div>MakingHandties</div>
</div>
<div class="team-member">
<img src="public/resources/Irelia.png" />
<div>MakingHandties</div>
</div>
<div class="team-member">
<img src="public/resources/Irelia.png" />
<div>MakingHandties</div>
</div>
</div>
<div class="team-red">
<div class="team-member">
<img src="public/resources/Irelia.png" />
<div>MakingHandties</div>
</div>
<div class="team-member">
<img src="public/resources/Irelia.png" />
<div>MakingHandties</div>
</div>
<div class="team-member">
<img src="public/resources/Irelia.png" />
<div>MakingHandties</div>
</div>
<div class="team-member">
<img src="public/resources/Irelia.png" />
<div>MakingHandties</div>
</div>
<div class="team-member">
<img src="public/resources/Irelia.png" />
<div>MakingHandties</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>