diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/config-compose.yml | 25 | ||||
| -rw-r--r-- | app/config-example.yml | 5 | ||||
| -rw-r--r-- | app/dispatch/templates/dispatch/base.html | 2 | ||||
| -rw-r--r-- | app/dispatch/templates/dispatch/login.html | 4 |
4 files changed, 26 insertions, 10 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> diff --git a/app/config-example.yml b/app/config-example.yml index eab6d57..dfc0872 100644 --- a/app/config-example.yml +++ b/app/config-example.yml @@ -62,9 +62,10 @@ TEMPLATE_VARS: 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> ' diff --git a/app/dispatch/templates/dispatch/base.html b/app/dispatch/templates/dispatch/base.html index d1dde8c..d1cebdf 100644 --- a/app/dispatch/templates/dispatch/base.html +++ b/app/dispatch/templates/dispatch/base.html @@ -55,7 +55,7 @@ <div class="container"> <p> - Made by <a class="blue-text text-lighten-3" href="https://www.stridet.com">Stridet LLC</a> + Created by <a class="blue-text text-lighten-3" href="https://mitchriedstra.com/resume">Mitchell Riedstra</a> et al </p> </div> <!-- diff --git a/app/dispatch/templates/dispatch/login.html b/app/dispatch/templates/dispatch/login.html index 0f5e1b1..7f8926d 100644 --- a/app/dispatch/templates/dispatch/login.html +++ b/app/dispatch/templates/dispatch/login.html @@ -47,11 +47,13 @@ </div> </div> <div class="right-align"> - <input class="btn" type="submit" value="login" /> + <input id="login_submit" class="btn" type="submit" value="login" /> </div> <input type="hidden" name="next" value="{{ next }}" /> </form> + <div id="login_register"> If you do not already have an account, register <a href='/accounts/register'>here</a> + </div> </div> </div> </div> |
