Skip to content

Commit

Permalink
Update index.html.erb (#4090)
Browse files Browse the repository at this point in the history
  • Loading branch information
sagarpreet-chadha authored and jywarren committed Dec 1, 2018
1 parent ef312e9 commit e400bf7
Showing 1 changed file with 40 additions and 51 deletions.
91 changes: 40 additions & 51 deletions app/views/map/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
<%= javascript_include_tag('/lib/leaflet-environmental-layers/dist/LeafletEnvironmentalLayers.js') %>
<%= javascript_include_tag('/lib/leaflet-environmental-layers/dist/windRoseLayer.js') %>
<%= javascript_include_tag('/lib/leaflet-hash/leaflet-hash.js') %>


</div>
<%= javascript_include_tag('/lib/leaflet-spin/example/spin/dist/spin.min.js') %>
<%= javascript_include_tag('/lib/leaflet-spin/example/leaflet.spin.min.js') %>

<div style="width:100%;margin-left:0;height:300px;" id="map"></div>
<p><i><small>
Expand Down Expand Up @@ -157,52 +156,42 @@

<div class="row">

<div class="col-md-3">

<h3 style="margin-top:0;">Do-It-Yourself "satellite" imagery</h3>

<p>These maps were largely made by <a href="/tool/balloon-mapping">taking photos from balloons and kites</a>, a technique adopted and refined by Public Lab contributors. <a href="//mapknitter.org">Make one yourself</a> and it can be featured here.</p>

<hr />

<h3>Popular tags</h3>

<p>
<a href="/maps/tag/oil-spill"><i class="fa fa-tag"></i> oil-spill</a>
<a href="/maps/tag/wetlands"><i class="fa fa-tag"></i> wetlands</a>
<a href="/maps/tag/landfill"><i class="fa fa-tag"></i> landfill</a>
<a href="/maps/tag/garden"><i class="fa fa-tag"></i> garden</a>
<a href="/maps/tag/ndvi"><i class="fa fa-tag"></i> NDVI</a>
<a href="/maps/tag/gowanus"><i class="fa fa-tag"></i> gowanus</a>
<a href="/maps/tag/protest"><i class="fa fa-tag"></i> protest</a>
</p>

<hr />

<h3><i style="color:#aaa;" class="fa fa-hdd"></i> A grassroots data archive</h3>

<p>This archive represents the collective work of our community to provide an alternative source for aerial imagery, and to highlight issues of environmental and social concern with Do-It-Yourself tools. The archive provides:</p>

<ul>
<li>A permanent, backed up archive</li>
<li>A place to advocate around your data</li>
<li>A space to discuss and understand the maps</li>
</ul>

<hr />

<h3><i style="color:#aaa;" class="fa fa-globe"></i> How to contribute</h3>

<p>Most of the maps in this archive were made in <a href="//mapknitter.org">MapKnitter</a>, a free and open source tool created by Public Lab contributors to turn aerial photos into maps.</p>

<p>To add your open source map to the archive, contact <a href="mailto:staff@<%= request.host %>">staff@<%= request.host %></a> and be prepared to provide some background and to tell the story of your map. Creative Commons and Public Domain maps are <a href="/licenses">both accepted</a>.</p>

</div>

<div class="col-md-9">

<%= render :partial => "map/maps" %>

<hr />

<div class="col-md-3">
<h3 style="margin-top:0;">Do-It-Yourself "satellite" imagery</h3>
<p>These maps were largely made by <a href="/tool/balloon-mapping">taking photos from balloons and kites</a>, a technique adopted and refined by Public Lab contributors. <a href="//mapknitter.org">Make one yourself</a> and it can be featured here.</p>
<hr />

<h3>Popular tags</h3>

<p>
<a href="/maps/tag/oil-spill"><i class="fa fa-tag"></i> oil-spill</a>
<a href="/maps/tag/wetlands"><i class="fa fa-tag"></i> wetlands</a>
<a href="/maps/tag/landfill"><i class="fa fa-tag"></i> landfill</a>
<a href="/maps/tag/garden"><i class="fa fa-tag"></i> garden</a>
<a href="/maps/tag/ndvi"><i class="fa fa-tag"></i> NDVI</a>
<a href="/maps/tag/gowanus"><i class="fa fa-tag"></i> gowanus</a>
<a href="/maps/tag/protest"><i class="fa fa-tag"></i> protest</a>
</p>

<hr />

<h3><i style="color:#aaa;" class="fa fa-hdd"></i> A grassroots data archive</h3>

<p>This archive represents the collective work of our community to provide an alternative source for aerial imagery, and to highlight issues of environmental and social concern with Do-It-Yourself tools. The archive provides:</p>

<ul>
<li>A permanent, backed up archive</li>
<li>A place to advocate around your data</li>
<li>A space to discuss and understand the maps</li>
</ul>
<hr />
<h3><i style="color:#aaa;" class="fa fa-globe"></i> How to contribute</h3>
<p>Most of the maps in this archive were made in <a href="//mapknitter.org">MapKnitter</a>, a free and open source tool created by Public Lab contributors to turn aerial photos into maps.</p>
<p>To add your open source map to the archive, contact <a href="mailto:staff@<%= request.host %>">staff@<%= request.host %></a> and be prepared to provide some background and to tell the story of your map. Creative Commons and Public Domain maps are <a href="/licenses">both accepted</a>.</p>
</div>

<div class="col-md-9">
<%= render :partial => "map/maps" %>
<hr/>
</div>
</div>

0 comments on commit e400bf7

Please sign in to comment.