-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (62 loc) · 2.65 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
<!DOCTYPE html>
<html>
<head>
<title>CoordML Portal</title>
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection"/>
<link type="text/css" rel="stylesheet" href="css/style.css" media="screen,projection"/>
<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<body>
<!--JavaScript at end of body for optimized loading-->
<div id="app" class="container">
<h1>
Coord<b>ML</b> <span class="title-portal">Portal</span> <span class="title-version">v1.0.0</span>
</h1>
<h4 class="section"># Experiments</h4>
<div class="row" v-for="exp in expOverviews" :key="exp.expId">
<div class="col s6">
<h3><a class='link' v-bind:href="'experiment.html?expId=' + exp.expId">{{ exp.title }}</a></h3>
</div>
<div class="col s6">
<h3 class="right-align exp-progress">{{ (exp.progress * 100).toFixed(1) }}%</h3>
</div>
<div class="col s6">
<div class="exp-subtitle">
#{{ exp.expId }}
</div>
</div>
<div class="col s6">
<div class="right-align exp-subtitle">Progress</div>
</div>
</div>
<h4 class="section"># Runner Instances</h4>
<div class="row" v-for="worker in workerOverviews" :key="worker.workerId">
<div class="col s6">
<h3>{{ worker.name }}</h3>
</div>
<div class="col s6">
<h3 class="right-align exp-progress">{{ (worker.overallLoad * 100).toFixed(1) }}%</h3>
</div>
<div class="col s6">
<div class="exp-subtitle">
#{{ worker.workerId }}
</div>
</div>
<div class="col s6">
<div class="right-align exp-subtitle">Overall GPU Load</div>
</div>
<div class="col l3 m6" v-for="i in worker.gpuNum">
<canvas v-bind:id="'gpu-canvas_' + worker.workerId + '_' + i" width="400" height="400"></canvas>
</div>
</div>
</div>
<script type="text/javascript" src="js/materialize.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script type="text/javascript" src="js/vue.min.js"></script>
<script type="text/javascript" src="js/app.js"></script>
</body>
</html>