Fix navbar links #54

Merged
felixalb merged 2 commits from fix-navbar-links into master 2024-04-10 21:38:58 +02:00
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/',
Review

We should move this to webmail., deprecating spikkjeposche in combination with the other PRs

We should move this to webmail., deprecating spikkjeposche in combination with the other PRs
Review

Okay, after some discussion, we(me+oysteikt) decided we should merge and test this and the related pvv-nixos-config PRs, and then migrate the new domains afterwards.

Okay, after some discussion, we(me+oysteikt) decided we should merge and test this and the related pvv-nixos-config PRs, and then migrate the new domains afterwards.
'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>