file-browser: display extension
This commit is contained in:
parent
546777f75e
commit
be85718f62
2 changed files with 5 additions and 2 deletions
|
|
@ -164,10 +164,10 @@ module.exports = {
|
|||
browser = html`<div class="file-browser"></div>`,
|
||||
ariane = html`<div class="ariane"></div>`,
|
||||
list = html`<form class="file-list"></form>`,
|
||||
saveInput = html`<input type="text" class="save-as"/>`,
|
||||
saveInput = html`<input type="text" class="save-as" placeholder="${options.extension ? '*.' + options.extension : ''}" ${options.save ? '' : 'disabled'}/>`,
|
||||
actions = html`
|
||||
<div class="file-actions">
|
||||
${ save ? saveInput : '' }
|
||||
${saveInput}
|
||||
<div class="btn cancel">${raw(module.exports.icon('times'))} Cancel</div>
|
||||
${
|
||||
save ?
|
||||
|
|
|
|||
|
|
@ -692,6 +692,9 @@ body {
|
|||
top: -1rem;
|
||||
position: relative;
|
||||
background: var(--color-bg);
|
||||
&[disabled] {
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue