base.html 1.78 KB
   <head> 
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

         <link rel="stylesheet" href="{{ static_url("bootstrap.min.css") }}" />
       <link rel="stylesheet" href="{{ static_url("style.css") }}" >
    </head>
    <body>
            <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
            <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
            <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
            <script src="{{ static_url("bootstrap.min.js") }}"></script>
        <div class="container">

         
       
            {% block navigation %}
                {% raw navigation %}
            {% end %}
            

            
            
            {% try %}
                {% if subnavigation %}
                   {% raw subnavigation %}
                {% end %}
            {% except %}
            {% end %}
            
            {% try %}
                {% if msg %}
                     <div class="{{ msglvl }}">
                       <b> {{ msg }}</b>
                    </div>
                {% end %}
            {% except %}
            {% end %}
            
            {% try %}
                {% if maincontent %}
                {% block maincontent %}
                      {% raw maincontent %}
                {% end %}
                 
                {% end %}
            {% except %}
            {% end %}
            
    </div>
  </body>
</html>