-
Notifications
You must be signed in to change notification settings - Fork 17
/
page.html
64 lines (59 loc) · 1.8 KB
/
page.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
<head>
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="shortcut icon" href="##ROOT_URL_PATH_PREFIX##/img/codex_icon-64x64.ico" />
<link rel="apple-touch-icon" href="##ROOT_URL_PATH_PREFIX##/img/codex_icon-128x128.png" />
<link href="https://fonts.googleapis.com/css?family=Inconsolata|Noto+Sans:400,700&subset=cyrillic,cyrillic-ext,devanagari,greek,greek-ext,latin-ext,vietnamese" rel="stylesheet">
<title>Blackboard</title>
<script type="text/javascript">
function onGoogleApiLoad() {
window.gapi.load('auth', {callback: function() {
console.log('Google Auth API Loaded');
}});
window.gapi.load('picker', {callback: function() {
console.log('Google Picker API Loaded');
}});
}
</script>
<script type="text/javascript" src="https://apis.google.com/js/api.js?onload=onGoogleApiLoad"></script>
</head>
<body>
<div id="bb-body">
{{> page }}
</div>
{{> header_nickmodal}}
{{> header_confirmmodal}}
</body>
<template name="page">
<div id="bb-content" class="container-fluid {{#if compactHeader}}compactHeader{{/if}}">
<!-- DEBUGGING: currentPage: "{{currentPage}}" -->
<!-- common header -->
{{> header }}
<!-- page contents -->
{{#if currentPageEquals "blackboard"}}
{{> blackboard }}
{{/if}}
{{#if currentPageEquals "round"}}
{{> round }}
{{/if}}
{{#if currentPageEquals "puzzle"}}
{{> puzzle }}
{{/if}}
{{#if currentPageEquals "chat"}}
{{> chat }}
{{/if}}
{{#if currentPageEquals "oplog"}}
{{> oplog }}
{{/if}}
{{#if currentPageEquals "callins"}}
{{> callins }}
{{/if}}
{{#if currentPageEquals "quip"}}
{{> quip }}
{{/if}}
{{#if currentPageEquals "facts"}}
{{> facts }}
{{/if}}
<!-- add footer here? -->
</div>
</template>