This commit is contained in:
2020-08-10 20:58:06 +00:00
parent 99f1276222
commit c3364d2588
2 changed files with 14 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ todo: Logo form
Decide upon reasonable maximum sizes for each
(check RI/WBI etc manual what do they take for limits?)
Handle too large at client, don't even send to server
todo: AyaNova customer branding to login form / upload logos etc **UPDATED, SEE CASES, WILL IMPLEMENT MIGHT AS WELL DO IT NOW
- https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3592

View File

@@ -3,6 +3,15 @@
<v-col cols="12" offset-md="4">
<form>
<v-row>
<!-- Customer logo -->
<v-col cols="12" class="hidden-md-and-up">
<img :src="smallLogoUrl" />
</v-col>
<v-col cols="12" md="7" class="hidden-sm-and-down">
<img :src="mediumLogoUrl" />
</v-col>
<!-- Our branding -->
<v-col cols="12" class="hidden-md-and-up">
<v-img
:src="require('../assets/logo.svg')"
@@ -94,7 +103,8 @@ export default {
username: "superuser",
password: "l3tm3in"
},
smallLogoUrl: null,
mediumLogoUrl: null,
errorBadCreds: false,
reveal: false,
formState: { errorBoxMessage: null },
@@ -218,6 +228,8 @@ export default {
},
async created() {
let vm = this;
vm.smallLogoUrl = window.$gz.api.logoUrl("small");
vm.mediumLogoUrl = window.$gz.api.logoUrl("medium");
//------------------
//Test ui feedback mechanisms here:
//this.formState.errorBoxMessage = "This is a test crlf\r\nOnly a test lf\nEot";