Converted to python flask #1

Merged
itdominator merged 49 commits from develop into master 2021-10-03 19:49:44 +00:00
22 changed files with 12 additions and 15 deletions
Showing only changes of commit e26495882f - Show all commits

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

@ -1,16 +1,13 @@
@font-face {
font-family: Dosis;
src: url("/static/fonts/dosis/Dosis-Regular.ttf"),
url("/static/fonts/dosis/Dosis-Medium.ttf"),
url("/static/fonts/dosis/Dosis-Light.ttf"),
url("/static/fonts/dosis/Dosis-ExtraLight.ttf"),
url("/static/fonts/dosis/Dosis-Bold.ttf"),
url("/static/fonts/dosis/Dosis-ExtraBold.ttf"),
url("/static/fonts/dosis/Dosis-SemiBold.ttf"),
url("/static/fonts/Dosis-VariableFont_wght.ttf"),
url("/static/fonts/fa-brands-400.ttf"),
url("/static/fonts/fa-regular-400.ttf"),
url("/static/fonts/fa-solid-900.ttf");
src: url("/static/css/fonts/dosis/Dosis-Regular.ttf"),
url("/static/css/fonts/dosis/Dosis-Medium.ttf"),
url("/static/css/fonts/dosis/Dosis-Light.ttf"),
url("/static/css/fonts/dosis/Dosis-ExtraLight.ttf"),
url("/static/css/fonts/dosis/Dosis-Bold.ttf"),
url("/static/css/fonts/dosis/Dosis-ExtraBold.ttf"),
url("/static/css/fonts/dosis/Dosis-SemiBold.ttf"),
url("/static/css/fonts/Dosis-VariableFont_wght.ttf");
font-style: normal;
font-display: auto;
}

View File

@ -79,7 +79,7 @@ class FilesList extends React.Component {
<div class="card-header">
{card_header}
</div>
<div class="card-body">
<div class="card-body text-center">
{card_body}
</div>
<div class="card-footer">

View File

@ -12,7 +12,7 @@ const goUpADirectory = () => {
const scrollFilesToTop = () => {
const target = document.getElementById('files');
target..scrollIntoView();
target.scrollIntoView();
}
@ -223,7 +223,7 @@ const clearCache = () => {
const rep = /.*\?.*/;
let links = document.getElementsByTagName('link'),
scripts = document.getElementsByTagName('script'),
links = document.getElementsByTagName('video'),
video = document.getElementsByTagName('video'),
process_scripts = false;
for (let i = 0; i < links.length; i++) {

View File

@ -1,4 +1,4 @@
<nav class="navbar navbar-expand-sm bg-dark navbar-dark sticky-top justify-content-center text-center">
<nav class="container navbar navbar-expand-sm bg-dark navbar-dark sticky-top">
<button class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarTogglerHeader" aria-controls="navbarTogglerHeader"
aria-expanded="false" aria-label="Toggle Header Navigation">