forked from zer.ooo/web
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.1 KiB
Twig
36 lines
1.1 KiB
Twig
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>{{ title ?? "Zer.ooo" }}</title>
|
|
<link rel="stylesheet" href="/css/vendors/bootstrap.min.css" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
{% block head %}
|
|
<script src="/js/jquery.min.js"></script>
|
|
<script src="/js/bootstrap.js"></script>
|
|
|
|
{% endblock %}
|
|
</head>
|
|
<body>
|
|
<nav class="navbar navbar-inverse navbar-fixed-top">
|
|
<div class="container">
|
|
<a href="/" class="navbar-brand"><span class="glyphicons glyphicons-lock"></span> Zer.ooo</a>
|
|
|
|
<div class="pull-right">
|
|
{% if user %}
|
|
<a href="/panel" class="user navbar-brand">{{ user.username }}</a>
|
|
<a href="/panel/invites" class="navbar-brand">Invites</a>
|
|
<a href="/logout" class="navbar-brand">Logout</a>
|
|
{% else %}
|
|
<a class="navbar-brand" href="/login">Login</a>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
<div class="div" style="height:50px"> </div>
|
|
{% block content %}
|
|
{% endblock %}
|
|
</body>
|
|
</html>
|