50 lines
2.4 KiB
HTML
50 lines
2.4 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
<title>OpenID Provider</title>
|
||
|
|
||
|
<!-- Bootstrap -->
|
||
|
<link href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.4/cerulean/bootstrap.min.css" rel="stylesheet">
|
||
|
<style type="text/css">body{padding-top:20px;padding-bottom:20px}.footer,.header,.marketing{padding-right:15px;padding-left:15px}.header{padding-bottom:20px;border-bottom:1px solid #e5e5e5}.header h3{margin-top:0;margin-bottom:0;line-height:40px}.footer{padding-top:19px;color:#777;border-top:1px solid #e5e5e5}@media (min-width:768px){.container{max-width:730px}}.container-narrow>hr{margin:30px 0}.jumbotron{border-bottom:1px solid #e5e5e5}.jumbotron .btn{padding:14px 24px;font-size:21px}.marketing{margin:40px 0}.marketing p+h4{margin-top:28px}@media screen and (min-width:768px){.footer,.header,.marketing{padding-right:0;padding-left:0}.header{margin-bottom:30px}.jumbotron{border-bottom:0}}</style>
|
||
|
|
||
|
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||
|
<!--[if lt IE 9]>
|
||
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
||
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||
|
<![endif]-->
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<div class="container">
|
||
|
<div class="header clearfix">
|
||
|
<nav>
|
||
|
<ul class="nav nav-pills pull-right">
|
||
|
<li role="presentation"><a href="{% url 'home' %}">Home</a></li>
|
||
|
{% if user.is_authenticated %}
|
||
|
<li role="presentation"><a href="#">{{ user.email }}</a></li>
|
||
|
<li role="presentation"><a href="{% url 'logout' %}">Logout</a></li>
|
||
|
{% else %}
|
||
|
<li role="presentation"><a href="{% url 'login' %}">Login</a></li>
|
||
|
{% endif %}
|
||
|
</ul>
|
||
|
</nav>
|
||
|
<h3 class="text-muted">django-oidc-provider</h3>
|
||
|
</div>
|
||
|
|
||
|
{% block content %}{% endblock %}
|
||
|
|
||
|
<footer class="footer">
|
||
|
<p>Developed by <a href="http://github.com/juanifioren" target="_BLANK">Juan Ignacio Fiorentino</a>.</p>
|
||
|
</footer>
|
||
|
|
||
|
</div> <!-- /container -->
|
||
|
|
||
|
|
||
|
|
||
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
|
||
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
|
||
|
</body>
|
||
|
</html>
|