diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-06-20 12:34:04 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-08 16:18:18 +0100 |
commit | 3f88c42fed3a1bbe8541c9ec69affebb2358717f (patch) | |
tree | 1b78626c6c14a78080748c6297e0f0b40ff96db4 /web | |
parent | ed3f37c379694c545cb6976fa9f52cc65211804e (diff) |
[Borsetshire] Demo behaviour and help.
The front page redirects to report area, ignoring whatever is entered,
and the sign in page includes details of the demo accounts.
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/borsetshire/js.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/web/cobrands/borsetshire/js.js b/web/cobrands/borsetshire/js.js new file mode 100644 index 000000000..b612c3a8b --- /dev/null +++ b/web/cobrands/borsetshire/js.js @@ -0,0 +1,9 @@ +(function(){ + $('#demo-user-list dt').click(function(){ + var form = document.forms.general_auth; + form.email.value = $(this).text(); + form.password_sign_in.value = 'password'; + form.r.value = 'admin'; + form.submit(); + }); +})(); |