Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
les
gancio
Commits
16caff8a
Verified
Commit
16caff8a
authored
May 20, 2021
by
les
Browse files
mobile layout improvement
parent
8a0738b2
Changes
5
Hide whitespace changes
Inline
Side-by-side
components/Event.vue
View file @
16caff8a
...
...
@@ -10,9 +10,9 @@
.d-none.dt-end
{{
event
.
end_datetime
|
unixFormat
(
'
YYYY-MM-DD HH:mm
'
)
}}
a.place.d-block.p-location.pl-0(text color='primary' @click="$emit('placeclick', event.place.id)") <v-icon>mdi-map-marker</v-icon>
{{
event
.
place
.
name
}}
v-card-actions.actions.justify-space-between
v-card-actions.
pt-0.
actions.justify-space-between
.tags
v-chip.ml-1.
px-2
(v-for='tag in event.tags' small
v-chip.ml-1.
mt-1
(v-for='tag in event.tags
.slice(0,6)
' small
:key='tag' outlined color='primary' @click="$emit('tagclick', tag)")
{{
tag
}}
v-menu(offset-y)
...
...
components/Footer.vue
View file @
16caff8a
...
...
@@ -12,9 +12,10 @@
offset-y bottom open-on-hover transition="slide-y-transition")
template(v-slot:activator="{ on, attrs }")
v-btn.ml-1(v-bind='attrs' v-on='on' color='primary' text)
{{
$t
(
'
common.places
'
)
}}
v-list
v-list
(subheaders two-lines)
v-list-item(v-for='instance in settings.trusted_instances'
:key='instance.name'
target='_blank'
:href='instance.url'
two-line)
v-list-item-avatar
...
...
components/Search.vue
View file @
16caff8a
...
...
@@ -6,7 +6,7 @@
inset color='primary'
hide-details
:label="$t('event.show_recurrent')")
v-autocomplete.mt-0(
v-autocomplete.mt-0
.pt-0
(
:label='$t("common.search")'
:items='keywords'
hide-details
...
...
pages/event/_id.vue
View file @
16caff8a
...
...
@@ -307,6 +307,8 @@ export default {
<
style
lang=
'less'
>
.title {
margin-bottom: 25px;
color: yellow;
font-weight: 300 !important;
}
.main_image {
// width: 100%;
...
...
pages/index.vue
View file @
16caff8a
...
...
@@ -6,8 +6,8 @@
Announcement(v-for='announcement in announcements' :key='`a_${announcement.id}`' :announcement='announcement')
//- Calendar and search bar
v-row
.col-xl-5.col-lg-5.col-md-7.col-sm-12.col-xs-12
v-row
.pt-0.pt-sm-2
.col-xl-5.col-lg-5.col-md-7.col-sm-12.col-xs-12
.pa-4.pa-sm-3
//- this is needed as v-calendar does not support SSR
//- https://github.com/nathanreyes/v-calendar/issues/336
client-only
...
...
@@ -18,7 +18,7 @@
v-chip(v-if='selectedDay' close @click:close='dayChange({ date: selectedDay})')
{{
selectedDay
}}
//- Events
#events.m
t-1
#events.m
b-2.mt-1.pl-1.pl-md-0
//- div.event(v-for='(event, idx) in events' :key='event.id' v-intersect="(entries, observer, isIntersecting) => intersecting[event.id] = isIntersecting")
Event(:event='event' v-for='(event, idx) in visibleEvents' :key='event.id' @tagclick='tagClick' @placeclick='placeClick')
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment