<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<html>  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    {% if title %}
    <title>{{ title }} - SSO Portal</title>
    {% else %}
    <title>SSO Portal</title>
    {% endif %}
    <meta name="description" content="otpme-sso">
    <meta name="author" content="the2nd">
	<link rel="stylesheet" href="{{ url_for('static', filename='otpme.css', _external=True, _scheme='https') }}">
    <!--<script src="{{ url_for('static', filename='js/jquery-1.12.4.js', _external=True, _scheme='https') }}"></script>
    <script src="{{ url_for('static', filename='js/bootstrap.js', _external=True, _scheme='https') }}"></script>-->
  	<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
  </head>

  <body>
    <div id="load"></div>
    <div>
    <b>SSO:</b>
    <a href="/index">Home</a>
    {% if g.user.is_authenticated %}
    	<a href="{{ url_for('logout', _external=True, _scheme='https') }}">Logout</a>
    {% endif %}
    </div>
    {% with messages = get_flashed_messages() %}
      {% if messages %}
        <ul>
        {% for message in messages %}
            <li>{{ message }} </li>
        {% endfor %}
        </ul>
      {% endif %}
    {% endwith %}
    {% block content %}{% endblock %}
  </body>
</html>

