This repository has been archived by the owner on Nov 7, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
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
12 changed files
with
186 additions
and
161 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
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
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
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
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
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
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 |
---|---|---|
@@ -1,25 +1,28 @@ | ||
{% extends "contact-updater-base.html" %} | ||
|
||
{% block body %} | ||
{# Pass data to JS #} | ||
<script> | ||
var agencies = {{agencies|safe}}; | ||
</script> | ||
|
||
<div class="container contactUpdater"> | ||
<h1>openFOIA Contact Updater</h1> | ||
<p>Update your agency's contact information on openFOIA.</p> | ||
<div class="search--box scrollable-dropdown-menu"> | ||
<div class="search-icon"><span class="fa fa-search"></span></div> | ||
{% set search_placeholder = 'Search for an agency' %} | ||
<input id="contact" class="typeahead agency" type="search" | ||
<input id="contact-typeahead" class="typeahead agency" type="search" | ||
placeholder="{{ search_placeholder }}" | ||
aria-label="{{ search_placeholder }}" | ||
search-type="contactSearch"> | ||
<input class="submit" type="submit" value="Search"> | ||
</div> | ||
</div> | ||
{% endblock %} | ||
|
||
{% block footer %} | ||
{{ super() }} | ||
<!-- JS scripts needed for search --> | ||
<script src="{{ static("js/typeahead.bundle.js") }}"></script> | ||
<script src="{{ static("js/handlebars-v1.2.0.js") }}"></script> | ||
<script src="{{ static("js/contact-updater/typeahead.min.js") }}"></script> | ||
<script src="{{ static("js/contact-updater/contact-search.js") }}"></script> | ||
{% endblock %} |
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
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
Oops, something went wrong.