Commit 2d1841e1 authored by Björn Eyselein's avatar Björn Eyselein
Browse files

Update Favicon

parent 0936d2c6
......@@ -2,73 +2,79 @@
@(title: String, maybeUser: Option[User], scripts: Html = Html(""))(content: Html)
@leftNavigation = {
<li><a href="@routes.HomeController.index()">Startseite</a></li>
}
@rightNavigation = {
@maybeUser match {
case Some(user) => {
@if(user.isAdmin) {
<li><a href="@routes.AdminController.index()">Administration</a></li>
}
<li><a href="@routes.HomeController.userPage()">Nutzer: @user.username </a></li>
<li><a href="@routes.LoginController.logout()">Logout</a></li>
}
case None => {
<li><a href="@routes.LoginController.loginForm()">Login</a></li>
<li><a href="@routes.LoginController.registerForm()">Registrieren</a></li>
@leftNavigation = {
<li><a href="@routes.HomeController.index()">Startseite</a></li>
}
@rightNavigation = {
@maybeUser match {
case Some(user) => {
@if(user.isAdmin) {
<li><a href="@routes.AdminController.index()">Administration</a></li>
}
<li><a href="@routes.HomeController.userPage()">Nutzer: @user.username </a></li>
<li><a href="@routes.LoginController.logout()">Logout</a></li>
}
case None => {
<li><a href="@routes.LoginController.loginForm()">Login</a></li>
<li><a href="@routes.LoginController.registerForm()">Registrieren</a></li>
}
}
}
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<title>Wuekabel: @title</title>
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<title>Wuekabel: @title</title>
<link rel="shortcut icon" type="image/png" href="@routes.Assets.versioned("images/favicon.png")">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="@routes.Assets.versioned("lib/materialize-css/dist/css/materialize.css")">
<link rel="apple-touch-icon" sizes="180x180" href="@routes.Assets.versioned("images/apple-touch-icon.png")">
<link rel="icon" type="image/png" sizes="32x32" href="@routes.Assets.versioned("images/favicon-32x32.png")">
<link rel="icon" type="image/png" sizes="16x16" href="@routes.Assets.versioned("images/favicon-16x16.png")">
@* <link rel="manifest" href="@routes.Assets.versioned("images/site.webmanifest")">*@
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<body>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="@routes.Assets.versioned("lib/materialize-css/dist/css/materialize.css")">
<nav>
<div class="nav-wrapper @primaryColor">
<a href="@routes.HomeController.index" class="brand-logo center">WueKabel</a>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<body>
<a href="#" data-target="mobile-demo" class="sidenav-trigger"><i class="material-icons">menu</i></a>
<nav>
<div class="nav-wrapper @primaryColor">
<a href="@routes.HomeController.index" class="brand-logo center">WueKabel</a>
<ul class="left hide-on-med-and-down">@leftNavigation</ul>
<a href="#" data-target="mobile-demo" class="sidenav-trigger"><i class="material-icons">menu</i></a>
<ul id="nav-mobile" class="right hide-on-med-and-down">@rightNavigation</ul>
</div>
</nav>
<ul class="left hide-on-med-and-down">@leftNavigation</ul>
<ul class="sidenav" id="mobile-demo">
@leftNavigation
@rightNavigation
</ul>
<ul id="nav-mobile" class="right hide-on-med-and-down">@rightNavigation</ul>
</div>
</nav>
<br>
<ul class="sidenav" id="mobile-demo">
@leftNavigation
@rightNavigation
</ul>
<div class="container">
@content
</div>
<br>
<div class="container">
@content
</div>
<script src="@routes.Assets.versioned("lib/jquery/dist/jquery.js")"></script>
<script src="@routes.Assets.versioned("lib/materialize-css/dist/js/materialize.js")"></script>
<script>
<script src="@routes.Assets.versioned("lib/jquery/dist/jquery.js")"></script>
<script src="@routes.Assets.versioned("lib/materialize-css/dist/js/materialize.js")"></script>
<script>
$(document).ready(function () {
$('.sidenav').sidenav();
$('select').formSelect();
});
</script>
@scripts
@scripts
</body>
</html>
</body>
</html>
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>
{
"name": "",
"short_name": "",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-256x256.png",
"sizes": "256x256",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment