diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2019-09-14 01:04:36 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2019-09-14 01:04:36 -0400 |
| commit | 6b7ee1a11e9f30dadf3817614d5c1839fbb2a020 (patch) | |
| tree | e3e6d5f7cad53305b93de31114655520d83db2c7 /app/config-compose.yml | |
| parent | 0e82caee0b427dcb957ff78a6c2779e7d9e27dde (diff) | |
| download | dispatch-tracker-6b7ee1a11e9f30dadf3817614d5c1839fbb2a020.tar.gz dispatch-tracker-6b7ee1a11e9f30dadf3817614d5c1839fbb2a020.tar.xz | |
Some minor changes to the login template, as well as some hacking for the demo login form. Updated the links to my website
Diffstat (limited to 'app/config-compose.yml')
| -rw-r--r-- | app/config-compose.yml | 25 |
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> |
