summaryrefslogtreecommitdiffstats
path: root/list.php
blob: 34ac0f7b42b292aeb72cb1b30d453d2474569826 (plain)
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
<?php
require_once 'common.php';
read_data();
?>
<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html> <!--<![endif]-->
    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=Edge">
        <meta charset="utf-8">
        <title><?php echo $config['title']; ?></title>
        <link rel="stylesheet" href="bootstrap.css">
        <link rel="stylesheet" href="style.css">
        <link rel="stylesheet" href="print.css">
    </head>
    <body>
        <a class="btn btn-default nav-button" id="nav-graph" href="graph.php<?php echo $dataset_qs; ?>">
            View graph
        </a>
        <div id="docs-list">
<?php
foreach ($data as $obj) {
    $id = get_id_string($obj['name']);
    echo "<div class=\"docs\" id=\"$id\">$obj[docs]</div>\n";
}
?>
        </div>
    </body>
</html>