Skip to content

Commit 883f9a3

Browse files
committed
adding headless discover pages for portal iframe solution
1 parent 24cc951 commit 883f9a3

File tree

1 file changed

+97
-0
lines changed

1 file changed

+97
-0
lines changed
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
<!doctype html>
2+
<html lang="en" xmlns:ng="http://angularjs.org" id="ng-app" class="ng-app:wcodpApp" ng-app="wcodpApp">
3+
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
4+
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
5+
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
6+
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
7+
<head>
8+
<meta charset="utf-8">
9+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
10+
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
11+
<title>West Coast Ocean Data Portal | Discover</title>
12+
<meta name="description" content="">
13+
<meta name="viewport" content="width=device-width">
14+
<link rel="stylesheet" href="/assets/css/all.css?v=0.4">
15+
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.css" />
16+
<!--[if lt IE 9]>
17+
<link rel="stylesheet" href="/assets/css/ie8.css">
18+
<![endif]-->
19+
<!--[if lt IE 8]>
20+
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.ie.css" />
21+
<link rel="stylesheet" href="/assets/css/ie7.css">
22+
<![endif]-->
23+
</head>
24+
<body>
25+
<!--[if lt IE 7]>
26+
<p class="chromeframe">You are using an outdated browser. <a href="http://browsehappy.com/">Upgrade your browser today</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to better experience this site.</p>
27+
<![endif]-->
28+
29+
<div class="container" id="discover" ng-controller="DiscoverCtrl">
30+
31+
<div class="row">
32+
33+
<div filters
34+
id="filters"
35+
class="span4"
36+
facets="facets"
37+
showing-mobile-filters-modal="showingMobileFiltersModal">
38+
</div>
39+
40+
<div ng-show="(filtersAreActive || browseAll) && !showingMobileFiltersModal">
41+
<div results-list
42+
data="resultsData"
43+
num-found="numFound"
44+
page-index="pageIndex"
45+
results-per-page="resultsPerPage"
46+
class="span8"
47+
id="results-list">
48+
</div>
49+
</div>
50+
51+
<div ng-hide="filtersAreActive || showingMobileFiltersModal || browseAll"
52+
ng-animate="'animate'"
53+
class="span8"
54+
id="discover-landing">
55+
<p>
56+
Welcome to the West Coast Ocean Data Portal. There are <span ng-cloak class="highlight">{{ recordCount }}</span> registered resources available to discover.
57+
</p>
58+
<p>
59+
Use the filtering tools provided to browse. You can filter by any combination of <i class="icon-search"></i> keyword, <i class="icon-map-marker"></i> location, <i class="icon-th"></i> category and <i class="icon-tags"></i> issue.
60+
</p>
61+
62+
<a ng-click="searchAll()" id="discover-browse-all">Browse All Resources<img style="margin-left: 10px;" src="/assets/img/icons/welcome_caret.png"></a>
63+
64+
<!-- <p>
65+
Search the resources by entering your own terms into the search bar <i class="icon-search"></i> or by using the filtering tools provided to browse. You can filter by any combination of <i class="icon-map-marker"></i> location, <i class="icon-th"></i> category and <i class="icon-tags"></i> issue.
66+
</p> -->
67+
</div>
68+
69+
</div>
70+
</div>
71+
72+
73+
74+
<div class="footer container">
75+
<div class="row">
76+
<div class="span12">
77+
<a href="mailto:[email protected]">Feedback? email: [email protected]</a>
78+
<span class="pull-right"><a class="subdued" href="/connect">API ACCESS</a></span>
79+
</div>
80+
</div>
81+
</div>
82+
83+
<!--[if lt IE 9]>
84+
<script src="/assets/js/ie8.js"></script>
85+
<![endif]-->
86+
87+
<script src="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.js"></script>
88+
<script src="/assets/js/all.js?v=0.4"></script>
89+
90+
<script>
91+
var _gaq=[['_setAccount','UA-40820108-2'],['_trackPageview']];
92+
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
93+
g.src='//www.google-analytics.com/ga.js';
94+
s.parentNode.insertBefore(g,s)}(document,'script'));
95+
</script>
96+
</body>
97+
</html>

0 commit comments

Comments
 (0)