Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nicolas PERNOUD
Vestibule
Commits
147a972c
Commit
147a972c
authored
Aug 10, 2020
by
Nicolas Pernoud
Browse files
fix: filename on open modal
parent
215d74f2
Pipeline
#6679
passed with stages
in 2 minutes and 52 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
web/components/davs/open.js
View file @
147a972c
...
...
@@ -114,7 +114,7 @@ export class Open {
<div class="modal-card">
<header class="modal-card-head">
<button class="delete navbar-menu-icon" aria-label="close" id="
${
this
.
prefix
}
open-close"></button>
<p class="modal-card-title has-text-centered">
${
this
.
file
.
name
}
</p>
<p
id="
${
this
.
prefix
}
filename"
class="modal-card-title has-text-centered">
${
this
.
file
.
name
}
</p>
</header>
<section id="
${
this
.
prefix
}
content" class="modal-card-body is-paddingless flex-container"></section>
<footer class="modal-card-foot">
...
...
@@ -140,5 +140,6 @@ export class Open {
${
this
.
type
==
"
video
"
?
/* HTML */
` <video controls autoplay><source src="
${
this
.
url
}
?token=
${
token
}
" /></video> `
:
""
}
${
this
.
type
==
"
text
"
?
/* HTML */
` <textarea class="textarea" readonly>
${
content
}
</textarea> `
:
""
}
`
;
this
.
gid
(
"
filename
"
).
innerHTML
=
/* HTML */
`
${
this
.
file
.
name
}
`
;
}
}
web/index.html
View file @
147a972c
...
...
@@ -32,7 +32,7 @@
<div
class=
"navbar-brand"
>
<div
class=
"navbar-item"
>
<a
class=
"button is-primary is-rounded is-outlined"
href=
"https://www.github.com/nicolaspernoud/Vestibule"
target=
"_blank"
rel=
"noopener noreferrer"
>
<span>
4.3.3
8
</span>
<span>
4.3.3
9
</span>
<span
class=
"icon"
>
<svg
class=
"svg-inline--fa fa-github fa-w-16"
...
...
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