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
41e17923
Commit
41e17923
authored
10 months ago
by
Trygve Jørgensen
Browse files
Options
Downloads
Patches
Plain Diff
enhancement(config): edit config now has buttons for tabindex
parent
7dab897a
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/ManageConfigView.vue
+64
-46
64 additions, 46 deletions
src/views/ManageConfigView.vue
with
64 additions
and
46 deletions
src/views/ManageConfigView.vue
+
64
−
46
View file @
41e17923
...
...
@@ -99,56 +99,74 @@ onMounted(() => {
<h3
class=
"font-bold"
>
Hvor store vaneedringer er du villig til å gjøre?
</h3>
<div
v-if=
"configuration"
class=
"flex flex-row gap-5"
>
<CardTemplate
:class=
"
{ 'border-2 border-lime-400': configuration.motivation === 'VERY_LOW' }"
class="cursor-pointer p-4 border-2"
@click="configuration.motivation = 'VERY_LOW'"
>
<p
class=
"font-bold"
>
Litt
</p>
</CardTemplate>
<CardTemplate
:class=
"
{ 'border-2 border-lime-400': configuration.motivation === 'MEDIUM' }"
class="cursor-pointer p-4 border-2"
@click="configuration.motivation = 'MEDIUM'"
>
<p
class=
"font-bold"
>
Passe
</p>
</CardTemplate>
<CardTemplate
:class=
"
{
'border-2 border-lime-400': configuration.motivation === 'VERY_HIGH'
}"
class="cursor-pointer p-4 border-2"
@click="configuration.motivation = 'VERY_HIGH'"
>
<p
class=
"font-bold"
>
Store
</p>
</CardTemplate>
<button
@
click=
"configuration.motivation = 'VERY_LOW'"
>
<CardTemplate
:class=
"
{
'border-2 border-lime-400': configuration.motivation === 'VERY_LOW'
}"
class="cursor-pointer p-4 border-2"
@click="configuration.motivation = 'VERY_LOW'"
>
<p
class=
"font-bold"
>
Litt
</p>
</CardTemplate>
</button>
<button
@
click=
"configuration.motivation = 'MEDIUM'"
>
<CardTemplate
:class=
"
{
'border-2 border-lime-400': configuration.motivation === 'MEDIUM'
}"
class="cursor-pointer p-4 border-2"
>
<p
class=
"font-bold"
>
Passe
</p>
</CardTemplate>
</button>
<button
@
click=
"configuration.motivation = 'VERY_HIGH'"
>
<CardTemplate
:class=
"
{
'border-2 border-lime-400': configuration.motivation === 'VERY_HIGH'
}"
class="cursor-pointer p-4 border-2"
>
<p
class=
"font-bold"
>
Store
</p>
</CardTemplate>
</button>
</div>
<h3
class=
"font-bold"
>
Hvor kjent er du med sparing fra før av?
</h3>
<div
v-if=
"configuration"
class=
"flex flex-row gap-5"
>
<CardTemplate
:class=
"
{ 'border-2 border-lime-400': configuration.experience === 'VERY_LOW' }"
class="cursor-pointer p-4 border-2"
@click="configuration.experience = 'VERY_LOW'"
>
<p
class=
"font-bold"
>
Litt kjent
</p>
</CardTemplate>
<CardTemplate
:class=
"
{ 'border-2 border-lime-400': configuration.experience === 'MEDIUM' }"
class="cursor-pointer p-4 border-2"
@click="configuration.experience = 'MEDIUM'"
>
<p
class=
"font-bold"
>
Noe kjent
</p>
</CardTemplate>
<CardTemplate
:class=
"
{
'border-2 border-lime-400': configuration.experience === 'VERY_HIGH'
}"
class="cursor-pointer p-4 border-2"
@click="configuration.experience = 'VERY_HIGH'"
>
<p
class=
"font-bold"
>
Godt kjent
</p>
</CardTemplate>
<button
@
click=
"configuration.experience = 'VERY_LOW'"
>
<CardTemplate
:class=
"
{
'border-2 border-lime-400': configuration.experience === 'VERY_LOW'
}"
class="cursor-pointer p-4 border-2"
>
<p
class=
"font-bold"
>
Litt kjent
</p>
</CardTemplate>
</button>
<button
@
click=
"configuration.experience = 'MEDIUM'"
>
<CardTemplate
:class=
"
{
'border-2 border-lime-400': configuration.experience === 'MEDIUM'
}"
class="cursor-pointer p-4 border-2"
>
<p
class=
"font-bold"
>
Noe kjent
</p>
</CardTemplate>
</button>
<button
@
click=
"configuration.experience = 'VERY_HIGH'"
>
<CardTemplate
:class=
"
{
'border-2 border-lime-400': configuration.experience === 'VERY_HIGH'
}"
class="cursor-pointer p-4 border-2"
>
<p
class=
"font-bold"
>
Godt kjent
</p>
</CardTemplate>
</button>
</div>
<h3
class=
"font-bold my-0"
>
Hva bruker du mye penger på?
</h3>
...
...
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