diff --git a/style.css b/style.css index a1dfd8c..8154c09 100644 --- a/style.css +++ b/style.css @@ -254,10 +254,18 @@ nav.pagnation { padding: 0.5rem 0; } -footer { - border-top: thin solid grey; - margin-top: 1rem; - text-align: center; +/* === REFRESH === */ + +#refreshInfo { + display: block; + text-align: center: +} + +#refreshURL { +} + +#refreshCounter { + float: right; } /* == Gallery ===================== */ @@ -280,4 +288,13 @@ footer { object-fit: cover; /*background-color: var(--border-color);*/ border-radius: 0.25rem; +} + + +/* === FOOTER === */ + +footer { + border-top: thin solid grey; + margin-top: 1rem; + text-align: center; } \ No newline at end of file diff --git a/views/load_twt_files.php b/views/__load_twt_files.php similarity index 100% rename from views/load_twt_files.php rename to views/__load_twt_files.php diff --git a/views/refresh.php b/views/refresh.php index 5ec5e2e..7c4f247 100644 --- a/views/refresh.php +++ b/views/refresh.php @@ -17,13 +17,16 @@ include 'partials/header.php'; ?> -
+

+ Loading feeds followed by: + + +

document.getElementById("refreshInfo").innerHTML = "Updating feed from:"'; + foreach ($twtFollowingList as $following) { //ob_start(); $float = $i/$total; $percent = intval($float * 100)."%"; - + $feed = $following[1]; + //$feed = preg_replace('(^https?://)', '', $feed); + //$feed = $following[0].'@'. parse_url($following[1], PHP_URL_HOST); + $feed = $following[0].' ('.$following[1].')'; + // Javascript for updating the progress bar and information echo ''; @@ -78,7 +88,8 @@ foreach ($twtFollowingList as $following) { // Tell user that the process is completed echo ''; -