65 lines
1.9 KiB
Plaintext
65 lines
1.9 KiB
Plaintext
<%- include('_header'); -%>
|
|
|
|
<nav class="breadcrumb">
|
|
<ul>
|
|
<li><a href="<%= urlPrefix %>/dashboard">Home</a></li>
|
|
<li class="is-active">
|
|
<a href="#" aria-current="page">
|
|
<span class="icon is-small"><i class="fas fa-place-of-worship" aria-hidden="true"></i></span>
|
|
<span>Funeral Homes</span>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
|
|
<div class="columns is-vcentered">
|
|
<div class="column">
|
|
<h1 class="title is-1">
|
|
Find a Funeral Home
|
|
</h1>
|
|
</div>
|
|
<div class="column has-text-right is-narrow">
|
|
<a class="button" href="<%= urlPrefix %>/reports/funeralHomes-formatted" target="_blank" download>
|
|
<span class="icon is-small"><i class="fas fa-download" aria-hidden="true"></i></span>
|
|
<span>Export</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<% if (user.userProperties.canUpdate) { %>
|
|
<div class="fixed-container is-fixed-bottom-right mx-4 my-4 has-text-right is-hidden-print">
|
|
<a class="button is-circle is-primary has-tooltip-left"
|
|
data-tooltip="Create a New Funeral Home"
|
|
href="<%= urlPrefix %>/funeralHomes/new"
|
|
accesskey="n">
|
|
<i class="fas fa-plus" aria-hidden="true"></i>
|
|
<span class="sr-only">Create a New Funeral Home</span>
|
|
</a>
|
|
</div>
|
|
<% } %>
|
|
|
|
<div class="box">
|
|
<form id="form--searchFilters">
|
|
<div class="field">
|
|
<div class="control has-icons-left">
|
|
<input class="input" id="searchFilter--funeralHome" type="text"
|
|
placeholder="Search funeral home name and address"
|
|
accesskey="f" />
|
|
<span class="icon is-small is-left">
|
|
<i class="fas fa-search" aria-hidden="true"></i>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
<div id="container--searchResults"></div>
|
|
|
|
<%- include('_footerA'); -%>
|
|
|
|
<script>
|
|
exports.funeralHomes = <%- JSON.stringify(funeralHomes) %>;
|
|
</script>
|
|
<script src="<%= urlPrefix %>/javascripts/funeralHome.search.js"></script>
|
|
|
|
<%- include('_footerB'); -%> |