-
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.
Improve UI/UX and add version to base.html
- Loading branch information
1 parent
41f300a
commit 44e614f
Showing
17 changed files
with
182 additions
and
160 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,13 +1,15 @@ | ||
{% load django_tables2 %} | ||
|
||
{% block content %} | ||
<a href="{% url 'animals:species-create' %}" | ||
class="btn btn-primary btn-lg mb-4 btn-info text-start" | ||
hx-target="#dialog" | ||
hx-boost="true" | ||
hx-push-url="false">Add New Species</a> | ||
<div class="text-center" | ||
hx-trigger="species_table_update from:body" | ||
hx-get="{% url 'animals:species-table-partial' %}" | ||
hx-target="this">{% render_table table %}</div> | ||
<div class="container-fluid"> | ||
<a href="{% url 'animals:species-create' %}" | ||
class="btn btn-primary btn-lg mb-4 btn-info text-start" | ||
hx-target="#dialog" | ||
hx-boost="true" | ||
hx-push-url="false">Add New Species</a> | ||
<div class="text-center" | ||
hx-trigger="species_table_update from:body" | ||
hx-get="{% url 'animals:species-table-partial' %}" | ||
hx-target="this">{% render_table table %}</div> | ||
</div> | ||
{% endblock content %} |
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,13 +1,15 @@ | ||
{% load django_tables2 %} | ||
|
||
{% block content %} | ||
<a href="{% url 'business:location-create' %}" | ||
class="btn btn-lg mb-4 btn-info me-4" | ||
hx-target="#dialog" | ||
hx-boost="true" | ||
hx-push-url="false">Add New Location</a> | ||
<div class="text-center" | ||
hx-trigger="location_table_update from:body, location_detail_update from:body" | ||
hx-get="{% url 'business:get-location-list' %}" | ||
hx-target="this">{% render_table table %}</div> | ||
<div class="container-fluid"> | ||
<a href="{% url 'business:location-create' %}" | ||
class="btn btn-lg mb-4 btn-info me-4" | ||
hx-target="#dialog" | ||
hx-boost="true" | ||
hx-push-url="false">Add New Location</a> | ||
<div class="text-center" | ||
hx-trigger="location_table_update from:body, location_detail_update from:body" | ||
hx-get="{% url 'business:get-location-list' %}" | ||
hx-target="this">{% render_table table %}</div> | ||
</div> | ||
{% endblock content %} |
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,13 +1,15 @@ | ||
{% load django_tables2 %} | ||
|
||
{% block content %} | ||
<a href="{% url 'business:meeting-create' %}" | ||
class="btn btn-lg mb-4 btn-info" | ||
hx-target="#dialog" | ||
hx-boost="true" | ||
hx-push-url="false">Add New Meeting</a> | ||
<div class="text-center" | ||
hx-trigger="meeting_table_update from:body, meeting_detail_update from:body" | ||
hx-get="{% url 'business:get-meeting-list' %}" | ||
hx-target="this">{% render_table table %}</div> | ||
<div class="container-fluid"> | ||
<a href="{% url 'business:meeting-create' %}" | ||
class="btn btn-lg mb-4 btn-info" | ||
hx-target="#dialog" | ||
hx-boost="true" | ||
hx-push-url="false">Add New Meeting</a> | ||
<div class="text-center" | ||
hx-trigger="meeting_table_update from:body, meeting_detail_update from:body" | ||
hx-get="{% url 'business:get-meeting-list' %}" | ||
hx-target="this">{% render_table table %}</div> | ||
</div> | ||
{% endblock content %} |
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
Oops, something went wrong.