TimelineOutlined.vue
7.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
<script setup>
import avatar1 from '@images/avatars/avatar-1.png'
import avatar2 from '@images/avatars/avatar-2.png'
import pdf from '@images/icons/project-icons/pdf.png'
import pumaShoes from '@images/pages/puma-shoes.jpeg'
</script>
<template>
<VCard title="Outlined Timeline">
<VCardText>
<VTimeline
side="end"
align="start"
line-inset="8"
truncate-line="start"
density="compact"
class="v-timeline--variant-outlined"
>
<!-- SECTION Timeline Item: Flight -->
<VTimelineItem
dot-color="rgb(var(--v-theme-surface))"
size="x-small"
>
<!-- 👉 Header -->
<template #icon>
<VIcon
icon="ri-checkbox-blank-circle-line"
color="error"
size="16"
/>
</template>
<div class="timeline-item">
<div class="d-flex justify-space-between align-center gap-2 flex-wrap mb-2">
<span class="app-timeline-title align-self-start">
Get on the flight
</span>
<span class="app-timeline-meta">Wednesday</span>
</div>
<!-- 👉 Content -->
<p class="app-timeline-text mb-2">
<span>Charles de Gaulle Airport, Paris</span>
<VIcon
size="20"
icon="ri-arrow-right-line"
class="mx-2 flip-in-rtl"
/>
<span>Heathrow Airport, London</span>
</p>
<p class="app-timeline-meta">
6:30 AM
</p>
<div class="d-inline-flex align-center timeline-chip">
<img
:src="pdf"
height="20"
class="me-2"
alt="img"
>
<span class="app-timeline-text font-weight-medium">
invoice.pdf
</span>
</div>
</div>
</VTimelineItem>
<!-- !SECTION -->
<!-- SECTION Timeline Item: Interview Schedule -->
<VTimelineItem
size="x-small"
dot-color="rgb(var(--v-theme-surface))"
>
<template #icon>
<VIcon
icon="ri-checkbox-blank-circle-line"
color="primary"
size="16"
/>
</template>
<div class="timeline-item">
<!-- 👉 Header -->
<div class="d-flex justify-space-between align-center gap-2 flex-wrap mb-2">
<span class="app-timeline-title">
Interview Schedule
</span>
<span class="app-timeline-meta">April, 18</span>
</div>
<p class="app-timeline-text mb-0">
Bonbon gummies caramels brownie topping <br> fruitcake gingerbread jelly-o marzipan.
</p>
<!-- 👉 Divider -->
<VDivider class="my-4" />
<!-- 👉 Person -->
<div class="d-flex justify-space-between align-center flex-wrap">
<!-- 👉 Avatar & Personal Info -->
<div class="d-flex align-center">
<VAvatar
size="32"
class="me-2"
:image="avatar2"
/>
<div>
<div class="text-body-2 font-weight-medium text-high-emphasis">
Rebecca Godman
</div>
<span class="text-body-2 font-weight-normal">JavaScript Developer</span>
</div>
</div>
<!-- 👉 Person Actions -->
<div>
<IconBtn class="me-2">
<VIcon
size="20"
icon="ri-message-line"
/>
</IconBtn>
<IconBtn>
<VIcon
size="20"
icon="ri-phone-line"
/>
</IconBtn>
</div>
</div>
</div>
</VTimelineItem>
<!-- !SECTION -->
<!-- SECTION Timeline Item: Puma Shoes -->
<VTimelineItem
size="x-small"
dot-color="rgb(var(--v-theme-surface))"
>
<template #icon>
<VIcon
icon="ri-checkbox-blank-circle-line"
color="info"
size="16"
/>
</template>
<div class="timeline-item">
<div class="d-flex align-start flex-sm-row flex-column mb-3">
<VImg
aspect-ratio="1"
width="100"
:src="pumaShoes"
class="rounded me-4 mb-4"
/>
<div>
<!-- Header -->
<div class="d-flex justify-space-between align-center flex-wrap mb-2">
<span class="app-timeline-title">
Sold Puma POPX Blue Color
</span>
<span class="app-timeline-meta">January, 10</span>
</div>
<span class="app-timeline-text">PUMA presents the latest shoes from its collection. Light & comfortable made with highly durable material.</span>
</div>
</div>
<!-- 👉 Timeline Item: Meta Content -->
<div class="d-flex justify-space-between flex-column flex-sm-row gap-3">
<div class="text-sm-center">
<h6 class="text-sm font-weight-medium mb-1">
Customer
</h6>
<span class="text-xs">Micheal Scott</span>
</div>
<div class="text-sm-center">
<h6 class="text-sm font-weight-medium mb-1">
Price
</h6>
<span class="text-xs">$375.00</span>
</div>
<div class="text-sm-center">
<h6 class="text-sm font-weight-medium mb-1">
Quantity
</h6>
<span class="text-xs">1</span>
</div>
</div>
</div>
</VTimelineItem>
<!-- !SECTION -->
<!-- SECTION Design Review -->
<VTimelineItem
size="x-small"
dot-color="rgb(var(--v-theme-surface))"
>
<template #icon>
<VIcon
icon="ri-checkbox-blank-circle-line"
color="success"
size="16"
/>
</template>
<div class="timeline-item">
<!-- 👉 Header -->
<div class="d-flex justify-space-between align-center gap-2 flex-wrap mb-2">
<span class="app-timeline-title">
Design Review
</span>
<span class="app-timeline-meta">September, 20</span>
</div>
<!-- 👉 Content -->
<p class="app-timeline-text">
Weekly review of freshly prepared design for our new application.
</p>
<div class="d-flex align-center">
<VAvatar
size="32"
:image="avatar1"
class="me-2"
/>
<h6 class="text-sm font-weight-medium">
John Doe (Client)
</h6>
</div>
</div>
</VTimelineItem>
<!-- !SECTION -->
</VTimeline>
</VCardText>
</VCard>
</template>
<style lang="scss" scoped>
.timeline-item{
margin-block-start: -2px;
}
</style>