-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
36 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<section class="fws-glossary" role="complementary"> | ||
<div class="glossary-container"> | ||
<div class="glossary-header"> | ||
<button class="glossary-trigger back button fill-blue">Close</button> | ||
<label for="glossary-search" class="glossary-search-label">Search Glossary:</label> | ||
<input type="search" class="glossary-search" id="glossary-search" placeholder="Search terms..." roll="search"/> | ||
</div> | ||
<p>Enter a search term in the above search box to filter glossary terms. Click on tags to automatically search for related terms.</p> | ||
<ul class="glossary-terms"> | ||
{% for term in site.data.glossary %} | ||
<li class="term"> | ||
<h3 class="term-name">{{ term.term }}</h3> | ||
<p class="term-definition">{{ term.definition }}</p> | ||
<p class="term-tags">{% for tag in term.tags %}<span class="glossary-tag">{{tag}}</span>{% endfor %}</p> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
</section> | ||
|
||
{% raw %} | ||
<script class="glossary-template" type="text/x-handlebars-template"> | ||
{{#terms}} | ||
<li class="term"> | ||
<h3 class="term-name">{{ name }} {{ acronym }}</h3> | ||
<p class="term-definition">{{{ definition }}}</p> | ||
<p class="term-tags">{{#if tags}}Tags: {{#tags}}<span class="glossary-tag">{{this}}</span>{{/tags}}{{/if}}</p> | ||
</li> | ||
{{/terms}} | ||
</script> | ||
{% endraw %} |
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