Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
idatt2106_2024_02_frontend
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IDATT2106 - Gruppe 2
idatt2106_2024_02_frontend
Commits
ca8a81a0
Commit
ca8a81a0
authored
10 months ago
by
Trygve Jørgensen
Browse files
Options
Downloads
Patches
Plain Diff
chore: button style
parent
f8904d0d
No related branches found
Branches containing commit
No related tags found
2 merge requests
!66
Final merge
,
!62
WCAG fixes
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/views/ConfigBiometricView.vue
+4
-4
4 additions, 4 deletions
src/views/ConfigBiometricView.vue
with
4 additions
and
4 deletions
src/views/ConfigBiometricView.vue
+
4
−
4
View file @
ca8a81a0
...
...
@@ -7,8 +7,8 @@
<img
alt=
"bioAuthFace"
class=
"w-40 h-40"
src=
"@/assets/bioAuthFace.png"
/>
</div>
<div
class=
"flex flex-col gap-6"
>
<button
class=
"
font-bold mt-10
"
@
click=
"bioRegister"
>
Legg til nå!
</button>
<button
class=
"
font-bold
"
@
click=
"router.push(
{ name: 'configurations1' })">
<button
class=
"
primary
"
@
click=
"bioRegister"
>
Legg til nå!
</button>
<button
class=
"
primary secondary
"
@
click=
"router.push(
{ name: 'configurations1' })">
Jeg gjør det senere
</button>
</div>
...
...
@@ -28,9 +28,9 @@ const bioError = ref<boolean>(false)
const
bioRegister
=
async
()
=>
{
const
result
=
await
userStore
.
bioRegister
()
if
(
result
==
=
true
)
{
if
(
result
==
true
)
{
await
router
.
push
({
name
:
'
configurations1
'
})
}
else
if
(
result
==
=
false
)
{
}
else
if
(
result
==
false
)
{
bioError
.
value
=
true
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment