-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
786acef
commit 9ea6f96
Showing
10 changed files
with
114 additions
and
43 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
Large diffs are not rendered by default.
Oops, something went wrong.
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,23 +1,25 @@ | ||
<div id="place_list"> | ||
{% for contactType in contactTypes %} | ||
<div id="{{contactType.name}}" class="mb-6"> | ||
<h2 class="title is-4">{{contactType.friendly}}</h2> | ||
{% if contactType.places.length > 0 %} | ||
<table | ||
id="table_places" | ||
class="table is-fullwidth is-striped is-hoverable" | ||
> | ||
{% include "components/table_header.html" contactType=contactType %} | ||
<tbody> | ||
{% for place in contactType.places %} | ||
{% include "components/place_item.html" %} | ||
{% endfor%} | ||
</tbody> | ||
</table> | ||
{% else %} | ||
<div class="notification is-white"> | ||
<i>No Results</i> | ||
</div> | ||
{% endif %} | ||
{% if contactType.feature_flags == undefined or contactType.feature_flags contains "create" or contactType.feature_flags contains "replace-contact" %} | ||
<div id="{{contactType.name}}" class="mb-6"> | ||
<h2 class="title is-4">{{contactType.friendly}}</h2> | ||
{% if contactType.places.length > 0 %} | ||
<table | ||
id="table_places" | ||
class="table is-fullwidth is-striped is-hoverable" | ||
> | ||
{% include "components/table_header.html" contactType=contactType %} | ||
<tbody> | ||
{% for place in contactType.places %} | ||
{% include "components/place_item.html" %} | ||
{% endfor%} | ||
</tbody> | ||
</table> | ||
{% else %} | ||
<div class="notification is-white"> | ||
<i>No Results</i> | ||
</div> | ||
{% endif %} | ||
{%endif%} | ||
{% endfor %} | ||
</div> |
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,15 +1,17 @@ | ||
<div id="place_list" hx-trigger="load" hx-get="/app/list" hx-target="this" hx-swap="outerHTML"> | ||
{% for contactType in contactTypes %} | ||
<div id="{{contactType.name}}" class="mb-6"> | ||
<h2 class="title is-4">{{contactType.friendly}}</h2> | ||
<div> | ||
<table id="table_places" class="table is-fullwidth is-striped is-hoverable"> | ||
{% include "components/table_header.html" contactType=contactType %} | ||
</table> | ||
<div class="container p-6 is-flex is-justify-content-center is-align-content-center"> | ||
<img src="/public/spinner.gif" alt="Loading data" /> | ||
</div> | ||
</div> | ||
{% if contactType.feature_flags == undefined or contactType.feature_flags contains "create" or contactType.feature_flags contains "replace-contact" %} | ||
<div id="{{contactType.name}}" class="mb-6"> | ||
<h2 class="title is-4">{{contactType.friendly}}</h2> | ||
<div> | ||
<table id="table_places" class="table is-fullwidth is-striped is-hoverable"> | ||
{% include "components/table_header.html" contactType=contactType %} | ||
</table> | ||
<div class="container p-6 is-flex is-justify-content-center is-align-content-center"> | ||
<img src="/public/spinner.gif" alt="Loading data" /> | ||
</div> | ||
</div> | ||
{%endif%} | ||
{% endfor %} | ||
</div> | ||
</div> |
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