From b5cd0c82a82ac4c5b7c9a7139bdc0893aa90f68a Mon Sep 17 00:00:00 2001 From: William Date: Mon, 7 Feb 2022 11:05:53 +0100 Subject: [PATCH] Commit --- app/view/template/header.php | 6 +++++- public/static/style/main.css | 6 ++---- public/view-teams.php | 9 --------- 3 files changed, 7 insertions(+), 14 deletions(-) delete mode 100644 public/view-teams.php diff --git a/app/view/template/header.php b/app/view/template/header.php index 823d19f..0f12da7 100644 --- a/app/view/template/header.php +++ b/app/view/template/header.php @@ -39,7 +39,11 @@
  • Forside
  • Eksempel
  • Simulator
  • -
  • Se lagtabell
  • +
  • Se lagene
  • + +

    Rettigheter

    + diff --git a/public/static/style/main.css b/public/static/style/main.css index 12dbf4d..88250dd 100644 --- a/public/static/style/main.css +++ b/public/static/style/main.css @@ -132,14 +132,12 @@ table { } table td, table th { border: 0.05rem solid #aaa; - font-weight: normal; padding: 0.05rem 0.25rem 0.05rem 0.25rem; } table tr:nth-child(even) { background-color: #fff; } table th { - text-align: left; - background-color: #222; - color: #eee; + font-weight: bold; + text-align: center; } \ No newline at end of file diff --git a/public/view-teams.php b/public/view-teams.php deleted file mode 100644 index 0115699..0000000 --- a/public/view-teams.php +++ /dev/null @@ -1,9 +0,0 @@ -database->conn->query('SELECT * FROM lagtabell'); -$teams = $sth->fetchAll(PDO::FETCH_ASSOC); - -$app->view('template/header', ['title' => 'Lagtabell']); -$app->view('view-teams', ["teams" => $teams]); -$app->view('template/footer'); \ No newline at end of file