aboutsummaryrefslogtreecommitdiff
path: root/app/config-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'app/config-compose.yml')
-rw-r--r--app/config-compose.yml25
1 files changed, 19 insertions, 6 deletions
diff --git a/app/config-compose.yml b/app/config-compose.yml
index ddbf18b..f93b76e 100644
--- a/app/config-compose.yml
+++ b/app/config-compose.yml
@@ -53,22 +53,35 @@ 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. This can be changed according to your needs.
- login_info: '
+ # login_blurb: Login with "admin@example.com", "password"
+ login_info: |
<p class="flow-text">
Welcome to a demo Subcontractor Invoicing system.
</p>
<p class="flow-text">
- We can design a system that works specifically for your
+ We can design a system that customized specifically for your
use case.
</p>
<p class="flow-text">
- <a href="https://www.stridet.com/contact">Please contact us</a>
+ <a href="https://mitchriedstra.com/resume">Please contact me</a>
if you would like more information. This version has been
- specifically designed for use by a trucking company.
+ specifically designed for a trucking company that continues to
+ use it more than two years after implementation.
</p>
</p>
- '
+ <script>
+ /* Shh, it's a little bit of a hack */
+ window.onload = function () {
+ document.querySelector("#id_username").value="admin@example.com";
+ document.querySelector("#id_password").value="password";
+ document.querySelector("#id_username").parentElement.parentElement.hidden=true
+ document.querySelector("#login_register").hidden=true
+ document.querySelector('.card-title').innerText="Click below to start discovering";
+ document.querySelector('#login_submit').parentElement.classList = [ 'center-align' ];
+ document.querySelector('#login_submit').parentElement.style = "padding-top: 20px;";
+ document.querySelector('#login_submit').value="LOGIN NOW!";
+ }
+ </script>