mirror of
https://github.com/cuigh/swirl
synced 2025-01-01 00:32:09 +00:00
103 lines
5.0 KiB
Go
103 lines
5.0 KiB
Go
<!DOCTYPE html>
|
|
<html class="has-navbar-fixed-top" lang="{{ language == "" ? "en" : language }}">
|
|
<head>
|
|
<title>Swirl</title>
|
|
<meta charset="utf-8">
|
|
<meta name="keywords" content="swirl,docker,moby,swarm,docker-compose,docker-ui,docker-web-management">
|
|
<meta name="description" content="{{ i18n("description") }}">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<link rel="stylesheet" href="/assets/fontawesome/fa-svg-with-js.css?v=5.0.4">
|
|
<link rel="stylesheet" href="/assets/bulma/bulma.css?v=0.6.1">
|
|
<link rel="stylesheet" href="/assets/swirl/css/swirl.css?v={{ version }}">
|
|
{{ block style() }}{{end}}
|
|
</head>
|
|
<body>
|
|
<div class="page-wrap">
|
|
<nav class="navbar is-fixed-top" role="navigation" aria-label="main navigation">
|
|
<div class="navbar-brand">
|
|
<a class="navbar-item" href="/">
|
|
<img src="/assets/swirl/img/logo.png" alt="logo" height="28">
|
|
</a>
|
|
<div class="navbar-burger" data-target="menu-top">
|
|
<span></span>
|
|
<span></span>
|
|
<span></span>
|
|
</div>
|
|
</div>
|
|
<div id="menu-top" class="navbar-menu">
|
|
<div class="navbar-start">
|
|
<a class="navbar-item" href="/">{{ i18n("menu.home") }}</a>
|
|
<div class="navbar-item has-dropdown is-hoverable">
|
|
<div class="navbar-link">{{ i18n("menu.local") }}</div>
|
|
<div class="navbar-dropdown ">
|
|
<a class="navbar-item" href="/image/">{{ i18n("menu.image") }}</a>
|
|
<a class="navbar-item" href="/container/">{{ i18n("menu.container") }}</a>
|
|
<a class="navbar-item" href="/volume/">{{ i18n("menu.volume") }}</a>
|
|
</div>
|
|
</div>
|
|
<div class="navbar-item has-dropdown is-hoverable">
|
|
<div class="navbar-link">{{ i18n("menu.swarm") }}</div>
|
|
<div class="navbar-dropdown ">
|
|
<a class="navbar-item" href="/registry/">{{ i18n("menu.registry") }}</a>
|
|
<a class="navbar-item" href="/node/">{{ i18n("menu.node") }}</a>
|
|
<a class="navbar-item" href="/network/">{{ i18n("menu.network") }}</a>
|
|
<a class="navbar-item" href="/service/">{{ i18n("menu.service") }}</a>
|
|
<a class="navbar-item" href="/task/">{{ i18n("menu.task") }}</a>
|
|
<a class="navbar-item" href="/stack/">{{ i18n("menu.stack") }}</a>
|
|
<a class="navbar-item" href="/secret/">{{ i18n("menu.secret") }}</a>
|
|
<a class="navbar-item" href="/config/">{{ i18n("menu.config") }}</a>
|
|
</div>
|
|
</div>
|
|
<div class="navbar-item has-dropdown is-hoverable">
|
|
<div class="navbar-link">{{ i18n("menu.system") }}</div>
|
|
<div class="navbar-dropdown ">
|
|
<a class="navbar-item" href="/system/role/">{{ i18n("menu.role") }}</a>
|
|
<a class="navbar-item" href="/system/user/">{{ i18n("menu.user") }}</a>
|
|
<a class="navbar-item" href="/system/chart/">{{ i18n("menu.chart") }}</a>
|
|
<a class="navbar-item" href="/system/setting/">{{ i18n("menu.setting") }}</a>
|
|
<a class="navbar-item" href="/system/event/">{{ i18n("menu.event") }}</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="navbar-end">
|
|
<div class="navbar-item is-narrow">
|
|
<span>{{.ContextUser.Name()}}</span>
|
|
</div>
|
|
<div class="navbar-item has-dropdown is-hoverable is-narrow">
|
|
<div class="navbar-link is-narrow"><span class="icon"><i class="fas fa-user"></i></span></div>
|
|
<div class="navbar-dropdown is-right">
|
|
<a class="navbar-item" href="/profile/">{{ i18n("menu.profile") }}</a>
|
|
<a class="navbar-item" href="/profile/password">{{ i18n("menu.password") }}</a>
|
|
</div>
|
|
</div>
|
|
<div class="navbar-item">
|
|
<div class="field">
|
|
<p class="control">
|
|
<a class="button is-outlined tooltip is-tooltip-bottom" href="/logout" data-tooltip="{{ i18n("button.logout") }}">
|
|
<span class="icon">
|
|
<i class="fas fa-sign-out-alt"></i>
|
|
</span>
|
|
</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
{{ yield body() }}
|
|
<div class="page-push"></div>
|
|
</div>
|
|
<footer class="footer" style="padding-bottom: 3em">
|
|
<div class="container">
|
|
<div class="content has-text-centered">
|
|
<p>© 2017 <a href="https://github.com/cuigh/swirl" target="_blank">cuigh</a>. {{ i18n("copyright") }}</p>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
<script src="/assets/fontawesome/fontawesome-all.min.js?v=5.0.4"></script>
|
|
<script src="/assets/jquery/jquery-3.2.1.min.js"></script>
|
|
<script src="/assets/swirl/js/swirl.js?v={{ version }}"></script>
|
|
{{ block script() }}{{end}}
|
|
</body>
|
|
</html>
|