-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.html
105 lines (85 loc) · 3.46 KB
/
home.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
<html>
<head>
<b><h1 align="center">ANOMALY DECTECTOR</h1></b>
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/smoothness/jquery-ui.css">
<!-- <script src="https://code.jquery.com/jquery-3.3.1.js" integrity="
sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60=" crossorigin="anonymous"></script> -->
<style type="text/css">
.backgroundChange{
background: red;
}
</style>
</head>
<body >
<button class="btn btn-success but hid" id="alert-hidden1" style="opacity: 0; position: fixed; left: 0; top: 0;" name="delete_pressed">ALERT</button>
<button class="btn btn-success but hid" id="alert1-hidden2" style="opacity: 0; position: fixed; right: 0; top: 0;" name="delete_pressed">ALERT</button>
<table align = "center" width="1000">
<tr><td>
<div id= 111 class="blog-card" style="padding: 10%;">
<div class="meta">
<div class="photo" style="text-align: center;"><video width="400" height="400" controls>
<source src="Assault001_x264.mp4" type="video/mp4"></video></div>
<div class="description" style="text-align: center;">
<button class="btn btn-info but" onClick="document.location.reload(true)" name="button_pressed">Refresh</button>
<button class="btn btn-success but hid" id="alert1" name="delete_pressed">ALERT</button>
</
</div>
</div>
</div>
</td>
<td></td>
<td >
<div id=222 class="blog-card" style="padding: 10%;">
<div class="meta">
<div class="photo" style="text-align: center;"><video width="400" height="400" controls>
<source src="Normal_Videos_150_x264.mp4" type="video/mp4"></video> </div>
</div>
<div class="description" style="text-align: center;">
<button class="btn btn-info but" onClick="document.location.reload(true)" name="button_pressed">Refresh</button>
<button class="btn btn-success but hid" id="alert2" name="delete_pressed">ALERT</button>
</td></tr>
</table>
</body>
<!-- Compiled and minified JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
</html>
<script src="http://code.jquery.com/jquery-1.10.2.js"></script>
<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<script>
// function run(interval, frames,idd) {
// var int = 1;
// var ee = document.getElementById(idd);
// function func() {
// ee.id = "b"+int;
// int++;
// if(int === frames) { int = 1; }
// }
// var swap = window.setInterval(func, interval);
// }
$(document).ready(function(){
$("#alert1").click(function () {
// $("#vid-style1").effect( "pulsate" );
setInterval(function(){
$("#111").toggleClass("backgroundChange");
},100)
});
$("#alert-hidden1").click(function () {
// $("#vid-style1").effect( "pulsate" );
setInterval(function(){
$("#111").toggleClass("backgroundChange");
},100)
});
$("#alert2").click(function () {
// $("#vid-style2").effect( "pulsate" );
setInterval(function(){
$("#222").toggleClass("backgroundChange");
},100)
});
$("#alert1-hidden2").click(function () {
// $("#vid-style2").effect( "pulsate" );
setInterval(function(){
$("#222").toggleClass("backgroundChange");
},100)
});
})
</script>