forked from JakeWorrell/buildiator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
executable file
·31 lines (31 loc) · 917 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
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/progress_bar.css">
<link rel="stylesheet" href="css/build_color.css">
<?php
function getViewName()
{
$view = $_GET['view'];
if (!isset($view)) {
$view = 'devteam';
}
return $view;
}
echo '<link rel="stylesheet" href="/styles/' . getViewName() . '.css" type="text/css" media="screen" title="main StyleSheet" charset="utf-8" />';
?>
<title>buildiator</title>
</head>
<body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.js"></script>
<script type='text/javascript'>
var VIEW_NAME = '<?php echo getViewName(); ?>';
</script>
<script type='text/javascript' src="js/buildator.js"></script>
<div id="jobs">
<!--this is where the jobs go-->
</div>
</body>
</html>