-
Notifications
You must be signed in to change notification settings - Fork 0
/
dev.html
44 lines (44 loc) · 1.29 KB
/
dev.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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>Draw Schedule Editor</title>
<script src="dev.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<style>
.draws__selectable-games {
position: absolute;
width: 200px;
max-height: 240px;
overflow-y: auto;
overflow-x: clip;
background: transparent;
border: solid 1px grey;
z-index: 200;
}
.draws__selectable-game {
width: 100%;
background: white;
padding: 3px 6px;
border-bottom: "1px solid #ddd";
cursor: pointer;
}
.draws__selectable-game:hover {
background-color: #ddd;
}
</style>
</head>
<body>
<!-- This width restricted container is necessary to test full screen mode. -->
<div style="max-width: 1024px;">
<div id="draw-schedule"></div>
<script>
Elm.DrawSchedule.init({
node: document.getElementById("draw-schedule"),
// flags: { url: "http://localhost:3000/schedule" }
flags: { url: "http://demo.curling.test:3000/en/admin/events/3742-monday-night-mens/draw_schedule" }
})
</script>
</div>
</body>
</html>