django-oidc-provider/example_project/provider_app/templates/base.html

48 lines
1.7 KiB
HTML
Raw Normal View History

2015-08-18 21:04:59 +00:00
{% load i18n %}
{% load staticfiles %}
2015-04-28 17:55:35 +00:00
<!DOCTYPE html>
<html lang="en">
2015-08-18 21:04:59 +00:00
<head>
2015-04-28 17:55:35 +00:00
2015-08-18 21:04:59 +00:00
<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">
2015-04-28 17:55:35 +00:00
2015-08-18 21:04:59 +00:00
<title>OpenID Provider</title>
2015-04-28 17:55:35 +00:00
2015-08-18 21:04:59 +00:00
<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">
2015-04-28 17:55:35 +00:00
{% if user.is_authenticated %}
2015-08-18 21:04:59 +00:00
<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>
2015-04-28 17:55:35 +00:00
{% else %}
2015-08-18 21:04:59 +00:00
<a href="{% url 'login' %}" class="item">Login</a>
2015-04-28 17:55:35 +00:00
{% endif %}
2015-08-18 21:04:59 +00:00
</div>
</div>
2015-04-28 17:55:35 +00:00
2015-08-18 21:04:59 +00:00
{% block content %}{% endblock %}
2015-08-21 16:05:34 +00:00
<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>
2015-08-18 21:04:59 +00:00
<script src="{% static 'js/jquery.js' %}"></script>
<script src="{% static 'js/semantic.js' %}"></script>
2015-08-21 16:05:34 +00:00
<script type="text/javascript">$(function() {setInterval(function() {$('#viewongithub').transition('tada')}, 5000);});</script>
2015-04-28 17:55:35 +00:00
2015-08-18 21:04:59 +00:00
</body>
2015-04-28 17:55:35 +00:00
</html>