Quick link changes

This commit is contained in:
Aaron Kimbre 2022-07-03 08:17:38 -05:00
parent c1307af49c
commit 6ff2caf039
3 changed files with 28 additions and 1 deletions

2
.gitignore vendored
View File

@ -17,3 +17,5 @@ property_files/*
*.log *.log
app/settings.py app/settings.py
*.exe *.exe
*.csv
*.sql

View File

@ -7,6 +7,11 @@ APP_SYSTEM_ERROR_SUBJECT_LINE = APP_NAME + " system error"
APP_SECRET_KEY = "" APP_SECRET_KEY = ""
APP_DATABASE_URI = "mysql+pymysql://<username>:<password>@<host>:<port>/<database>" APP_DATABASE_URI = "mysql+pymysql://<username>:<password>@<host>:<port>/<database>"
CONFIG_LINK = False
CONFIG_LINK_TITLE = ""
CONFIG_LINK_HREF = ""
CONFIG_LINK_TEXT = ""
# Send Analytics for Developers to better fix issues # Send Analytics for Developers to better fix issues
ALLOW_ANALYTICS = False ALLOW_ANALYTICS = False

View File

@ -24,7 +24,27 @@
</div> </div>
{% endfor %} {% endfor %}
<hr> </div>
</div>
<div class='card mx-auto mt-5 shadow-sm bg-dark border-primary'>
<div class="card-body">
<h4 class="text-center">Links</h4>
{% if config.CONFIG_LINK %}
<div class="row">
<div class="col text-right">
{{ config.CONFIG_LINK_TITLE }}
</div>
<div class="col">
<a href="{{ url_for('static', filename=config.CONFIG_LINK_HREF) }}">
{{ config.CONFIG_LINK_TEXT }}
</a>
</div>
</div>
{% endif %}
<div class="row"> <div class="row">
<div class="col text-right"> <div class="col text-right">
Source Source