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
5f6a3a67
Commit
5f6a3a67
authored
10 months ago
by
VIktorGrev
Browse files
Options
Downloads
Patches
Plain Diff
style: Fornorskning av shop
parent
11cac210
No related branches found
Branches containing commit
No related tags found
1 merge request
!106
Feat/profile and settings improvements
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/Shop/ItemShop.vue
+11
-11
11 additions, 11 deletions
src/components/Shop/ItemShop.vue
with
11 additions
and
11 deletions
src/components/Shop/ItemShop.vue
+
11
−
11
View file @
5f6a3a67
...
...
@@ -10,13 +10,13 @@
<div
class=
"container d-flex justify-content-center"
>
<div
class=
"row col-md-10"
>
<div
class=
"col-md-12"
>
<h1>
Stash
</h1>
<h1>
Utvidelser
</h1>
<div
class=
"category row mb-2 m-2"
>
<div
class=
"card text-center justify-content-center align-items-center"
style=
"width: 8rem; border: none"
>
<img
src=
"../../assets/items/adfree.png"
class=
"card-img-top"
alt=
"..."
style=
"width: 100px; height: 100px;"
/>
<div
class=
"card-body"
>
<h5
class=
"card-title"
>
Adfree
</h5>
<h5
class=
"card-title"
>
Reklamefri
</h5>
<button
type=
"button"
class=
"btn btn-primary"
id=
"buttonStyle"
data-toggle=
"modal"
data-target=
"#adfreeModal"
>
+35kr
...
...
@@ -37,7 +37,7 @@
</div>
</div>
<div
class=
"col-md-12"
>
<h1>
Items
</h1>
<h1>
Banner
</h1>
<div
class=
"category row mb-2 m-2"
>
<div
v-for=
"product in products"
:key=
"product.id"
class=
"card text-center d-flex justify-content-center align-items-center"
...
...
@@ -47,24 +47,24 @@
<div
class=
"card-body"
>
<h5
class=
"card-title"
>
{{
product
.
itemName
}}
</h5>
<h6>
{{
product
.
price
}}
<img
src=
"../../assets/items/pigcoin.png"
style=
"width: 2rem"
/></h6>
<ShopButton
v-if=
"!product.alreadyBought"
button-text=
"
Buy item
"
:disabled=
"product.price > points"
<ShopButton
v-if=
"!product.alreadyBought"
button-text=
"
Kjøp gjennstand
"
:disabled=
"product.price > points"
@
click=
"buyItem(product.id)"
/>
<p
v-else
>
Owne
d
</p>
<p
v-else
>
Ei
d
</p>
</div>
</div>
</div>
</div>
<div
class=
"col-md-12"
>
<h1>
Cool items
</h1>
<h1>
Tjenester
</h1>
<div
class=
"category row mb-2 m-2"
>
<div
class=
"card text-center d-flex justify-content-center align-items-center"
style=
"width: 8rem; border: none"
>
<img
src=
"../../assets/items/coffee.jpg"
class=
"card-img-top"
alt=
"..."
style=
"width: 100px; height: 100px;"
>
<div
class=
"card-body"
>
<h5
class=
"card-title"
>
Free Co
ffe
e
</h5>
<h5
class=
"card-title"
>
Gratis ka
ffe
</h5>
<h6>
500
<img
src=
"../../assets/items/pigcoin.png"
style=
"width: 2rem"
></h6>
<ShopButton
button-text=
"
Buy item
"
:disabled=
"500 > points"
@
click=
"buySomething()"
/>
<ShopButton
button-text=
"
Kjøp gjennstand
"
:disabled=
"500 > points"
@
click=
"buySomething()"
/>
</div>
</div>
<div
class=
"card text-center d-flex justify-content-center align-items-center"
...
...
@@ -72,9 +72,9 @@
<img
src=
"../../assets/items/viaplay.jpg"
class=
"card-img-top"
alt=
"..."
style=
"width: 100px; height: 100px;"
>
<div
class=
"card-body"
>
<h5
class=
"card-title"
>
1 M
onth
</h5>
<h5
class=
"card-title"
>
1 M
åned
</h5>
<h6>
10 000
<img
src=
"../../assets/items/pigcoin.png"
style=
"width: 2rem"
></h6>
<ShopButton
button-text=
"
Buy item
"
:disabled=
"10000 > points"
@
click=
"buySomething()"
/>
<ShopButton
button-text=
"
Kjøp gjennstand
"
:disabled=
"10000 > points"
@
click=
"buySomething()"
/>
</div>
</div>
<div
class=
"card text-center d-flex justify-content-center align-items-center"
...
...
@@ -84,7 +84,7 @@
<div
class=
"card-body"
>
<h5
class=
"card-title"
>
-10% rabatt
</h5>
<h6>
1000
<img
src=
"../../assets/items/pigcoin.png"
style=
"width: 2rem"
></h6>
<ShopButton
button-text=
"
Buy item
"
:disabled=
"1000 > points"
@
click=
"buySomething()"
/>
<ShopButton
button-text=
"
Kjøp gjennstand
"
:disabled=
"1000 > points"
@
click=
"buySomething()"
/>
</div>
</div>
</div>
...
...
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