Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dtd
/
civitas.ui
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f7b141d4
authored
Apr 14, 2025
by
Samuel Taniel Mulyadi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
finish merge and finish parkir desain belum ijin uts dulu HAHAHA
1 parent
66f2673c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
65 additions
and
2 deletions
views/dstipro/beranda/UserProfileHeader.vue
views/dstipro/beranda/UserProfileHeader.vue
View file @
f7b141d
...
...
@@ -183,6 +183,12 @@ const ulangTahunBerikutnya = computed(() => {
const
goToParking
=
()
=>
{
window
.
open
(
'https://parkir.ui.ac.id/apps/site/index'
,
'_blank'
)
}
const
dialog
=
ref
(
false
)
function
openDialog
()
{
dialog
.
value
=
true
}
</
script
>
<
template
>
...
...
@@ -249,7 +255,7 @@ const goToParking = () => {
<VBtn
variant=
"tonal"
:color=
"daysLeft > 0 ? 'primary' : 'error'"
@
click=
"
goToParkin
g"
@
click=
"
openDialo
g"
>
{{
parkirStatus
}}
<VTooltip
...
...
@@ -287,8 +293,65 @@ const goToParking = () => {
</div>
</VTooltip>
</VBtn>
</div>
<!-- Dialog popup -->
<VDialog
v-model=
"dialog"
width=
"400"
>
<template
#
default
>
<VCard>
<VCardTitle>
Informasi Parkir
</VCardTitle>
<VCardText>
<div
class=
"d-flex align-center gap-x-2 mb-2"
>
<VIcon
size=
"20"
icon=
"ri-calendar-line"
/>
<span>
Mulai:
{{
parkirItems
.
date_start_service
}}
</span>
</div>
<div
class=
"d-flex align-center gap-x-2 mb-2"
>
<VIcon
size=
"20"
icon=
"ri-calendar-check-line"
/>
<span>
Berakhir:
{{
parkirItems
.
date_end_service
}}
</span>
</div>
<div
class=
"d-flex align-center gap-x-2 mb-4"
>
<VIcon
size=
"20"
icon=
"ri-time-line"
/>
<span>
{{
daysLeft
}}
hari tersisa
</span>
</div>
<VProgressLinear
:model-value=
"progress"
color=
"primary"
height=
"6"
rounded
/>
</VCardText>
<VCardActions>
<VSpacer
/>
<VBtn
color=
"primary"
@
click=
"goToParking"
>
Lihat Detail
</VBtn>
<VBtn
text
@
click=
"dialog = false"
>
Tutup
</VBtn>
</VCardActions>
</VCard>
</
template
>
</VDialog>
</div>
<div
v-if=
"!isBirthday"
class=
"d-flex align-center gap-x-2"
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment