-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
46 lines (39 loc) · 794 Bytes
/
index.php
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
<?php
$list_experiments_section = "class='active'";
require("include/template/header.inc.php");
?>
<?php
if( isset($_GET["experiment_id"]))
{
$exp_id = (int) $_GET["experiment_id"];
$experiment = new Experiment($exp_id);
$experiment->FullRender();
include_once("include/template/scripts.index.inc.php");
}
else
{
?>
<div class="row">
<h3>Currently running</h3>
<?php
Experiment::FetchAllRunning();
?>
</div>
<div class="row">
<h3>Experiments sorted by % test error</h3>
<?php
Experiment::FetchAll();
?>
</div>
<div class="row">
<h3>Not started experiments</h3>
<?php
Experiment::FetchAllNotStarted();
?>
</div>
<?php
}
?>
<?php
require("include/template/footer.inc.php");
?>