Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
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
idatt2106-2024-07
frontend
Commits
3c3dd262
Commit
3c3dd262
authored
11 months ago
by
Victor Ekholt Gunrell Kaste
Browse files
Options
Downloads
Patches
Plain Diff
feat: Created a component for creation of a new saving goal
parent
80759a10
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!14
Savings target creation
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/SavingGoalComponents/SavingGoalCreate.vue
+44
-0
44 additions, 0 deletions
src/components/SavingGoalComponents/SavingGoalCreate.vue
with
44 additions
and
0 deletions
src/components/SavingGoalComponents/SavingGoalCreate.vue
0 → 100644
+
44
−
0
View file @
3c3dd262
<
script
setup
lang=
"ts"
>
</
script
>
<
template
>
<div
class=
"col-lg-8"
>
<h1>
Create a new saving goal!
</h1>
<br>
<p>
Create a name for this saving goal:
</p>
<div
class=
"input-group mb-3"
>
<span
class=
"input-group-text"
id=
"basic-addon1"
>
Name:
</span>
<input
type=
"text"
class=
"form-control"
placeholder=
"Name of Saving Goal"
aria-label=
"Username"
aria-describedby=
"basic-addon1"
>
</div>
<p>
Add a description to this saving goal:
</p>
<div
class=
"input-group mb-3"
>
<span
class=
"input-group-text"
id=
"basic-addon2"
>
Description:
</span>
<textarea
class=
"form-control"
aria-label=
"With textarea"
></textarea>
</div>
<!--Change this to date picker?-->
<p>
How long should this saving goal last:
</p>
<div
class=
"input-group mb-3"
>
<input
type=
"text"
class=
"form-control"
aria-label=
"Amount of days"
placeholder=
"Amount of days (as number)"
>
<span
class=
"input-group-text"
>
Days
</span>
</div>
<p>
How much do you want to save during this saving goal:
</p>
<div
class=
"input-group"
>
<input
type=
"text"
class=
"form-control"
aria-label=
""
placeholder=
"NOK (as number)"
>
<span
class=
"input-group-text"
>
NOK
</span>
</div>
<br>
<button
class=
"btn btn-primary btn-lg"
>
Create goal!
</button>
</div>
</
template
>
<
style
scoped
>
.col-lg-8
{
width
:
63%
;
margin-top
:
50px
;
}
</
style
>
\ No newline at end of file
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