Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jonatan Zint
kyrene
Commits
952f7948
Verified
Commit
952f7948
authored
Jun 01, 2019
by
Jonatan Zint
Browse files
Tweak optics
parent
c77af3ed
Pipeline
#1260
passed with stages
in 44 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/pages/Index.vue
View file @
952f7948
...
...
@@ -3,7 +3,8 @@
header.header
Navigation(defaultRoom="Kino")
main
router-view
keep-alive(include="SearchPage")
router-view
</
template
>
<
style
lang=
"stylus"
scoped
>
...
...
src/pages/Search.vue
View file @
952f7948
...
...
@@ -32,7 +32,11 @@
.flex-container
display flex
.event
max-width 80vw
align-self center
text-overflow ellipsis
display inline-block
overflow hidden
.collapse
margin-left auto
</
style
>
...
...
@@ -74,7 +78,7 @@ export default {
name
:
"
date
"
,
label
:
"
Date
"
,
field
:
"
date
"
,
sort
(
a
,
b
)
{
return
moment
().
diff
(
moment
(
a
))
-
moment
().
diff
(
moment
(
b
));
}
...
...
@@ -87,11 +91,7 @@ export default {
this
.
$set
(
this
.
expanded
,
id
,
!
this
.
expanded
[
id
]);
},
cropName
(
value
)
{
if
(
value
.
length
>
45
)
{
return
value
.
substring
(
0
,
42
)
+
"
...
"
;
}
else
{
return
value
;
}
return
value
;
},
dateToDay
(
value
)
{
return
moment
(
value
).
format
(
"
dddd HH:mm
"
);
...
...
src/pages/SpaceDetail.vue
View file @
952f7948
...
...
@@ -47,4 +47,4 @@ export default {
}
}
};
</
script
>
\ No newline at end of file
</
script
>
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