1<!--
2// Copyright 2014 The Cayley Authors. All rights reserved.
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//     http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15-->
16{{define "head"}}
17    <title>Cayley</title>
18    <meta charset="utf-8" />
19    <!-- Latest compiled and minified CSS -->
20    <!--<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">-->
21    <link rel="stylesheet" href="/static/third_party/flatly/bootstrap.min.css">
22    <!-- IE -->
23    <link rel="shortcut icon" type="image/x-icon" href="/static/favicon.ico" />
24    <!-- other browsers -->
25    <link rel="icon" type="image/x-icon" href="/static/favicon.ico" />
26    <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300' rel='stylesheet' type='text/css'>
27    <link href='http://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
28    <!--<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet">-->
29    <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/codemirror/3.21.0/codemirror.min.css">
30    <link rel="stylesheet" href="/static/css/grid.css">
31    <link rel="stylesheet" href="/static/css/query_editor.css">
32
33    <!-- Optional theme -->
34    <!--<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-theme.min.css">-->
35
36    <!-- Latest compiled and minified JavaScript -->
37    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
38    <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
39
40    <!-- Codemirror -->
41    <script src="//cdnjs.cloudflare.com/ajax/libs/codemirror/3.21.0/codemirror.min.js"></script>
42    <script src="//cdnjs.cloudflare.com/ajax/libs/codemirror/3.21.0/addon/edit/matchbrackets.min.js"></script>
43    <script src="//cdnjs.cloudflare.com/ajax/libs/codemirror/3.21.0/addon/comment/continuecomment.min.js"></script>
44    <script src="//cdnjs.cloudflare.com/ajax/libs/codemirror/3.21.0/mode/javascript/javascript.min.js"></script>
45    <script src="//cdnjs.cloudflare.com/ajax/libs/snap.svg/0.2.0/snap.svg-min.js"></script>
46    <script src="//cdnjs.cloudflare.com/ajax/libs/fabric.js/1.4.0/fabric.min.js"></script>
47
48    <!-- D3.js -->
49    <script src="//cdnjs.cloudflare.com/ajax/libs/d3/3.4.1/d3.min.js"></script>
50{{end}}
51
52{{define "foot"}}
53    <script type='text/javascript'>
54
55    $(document).ready(function() {
56        $('[data-toggle=offcanvas]').click(function() {
57          $('.row-offcanvas').toggleClass('active');
58          });
59        });
60
61    </script>
62{{end}}
63