Commit
This commit is contained in:
parent
f41acb88c0
commit
b5cd0c82a8
@ -39,7 +39,11 @@
|
||||
<li><a href="<?=$this->config['root_url']?>index.php">Forside</a></li>
|
||||
<li><a href="<?=$this->config['root_url']?>example.php">Eksempel</a></li>
|
||||
<li><a href="<?=$this->config['root_url']?>simulator.php">Simulator</a></li>
|
||||
<li><a href="<?=$this->config['root_url']?>view-teams.php">Se lagtabell</a></li>
|
||||
<li><a href="<?=$this->config['root_url']?>teamtable/index.php">Se lagene</a></li>
|
||||
</ul>
|
||||
<h4>Rettigheter</h4>
|
||||
<ul>
|
||||
<li><a href="<?=$this->config['root_url']?>teamtable/edit/index.php">Endre lagene</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
@ -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;
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
<?php
|
||||
$app = require '../app/inc.php';
|
||||
|
||||
$sth = $app->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');
|
Reference in New Issue
Block a user