aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Riedstra <Mitch@riedstra.us>2017-11-29 12:48:22 -0500
committerMitch Riedstra <Mitch@riedstra.us>2017-11-29 12:48:22 -0500
commitb537dbd95005508d46aec58d43366444ce758d9b (patch)
treef115a99a679f288fd724b84a60b0196144d03df1
parent1eb7582e6a291f2c5b3a30c408cb50f199fa6eac (diff)
downloaddispatch-tracker-b537dbd95005508d46aec58d43366444ce758d9b.tar.gz
dispatch-tracker-b537dbd95005508d46aec58d43366444ce758d9b.tar.xz
Update the config file and fix the home page when there is no home page blurb
-rw-r--r--app/config-example.yml2
-rw-r--r--app/dispatch/templates/dispatch/login.html6
2 files changed, 4 insertions, 4 deletions
diff --git a/app/config-example.yml b/app/config-example.yml
index 958d2d0..bae3923 100644
--- a/app/config-example.yml
+++ b/app/config-example.yml
@@ -52,7 +52,7 @@ DEFAULT_FROM_EMAIL: webmaster@localhost
TEMPLATE_VARS:
app_name: Subcontractor Invoicing System Demo
- login_blurb: Here's an example blurb above the sign-in box
+ login_blurb: Here's an example blurb above the sign-in box. This can be changed according to your needs.
login_info: '
<p class="flow-text">
Welcome to a demo Subcontractor Invoicing system.
diff --git a/app/dispatch/templates/dispatch/login.html b/app/dispatch/templates/dispatch/login.html
index b3df716..2b5d48b 100644
--- a/app/dispatch/templates/dispatch/login.html
+++ b/app/dispatch/templates/dispatch/login.html
@@ -5,12 +5,12 @@
<br />
<div class="row">
{% if template_vars.login_info %}
- <div class="col s6">
+ <div class="col s12 m6">
{% autoescape off %}{{template_vars.login_info}}{% endautoescape %}
</div>
- <div class="col s6">
+ <div class="col s12 m6">
{% else %}
- <div class="col s12">
+ <div class="col s12 m8 offset-m2">
{% endif %}
{% if template_vars.login_blurb %}
{% autoescape off %}