Updated open options

This commit is contained in:
maximstewart 2021-02-21 14:05:03 -06:00
parent 022046cd3f
commit 86b652e8d7
2 changed files with 18 additions and 4 deletions

View File

@ -27,7 +27,7 @@
#video-controls {
position: relative;
bottom: 2em;
bottom: 2.5em;
}
@ -38,6 +38,19 @@
scrollbar-width: thin;
}
.noselect {
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Old versions of Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
supported by Chrome, Edge, Opera and Firefox */
}
.volume-control-positioner {
position: absolute;
bottom: 2em;

View File

@ -78,13 +78,14 @@ class FilesList extends React.Component {
<div class="card">
<div class="card-header">
{card_header}
<input hash={hash} onClick={this.openThis} ftype={filetype} class="btn btn-secondary btn-sm float-right" title={name} type="button" value="Open"/>
</div>
<div class="card-body text-center">
<div class="card-body text-center noselect" title={name} hash={hash} ftype={filetype} onDoubleClick={this.openThis}>
{card_body}
</div>
<div class="card-footer">
<input hash={hash} onClick={this.openThisLocally} ftype={filetype} class="btn btn-secondary btn-sm float-right" type="button" value="Open Locally"/>
<a href={"api/file-manager-action/files/" + hash} download class="btn btn-secondary btn-sm float-left">Download</a>
<input hash={hash} onClick={this.openThisLocally} ftype={filetype} class="btn btn-secondary btn-sm float-left" type="button" value="Open Locally"/>
<input hash={hash} onClick={this.openThis} ftype={filetype} class="btn btn-secondary btn-sm float-right" title={name} type="button" value="Open"/>
</div>
</div>
</li>