<!doctype html>
<html>
    <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
    <head>
        <title>Statistics</title>
        <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/bootstrap.css') }}">
        <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/appstats.css') }}">
        <script src="{{ url_for('static', filename='js/jquery-1.7.2.min.js') }}"></script>
    </head>
    <body>
        <div class="navbar navbar-fixed-top">
            <div class=navbar-inner>
                <div class=container>
                    <a class="brand" href="{{ url_for('main_page') }}">Appstats</a>
                    <div class="nav-collapse collapse">
                        <ul class=nav>
                            {% for def_app_id in app_ids %}
                                <li class={{ "active" if def_app_id['key'] == app_id else "" }}>
                                    <a href="{{ current_url(app_id=def_app_id['key']) }}">{{ def_app_id['name'] }}</a>
                                </li>
                            {% endfor %}
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="container">
            {% block body %}{% endblock %}
        </div>
    </body>
</html>

<!doctype html>
<html>
    <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
    <head>
        <title>Statistics</title>
        <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/bootstrap.css') }}">
        <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/appstats.css') }}">
        <script src="{{ url_for('static', filename='js/jquery-1.7.2.min.js') }}"></script>
    </head>
    <body>
        <div class="navbar navbar-fixed-top">
            <div class=navbar-inner>
                <div class=container>
                    <a class="brand" href="{{ url_for('main_page', app_id=app_id) }}">Appstats</a>
                    <div class="nav-collapse collapse">
                        <ul class=nav>
                            {% for def_app_id in app_ids %}
                                <li class={{ "active" if def_app_id['key'] == app_id else "" }}>
                                    <a href="{{ current_url(app_id=def_app_id['key']) }}">{{ def_app_id['name'] }}</a>
                                </li>
                            {% endfor %}
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="container">
            {% block body %}{% endblock %}
        </div>
    </body>
</html>

Fix Appstats button on navigation bar
Fix Appstats button on navigation bar
