2018-03-22 02:56:41 +00:00
|
|
|
{% from '@mio/macros.twig' import link, navigation %}
|
|
|
|
|
|
|
|
{% set mio_navigation = {
|
2018-04-14 02:58:53 +00:00
|
|
|
'Home': '/',
|
|
|
|
'News': '/news.php',
|
|
|
|
'Chat': 'https://chat.flashii.net',
|
2018-03-22 02:56:41 +00:00
|
|
|
} %}
|
|
|
|
|
|
|
|
<!doctype html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
{% include '@mio/_layout/meta.twig' %}
|
|
|
|
<link href="https://static.flash.moe/fonts/visitor/visitor1.css" rel="stylesheet">
|
|
|
|
<link href="https://use.fontawesome.com/releases/v5.0.8/css/all.css" rel="stylesheet">
|
2018-03-27 03:15:03 +00:00
|
|
|
<link href="/css/mio.css" rel="stylesheet">
|
2018-03-22 02:56:41 +00:00
|
|
|
</head>
|
|
|
|
<body class="mio">
|
|
|
|
<div class="mio__wrapper">
|
2018-04-16 00:33:54 +00:00
|
|
|
<nav class="header">
|
|
|
|
<div class="header__logo">
|
|
|
|
<a href="/" class="header__logo__link">
|
|
|
|
<img class="header__logo__image" src="https://static.flash.moe/logos/logo-exo.png" alt="Flashii">
|
2018-03-22 02:56:41 +00:00
|
|
|
</a>
|
|
|
|
</div>
|
2018-03-27 03:15:03 +00:00
|
|
|
|
2018-04-16 00:33:54 +00:00
|
|
|
<div class="header__menu">
|
2018-03-22 02:56:41 +00:00
|
|
|
{% if app.session is not null %}
|
2018-04-16 00:33:54 +00:00
|
|
|
<div class="container header__user">
|
|
|
|
<div class="container__title">Hey, {{ app.session.user.username }}!</div>
|
|
|
|
<div class="container__content header__user__content">
|
|
|
|
<a href="/settings.php?m=avatar" class="avatar header__user__avatar" style="background-image:url('/profile.php?u={{ app.session.user.user_id }}&m=avatar');"></a>
|
|
|
|
<div class="header__user__links__container">
|
|
|
|
<ul class="header__user__links">
|
|
|
|
<li class="header__user__option"><a class="header__user__link" href="/profile.php?u={{ app.session.user.user_id }}">Profile</a></li>
|
|
|
|
<li class="header__user__option"><a class="header__user__link" href="/settings.php">Settings</a></li>
|
|
|
|
<li class="header__user__option"><a class="header__user__link" href="{{ manage_link|default('/manage/index.php') }}">Manage</a></li>
|
|
|
|
<li class="header__user__option"><a class="header__user__link" href="/auth.php?m=logout&s={{ csrf_token() }}">Logout</a></li>
|
2018-03-22 02:56:41 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% else %}
|
2018-04-16 00:33:54 +00:00
|
|
|
<a href="/auth.php" class="input__button">Login/Register</a>
|
2018-03-22 02:56:41 +00:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
2018-03-27 03:15:03 +00:00
|
|
|
</nav>
|
2018-03-22 02:56:41 +00:00
|
|
|
|
|
|
|
{% block content %}
|
2018-04-16 00:33:54 +00:00
|
|
|
<div class="container">
|
|
|
|
<div class="container__title">Hello!</div>
|
|
|
|
<div class="container__content">
|
2018-03-22 02:56:41 +00:00
|
|
|
This page has no content!
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{ navigation(mio_navigation) }}
|
|
|
|
{% endblock %}
|
|
|
|
|
2018-04-16 00:33:54 +00:00
|
|
|
<footer class="footer">
|
|
|
|
<div class="footer__copyright">
|
|
|
|
{{ link('https://flash.moe', 'flash.moe', 'footer__copyright__link') }} 2013-{{
|
2018-03-22 02:56:41 +00:00
|
|
|
''|date('Y') }} /
|
2018-04-16 00:33:54 +00:00
|
|
|
{{ link('https://github.com/flashwave/misuzu/tree/' ~ git_branch(), git_branch(), 'footer__copyright__link') }} # {{ link('https://github.com/flashwave/misuzu/commit/' ~ git_hash(true), git_hash(), 'footer__copyright__link') }}
|
2018-03-22 02:56:41 +00:00
|
|
|
</div>
|
2018-04-16 00:33:54 +00:00
|
|
|
<div class="footer__links">
|
|
|
|
{{ link('#', 'Terms of Service', 'footer__links__link') }} |
|
|
|
|
{{ link('#', 'Rules', 'footer__links__link') }} |
|
|
|
|
{{ link('#', 'Contact', 'footer__links__link') }} |
|
|
|
|
{{ link('#', 'Status', 'footer__links__link') }} |
|
|
|
|
{{ link('https://twitter.com/flashiinet', 'Twitter', 'footer__links__link') }}
|
2018-03-22 02:56:41 +00:00
|
|
|
</div>
|
2018-03-27 03:15:03 +00:00
|
|
|
</footer>
|
2018-03-22 02:56:41 +00:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|