2022-01-14 23:09:03 +00:00
|
|
|
{{define "top"}}
|
|
|
|
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Kuvia</title>
|
|
|
|
<link href="/public/bootstrap.min.css" rel="stylesheet" />
|
|
|
|
<link href="/public/fontawesome-free-5.15.4-web/css/all.css" rel="stylesheet" />
|
|
|
|
<script src="/public/bootstrap.bundle.js"></script>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
|
|
|
|
<div class="container">
|
|
|
|
<a class="navbar-brand" href="/">Kuvia</a>
|
|
|
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
<div class="collapse navbar-collapse" id="navbarCollapse">
|
|
|
|
<ul class="navbar-nav me-auto mb-2 mb-md-0">
|
2022-01-15 11:43:27 +00:00
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="/gallery/edit">Gallerys</a>
|
|
|
|
</li>
|
2022-01-14 23:09:03 +00:00
|
|
|
<!--<li class="nav-item">
|
|
|
|
<a class="nav-link" href="/">Home</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="#">Link</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link disabled">Disabled</a>
|
|
|
|
</li>!-->
|
|
|
|
</ul>
|
|
|
|
{{ if .g_loggedin }}
|
|
|
|
<ul class="navbar-nav ml-auto mb-2 mb-md-0">
|
|
|
|
<li class="nav-item dropdown">
|
|
|
|
<a class="nav-link" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
|
|
<i class="far fa-plus-square " style="font-size: 20px;"></i>
|
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
|
|
|
|
<li><a class="dropdown-item" href="/gallery/new">New Gallery</a></li>
|
|
|
|
<!--<li><a class="dropdown-item" href="#">New Group</a></li>!-->
|
|
|
|
<!--<li><hr class="dropdown-divider"></li>
|
|
|
|
<li><a class="dropdown-item" href="#">Something else here</a></li>!-->
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item dropdown">
|
|
|
|
<a class="nav-link" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
|
|
<i class="far fa-user " style="font-size: 20px;"></i>
|
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
|
|
|
|
<li><a class="dropdown-item" href="/settings/profile">Settings</a> </li>
|
|
|
|
<li><a class="dropdown-item" href="/u/{{ .g_userName }} ">Profile</a></li>
|
|
|
|
<li><hr class="dropdown-divider"></li>
|
|
|
|
<li><a class="dropdown-item" href="/logout">Logout</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
{{end}}
|