diff --git a/client/scripts/database.js b/client/scripts/database.js index bafa1ea..b29666f 100644 --- a/client/scripts/database.js +++ b/client/scripts/database.js @@ -440,6 +440,7 @@ async function runPageScript() { updateSyncStatusTimer = window.setInterval(updateSyncStatus, 10000); } else { // syncStatus.innerHTML = 'Keine Offline-Nutzung möglich.'; + $('#i-sync').parent().hide(); updateSyncStatusTimer = null; } // syncStatus.style.display = 'block'; diff --git a/server/content/boats.php b/server/content/boats.php index d6ba12b..bf21319 100644 --- a/server/content/boats.php +++ b/server/content/boats.php @@ -31,10 +31,9 @@ $sp['output'] .= $tpl->load('pagination', ['html-id' => 'pagination']); // Menu - // TODO: add entries for jump2club and more? $items = $tpl->load('menu/item-icon', ['', '#', 'html-id' => 'menu-item-boatname', 'icon' => 'fa-edit']); - $items .= $tpl->load('menu/item-icon', ['Vereins-Website', '', 'html-id' => 'menu-item-clubwebsite', 'icon' => 'fa-globe']); - $sp['menus'] .= $tpl->load('menu/bottom', [$items, 'html-id' => 'menu-boat', 'title' => 'Boots-Details', 'height' => 320]); + $items .= $tpl->load('menu/item-icon', ['Vereins-Website', '', 'html-id' => 'menu-item-clubwebsite', 'icon' => 'fa-globe', 'css-class' => 'border-0']); + $sp['menus'] .= $tpl->load('menu/bottom', [$items, 'html-id' => 'menu-boat', 'title' => 'Boots-Details', 'height' => 200]); $sp['scripts'] .= $scripts->load('pagination', ['pageChange', 'page', 'pageCount', 'pagination']); $sp['scripts'] .= $scripts->load('boats'); diff --git a/server/content/clubs.php b/server/content/clubs.php index bec7f54..14bef9b 100644 --- a/server/content/clubs.php +++ b/server/content/clubs.php @@ -20,9 +20,8 @@ $sp['output'] .= $tpl->load('pagination', ['html-id' => 'pagination']); // Menu - // TODO: more entries ? - $items = $tpl->load('menu/item-icon', ['Vereins-Website', '', 'html-id' => 'menu-item-clubwebsite', 'icon' => 'fa-globe']); - $sp['menus'] .= $tpl->load('menu/bottom', [$items, 'html-id' => 'menu-club', 'title' => 'Vereins-Details', 'height' => 320]); + $items = $tpl->load('menu/item-icon', ['Vereins-Website', '', 'html-id' => 'menu-item-clubwebsite', 'icon' => 'fa-globe', 'css-class' => 'border-0']); + $sp['menus'] .= $tpl->load('menu/bottom', [$items, 'html-id' => 'menu-club', 'title' => 'Vereins-Details', 'height' => 160]); $sp['scripts'] .= $scripts->load('pagination', ['pageChange', 'page', 'pageCount', 'pagination']); $sp['scripts'] .= $scripts->load('clubs'); diff --git a/server/content/sailors.php b/server/content/sailors.php index f9a0094..1ae9716 100644 --- a/server/content/sailors.php +++ b/server/content/sailors.php @@ -31,10 +31,9 @@ $sp['output'] .= $tpl->load('pagination', ['html-id' => 'pagination']); // Menu - // TODO: add entries for follow, jump2rank, jump2club and more? $items = $tpl->load('menu/item-icon', ['', '#', 'html-id' => 'menu-item-year', 'icon' => 'fa-edit']); - $items .= $tpl->load('menu/item-icon', ['Vereins-Website', '', 'html-id' => 'menu-item-clubwebsite', 'icon' => 'fa-globe']); - $sp['menus'] .= $tpl->load('menu/bottom', [$items, 'html-id' => 'menu-sailor', 'title' => 'Segler-Details', 'height' => 320]); + $items .= $tpl->load('menu/item-icon', ['Vereins-Website', '', 'html-id' => 'menu-item-clubwebsite', 'icon' => 'fa-globe', 'css-class' => 'border-0']); + $sp['menus'] .= $tpl->load('menu/bottom', [$items, 'html-id' => 'menu-sailor', 'title' => 'Segler-Details', 'height' => 200]); $sp['scripts'] .= $scripts->load('pagination', ['pageChange', 'page', 'pageCount', 'pagination']); $sp['scripts'] .= $scripts->load('sailors');