Converted to python flask #1
BIN
images/pic1.png
BIN
images/pic1.png
Binary file not shown.
After Width: | Height: | Size: 1.5 MiB |
BIN
images/pic2.png
BIN
images/pic2.png
Binary file not shown.
After Width: | Height: | Size: 1.5 MiB |
BIN
images/pic3.png
BIN
images/pic3.png
Binary file not shown.
After Width: | Height: | Size: 1.3 MiB |
BIN
images/pic4.png
BIN
images/pic4.png
Binary file not shown.
After Width: | Height: | Size: 390 KiB |
BIN
images/pic5.png
BIN
images/pic5.png
Binary file not shown.
After Width: | Height: | Size: 316 KiB |
@ -56,6 +56,7 @@
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
|
||||
.volume-control-positioner {
|
||||
position: absolute;
|
||||
bottom: 3.5em;
|
||||
|
@ -20,6 +20,7 @@ ul, li {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
|
||||
/* Vertical slider */
|
||||
input[type=range][orient=vertical] {
|
||||
writing-mode: bt-lr; /* IE */
|
||||
@ -57,6 +58,23 @@ input[type=range][orient=vertical] {
|
||||
background-color: rgba(50, 56, 62, 0.84);
|
||||
}
|
||||
|
||||
.card-body {
|
||||
min-height: 326px;
|
||||
font-size: x-large;
|
||||
vertical-align: middle !important;
|
||||
align-items: center;
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.card-img, .card-img-top {
|
||||
max-height: 285px !important;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.list-group-item {
|
||||
color: rgba(255, 255, 255, 1) !important;
|
||||
}
|
||||
|
||||
.label-as-badge {
|
||||
border-radius: 1em;
|
||||
cursor: pointer;
|
||||
|
@ -14,6 +14,7 @@ const setPosition = ({ top, left }) => {
|
||||
toggleMenu("show");
|
||||
};
|
||||
|
||||
|
||||
window.addEventListener("click", e => {
|
||||
if(menuVisible) toggleMenu("hide");
|
||||
});
|
||||
|
@ -28,3 +28,7 @@ $( "#uploadFiles" ).bind( "click", function(eve) {
|
||||
const files = document.getElementById('toUpload').files;
|
||||
uploadFiles(files);
|
||||
});
|
||||
|
||||
$( "#clearUploadFiles" ).bind( "click", function(eve) {
|
||||
clearUlList();
|
||||
});
|
||||
|
@ -1,5 +1,13 @@
|
||||
|
||||
// Uploader Logic
|
||||
const clearUlList = () => {
|
||||
const titles = document.getElementById('uploadListTitles');
|
||||
const files = document.getElementById('toUpload');
|
||||
|
||||
files.value = null;
|
||||
clearChildNodes(titles);
|
||||
}
|
||||
|
||||
const setUploadListTitles = (files = null) => {
|
||||
if (files == null) {
|
||||
return ;
|
||||
|
@ -4,14 +4,6 @@ const goHome = () => {
|
||||
goHomeAjax();
|
||||
}
|
||||
|
||||
const clearUlList = () => {
|
||||
const titles = document.getElementById('uploadListTitles');
|
||||
const files = document.getElementById('toUpload');
|
||||
|
||||
files.value = null;
|
||||
clearChildNodes(titles);
|
||||
}
|
||||
|
||||
const downloadItem = (eve) => {
|
||||
let elm = active_card.querySelector('a');
|
||||
elm.click();
|
||||
|
@ -11,7 +11,7 @@
|
||||
<li class="nav-item mr-2">
|
||||
<span id="tggl-faves-btn" class="btn btn-info btn-sm" title="Add/Delete from favorites..." >☆</span>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<li class="nav-item mx-auto">
|
||||
<span id="path">{{current_directory}}</span>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -60,8 +60,8 @@
|
||||
|
||||
<div class="menu">
|
||||
<ul class="menu-options">
|
||||
<li class="menu-option" onclick="goUpADirectory()">Back</li>
|
||||
<li class="menu-option" onclick="goHome()">Home Directory</li>
|
||||
<li class="menu-option" onclick="clearUlList()">Clear Upload List</li>
|
||||
<li class="menu-option" onclick="downloadItem()">Download</li>
|
||||
<li class="menu-option" onclick="deleteItem()">Delete</li>
|
||||
</ul>
|
||||
|
@ -13,7 +13,7 @@
|
||||
<div class="col scroller" style="max-height: 70vh; overflow: auto;">
|
||||
<!-- For video -->
|
||||
<div id="video-container">
|
||||
<video id="video" class="card-img-top viewer"
|
||||
<video id="video" class="viewer"
|
||||
loop
|
||||
src=""
|
||||
autoplay=""
|
||||
|
@ -22,6 +22,7 @@
|
||||
</ul>
|
||||
<input id="toUpload" class="btn btn-dark" type="file" multiple>
|
||||
<button id="uploadFiles" class="btn btn-success">Submit Files...</button>
|
||||
<button id="clearUploadFiles" class="btn btn-dark">Clear</button>
|
||||
{% else %}
|
||||
<h3>Upload not available to this user...</h3>
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user