Skip to content
Snippets Groups Projects
Commit bd47e957 authored by Matt Noojin's avatar Matt Noojin
Browse files

Add new file

parent d3ba4654
No related branches found
No related tags found
No related merge requests found
{% set tags = h.get_facet_items_dict('tags', limit=5) %}
{% set placeholder = _('E.g. environment') %}
<style>
.search-form {
margin-bottom: 0;
}
.homepage .module-search .search-giant {
margin-bottom: 0;
}
.homepage .module-search .module-content {
background: linear-gradient(45deg, #c5050c, #007db1);
}
</style>
<div class="module module-search">
<form class="module-content search-form" method="get" action="{% url_for controller='package', action='search' %}">
<div class="search-input form-group search-giant">
<input aria-label="{% block header_site_search_label %}{{ _('Search datasets') }}{% endblock %}" id="field-main-search" type="text" class="form-control" name="q" value="" autocomplete="off" placeholder="Search Antarctic data..." />
<button type="submit">
<i class="fa fa-search"></i>
<span class="sr-only">{{ _('Search') }}</span>
</button>
</div>
<!-- Advanced search is currently under construction! Coming soon! -->
<!-- <a href="https://amrdcdata.ssec.wisc.edu/pages/advanced-search" style="color:#FFFFFF;"><b>{{ _('Advanced Search') }}</b></a> -->
</form>
<div class="tags">
<h3>{{ _('Popular tags') }}</h3>
{% for tag in tags %}
<a class="tag" href="{% url_for controller='package', action='search', tags=tag.name %}">{{ h.truncate(tag.display_name, 30) }}</a>
{% endfor %}
</div>
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment