forked from Lucaman99/Starterhacks-2018
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dashboard.html
59 lines (47 loc) · 2.25 KB
/
dashboard.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
<!DOCTYPE html>
<head>
<title>Dunno</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link href="static/css/bootstrap.min.css" rel="stylesheet">
// document.getElementById("myButton").onclick = function () {
// location.href = "www.yoursite.com";
function LabelTranslate()
{
// do ajax request to ask for what the location of the TSNE image is. Then use in in the following line.
console.log('LabelTranslate button pressed')
httpGetAsync('/label-translate',handleTSNEResponse)
}
function HealthTraking()
{
// do ajax request to ask for what the location of the TSNE image is. Then use in in the following line.
console.log('HealthTraking button pressed')
httpGetAsync('/health-traking',handleTSNEResponse)
}
</script>
<style>
body{
/*setting black and white divider*/
color:#fff;
background: linear-gradient( to right, black 50%, white 50%);
}
</style>
</head>
<body>
<div class="form-group">
<div class="col-sm-offset-4 col-sm-3">
<button type="submit" class="btn btn-success" onclick= "setVisible()" onclick= "checkFolder()" onclick="generateTSNE()">Generate t-SNE</button>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="static/js/bootstrap.min.js"></script>
<script src="static/node_modules/bootstrap-colorpicker/dist/js/bootstrap-colorpicker.min.js" rel="stylesheet"></script>
</body>