mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 10:22:43 +01:00
dc7d825564
Todo and not yet fully functional yet Fix Titan Dev thing Fix Titan Dev thing Fix Titan Dev thing Fix Titan Dev thing Fix Titan Dev thing Fix Titan Dev thing Fix Titan Dev thing Fix Titan Dev thing Fix Titan Dev thing Fix Titan Dev thing Fix Titan Dev thing
78 lines
4.0 KiB
Django/Jinja
78 lines
4.0 KiB
Django/Jinja
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<!--Import Google Icon Font-->
|
|
<link href="//fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
|
<!--Import materialize.css-->
|
|
<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"/>
|
|
<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>
|
|
|
|
{% include 'seo_meta.html.j2' %}
|
|
|
|
{% block additional_head_elements %}{% endblock %}
|
|
|
|
{% include 'google_analytics.html.j2' %}
|
|
</head>
|
|
<body>
|
|
{% include 'nobot_header.html.j2' %}
|
|
<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>
|
|
{% if session['user_id'] is defined and session['user_id'] in devs %}
|
|
<li class="divider"></li>
|
|
<li><a href="{{ url_for('admin.index') }}">Admin</a></li>
|
|
{% endif %}
|
|
<li class="divider"></li>
|
|
<li><a href="{{ url_for('user.logout') }}">Logout</a></li>
|
|
</ul>
|
|
{% endif %}
|
|
|
|
<ul id="visitus_dropdown" class="dropdown-content">
|
|
<li><a href="{{url_for("embed.guild_embed", guild_id="295085744249110529")}}">Launch Embed Page</a></li>
|
|
<li class="divider"></li>
|
|
<li><a href="https://discord.io/Titan">Open in Discord</a></li>
|
|
</ul>
|
|
|
|
<nav>
|
|
<div class="nav-wrapper container">
|
|
<a href="/" class="brand-logo"><img src="{{ url_for('static', filename='img/titanembeds_shield.png') }}" /><span class="hide-on-med-and-down"><strong class="align-top">Titan</strong><span class="align-top">Embeds</span> <span class="betatag align-top">BETA</span></span></a>
|
|
<ul id="nav-mobile" class="right">
|
|
<li><a href="{{url_for("about")}}" class="waves-effect hide-on-large-only">About</a></li>
|
|
<li><a href="{{url_for("about")}}" class="waves-effect btn z-depth-3 hide-on-med-and-down">About</a></li>
|
|
|
|
<li><a data-activates="visitus_dropdown" class="waves-effect hide-on-large-only dropdown-button">Visit Us!</a></li>
|
|
<li><a data-activates="visitus_dropdown" class="waves-effect btn z-depth-3 hide-on-med-and-down dropdown-button">Visit Us!</a></li>
|
|
{% 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-->
|
|
<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>
|
|
{% block script %}{% endblock %}
|
|
</body>
|
|
</html>
|