-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
67 lines (64 loc) · 2.9 KB
/
index.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Flashing random colors</title>
<link rel="stylesheet" type="text/css" href="style.css">
<link href = "https://code.jquery.com/ui/1.10.4/themes/ui-lightness/jquery-ui.css" rel = "stylesheet">
<script src = "https://code.jquery.com/jquery-1.10.2.js"></script>
<script src = "https://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="script.js"></script>
</head>
<body>
<div class="modal fade" id="modalWindow" data-backdrop="static">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Set the RGB color range</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<div class="modal-body">
<p>Red: </p>
<div id="slider-red"></div>
</div>
<div class="modal-body">
<p>Green: </p>
<div id="slider-green"></div></div>
<div class="modal-body">
<p>Blue: </p>
<div id="slider-blue"></div></div>
<div class="modal-footer">
<div class="container">
<div class="row">
<div class="col-6">
Duration in [s]: <input type="number" id="timeDuration" min="1" steps="1" class="form-control" value="9">
</div>
<div class="col-6">
Rate of changes in [ms]: <input type="number" id="rateOfChanges" min="1" steps="1" class="form-control" value="30">
</div>
</div>
<div class="row justify-content-end">
<div class="col-12">
<div class="custom-control custom-switch align-bottom">
<input type="checkbox" class="custom-control-input" id="automateChangeBackground">
<label class="custom-control-label" for="automateChangeBackground">Auto background change</label>
</div>
<div style="display: none" class="spinner-grow" style="width: 3rem; height: 3rem;" role="status">
<span class="sr-only">Loading...</span>
</div>
<button type="button" class="btn btn-danger float-right ml-1" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-warning float-right" id="default-values">Default values</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>