From 677accd35e2a705cfb2c4cd045fc20474f43d898 Mon Sep 17 00:00:00 2001 From: Trygve Date: Sun, 21 Mar 2021 00:27:51 +0100 Subject: [PATCH] Many improvement --- css/main.css | 5 +++++ diverse/index.php | 2 -- filopplasting/index.php | 45 +++++++++++++++++++++++++++++++++++------ fuglekasse/index.php | 5 +---- index.php | 32 ++++++++++++++++++++++------- speedtest/index.php | 3 --- speedtest/ui.css | 5 ----- 7 files changed, 70 insertions(+), 27 deletions(-) diff --git a/css/main.css b/css/main.css index bf684a6..2a33e15 100644 --- a/css/main.css +++ b/css/main.css @@ -118,6 +118,7 @@ a { text-align: center; vertical-align:middle; display: flex; + flex-flow: column; align-items: center; justify-content: center; } @@ -126,6 +127,10 @@ a { vertical-align: middle; } +.center-txt{ + text-align: center; +} + #li-nextcloud { background-image: url(/img/icons/Nextcloud_Logo.svg); } #li-matrix { background-image: url(/img/icons/Matrix_Logo.svg); } diff --git a/diverse/index.php b/diverse/index.php index 84cd962..454acf3 100644 --- a/diverse/index.php +++ b/diverse/index.php @@ -11,7 +11,6 @@ -
@@ -21,6 +20,5 @@
  • Gaffelsøker
  • -
    diff --git a/filopplasting/index.php b/filopplasting/index.php index 98da041..4ae7f05 100755 --- a/filopplasting/index.php +++ b/filopplasting/index.php @@ -41,16 +41,15 @@ session_start(); -
    -

    Filopplasting

    -

    +

    Filopplasting

    +

    Her kan du laste opp filer for å dele med andre. Filene kan være maks 5GB.
    Serveren ligger i Kristiansand og har 500/500 internet
    All opplasting skjer på eget ansvar.

    - Se alle filer + Se alle filer

    @@ -58,12 +57,46 @@ session_start();
    " value="123" /> - +
    + + Hmmmm 🤔 Her var det visst noe som gikk galt. +
    '; + + $bannedMSG = ' + '; + + + if(isset($_SESSION['fileupload-response'])) { + if($_SESSION['fileupload-response'] == "success") { + + $successMSG = ' + + '; + + echo($successMSG); + } + elseif ($_SESSION['fileupload-response'] == "failed") { + echo($errorMSG); + } + elseif ($_SESSION['fileupload-response'] == "banned") { + echo($bannedMSG); + } + session_destroy(); + } + ?> -
    diff --git a/fuglekasse/index.php b/fuglekasse/index.php index c94c030..c9a5f6c 100644 --- a/fuglekasse/index.php +++ b/fuglekasse/index.php @@ -33,17 +33,14 @@ -
    -

    Direktesending fra fuglekassa

    +

    Direktesending fra fuglekassa

    -
    - diff --git a/speedtest/ui.css b/speedtest/ui.css index 5bdff4b..fba6095 100644 --- a/speedtest/ui.css +++ b/speedtest/ui.css @@ -67,8 +67,3 @@ display:block; margin: 0 auto; } - @media all and (max-width:40em){ - body{ - font-size:0.8em; - } - }