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.
		
		
		
		
		
			
		
			
				
					
					
						
							53 lines
						
					
					
						
							1.7 KiB
						
					
					
				
			
		
		
	
	
							53 lines
						
					
					
						
							1.7 KiB
						
					
					
				{% extends 'bootstrap/base.html' %} | 
						|
 | 
						|
{% block title %} | 
						|
{% if title %}{{ title }} - The Hunt{% else %}Welcome to The Hunt{% endif %} | 
						|
{% endblock %} | 
						|
 | 
						|
{% block navbar %} | 
						|
<nav class="navbar navbar-default"> | 
						|
  <div class="container"> | 
						|
    <div class="navbar-header"> | 
						|
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false"> | 
						|
        <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.index') }}">The Hunt</a> | 
						|
    </div> | 
						|
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> | 
						|
      <ul class="nav navbar-nav"> | 
						|
        <li><a href="{{ url_for('main.index') }}">Home</a></li> | 
						|
        {% if current_user.is_authenticated %} | 
						|
        <li><a href="{{ url_for('main.create_game') }}">Create Game</a></li> | 
						|
        {% endif %} | 
						|
      </ul> | 
						|
      <ul class="nav navbar-nav navbar-right"> | 
						|
        {% if current_user.is_anonymous %} | 
						|
        <li><a href="{{ url_for('auth.login') }}">Login</a></li> | 
						|
        {% else %} | 
						|
        <li><a href="{{ url_for('auth.logout') }}">Logout</a></li> | 
						|
        {% endif %} | 
						|
      </ul> | 
						|
    </div> | 
						|
  </div> | 
						|
</nav> | 
						|
{% endblock %} | 
						|
 | 
						|
{% block content %} | 
						|
<div class="container"> | 
						|
  {% with messages = get_flashed_messages() %} | 
						|
  {% if messages %} | 
						|
      {% for message in messages %} | 
						|
      <div class="alert alert-info" role="alert">{{ message }}</div> | 
						|
      {% endfor %} | 
						|
  {% endif %} | 
						|
  {% endwith %} | 
						|
 | 
						|
  {# application content needs to be provided in the app_content block #} | 
						|
  {% block app_content %}{% endblock %} | 
						|
</div> | 
						|
{% endblock %} | 
						|
 | 
						|
 | 
						|
 |