-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
106 lines (102 loc) · 3.81 KB
/
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html>
<html>
<head>
<title>StemVille Prototype</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/jquery-ui.min.js"></script>
<script src="js/raphael-min.js" type="text/javascript" charset="UTF-8"></script>
<script src="plugins/highcharts/highcharts.js" type="text/javascript"></script>
<script type="text/javascript" src="js/stemville.js"></script>
<script type="text/javascript" src="js/utils.js"></script>
<script type="text/javascript">
// Define links, bind them live so the event listener will always work even if content is replaced/updated
$('#menu_create').live('click', function() {
NAV.show('create');
});
$('#menu_load').live('click', function() {
NAV.show('load');
});
$('#stemville_logo').live('click', function() {
NAV.show('front');
});
$('#scen_show').live('click', function() {
NAV.show('scenario');
});
</script>
<link rel="stylesheet" media="screen" href="css/main.css"/>
<link rel="stylesheet" media="screen" href="css/custom-theme/jquery-ui-1.8.11.custom.css"/>
<style>
a.button {
color: #fff;
}
#accordion form p, div.finalize > p {
clear:both;
margin: 6px 0;
}
#accordion form p label {
width: 220px;
display:block;
text-align:right;
float:left;
margin-right: 5px;
}
#accordion form p input {
float:left;
}
</style>
</head>
<body>
<div id="header">
<div id="header_content">
<div class="left">
<img src="img/stemville.png" id="stemville_logo" />
</div>
<div class="right" id="menu">
<div id="menu_create">Design Scenario</div>
<div id="menu_load">Load Scenario</div>
<div id="scen_show" style="display: none">Current Scenario</div>
</div>
</div>
</div>
<div id="loader" style="display:none">
<div>
<img src="img/loader.gif" /><br/>
<p>LOADING</p>
</div>
</div>
<div id="content">
<div class="c-tab" id="front_page">
<div style="position:relative; text-align:center; padding-top:15%; color: #fff; text-shadow: 1px 1px 3px #444">
<h1 style="font-size:100px">Welcome!</h1>
<h2 style="font-size: 35px">STEM in the <em>cloud</em></h2>
<h3 style="margin-top:10px">Use the <strong>menu</strong> to get started!</h3>
</div>
</div>
<div class="c-tab blank" id="new_scenario_page" style="display:none">
<div>
<h1 style="font-size:100px">Welcome!</h1>
<h2 style="font-size: 35px">load a new scenario</h2>
<h3 style="margin-top:10px">(hint: use the top-left menu)</h3>
</div>
</div>
<div class="c-tab" id="load_scenario_page" style="display:none">
<div>
<h1 style="font-size:100px">Load scenario!</h1>
</div>
</div>
<div class="c-tab" id="cur_scenario_page" style="display:none">
<div style="position:relative; text-align:center; padding-top:15%; color: #fff; text-shadow: 1px 1px 3px #444">
<h1 style="font-size:100px">Current scenario...</h1>
</div>
</div>
<div class="c-tab" id="set_scenario_page" style="display:none">
<div style="position:relative; text-align:center; padding-top:15%; color: #fff; text-shadow: 1px 1px 3px #444">
<h1 style="font-size:100px">Settings for current scenario</h1>
</div>
</div>
<div class="c-tab blank" id="simulation_page" style="display:none">
<div style="height: 100%;"></div>
</div>
</div>
</body>
</html>