This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
/
Application.xhtml
94 lines (83 loc) · 3.71 KB
/
Application.xhtml
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view contentType="text/html" xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a="http://richfaces.org/a4j"
xmlns:s="http://jboss.org/schema/seam/taglib"
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j">
<html class="new-zanata-html">
<h:head>
<ui:remove>
<!-- This needs to appear before all other JavaScript, for accurate testing -->
</ui:remove>
<h:outputText value="#{ajaxCounter.ajaxCounterScript}" escape="false" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>#{msgs['jsf.PageTitle']}</title>
<link rel="shortcut icon" href="#{applicationConfiguration.getWebAssets('img/logo/logo.ico')}"
type="image/x-icon" />
<link type="text/css" rel="stylesheet"
href="#{request.contextPath}/resources/fontello/css/fontello.css"/>
<link type="text/css" rel="stylesheet"
href="#{applicationConfiguration.getWebAssets('css/style.min.css')}"/>
<link type="text/css" rel="stylesheet"
href="#{applicationConfiguration.getWebAssets('css/application.min.css')}"/>
<!-- Async Google Fonts -->
<script type="text/javascript">
WebFontConfig = {
google: { families: [ 'Source+Sans+Pro:300,400,600,700,400italic:latin,latin-ext' ] }
};
(function() {
var wf = document.createElement('script');
wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
'://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
wf.type = 'text/javascript';
wf.async = 'true';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(wf, s);
})();
</script>
<script src="codemirror/codemirror-compressed-3.21.cache.js"
type="text/javascript"></script>
<link rel="stylesheet" type="text/css"
href="codemirror/codemirror-3.21.cache.css"/>
<script src="diff_match_patch/javascript/diff_match_patch.js"
type="text/javascript"></script>
<script src="search-field-suggestions.js" type="text/javascript"></script>
<!-- -->
<!-- This script loads your compiled module. -->
<!-- If you add any GWT meta tags, they must -->
<!-- be added before this line. -->
<!-- -->
<script type="text/javascript" language="javascript"
src="webtrans.nocache.js"></script>
</h:head>
<!-- -->
<!-- The body can have arbitrary html, or -->
<!-- you can leave the body empty if you want -->
<!-- to create a completely dynamic UI. -->
<!-- -->
<h:body styleClass="new-zanata-body">
<script type="text/javascript">
var zanataSessionId = '#{request.session.id}';
</script>
<div class="new-zanata-base">
<div class="new-zanata">
<ui:include src="../WEB-INF/template/banner.xhtml"/>
</div>
</div>
<div id="container"/>
<!-- OPTIONAL: include this if you want history support -->
<iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1'
style="position:absolute;width:0;height:0;border:0"></iframe>
<ui:include src="../WEB-INF/template/scripts.xhtml"/>
</h:body>
<ui:remove>
<!-- The javascriptFinished script needs to appear after all other
JavaScript, for accurate testing: -->
</ui:remove>
<h:outputText value="#{ajaxCounter.javascriptFinishedScript}" escape="false" />
</html>
</f:view>