-
Notifications
You must be signed in to change notification settings - Fork 983
/
index.gsp
51 lines (43 loc) · 1.77 KB
/
index.gsp
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
<%@ page import="streama.Settings" %>
<!doctype html>
<html lang="en" class="no-js" ng-app="streama">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<title>${Settings.findByName('title').value}</title>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link href="https://fonts.googleapis.com/css?family=Indie+Flower&display=swap" rel="stylesheet">
<style type="text/css">
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
display: none !important;
}
</style>
<link href="https://cdn.quilljs.com/1.3.6/quill.snow.css" rel="stylesheet">
<link rel="stylesheet" href="//cdn.quilljs.com/1.3.6/quill.bubble.css">
<asset:stylesheet src="vendor.css"/>
<asset:stylesheet src="application.css"/>
<g:linkRelIconSetting setting="${Settings.findByName('favicon').value}"></g:linkRelIconSetting>
<script type="text/javascript">
window.contextPath = "${request.contextPath}";
</script>
</head>
<body class="ng-cloak">
<div class="page-container" ng-class="{'is-child': $root.currentProfile.isChild}">
<g:if test="${sec.username() == 'anonymous'}">
<g:render template="/templates/header_anonymous"></g:render>
</g:if>
<g:else>
<g:render template="/templates/header"></g:render>
</g:else>
<div class="content ng-cloak">
<ui-view/>
</div>
<div class="page-container-push"></div>
</div>
<g:render template="/templates/footer"></g:render>
<script src="https://cdn.quilljs.com/1.3.6/quill.js"></script>
<asset:javascript src="vendor.js" />
<asset:javascript src="streama/streama.js" />
<g:googleAnalytics/>
</body>
</html>