@@ -103,7 +107,6 @@ export default {
diff --git a/src/views/admin/CreateBlankView.vue b/src/views/admin/CreateBlankView.vue
index c3f638388..bc0eb651b 100644
--- a/src/views/admin/CreateBlankView.vue
+++ b/src/views/admin/CreateBlankView.vue
@@ -397,7 +397,6 @@ export default {
width: 20px;
}
.Titles {
- font-family: 'Poppins', Helvetica;
font-size: 38px;
font-style: normal;
text-align: center;
@@ -427,7 +426,6 @@ export default {
justify-content: center;
}
.cardsTitle {
- font-family: 'Poppins', Helvetica;
font-size: 24px;
font-style: normal;
font-weight: 600;
@@ -441,14 +439,12 @@ export default {
.cardSubtitle {
color: #8b959c;
font-size: 20px;
- font-family: 'Poppins', Helvetica;
font-style: normal;
font-weight: 600;
line-height: normal;
}
.cardSubtitle2 {
color: rgba(139, 149, 156, 0.64);
- font-family: 'Poppins', Helvetica;
font-size: 16px;
font-style: normal;
font-weight: 600;
@@ -456,7 +452,6 @@ export default {
}
.cardInternTitles {
max-width: 270px;
- font-family: 'Poppins', Helvetica;
color: #626e76;
font-size: 18px;
font-style: normal;
diff --git a/src/views/admin/CreateFromTemplateView.vue b/src/views/admin/CreateFromTemplateView.vue
index 25ef55281..93434b5e3 100644
--- a/src/views/admin/CreateFromTemplateView.vue
+++ b/src/views/admin/CreateFromTemplateView.vue
@@ -3,7 +3,9 @@
- {{ $t('pages.createTest.templateTitle') }}
+ {{
+ $t('pages.createTest.templateTitle')
+ }}
-
+
.dialog-title {
- font-family: Roboto;
font-style: normal;
font-weight: 300;
font-size: 60px;
@@ -142,7 +146,6 @@ export default {
color: #000000;
}
.Title {
- font-family: 'Poppins', Helvetica;
font-size: 38px;
font-style: normal;
text-align: center;
diff --git a/src/views/admin/EditTestView.vue b/src/views/admin/EditTestView.vue
index 10a4cc83c..fb53a0571 100644
--- a/src/views/admin/EditTestView.vue
+++ b/src/views/admin/EditTestView.vue
@@ -86,7 +86,7 @@
/>
-->
-
+
\ No newline at end of file
+
diff --git a/src/views/admin/ManagerView.vue b/src/views/admin/ManagerView.vue
index be763bf26..f9ef337cf 100644
--- a/src/views/admin/ManagerView.vue
+++ b/src/views/admin/ManagerView.vue
@@ -66,15 +66,15 @@
{{ $t('titles.manager') }}
{{ test.testTitle }}
@@ -536,7 +536,6 @@ export default {
display: none;
}
.testTitle {
- font-family: Roboto;
font-style: normal;
font-weight: bold;
font-size: 45px;
diff --git a/src/views/admin/ReportView.vue b/src/views/admin/ReportView.vue
index 32bec9ea5..58ecc9f30 100644
--- a/src/views/admin/ReportView.vue
+++ b/src/views/admin/ReportView.vue
@@ -278,7 +278,6 @@ export default {
\ No newline at end of file
+
diff --git a/src/views/public/ModeratedTestView.vue b/src/views/public/ModeratedTestView.vue
index a4278a846..d27a3fcd7 100644
--- a/src/views/public/ModeratedTestView.vue
+++ b/src/views/public/ModeratedTestView.vue
@@ -1,55 +1,5 @@
-
-
-
- Saving Answer
-
-
-
-
-
-
-
-
-
-
-
-
-
- mdi-account
-
-
-
-
-
- Continue as {{ user.email }}
-
-
-
-
- Not {{ user.email }}?
- Change account
-
-
-
-
-
{{ test.testDescription }}
-
-
+
+ The test is available at
+ {{ new Date(this.testDate).toLocaleString() }}
+
Start Test
@@ -233,7 +198,9 @@
- Waiting the evaluator connection ...
+ Waiting the evaluator connection ...
@@ -396,7 +363,7 @@
Evaluator concluded the test!
-
+
Here you can finilize the test, or you can keep talking with
your evaluator until you finish!
@@ -465,7 +432,7 @@
class="ma-0 pa-0"
@click="
changeStatus(taskIndex, 'consent', 'done'),
- (consentCompleted = true)
+ (consentCompleted = true)
"
>
@@ -495,7 +462,9 @@
cols="4"
class="mt-2 mb-8 mr-8"
>
- Waiting the moderator...
+ Waiting the moderator...
@@ -582,7 +551,7 @@
>
Final Message!
-
+
Congratulations you finished this test, here you can until talk
with your moderator or leave the test
@@ -795,7 +764,7 @@
draggable="false"
src="../../../public/finalMessage.svg"
alt="Final test svg"
- >
+ />
@@ -827,6 +796,55 @@
+
+
+
+ Saving Answer
+
+
+
+
+
+
+
+
+
+
+
+
+
+ mdi-account
+
+
+
+
+
+ Continue as {{ user.email }}
+
+
+
+
+ Not {{ user.email }}?
+ Change account
+
+
+
+
@@ -880,7 +898,12 @@ export default {
mediaRecorderModerator: null,
isLoading: false,
consentCompleted: false,
+ sessionCooperator: null,
+ testDate: null,
}),
+ props: {
+ token: { type: String, default: null },
+ },
computed: {
test() {
return this.$store.getters.test
@@ -907,11 +930,13 @@ export default {
remoteStream() {
return this.$store.getters.remoteStream
},
+ isTestAvailable() {
+ console.log(new Date(this.testDate))
+ console.log(new Date() > new Date(this.testDate))
+ return new Date() > new Date(this.testDate)
+ },
},
watch: {
- test: async function() {
- this.mappingSteps()
- },
taskIndex() {
this.$refs.rightView.scrollTop = 0
},
@@ -947,6 +972,25 @@ export default {
},
async created() {
await this.verifyAdmin()
+ if (this.token != null) {
+ this.sessionCooperator = this.test.cooperators.find(
+ (user) => user.userDocId === this.token,
+ )
+ if (!this.user.userDocId !== this.token && !this.isAdmin) {
+ this.$toast.error(`You don't have access to this session.`)
+ this.$router.push('/testslist/')
+ }
+ if (this.sessionCooperator.testDate) {
+ this.testDate = this.sessionCooperator.testDate
+ } else {
+ this.$toast.warning(`Your session don't have a scheduled date`)
+ this.$router.push('/managerview/' + this.test.id)
+ }
+ } else {
+ this.$toast.info('Use a session your session link to the test')
+ this.$router.push('/managerview/' + this.test.id)
+ }
+
await this.mappingSteps()
this.consentCompleted = this.currentUserTestAnswer.consentCompleted
const ref = doc(db, 'tests/', this.roomTestId)
@@ -1393,7 +1437,6 @@ export default {
}
.cardsTitle {
color: #455a64;
- font-family: 'Poppins', Helvetica;
font-size: 18px;
font-style: normal;
font-weight: 600;
@@ -1401,7 +1444,6 @@ export default {
}
.cardsSubtitle {
color: #455a64;
- font-family: 'Poppins', Helvetica;
font-size: 15px;
font-style: normal;
font-weight: 400;
@@ -1447,7 +1489,6 @@ body {
transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.titleView {
- font-family: 'Poppins', Helvetica;
font-style: normal;
font-weight: 300;
font-size: 60px;
@@ -1457,7 +1498,6 @@ body {
color: #ffffff;
}
.description {
- font-family: Roboto;
font-style: normal;
font-weight: 200;
font-size: 18.1818px;
@@ -1472,7 +1512,6 @@ body {
overflow: hidden;
}
.subtitleView {
- font-family: Roboto;
font-style: normal;
font-weight: 200;
font-size: 18.1818px;
@@ -1537,7 +1576,6 @@ body {
/* background: #515069; */
}
.card-title {
- font-family: Roboto;
font-style: normal;
font-weight: 300;
font-size: 48px;
diff --git a/src/views/public/SignInView.vue b/src/views/public/SignInView.vue
index 06c34cfbb..755ee78b0 100644
--- a/src/views/public/SignInView.vue
+++ b/src/views/public/SignInView.vue
@@ -48,7 +48,8 @@
{{ $t('SIGNIN.dont-have-account') }}
+ >{{ $t('SIGNIN.dont-have-account') }}
@@ -112,7 +113,6 @@ export default {
align-content: center;
}
.card-title {
- font-family: Roboto;
font-style: normal;
font-weight: 300;
font-size: 48px;
diff --git a/src/views/public/SignUpView.vue b/src/views/public/SignUpView.vue
index b8e6fa417..f4a208fa4 100644
--- a/src/views/public/SignUpView.vue
+++ b/src/views/public/SignUpView.vue
@@ -12,7 +12,11 @@
-
+
- {{ $t('SIGNIN.alreadyHaveAnAccount') }}
+ {{ $t('SIGNIN.alreadyHaveAnAccount') }}
@@ -83,7 +91,6 @@ export default {
Snackbar,
},
data: () => ({
-
email: '',
password: '',
@@ -104,7 +111,8 @@ export default {
computed: {
comparePassword() {
return () =>
- (this.confirmpassword == this.password && this.confirmpassword !== '') ||
+ (this.confirmpassword == this.password &&
+ this.confirmpassword !== '') ||
i18n.t('errors.differentPasswords')
},
user() {
@@ -117,7 +125,7 @@ export default {
methods: {
async onSignUp() {
- if (this.valid){
+ if (this.valid) {
await this.$store.dispatch('signup', {
email: this.email,
password: this.password,
@@ -139,7 +147,6 @@ export default {
align-content: center;
}
.card-title {
- font-family: Roboto;
font-style: normal;
font-weight: 300;
font-size: 48px;
@@ -157,4 +164,4 @@ export default {
) !important;
height: 0.5px;
}
-
\ No newline at end of file
+
diff --git a/src/views/public/TestView.vue b/src/views/public/TestView.vue
index 48e060dfa..a5d70dafd 100644
--- a/src/views/public/TestView.vue
+++ b/src/views/public/TestView.vue
@@ -418,7 +418,7 @@