forked from nylen/d3-process-map
-
Notifications
You must be signed in to change notification settings - Fork 1
/
graph.php
47 lines (47 loc) · 1.75 KB
/
graph.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
47
<?php
require_once 'common.php';
read_config();
?>
<!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="svg.css">
</head>
<body>
<!--[if lt IE 9]>
<div class="unsupported-browser">
This website does not fully support your browser. Please get a
better browser (Firefox or <a href="/chrome/">Chrome</a>, or if you
must use Internet Explorer, make it version 9 or greater).
</div>
<![endif]-->
<div id="split-container">
<a class="btn btn-default nav-button" id="nav-list" href="list.php<?php echo $dataset_qs; ?>">
View list
</a>
<div id="graph-container">
<div id="graph"></div>
</div>
<div id="docs-container">
<a id="docs-close" href="#">×</a>
<div id="docs" class="docs"></div>
</div>
</div>
<script src="jquery/jquery-1.10.2.min.js"></script>
<script src="d3/d3.v3.min.js"></script>
<script src="colorbrewer.js"></script>
<script src="lib/geometry.js"></script>
<script>
var config = <?php echo json_encode($config); ?>;
</script>
<script src="script.js"></script>
</body>
</html>