Merge pull request 'Fix navbar links' (#54) from fix-navbar-links into master

Reviewed-on: #54
This commit is contained in:
Felix Albrigtsen 2024-04-10 21:38:58 +02:00
commit 1eb84eaec8
2 changed files with 2 additions and 37 deletions

View File

@ -8,9 +8,9 @@ function navbar($depth, $active = NULL) {
//'Aktiviteter' => 'aktiviteter', //'Aktiviteter' => 'aktiviteter',
'Prosjekter' => 'prosjekt', 'Prosjekter' => 'prosjekt',
'Kontakt' => 'kontakt', 'Kontakt' => 'kontakt',
'Webmail' => 'mail', 'Webmail' => 'https://webmail2.pvv.ntnu.no/roundcube/',
'Galleri' => 'galleri', 'Galleri' => 'galleri',
'Wiki' => 'pvv', 'Wiki' => 'https://wiki.pvv.ntnu.no/',
'Git' => 'https://git.pvv.ntnu.no/', 'Git' => 'https://git.pvv.ntnu.no/',
'Tjenester' => 'tjenester', 'Tjenester' => 'tjenester',
]; ];

View File

@ -1,35 +0,0 @@
<?php
require_once dirname(dirname(__DIR__)) . implode(DIRECTORY_SEPARATOR, ['', 'inc', 'include.php']);
?>
<!DOCTYPE html>
<html lang="no">
<style>
p {hyphens: auto;}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<link rel="shortcut icon" href="favicon.ico">
<link rel="stylesheet" href="../css/normalize.css">
<link rel="stylesheet" href="../css/style.css">
<link rel="stylesheet" href="../css/mail.css">
<meta name="theme-color" content="#024" />
<title>Mailverkstedet</title>
<header>Mail&shy;verk&shy;stedet</header>
<main>
<ul id="webmail">
<li id="afterlogic"><div><a href="https://webmail.pvv.ntnu.no/afterlogic_lite/"><span class="mailname" style="user-select: none">&nbsp;</span></a>
<li id="rainloop"><div><a href="https://webmail.pvv.ntnu.no/rainloop/"><span class="mailname">RainLoop</span></a>
<li id="squirrelmail"><div><a href="https://webmail.pvv.ntnu.no/squirrelmail/"><span class="mailname">SquirrelMail</span></a>
<li id="roundcube"><div><a href="https://webmail.pvv.ntnu.no/roundcube/"><span class="mailname">Roundcube</span></a>
</ul>
</main>
<nav>
<?= navbar(1, "mail"); ?>
<?= loginbar($sp, $pdo); ?>
</nav>