2017-03-25 08:52:56 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<!--Import Google Icon Font-->
|
2017-04-08 09:43:37 +02:00
|
|
|
<link href="//fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
2017-03-25 08:52:56 +01:00
|
|
|
<!--Import materialize.css-->
|
2017-04-08 09:43:37 +02:00
|
|
|
<link type="text/css" rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/materialize/0.98.1/css/materialize.min.css" integrity="sha256-6DQKO56c9MZL0LAc7QNtxqJyqSa3rS9Gq5FVcIhtA+w=" crossorigin="anonymous" media="screen,projection"/>
|
2017-03-25 08:52:56 +01:00
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
|
|
|
|
|
|
|
<!--Let browser know website is optimized for mobile-->
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
|
|
|
|
|
|
<title>{% block title %}{% endblock %} - Titan Embeds for Discord</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<main>
|
|
|
|
{% if session['unauthenticated'] is defined and not session['unauthenticated'] %}
|
|
|
|
<ul id="menu_dropdown" class="dropdown-content">
|
|
|
|
<li><a href="{{ url_for('user.dashboard') }}">Dashboard</a></li>
|
|
|
|
<li class="divider"></li>
|
|
|
|
<li><a href="{{ url_for('user.logout') }}">Logout</a></li>
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<nav>
|
|
|
|
<div class="nav-wrapper container">
|
2017-04-05 09:14:29 +02:00
|
|
|
<a href="/" class="brand-logo"><b>Titan</b>Embeds <span class="betatag">BETA</span></a>
|
2017-03-25 08:52:56 +01:00
|
|
|
<ul id="nav-mobile" class="right">
|
2017-04-05 09:31:42 +02:00
|
|
|
<li><a href="{{url_for("embed.guild_embed", guild_id="295085744249110529")}}" class="waves-effect btn z-depth-3">Visit Us!</a></li>
|
2017-03-25 08:52:56 +01:00
|
|
|
{% if session['unauthenticated'] is defined and not session['unauthenticated'] %}
|
|
|
|
<li><a id="menu_drop" data-activates="menu_dropdown" class="waves-effect btn z-depth-3 btn-floating dropdown-button avatar_menu" style='background-image: url(" {{ session['avatar'] }} ")'></a></li>
|
|
|
|
{% else %}
|
|
|
|
<li><a href="{{ url_for('user.login_authenticated') }}" class="waves-effect btn z-depth-3">Login</a></li>
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
<div class="container">
|
|
|
|
{% block content %}{% endblock %}
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
<footer class="page-footer">
|
|
|
|
<div class="footer-copyright">
|
|
|
|
<div class="container">
|
|
|
|
A project by EndenDragon
|
|
|
|
<a class="grey-text text-lighten-4 right" href="https://github.com/EndenDragon/Titan">GitHub Repo</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
<!--Import jQuery before materialize.js-->
|
2017-04-08 09:43:37 +02:00
|
|
|
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
|
|
|
|
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/materialize/0.98.1/js/materialize.min.js" integrity="sha256-ToPQhpo/E89yaCd7+V8LUCjobNRkjilRXfho6x3twLU=" crossorigin="anonymous"></script>
|
2017-03-26 10:04:15 +02:00
|
|
|
{% block script %}{% endblock %}
|
2017-04-09 20:37:34 +02:00
|
|
|
{% include 'google_analytics.html.j2' %}
|
2017-03-25 08:52:56 +01:00
|
|
|
</body>
|
|
|
|
</html>
|