forked from medialab/drive-in
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
126 lines (96 loc) · 4.35 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!doctype html>
<html lang="en" ng-app="tipot">
<head>
<!-- Google Fonts and Font Awesome-->
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,900,200italic,300italic,400italic,600italic,700italic,900italic' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'>
<!-- Bootstrap -->
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link href='src/css/style.css' rel='stylesheet' type='text/css'>
<script src="settings.js"></script>
</head>
<body>
<style>
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
display: none !important;
}
</style>
<div id="drive-starter" ng-controller="starterCtrl"></div>
<div id="layout" ng-cloak ng-controller="layoutCtrl">
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#"><i class="fa fa-bars"></i></a>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>
<div id="wrapper" class="fluid-container" ng-view></div> <!-- cfr app.js and templates are under src/partials -->
</div>
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="http://d3js.org/d3.v3.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<!--
bibtext/markdown interpreters
=============================
-->
<script src="src/js/libs/bibtex.js"></script>
<script src="src/js/libs/showdown.min.js"></script>
<script src="src/js/libs/showdown-twitter.min.js"></script>
<script src="src/js/libs/showdown-vimeo.js"></script>
<!--
angular libraries
==================
-->
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.13/angular.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.13/angular-route.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.13/angular-resource.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.13/angular-sanitize.min.js"></script>
<!--
google analytics for angular
============================
-->
<script src="src/js/libs/angularytics.min.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-54421683-1', 'auto');
ga('send', 'pageview');
</script>
<!--
angular app
===========
-->
<script src="src/js/app.js"></script>
<script src="src/js/controllers.js"></script>
<script src="src/js/services.js"></script>
<script src="src/js/directives.js"></script>
<script src="src/js/filters.js"></script>
<!--
big init
========
-->
<script>
/*
Onload fnctio called after google drive api initialization (it takes more than one may expects)
*/
function load() {
var scope = angular.element($("#drive-starter")).scope(); // cfr StarterCtrl in controllers.js
scope.$emit(GOOGLE_CLIENT_INITIALIZED, settings);
}
</script>
<script src="https://apis.google.com/js/client.js?onload=load"></script>
</body>
</html>