76 lines
No EOL
6.7 KiB
HTML
76 lines
No EOL
6.7 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
Index
|
|
{% endblock title %}
|
|
|
|
{% block head %}
|
|
{% endblock head %}
|
|
|
|
{% block content %}
|
|
<nav id="navbar" aria-label="Navigation bar" >
|
|
|
|
<div class="navbar-left ui secondary menu">
|
|
<a class="item" id="navbar-logo" href="/" aria-label="Dashboard">
|
|
<img width="30" height="30" src="/static/logo-nixin-farm.svg" alt="Logo" aria-hidden="true">
|
|
</a>
|
|
|
|
<a class="item" href="/config">Configuration</a>
|
|
<a class="item" href="/deploy">Deployments</a>
|
|
<a class="item" href="/monitor">Monitoring</a>
|
|
<a class="item" href="/drp">Backups and recoververy</a>
|
|
</div>
|
|
|
|
<div class="navbar-right ui secondary menu">
|
|
<a class="item not-mobile tw-mx-0" href="#" data-tooltip-content="Notifications" aria-label="Notifications">
|
|
<div class="tw-relative">
|
|
<svg viewBox="0 0 16 16" class="svg octicon-bell" aria-hidden="true" width="16" height="16"><path d="M8 16a2 2 0 0 0 1.985-1.75c.017-.137-.097-.25-.235-.25h-3.5c-.138 0-.252.113-.235.25A2 2 0 0 0 8 16M3 5a5 5 0 0 1 10 0v2.947q0 .076.042.139l1.703 2.555A1.519 1.519 0 0 1 13.482 13H2.518a1.516 1.516 0 0 1-1.263-2.36l1.703-2.554A.26.26 0 0 0 3 7.947Zm5-3.5A3.5 3.5 0 0 0 4.5 5v2.947c0 .346-.102.683-.294.97l-1.703 2.556-.003.01.001.006q0 .003.004.006l.006.004.007.001h10.964l.007-.001.006-.004.004-.006.001-.007-.003-.01-1.703-2.554a1.75 1.75 0 0 1-.294-.97V5A3.5 3.5 0 0 0 8 1.5"></path></svg>
|
|
<span class="notification_count tw-hidden">0</span>
|
|
</div>
|
|
</a>
|
|
|
|
<div class="ui dropdown jump item tw-mx-0 tw-pr-2" data-tooltip-content="Profil et réglages…" role="menu" aria-haspopup="" aria-controls="_aria_auto_id_4" aria-expanded="false" aria-label="Profil et réglages…" tabindex="0">
|
|
<span class="text tw-flex tw-items-center">
|
|
<img class="ui avatar tw-align-middle tw-mr-1" src="/static/logo-nixin.svg" title="{{user.name}}" width="24" height="24">
|
|
<span class="only-mobile tw-ml-2">{{user.name}}</span>
|
|
<span class="not-mobile"><svg viewBox="0 0 16 16" class="svg octicon-triangle-down" aria-hidden="true" width="16" height="16"><path d="m4.427 7.427 3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 7H4.604a.25.25 0 0 0-.177.427"></path></svg></span>
|
|
</span>
|
|
<div class="menu user-menu hidden transition" id="_aria_auto_id_4" role="" tabindex="-1">
|
|
<div class="ui header">
|
|
<strong>{{user.name}}</strong>
|
|
</div>
|
|
|
|
<a class="item" href="/user/settings" id="_aria_auto_id_8" role="menuitem" tabindex="-1">
|
|
<svg viewBox="0 0 16 16" class="svg octicon-tools" aria-hidden="true" width="16" height="16"><path d="M5.433 2.304A4.49 4.49 0 0 0 3.5 6c0 1.598.832 3.002 2.09 3.802.518.328.929.923.902 1.64v.008l-.164 3.337a.75.75 0 1 1-1.498-.073l.163-3.33c.002-.085-.05-.216-.207-.316A6 6 0 0 1 2 6a6 6 0 0 1 2.567-4.92 1.48 1.48 0 0 1 1.673-.04c.462.296.76.827.76 1.423v2.82c0 .082.041.16.11.206l.75.51a.25.25 0 0 0 .28 0l.75-.51A.25.25 0 0 0 9 5.282V2.463c0-.596.298-1.127.76-1.423a1.48 1.48 0 0 1 1.673.04A6 6 0 0 1 14 6a6 6 0 0 1-2.786 5.068c-.157.1-.209.23-.207.315l.163 3.33a.752.752 0 0 1-1.094.714.75.75 0 0 1-.404-.64l-.164-3.345c-.027-.717.384-1.312.902-1.64A4.5 4.5 0 0 0 12.5 6a4.49 4.49 0 0 0-1.933-3.696c-.024.017-.067.067-.067.16v2.818a1.75 1.75 0 0 1-.767 1.448l-.75.51a1.75 1.75 0 0 1-1.966 0l-.75-.51A1.75 1.75 0 0 1 5.5 5.282V2.463c0-.092-.043-.142-.067-.159"></path></svg>
|
|
User settings
|
|
</a>
|
|
<a class="item" href="#" id="_aria_auto_id_10" role="menuitem" tabindex="-1">
|
|
<svg viewBox="0 0 16 16" class="svg octicon-server" aria-hidden="true" width="16" height="16"><path d="M1.75 1h12.5c.966 0 1.75.784 1.75 1.75v4c0 .372-.116.717-.314 1 .198.283.314.628.314 1v4a1.75 1.75 0 0 1-1.75 1.75H1.75A1.75 1.75 0 0 1 0 12.75v-4c0-.358.109-.707.314-1a1.74 1.74 0 0 1-.314-1v-4C0 1.784.784 1 1.75 1M1.5 2.75v4c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25v-4a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25m.25 5.75a.25.25 0 0 0-.25.25v4c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25v-4a.25.25 0 0 0-.25-.25ZM7 4.75A.75.75 0 0 1 7.75 4h4.5a.75.75 0 0 1 0 1.5h-4.5A.75.75 0 0 1 7 4.75M7.75 10h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5M3 4.75A.75.75 0 0 1 3.75 4h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 3 4.75M3.75 10h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1 0-1.5"></path></svg>
|
|
Administration
|
|
</a>
|
|
<div class="divider"></div>
|
|
<a class="item" target="_blank" rel="noopener noreferrer" href="#" id="_aria_auto_id_9" role="menuitem" tabindex="-1">
|
|
<svg viewBox="0 0 16 16" class="svg octicon-question" aria-hidden="true" width="16" height="16"><path d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8m8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13M6.92 6.085h.001a.749.749 0 1 1-1.342-.67c.169-.339.436-.701.849-.977C6.845 4.16 7.369 4 8 4a2.76 2.76 0 0 1 1.637.525c.503.377.863.965.863 1.725 0 .448-.115.83-.329 1.15-.205.307-.47.513-.692.662-.109.072-.22.138-.313.195l-.006.004a6 6 0 0 0-.26.16 1 1 0 0 0-.276.245.75.75 0 0 1-1.248-.832c.184-.264.42-.489.692-.661q.154-.1.313-.195l.007-.004c.1-.061.182-.11.258-.161a1 1 0 0 0 .277-.245C8.96 6.514 9 6.427 9 6.25a.61.61 0 0 0-.262-.525A1.27 1.27 0 0 0 8 5.5c-.369 0-.595.09-.74.187a1 1 0 0 0-.34.398M9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0"></path></svg>
|
|
Documentation
|
|
</a>
|
|
<div class="divider"></div>
|
|
<div class="divider"></div>
|
|
<a class="item link-action" href="" data-url="/logout" id="_aria_auto_id_11" role="menuitem" tabindex="-1">
|
|
<svg viewBox="0 0 16 16" class="svg octicon-sign-out" aria-hidden="true" width="16" height="16"><path d="M2 2.75C2 1.784 2.784 1 3.75 1h2.5a.75.75 0 0 1 0 1.5h-2.5a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h2.5a.75.75 0 0 1 0 1.5h-2.5A1.75 1.75 0 0 1 2 13.25Zm10.44 4.5-1.97-1.97a.749.749 0 0 1 .326-1.275.75.75 0 0 1 .734.215l3.25 3.25a.75.75 0 0 1 0 1.06l-3.25 3.25a.749.749 0 0 1-1.275-.326.75.75 0 0 1 .215-.734l1.97-1.97H6.75a.75.75 0 0 1 0-1.5Z"></path></svg>
|
|
Logout
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
<div class="flex min-h-full flex-col justify-center px-6 py-12 lg:px-8">
|
|
<div class="sm:mx-auto text-center sm:w-full sm:max-w-sm">
|
|
hello user {{user.name}}
|
|
</div>
|
|
<p class="mt-10 text-center text-sm text-gray-500">
|
|
<a href="/logout" hx-get="/logout" class="font-semibold leading-6 text-indigo-600 hover:text-indigo-500">Logout</a>
|
|
</p>
|
|
</div>
|
|
{% endblock content %} |