{{define "head"}}
    <link type="text/css" rel="stylesheet" href="{{ pathPrefix }}{{ uiPrefix }}/static/vendor/rickshaw/rickshaw.min.css?v={{ buildVersion }}">
    <link type="text/css" rel="stylesheet" href="{{ pathPrefix }}{{ uiPrefix }}/static/vendor/eonasdan-bootstrap-datetimepicker/bootstrap-datetimepicker.min.css?v={{ buildVersion }}">

    <script src="{{ pathPrefix }}{{ uiPrefix }}/static/vendor/rickshaw/vendor/d3.v3.js?v={{ buildVersion }}"></script>
    <script src="{{ pathPrefix }}{{ uiPrefix }}/static/vendor/rickshaw/vendor/d3.layout.min.js?v={{ buildVersion }}"></script>
    <script src="{{ pathPrefix }}{{ uiPrefix }}/static/vendor/rickshaw/rickshaw.min.js?v={{ buildVersion }}"></script>
    <script src="{{ pathPrefix }}{{ uiPrefix }}/static/vendor/moment/moment.min.js?v={{ buildVersion }}"></script>
    <script src="{{ pathPrefix }}{{ uiPrefix }}/static/vendor/moment/moment-timezone-with-data.min.js?v={{ buildVersion }}"></script>
    <script src="{{ pathPrefix }}{{ uiPrefix }}/static/vendor/eonasdan-bootstrap-datetimepicker/bootstrap-datetimepicker.min.js?v={{ buildVersion }}"></script>
    <script src="{{ pathPrefix }}{{ uiPrefix }}/static/vendor/bootstrap3-typeahead/bootstrap3-typeahead.min.js?v={{ buildVersion }}"></script>
    <script src="{{ pathPrefix }}{{ uiPrefix }}/static/vendor/fuzzy/fuzzy.js?v={{ buildVersion }}"></script>

    <script src="{{ pathPrefix }}{{ uiPrefix }}/static/vendor/mustache/mustache.min.js?v={{ buildVersion }}"></script>
    <script src="{{ pathPrefix }}{{ uiPrefix }}/static/vendor/js/jquery.selection.js?v={{ buildVersion }}"></script>
    <!-- <script src="{{ pathPrefix }}/static/vendor/js/jquery.hotkeys.js?v={{ buildVersion }}"></script> -->

    <script src="{{ pathPrefix }}{{ uiPrefix }}/static/js/graph.js?v={{ buildVersion }}"></script>

    <script id="graph_template" type="text/x-handlebars-template"></script>

    <link type="text/css" rel="stylesheet" href="{{ pathPrefix }}{{ uiPrefix }}/static/css/graph.css?v={{ buildVersion }}">
{{end}}

{{define "content"}}
    <div id="graph_container" class="container-fluid">
        <div class="query-history">
            <i class="glyphicon glyphicon-unchecked"></i>
            <button type="button" class="search-history" title="search previous queries">Enable query history</button>
        </div>
    </div>
    <div class="container-fluid">
      <div><input class="btn btn-primary" type="submit" value="Add Graph" id="add_graph"></div>
    </div>
{{end}}
