Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

42 lines (38 sloc) 1.89 kB
<div class='library'>
<div class='libraries toggler joined pill centered'>
<% if (model.id === 'favoritesPostGIS') { %>
<a href='#favoritesPostGIS' class='button active'><span class='icon reverse labeled star'></span>Favorites</a>
<% } else if (model.id === 'sqlite') { %>
<a href='#sqlite' class='button active'><span class='icon reverse labeled file'></span>File</a
><a href='#favoritesSqlite' class='button'><span class='icon reverse labeled star'></span>Favorites</a>
<% } else { %>
<a href='#file' class='button active'><span class='icon reverse labeled file'></span>File</a
><a href='#s3' class='button'><span class='icon reverse labeled cloud'></span>MapBox</a
><a href='#favoritesFile' class='button'><span class='icon reverse labeled star'></span>Favorites</a>
<% } %>
</div>
<div class='breadcrumb clearfix'>
<% if (model.id === 'file' || model.id === 'sqlite') { %>
<a href='#/' class='location'>Hard Drive</a><span class='sep description'>/</span>
<% } %>
<% if (model.id === 's3') { %>
<a href='#' class='location'>mapbox-geodata</a><span class='sep description'>/</span>
<% } %>
<% _(breadcrumb).each(function(part) { %>
<a href='#<%= part %>' class='location'><%= part.split(sep).pop() %></a><span class='sep description'>/</span>
<% }); %>
</div>
<div class='assets fill-s scrolling'>
<% if (model.get('assets').length === 0) { %>
<div class='description'>No items found.</div>
<% } %>
<% _(model.get('assets')).each(function(asset) { %>
<a href='#<%= asset.location || asset.uri %>' class='<%= (asset.location ? 'location' : 'uri') + (asset.size ? ' with-size' : '') %>'>
<% if (asset.location) { %><span class='icon folder'></span><% } %>
<% if (asset.uri) { %><span class='icon file'></span><% } %>
<%= asset.name %>
<% if (asset.size) { %><span class='size'><%= asset.size %></span><% } %>
</a>
<% }); %>
</div>
</div>
Jump to Line
Something went wrong with that request. Please try again.