forked from bcgov/data-fp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
168 lines (153 loc) · 6.93 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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
---
layout: default
---
<div id="homeTemplate" class="template container">
<div class="row">
<div id="beforeCarousel" class="col-xs-12">
<form action="https://catalogue.data.gov.bc.ca/dataset" method="get" id="form-dataset-search">
<div class="form-group">
<input id="field-search-query" type="text" class="search tt-input form-control" name="q" value="" autocomplete="off" placeholder="Search the BC Data Catalogue" spellcheck="false" dir="auto">
<input type="submit" value="Search" class="search-icon" />
</div>
</form>
<div class="table-responsive">
<div class="table featureBoxes-3col">
<div class="featureBox col-sm-4">
<div class="text">
<h2><a href="https://catalogue.data.gov.bc.ca/dataset"><span class="dataset_count"></span></a></h2>
<h4>datasets in the BC Data Catalogue</h4>
</div>
</div>
<div class="featureBox col-sm-4">
<div class="text">
<h2><a href="https://catalogue.data.gov.bc.ca/dataset?license_id=2"><span class="open_dataset_count"></span></a></h2>
<h4>number of datasets published under the Open Government License</h4>
</div>
</div>
<div class="featureBox col-sm-4">
<div class="text">
<h2><a href="" data-href="https://catalogue.data.gov.bc.ca/dataset" class="recently_published_count_url"><span class="recently_published_count"></span></a></h2>
<h4>number of datasets published in the past 90 days</h4>
</div>
</div>
</div>
</div>
</div>
</div>
{% if site.visualizations %}
{% assign sorted_visualizations = site.visualizations | where: "published", "true" | sort: "order" %}
<div id="databc-homepage-carousel" class="carousel slide hidden-xs" data-interval="false">
<!-- Indicators -->
<!-- Carousel items -->
<div class="carousel-inner">
{% for vis in sorted_visualizations %}
{% if forloop.first == true %}
<div class="item active">
{% else %}
<div class="item">
{% endif %}
<div class="slide-title">
<h2><a href="{{ vis.source.url }}">{{ vis.title }}</a></h2>
</div>
<iframe src="" width="100%" height="560" frameborder="0" data-src="{{ vis.iframe_url }}"> </iframe>
</div>
{% endfor %}
<div class="slide-title">
<ol class="carousel-indicators">
{% for vis in sorted_visualizations %}
{% if forloop.first == true %}
<li data-target="#databc-homepage-carousel" data-slide-to="{{ forloop.index0 }}" class="active"></li>
{% else %}
<li data-target="#databc-homepage-carousel" data-slide-to="{{ forloop.index0 }}"></li>
{% endif %}
{% endfor %}
</ol>
</div>
</div>
<!-- Carousel nav -->
<a class="left carousel-control" data-target="#databc-homepage-carousel" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" data-target="#databc-homepage-carousel" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
<div class="visible-xs">
<h2 class="blue-heading-bar">Data Visualizations</h2>
<ul class="popular-services-text vis-list">
{% for vis in sorted_visualizations %}
<li><a class="show" href="{{ vis.iframe_url }}" target="_blank">{{ vis.title }}</a></li>
{% endfor %}
</ul>
</div>
{% endif %}
<div id="main-content">
<a id="main-content-anchor"></a>
<div class="row">
<div class="homePageMainColumn col-sm-8 col-md-9">
<h2 class="blue-heading-bar"><a href="https://catalogue.data.gov.bc.ca/dataset?q=&sort=record_publish_date+desc%2C+metadata_modified+desc">Latest additions to the BC Data Catalogue</a></h2>
<ul class="popular-services-text recent-datasets">
</ul>
<h2 class="blue-heading-bar"><a href="https://catalogue.data.gov.bc.ca/dataset?q=&sort=views_total+desc">Most popular datasets in the BC Data Catalogue</a></h2>
<ul class="popular-services-text popular-datasets">
</ul>
<h2 class="blue-heading-bar"><a href="https://catalogue.data.gov.bc.ca/dataset?type=WebService&q=&download_audience=Public&sort=views_total+desc">Most popular web services in the BC Data Catalogue</a></h2>
<ul class="popular-services-text popular-services">
</ul>
<h2 class="blue-heading-bar"><a href="https://catalogue.data.gov.bc.ca/dataset?q=&type=Application&download_audience=Public&sort=views_total+desc">Most popular web applications in the BC Data Catalogue</a></h2>
<ul class="popular-services-text popular-applications">
</ul>
<h2 class="blue-heading-bar">Request Data</h2>
<div class="popular-services-text request-data">
<p>Want more data? Request data that you can use to build apps for BC citizens.</p>
<ul>
<li><a class="show" href="https://forms.gov.bc.ca/databc-data-request/">Click here to request data</a></li>
</ul>
</div>
</div>
<div class="homePageRightColumn col-sm-4 col-md-3">
<h2 class="blue-heading-bar">DataBC Blog</h2>
<div class="rightColumnBox">
<div class="feed blog">
<h4 class="placeholder">
<p><a href="#" class="url" target="_blank"><span class="title"></span></a></p>
</h4>
<div class="feedEntry">
</div>
<hr />
<a class="arrow-link" href ="http://blog.data.gov.bc.ca/">View more news</a>
</div>
</div>
<h2 class="blue-heading-bar">Twitter Feed</h2>
<div class="rightColumnBox">
<div class="feed twitter">
<div class="tweet placeholder">
<div class="text">
</div>
<div class="date text-muted">
</div>
</div>
<div class="feedEntry">
</div>
<hr />
<a class="arrow-link" href = "http://twitter.com/Data_BC">Join the conversation</a>
</div>
</div>
<h2 class="blue-heading-bar">Stay Up To Date</h2>
<div id="sutd" class="rightColumnBox">
<div class="feed">
<div class="feedEntry">
<ul class="list-unstyled">
<li><a href="http://catalogue.data.gov.bc.ca/feeds/custom.atom?">Subscribe to New Data</a></li>
<li><a href="http://bccatalogue.disqus.com/latest.rss">Subscribe to Catalogue Comments</a></li>
<li><a href="http://blog.data.gov.bc.ca/feed/">Subscribe to Blog Posts</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>