Updated open options

pull/1/head
maximstewart 3 years ago
parent 022046cd3f
commit 86b652e8d7

@ -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;

@ -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>

Loading…
Cancel
Save