Source

tweetdensity / templates / base.html

<html lang="en">
    <head>
        <meta charset = "utf-8" />
        <title>TweetDensity</title>

        {% block style %}
            <link rel="stylesheet" href="{{url_for('static', filename= 'css/bootstrap.css')}}"/>
            <link rel="stylesheet" href="{{url_for('static', filename= 'css/prettify.css')}}"/>


        {% endblock %}

        {% block script %}
            <script src = "{{url_for('static', filename = 'js/jquery-1.7.1.min.js')}}" /></script>
            <script src="{{url_for('static', filename = 'js/bootstrap.min.js')}}"></script>
            <script src = "{{url_for('static', filename = 'js/highcharts/js/highcharts.js')}}"></script>
            <script src = "{{url_for('static', filename = 'js/prettify/prettify.js')}}"></script>

            <script src = "{{url_for('static', filename = 'js/app.js')}}"></script>
            <script>
            $(document).ready(function(){
                prettyPrint();
            });
            </script>
        {% endblock %}
    </head>

    <body>
        <div class="container-fluid">
            <div class = "row-fluid">
                <div class = "span2">
                    <ul class = "nav nav-list">
                        <li class = "nav-header">
                            Plots
                        </li>
                        <li class = "active">
                            <a href = "#"><i class = "">Per hour</i></a>
                         </li>
                        <li>
                            <a href = "#"><i class = "">Per weekday</i></a>
                        </li>


                        <li class = "nav-header">
                            Response formats
                        </li>
                        <li>
                            <a href = "#show_json"><i class = "">JSON</i></a>
                        </li>
                        <li>
                            <a href = "#show_xml"><i>XML</i></a>
                        </li>
                        
                        <li class = "nav-header">
                            About
                        </li>
                        <li>
                            <a href = "#show_author"><i>Author</i></a>
                        </li>
                        <li>
                            <a href = "#show_tech"><i>Tech</i></a>
                        </li>

                    </ul>
                </div>
                <div class = "span7">
                    <div class = "form-menu well">
                        <form class = "form-inline" onSubmit = "return false;">
                            <input name="handle" type = "text" class = "input" placeholder = "userhandler" />
                            <input name="count" type = "text" class = "input" placeholder = "count" />
                            <button type = "submit" class = "btn small btn-primary submit" >Go</button>
                        </form>
                        <div id  = "form-alert"></div>
                    </div>
                    <div id = "plot-container">
                        <i> Use form at top to make query. </i> 
                    </div>
                </div>
            </div>
        </div>

    </body>

</html>