-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
90 lines (81 loc) · 4.52 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
<!-- FIXME: MISSING DOCTYPE TAG MAY CAUSE JQUERY ISSUES. ADDING IT BREAKS THE UI SOMEWHAT -->
<!-- <!DOCTYPE HTML> -->
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>NUSAnswers</title>
<!--Import Google Icon Font-->
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--<link rel="stylesheet" href="styles/icons.css">-->
<!-- Compiled and minified CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.5/css/materialize.min.css">
<link rel="stylesheet" type="text/css" href="styles/style.css">
<link rel="stylesheet" href="styles/trumbowyg.min.css">
<link rel="icon" type="image/png" sizes="32x32" href="/32x32.png">
</head>
<body ng-app="quoraApp" ng-controller="MainCtrl">
<!-- hardcoded logo in corner -->
<div ui-sref="home" class="nus-logo">
<div class="logo-container">
<img src="icon.svg" class="logo">
</div>
<span class="white-text logo-text">NUSAnswers<span style="font-size:0.8em;"><sub>beta</sub></span></span>
</div>
<!-- loading screen -->
<div style="text-align:center;" ng-if="loading" class="loading-container animate-fade-in">
<div style="display:inline-block; padding:10px;" class="v-align">
<p style="font-weight:200;font-size:1.9em;"class="white-text">Hold on while we are fetching all questions...</p>
<img style="width:100px; clear:both;"src="rolling.svg">
</div>
</div>
<navbar></navbar>
<!-- Each view of the app is separate into views folder -->
<div ui-view></div>
<!-- Each view of the app is separate into views folder -->
<!-- unfortunately materialize is depenedent on jQuery -->
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/jquery-ui.min.js" type="text/javascript" charset="utf-8"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.5/js/materialize.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.3/angular.min.js"></script>
<script src="http://pc035860.github.io/angular-easyfb/angular-easyfb.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular-sanitize.js"></script>
<script src="js/angular-ui-router-0.2.18.min.js"></script>
<script src="js/plugins/angular-animate.min.js"></script>
<script src="js/plugins/dropzone.js"></script>
<!-- main config, sets up ui-route and links everything together -->
<script src="js/constants.js"></script>
<script src="app.js"></script>
<script src="js/custom-animations.js"></script>
<!-- controllers -->
<script src="js/controllers/main-controller.js"></script>
<script src="js/controllers/home-controller.js"></script>
<script src="js/controllers/navbar-controller.js"></script>
<script src="js/controllers/QA-controller.js"></script>
<script src="js/controllers/profile-controller.js"></script>
<script src="js/controllers/admin-controller.js"></script>
<!-- services -->
<script src="js/services/question-service.js"></script>
<!-- directives -->
<script src="js/jquery_stuff.js"></script>
<script src="js/directives/comment-directive.js"></script>
<script src="js/directives/tag-directive.js"></script>
<script src="js/directives/comments-section-directive.js"></script>
<script src="js/directives/wysiwyg-editor-directive.js"></script>
<script src="js/directives/navbar-directive.js"></script>
<script src="js/directives/collapse-text-directive.js"></script>
<script src="js/directives/trending-box-directive.js"></script>
<script src="js/directives/tag-input-field-directive.js"></script>
<script src="js/directives/post-directive.js"></script>
<script src="js/directives/add-comment-directive.js"></script>
<script src="js/directives/search-popup-directive.js"></script>
<script src="js/plugins/trumbowyg.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','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-76559726-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>