-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLiveScoreEntry.html
54 lines (51 loc) · 2.04 KB
/
LiveScoreEntry.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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="./node_modules/bulma/css/bulma.css">
<link rel="stylesheet" type="text/css" href="./node_modules/@fortawesome/fontawesome-free/css/all.css">
<link rel="stylesheet" type="text/css" href="./assets/css/footers.css">
<!-- <script type="text/javascript" src="./data/DiveList.json"></script> -->
</head>
<body>
<center>
<div class="modal is-active" id="loadingmodal">
<div class="modal-background"></div>
<div class="modal-content">
<center><a class="button is-loading">loading</a></center>
</div>
<button class="modal-close is-large" aria-label="close"></button>
</div>
<nav class="nav has-shadow">
<div class="<nav-lef></nav-lef>">
<a class="nav-item" id="exit">
<span class="icon"><i class="fa fa-angle-left"></i></span>
<span>Back</span>
</a>
</div>
</nav>
<div class="content" id="Panel">
</div>
</center>
<footer class="footer">
<div class="container">
<div class="content has-text-left">
<a id="nextDiver" class="button">Next Diver</a>
</div>
</div>
</footer>
<script>
var $ =require('jquery');
var diveHandler = require('./assets/js/DiveHandler.js');
const remote = require('electron').remote;
$('#exit').on('click',function(){
var window = remote.getCurrentWindow();
window.close();
});
$('#nextDiver').on('click', function(){
console.log("Getting Dive");
console.log(diveHandler.getDive("001A", "1M").toString());
})
</script>
<!-- <script src="./assets/js/LiveScoreEntry.js"></script> -->
</body>
</html>