You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.3 KiB
HTML
33 lines
1.3 KiB
HTML
{% extends "bootstrap/base.html" %}
|
|
{% set application_name = 'PySAML2 Example SAML SP' %}
|
|
{% block title %}{{ application_name }}{% endblock %}
|
|
{% block body_attribs %} style="padding-top: 60px"{% endblock %}
|
|
{% block navbar %}
|
|
<nav class="navbar navbar-inverse navbar-fixed-top">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
|
|
<span class="sr-only">Toggle navigation</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<a class="navbar-brand" href="{{ url_for('main_page') }}">{{ application_name }}</a>
|
|
</div>
|
|
<div id="navbar" class="collapse navbar-collapse">
|
|
<ul class="nav navbar-nav">
|
|
{% if current_user.is_authenticated() %}
|
|
<li><a href="{{ url_for('user') }}">User</a></li>
|
|
<li><a href="{{ url_for('logout') }}">Logout</a></li>
|
|
{% endif %}
|
|
</ul>
|
|
</div><!--/.nav-collapse -->
|
|
</div>
|
|
</nav>
|
|
<div class="container">
|
|
{% endblock %}
|
|
{% block content %}
|
|
</div>
|
|
{% endblock %}
|
|
|