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.

26 lines
921 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_index') }}">Admin Panel</a>
  10. <li><a href="{{ url_for('admin_logout') }}">Log Out</a>
  11. {% else %}
  12. <li><a href="{{ url_for('registration') }}">Register</a>
  13. <li><a href="{{ url_for('admin_login') }}">Log In</a>
  14. {% endif %}
  15. </ul>
  16. </nav>
  17. <section class="content">
  18. <header>
  19. {% block header %}{% endblock %}
  20. </header>
  21. <div class="flashMessages">
  22. {% for message in get_flashed_messages() %}
  23. <div class="flash">{{ message }}</div>
  24. {% endfor %}
  25. </div>
  26. {% block content %}{% endblock %}
  27. </section>