-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
158 lines (156 loc) · 7.63 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
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>NGOs in Nepal</title>
<link href='http://fonts.googleapis.com/css?family=Crete+Round' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="css/components.css">
<link rel="stylesheet" href="css/header.css">
<link rel="stylesheet" href="css/footer.css">
<link rel="stylesheet" href="css/map.css">
<link rel="stylesheet" href="css/tabletop.css">
<link rel="stylesheet" href="css/filter.css">
</head>
<body>
<!-- GA -->
<script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create','UA-71654733-1','auto');ga('send','pageview');</script>
<header>
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<a href="https://goo.gl/HV6IYp" target="_blank" class="navbar-toggle collapsed btn add-ngo hidden-xs">Add your NGO here</a>
<a href="https://goo.gl/HV6IYp" target="_blank" class="navbar-toggle collapsed btn add-ngo visible-xs-block">Add NGO</a>
<a class="navbar-brand" href="#">
<h1>NGOs in Nepal<span class="color">.</span></h1>
</a>
<ul class="nav filter visible-xs-block">
<li class="navbar-text">
<i class="fa fa-filter"></i> <span class="mobile">Filter</span>
</li>
</ul>
</div>
<div class="collapse navbar-collapse">
<div class="navbar-form navbar-right" role="button">
<a href="https://goo.gl/HV6IYp" target="_blank" class="btn add-ngo">Add your NGO here</a>
</div>
<ul class="nav filter">
<li class="navbar-text">
<i class="fa fa-filter"></i> <span class="mobile">Filter</span>
</li>
</ul>
</div>
</div>
</nav>
</header>
<div id="map-canvas"></div>
<div id="filter-wrapper" class="container-fluid">
<div class="row-fluid">
<div class="col-md-12">
<i class="showing-wrapper">Showing <span class="showing-count">0</span> out of <span class="total-count">0</span> NGO<span class="plural">s</span></i>
</div>
</div>
<div class="row-fluid hidden" id="filter-selected">
<div class="col-md-12">
<h3>NGOs in the following categories are shown</h3>
<p><i>(<span class="hidden-xs">Click</span><span class="visible-xs-inline-block">Tap</span> to filter out NGOs in that category)</i></p>
<div class="filter-output"></div>
</div>
</div>
<div class="row-fluid hidden" id="filter-select">
<div class="col-md-12">
<h3>NGOs in the following categories are not shown</h3>
<p><i>(<span class="hidden-xs">Click</span><span class="visible-xs-inline-block">Tap</span> to add back)</i></p>
<div class="filter-output"></div>
</div>
</div>
</div>
<div id="tabletop-wrapper" class="container-fluid">
<div class="row-fluid" id="tabletop-output">
<div class="loading">
<img src="img/loading.gif" alt="Loading NGO data ...">
</div>
</div>
</div>
<footer>
<ul class="breadcrumb">
<li title="Have a look at our sister site, Startups In Nepal!">
<a rel="nofollow" href="http://startupsinnepal.com">Startups</a>
</li>
<li class="active" title="You are here, at NGOs in Nepal">
<a rel="nofollow" href="http://ngosinnepal.com">NGOs</a>
</li>
</ul>
</footer>
<!-- Templates -->
<div class="template" id="tpl-col">
<div class="col-sm-6 col-lg-4 ngo" id="ngo-{index}" style="z-index:{inverse-index}">
<div class="panel panel-default">
<div class="panel-heading">
<div class="logo" style="background:url('img/logos/{Name_Underscore}.jpg') no-repeat center center"></div>
{Name}
</div>
<div class="panel-body">
<p>{Tagline}</p>
<p class="collapse class-Full_Description_{index} {class-Full_Description}">{Full Description}</p>
<div class="text-right">
<button data-target=".class-Full_Description_{index}" type="button" data-toggle="collapse" class="btn btn-link pull-right collapse in class-Full_Description_{index} {class-Full_Description}">Show more ↓</button>
<button data-target=".class-Full_Description_{index}" type="button" data-toggle="collapse" class="btn btn-link pull-right collapse class-Full_Description_{index}">Show less ↑</button>
</div>
</div>
<div class="panel-footer">
<div class="selected-causes-count" data-count="{causes-count}"></div>
<div class="row">
<div class="col-xs-6">
<p class="class-Website {class-Website}"><i class="fa fa-fw fa-globe"></i> <a href="{Website}" target="_blank">Website</a></p>
<p class="class-Phone_Number {class-Phone_Number}"><i class="fa fa-fw fa-phone"></i> <a href="tel:{Phone Number}">{Phone Number}</a></p>
</div>
<div class="col-xs-6 text-right">
<p class="class-Link_to_facebook_page {class-Link_to_facebook_page}"><a href="{Link to facebook page}" target="_blank">Facebook</a> <i class="fa fa-fw fa-facebook"></i></p>
<p class="class-Link_to_twitter_account {class-Link_to_twitter_account}"><a href="{Link to twitter account}" target="_blank">Twitter</a> <i class="fa fa-fw fa-twitter"></i></p>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<p class="class-Email {class-Email}"><i class="fa fa-fw fa-envelope"></i> {Email}</p>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<p class="class-Show_on_map {class-Show_on_map}"><i class="fa fa-fw fa-map-marker"></i> <a href="{Show on map}" data-index="{index}">Show on map</a></p>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<p class="class-Causes {class-Causes}">{Causes}</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="template" id="tpl-popup">
<p>{Name}</p>
<p><a class="map-readmore" href="#ngo-{index}">Read more</a></p>
</div>
<div class="template" id="tpl-filter">
<span class="cause cause-clickable selected" data-name="{Name_Underscore}">{Name} ×</span>
</div>
<!-- Scripts -->
<script type="text/javascript" src="https://code.jquery.com/jquery-2.2.0.min.js"></script>
<script type="text/javascript" src="https://npmcdn.com/[email protected]/dist/masonry.pkgd.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script type="text/javascript" src="js/vendor/leaflet.sleep.js"></script>
<script type="text/javascript" src="js/vendor/leaflet.markercluster.js"></script>
<script type="text/javascript" src="js/vendor/tabletop.js"></script>
<script type="text/javascript" src="js/vendor/headroom.js"></script>
<script type="text/javascript" src="js/map.js"></script>
<script type="text/javascript" src="js/tabletop.js"></script>
<script type="text/javascript" src="js/header.js"></script>
<script type="text/javascript" src="js/main.js"></script>
</body>
</html>