-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathraw-data.php
68 lines (60 loc) · 2.58 KB
/
raw-data.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<base href="http://130.240.234.101/yeah-sthlm/">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>YEAH! project</title>
<?php
ini_set('display_errors', 1);
require dirname(__FILE__) . '/vendor/leafo/lessphp/lessc.inc.php';
if(!file_exists(dirname(__FILE__) . '/styles/compiled')){
mkdir(dirname(__FILE__) . '/styles/compiled');
}
$less = new lessc;
$less->compileFile(dirname(__FILE__) . '/styles/bootstrap.less', dirname(__FILE__) . '/styles/compiled/style.css');
?>
<link rel="stylesheet" href="styles/compiled/style.css" />
<link rel="stylesheet" href="vendor/codemirror/codemirror/lib/codemirror.css">
</head>
<body>
<?php include 'nav.php'; ?>
<div class="" style="padding: 0 15px">
<div class="row">
<div class="col-sm-12">
<div id="main-column-tabs" class="raw-data-container">
<ul class="nav nav-tabs">
</ul>
<div class="tab-content">
</div>
</div>
</div>
</div>
</div>
<script src="vendor/codemirror/codemirror/lib/codemirror.js"></script>
<script src="vendor/codemirror/codemirror/addon/edit/matchbrackets.js"></script>
<script src="vendor/codemirror/codemirror/mode/sparql/sparql.js"></script>
<script src="components/jquery/jquery.min.js"></script>
<script src="components/underscore/underscore-min.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
<script src="vendor/twitter/bootstrap/js/tab.js"></script>
<script src="vendor/twitter/bootstrap/js/tooltip.js"></script>
<script src="vendor/twitter/bootstrap/js/dropdown.js"></script>
<script src="vendor/moment/moment/min/moment.min.js"></script>
<script src="scripts/building-permit.js"></script>
<script src="scripts/block.js"></script>
<script src="scripts/tab.js"></script>
<script src="scripts/sparql.js"></script>
<script src="scripts/shortcuts.js"></script>
<script src="scripts/pager.js"></script>
<script src="scripts/panel.js"></script>
<script src="scripts/raw-data.js"></script>
<script src="scripts/property.js"></script>
<script src="scripts/logger.js"></script>
<script src="scripts/query-executer.js"></script>
<script src="scripts/main.js"></script>
<script>
rawData.show('<?php echo $_GET['uri']; ?>' + (location.href.indexOf('#') != -1 ? location.href.substr(location.href.indexOf('#')) : ''), '<?php echo $_GET['graph']; ?>', '<?php echo $_GET['title']; ?>', '<?php echo $_GET['icon']; ?>');
</script>
</body>
</html>