<!DOCTYPE html>
<html>
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link rel="stylesheet" href="{{ url_for('static', filename='bootstrap/css/bootstrap.min.css') }}"/>
    <link rel="stylesheet" href="{{ url_for('static', filename='sortable/css/sortable-theme-bootstrap.css') }}"/>
    <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='custom/css/main.css') }}">

    {% if title %}
        <title>Isotopic Enumerator - {{ title }}</title>
    {% else %}
        <title>Isotopic Enumerator</title>
    {% endif  %}

</head>

<body>

    <header class="site-header">
         <nav class="navbar navbar-expand-md navbar-dark bg-steel fixed-top">
             <div class="container">
                 <a class="navbar-brand mr-4" href="/">Isotopic Enumerator</a>

                 <!-- Navbar Right Side -->
                 <div class="navbar-nav">
                     <a class="nav-item nav-link" href="{{ url_for('about') }}">About</a>
                     <a class="nav-item nav-link" href="https://github.com/MoseleyBioinformaticsLab/isoenum-webgui">GitHub</a>
                     <a class="nav-item nav-link" href="https://isoenum-webgui.readthedocs.io">Docs</a>
                 </div>

             </div>
         </nav>
    </header>

    <script type="text/javascript" charset="utf8" src="{{ url_for('static', filename='jquery/jquery-2.2.3.min.js') }}"></script>
    <script type="text/javascript" charset="utf8" src="{{ url_for('static', filename='bootstrap/js/bootstrap.bundle.min.js') }}"></script>
    <script type="text/javascript" src="{{ url_for('static', filename='custom/js/TableToJson.js') }}"></script>
    <script type="text/javascript" src="{{ url_for('static', filename='sortable/js/sortable.min.js') }}"></script>
    <script type="text/javascript" src="{{ url_for('static', filename='custom/js/general.js') }}"></script>

    <main role="main" class="container">

        {% with messages = get_flashed_messages(with_categories=true) %}
            {% if messages %}
                {% for category, message in messages %}
                    <div class="alert alert-{{ category }}">
                        {{ message }}
                    </div>
                {% endfor %}
            {% endif %}
        {% endwith %}

        {% block content %}{% endblock %}

        <br>
        <br>
        <br>
    
    </main>

</body>
</html>
