Minor tweaks to design, labels and navbar

This commit is contained in:
Peder Bergebakken Sundt 2018-08-09 22:28:34 +02:00
parent d92e53f0b7
commit 90ece46dd7
5 changed files with 9 additions and 5 deletions

View File

@ -71,4 +71,4 @@ $statement->execute();
header('Location: .'); header('Location: .');
?> ?>
<a href=".?page=1">Om du ikke ble automatisk omdirigert tilbake klikk her</a> <a href=".?page=1">Om du ikke ble automatisk omdirigert tilbake klikk her</a>

View File

@ -52,7 +52,7 @@ if(!($isAdmin | $projectGroup | $activityGroup)){
} }
if($isAdmin){ if($isAdmin){
echo '<li><a class="btn" href="brukere/">Brukere</a></li>'; echo '<li><a class="btn" href="brukere/">Brukerrettigheter</a></li>';
} }
?> ?>
<ul> <ul>

View File

@ -99,6 +99,10 @@ img.float-right {
margin-right: .5em; margin-right: .5em;
} }
main.contentsplit {
padding-top: 1em;
}
.contentsplit { .contentsplit {
display: grid; display: grid;
grid-template-columns: 2.5fr 1.5fr; grid-template-columns: 2.5fr 1.5fr;
@ -139,4 +143,4 @@ img.float-right {
margin-top: 0; margin-top: 0;
padding: 0; padding: 0;
} }
} }

View File

@ -75,7 +75,7 @@ $motd = $motdfetcher->getMOTD();
</ul> </ul>
<?php } ?> <?php } ?>
</div> </div>
<p><a class="btn" href="kalender/">Flere aktiviteter</a></p> <p><a class="btn" href="hendelser/">Flere aktiviteter</a></p>
</div> </div>
<div class="gridl"> <div class="gridl">

View File

@ -29,7 +29,7 @@ $days_in_month = date('t', mktime(0, 0, 0, $month, 1, $year));
<body> <body>
<nav> <nav>
<?php echo navbar(1, 'kalender'); ?> <?php echo navbar(1, 'hendelser'); ?>
<?php echo loginbar(null, $pdo); ?> <?php echo loginbar(null, $pdo); ?>
</nav> </nav>