-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdashboard.html
More file actions
46 lines (36 loc) · 1.19 KB
/
dashboard.html
File metadata and controls
46 lines (36 loc) · 1.19 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Dashboard</title>
<link rel="stylesheet" href="css/talker.css">
</head>
<body>
<div class="info" tabindex="1">
<img src="images/info.jpg" alt="You are on dashboard">
</div>
<a href="javascript:location.replace('teachers.html')" class="btn a" tabindex="2">Go to teachers</a>
<div style="text-align:center">
<button tabindex="3" class="btn b" onclick="playPause()">Play or Pause Beagle Video</button>
<br><br>
<video id="video1" width="420">
<source src="video/beagles.mp4" type="video/mp4">
</video>
</div>
<script>
var myVideo = document.getElementById("video1");
function playPause() {
if (myVideo.paused)
myVideo.play();
else
myVideo.pause();
}
</script>
<a href="javascript:location.replace('schedule.html')" class="btn c" tabindex="4">Go to schedule</a>
<a href="javascript:location.replace('home.html')" class="btn up" tabindex="0">
<img src="images/up.jpg" alt="Go back to the last page">
</a>
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js'></script>
<script src="js/talker.js"></script>
</body>
</html>