A simple web application that allows invitation based registration to a matrix instance
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
858 B

6 years ago
6 years ago
6 years ago
6 years ago
  1. <!doctype html>
  2. <title>{% block title %}{% endblock %} - NullOctet Matrix</title>
  3. <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
  4. <nav>
  5. <h1>NullOctet Matrix</h1>
  6. <ul>
  7. {% if g.user %}
  8. <li><span>{{ g.user['username'] }}</span>
  9. <li><a href="{{ url_for('admin_logout') }}">Log Out</a>
  10. {% else %}
  11. <li><a href="{{ url_for('registration') }}">Register</a>
  12. <li><a href="{{ url_for('admin_login') }}">Log In</a>
  13. {% endif %}
  14. </ul>
  15. </nav>
  16. <section class="content">
  17. <header>
  18. {% block header %}{% endblock %}
  19. </header>
  20. <div class="flashMessages">
  21. {% for message in get_flashed_messages() %}
  22. <div class="flash">{{ message }}</div>
  23. {% endfor %}
  24. </div>
  25. {% block content %}{% endblock %}
  26. </section>