Created
February 24, 2013 22:56
-
-
Save dbouwman/5026118 to your computer and use it in GitHub Desktop.
Markup and templates for our layer list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Container for the Layer List --> | |
<div id="layer-list-region" style="display:none;" class="view"></div> | |
<!-- Templates --> | |
<script id="layer-list-template" type="text/template" > | |
<div class="header"> | |
<h3>Map Layers</h3> | |
<span id="layer-list-close" class="entypo-cancel-circled"></span> | |
</div> | |
<div class="clear"></div> | |
<div class="span2"> | |
<h4>operational layers</h4> | |
<div id="layer-list"></div> | |
</div> | |
<div class="span2"> | |
<h4>basemaps</h4> | |
<div id="basemap-list"></div> | |
</div> | |
</script> | |
<script id="layer-item-template" type="text/template" > | |
<input type="checkbox" <% if(visible) { %> checked <% } %> /> <%= name %> | |
</script> | |
<script id="basemap-item-template" type="text/template"> | |
<input type="radio" name="basemaps" <% if(visible) { %> checked <% } %> /> | |
<span> <%= name %></span> | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment