Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fahrtenbuch
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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
SWP WS21_22 - Fahrtenbuch
Team Einhorn
fahrtenbuch
Commits
944859ce
Commit
944859ce
authored
3 years ago
by
Alexander Rudolph
Browse files
Options
Downloads
Patches
Plain Diff
Create Overview Page for Rented boats
parent
bcf89a0f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
client/src/pages/BoatOverview.tsx
+29
-0
29 additions, 0 deletions
client/src/pages/BoatOverview.tsx
with
29 additions
and
0 deletions
client/src/pages/BoatOverview.tsx
0 → 100644
+
29
−
0
View file @
944859ce
import
{
Button
}
from
"
react-bootstrap
"
;
import
{
useTranslation
}
from
"
react-i18next
"
;
import
Divider
from
"
../components/Divider
"
;
import
RentedBoatTile
from
"
../components/RentedBoatTile
"
;
function
BoatOverview
()
{
const
{
t
}
=
useTranslation
();
return
(
<
div
className
=
"text-center"
>
{
/*TODO: Make dynamic*/
}
<
h1
className
=
"mt-3"
>
{
t
(
"
boatOverview.labelOverdue
"
)
}
</
h1
>
<
div
className
=
"row mx-auto w-100 justify-content-center"
>
<
RentedBoatTile
boatName
=
"Canoe 13"
time
=
"13:15-15:14"
persons
=
"1 Person"
overdue
=
"Overdue!"
></
RentedBoatTile
>
<
RentedBoatTile
boatName
=
"Canoe 15"
time
=
"13:15-15:14"
persons
=
"3 Person"
overdue
=
"Overdue!"
></
RentedBoatTile
>
<
RentedBoatTile
boatName
=
"Canoe 15"
time
=
"13:15-15:14"
persons
=
"3 Person"
overdue
=
"Overdue!"
></
RentedBoatTile
>
<
RentedBoatTile
boatName
=
"Canoe 15"
time
=
"13:15-15:14"
persons
=
"3 Person"
overdue
=
"Overdue!"
></
RentedBoatTile
>
<
RentedBoatTile
boatName
=
"Canoe 15"
time
=
"13:15-15:14"
persons
=
"3 Person"
overdue
=
"Overdue!"
></
RentedBoatTile
>
<
RentedBoatTile
boatName
=
"Canoe 15"
time
=
"13:15-15:14"
persons
=
"3 Person"
overdue
=
"Overdue!"
></
RentedBoatTile
>
</
div
>
<
Button
variant
=
"light"
className
=
"color-secondary border w-50 text-uppercase rounded-pill"
>
{
t
(
"
boatOverview.buttonShowAll
"
)
}
</
Button
>
<
Divider
/>
<
h1
className
=
"mt-3"
>
{
t
(
"
boatOverview.labelCurrentlyRented
"
)
}
</
h1
>
<
Button
variant
=
"light"
className
=
"color-secondary border w-50 text-uppercase rounded-pill"
>
{
t
(
"
boatOverview.buttonShowAll
"
)
}
</
Button
>
</
div
>
);
}
export
default
BoatOverview
;
\ 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