-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexperiment.html
92 lines (88 loc) · 3.17 KB
/
experiment.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
<!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 class="container" id="app">
<h1>
Coord<b>ML</b> <span class="title-portal">Portal</span> <span class="title-version">v1.0.0</span>
</h1>
<h2>Details of Experiment</h2>
<div class="exp-subtitle">
#{{ expId }}
</div>
<h4 class="section"># Tasks</h4>
<div class="row task-title" v-for="task in renderedTasks">
<div class="col s6">
<h3 class="task-title">@{{ task.taskId }}</h3>
</div>
<div class="col s6">
<h3 class="task-title right-align exp-progress">{{ task.status }}</h3>
</div>
<div class="col s6">
<div class="exp-subtitle">
{{ task.executable }}
</div>
</div>
<div class="col s6">
<div class="right-align exp-subtitle">Status</div>
</div>
<div class="col s2">
<div class="task-args">Args</div>
</div>
<div class="col s10">
<div class="task-args" v-html="task.args"></div>
</div>
<div class="col s2">
<div class="task-args">Tags</div>
</div>
<div class="col s10">
<div class="task-args" v-html="task.tags"></div>
</div>
</div>
<h4 class="section"># Results</h4>
<br />
<table class="centered">
<thead>
<tr>
<th v-for="col in resultsTable.columns">{{ col }}</th>
</tr>
</thead>
<tbody>
<tr v-for="row in resultsTable.results">
<td v-for="v in row">{{ v }}</td>
</tr>
</tbody>
</table>
<h4 class="section"># Result Views</h4>
<br />
<table class="centered">
<thead>
<tr>
<th v-for="col in resultsView.columns">{{ col }}</th>
</tr>
</thead>
<tbody>
<tr v-for="row in resultsView.results">
<td v-for="v in row">{{ v }}</td>
</tr>
</tbody>
</table>
<br />
<br />
</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/exp_details_app.js"></script>
</body>
</html>