Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
idatt2106_2024_03_frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
Scrum_Team_3
idatt2106_2024_03_frontend
Commits
5e16d17e
Commit
5e16d17e
authored
1 year ago
by
Sverre Frogner Haugen
Browse files
Options
Downloads
Patches
Plain Diff
Added input fields to the CreateChallengeView
parent
507e0ba0
No related branches found
No related tags found
1 merge request
!45
Create challenge
Pipeline
#278265
passed
1 year ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/views/HomePage/CreateChallengeView.vue
+51
-6
51 additions, 6 deletions
src/views/HomePage/CreateChallengeView.vue
with
51 additions
and
6 deletions
src/views/HomePage/CreateChallengeView.vue
+
51
−
6
View file @
5e16d17e
...
...
@@ -4,22 +4,31 @@
<
template
>
<div
class=
"create-challenge-view"
>
<h2
>
Personlig
utfordring
</h2>
<h2
id =
pageTittle
>
Sett deg en spare
utfordring
</h2>
<div
class=
"input-fields"
>
<div
class=
"title"
>
<h3
class =
fieldInfo
>
Gi din spareutfordring et navn!
</h3>
<input/>
</div>
<div
class=
"description"
>
<h3
class =
fieldInfo
>
Beskriv ditt sparemål!
</h3>
<input/>
</div>
<div
class=
"goalSum"
>
<h3
class =
fieldInfo
>
Hvor mye spares ved denne utfordringen?
</h3>
<input
type=
"number"
/>
</div>
<div
class=
"end-datre"
>
<div
class=
"end-date"
>
<h3
class =
fieldInfo
>
Hva er fristen på denne utfordringen?
</h3>
<input
type =
"date"
/>
</div>
<div
class=
"repeatable"
>
<h3
class =
fieldInfo
>
Hva er fristen på denne utfordringen?
</h3>
<input/>
</div>
</div>
...
...
@@ -28,9 +37,45 @@
</
template
>
<
style
scoped
>
.create-challenge-view
{
#pageTittle
{
color
:
var
(
--color-heading
);
}
.title
,
.description
,
.goalSum
,
.end-date
,
.repeatable
{
border
:
3px
solid
var
(
--color-border
);
margin-top
:
3%
;
padding
:
1%
;
border-radius
:
20px
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
center
;
align-items
:
center
;
width
:
70%
;
height
:
50%
;
box-shadow
:
5px
5px
10px
rgba
(
0
,
0
,
0
,
0.6
);
}
.fieldInfo
{
margin-bottom
:
2%
;
}
.input-fields
{
display
:
flex
;
flex-direction
:
column
;
justify-content
:
center
;
align-items
:
center
;
height
:
100%
;
}
input
{
width
:
90%
;
height
:
45%
;
border-radius
:
20px
;
border-color
:
var
(
--color-border
);
}
.create-challenge-view
{
width
:
100%
;
height
:
100%
;
}
...
...
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