django-oidc-provider/example_project/provider_app/templates/base.html
2015-08-21 13:05:34 -03:00

48 lines
No EOL
1.7 KiB
HTML

{% load i18n %}
{% load staticfiles %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<title>OpenID Provider</title>
<link rel="stylesheet" type="text/css" href="{% static 'css/semantic.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'css/custom.css' %}">
</head>
<div class="ui page grid fixed inverted large menu">
<a id="page-title" href="{% url 'home' %}" class=" item">django-oidc-provider</a>
<div class="right menu">
{% if user.is_authenticated %}
<a href="#" class="item">My Profile</a>
{% if user.is_superuser %}
<a href="{% url 'admin:index' %}" class="item">Admin</a>
{% endif %}
<a href="{% url 'logout' %}" class="item"><i class="remove icon"></i></a>
{% else %}
<a href="{% url 'login' %}" class="item">Login</a>
{% endif %}
</div>
</div>
{% block content %}{% endblock %}
<div class="ui stackable page grid">
<div class="column">
<div class="ui right aligned secondary segment">
Developed by <a href="https://github.com/juanifioren">Juan Ignacio Fiorentino</a>.
</div>
</div>
</div>
<script src="{% static 'js/jquery.js' %}"></script>
<script src="{% static 'js/semantic.js' %}"></script>
<script type="text/javascript">$(function() {setInterval(function() {$('#viewongithub').transition('tada')}, 5000);});</script>
</body>
</html>