-
Notifications
You must be signed in to change notification settings - Fork 20
/
index.html
146 lines (143 loc) · 4.88 KB
/
index.html
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<html>
<head>
<title>ActivityViz</title>
<link rel="shortcut icon" id="favicon" href="" />
<meta charset="UTF-8" />
<link
rel="stylesheet"
href="bower_components/bootstrap/dist/css/bootstrap.min.css"
/>
<link
rel="stylesheet"
href="bower_components/font-awesome/css/all.min.css"
/>
<link rel="stylesheet" href="src/landing-page.css" />
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- Use non-minified Vue for local development only -->
<!-- <script src="bower_components/vue/dist/vue.js"></script> -->
<!-- Otherwise, use minified Vue -->
<script src="bower_components/vue/dist/vue.min.js"></script>
</head>
<body>
<div id="app">
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-header">
<a id="navbarlink" class="pull-left" :href="linkURL">
<img
id="logo_id"
:src="logoSrc"
style="max-height:25px;"
height="auto"
/>
</a>
<a
v-if="navbarTitle"
class="navbar-brand"
id="title_id"
:href="defaultRegion && defaultRegion.region ? defaultRegion.region.LinkURL : '#'"
>
{{ navbarTitle }}
</a>
</div>
</nav>
<div
v-if="heroImageLayout"
class="hero-parallax jumbotron"
:style="heroStyleObject"
>
<div
v-for="region in regionsArray"
v-if="region"
:key="region.regionKey"
:id="region.regionKey + '_id'"
class="hero-region-container"
>
<header class="hero-header">
<span>
<h1>
{{ region.FrontPageTitle }}
<img
class="hero-region-logo"
:src="region.datalocation + 'img/' + region.FrontPageGraphic"
/>
</h1>
<p class="hero-subheader">{{ region.FrontPageSubtitle }}</p>
</span>
</header>
<ul class="hero-scenarios">
<li v-for="(scenario, scenarioKey) in region.scenarios">
<a
:href="scenarioUrl(region.regionKey, scenarioKey)"
class="btn btn__rsg-landing-page"
>{{ scenarioLabel(scenario) }}</a
>
</li>
</ul>
</div>
</div>
<div v-if="displayLandingPageContent" class="container-fluid">
<div class="row landing-page-content">
<div id="leftbar" class="col-sm-6 col-md-4">
<div v-if="!heroImageLayout" id="scenarios" v-if="configuration">
<div
v-for="region in regionsArray"
v-if="region"
:key="region.regionKey"
:id="region.regionKey + '_id'"
>
<h3>
{{ region.FrontPageTitle }}
<img
style="max-height: 25px; margin-left: 2%;"
:src="region.datalocation + 'img/' + region.FrontPageGraphic"
/>
</h3>
<ul class="scenarios" style="margin-bottom: 25px;">
<li v-for="(scenario, scenarioKey) in region.scenarios">
<a
:href="scenarioUrl(region.regionKey, scenarioKey)"
class="scenariolink"
>{{ scenarioLabel(scenario) }}</a
>
</li>
</ul>
</div>
</div>
<div id="sidebarinfoleft">
<p
v-if="defaultRegion && defaultRegion.region"
v-html="defaultRegion.region.SideBarTextLeft"
></p>
</div>
</div>
<div id="sidebar" class="col-sm-6 col-md-4 col-md-offset-2">
<div id="sidebarhead">
<img v-if="sideBarLogoSrc" :src="sideBarLogoSrc" />
</div>
<div id="sidebarimg">
<img v-if="sideBarImageSrc" :src="sideBarImageSrc" />
</div>
<div id="sidebarinforight">
<p
v-if="defaultRegion && defaultRegion.region"
v-html="defaultRegion.region.SideBarTextRight"
></p>
</div>
</div>
</div>
</div>
<div class="footer">
<div class="footer-container">
<span><i class="far fa-copyright" aria-hidden="true"></i> RSG </span>
<span>
<a href="https://github.com/rsginc/ActivityViz" target="_blank">
<i class="fab fa-github-alt" aria-hidden="true"></i> Source Code
</a>
</span>
</div>
</div>
</div>
<script src="src/landing-page.js"></script>
</body>
</html>