|
0
|
1 <?xml version="1.0" encoding="UTF-8"?>
|
|
|
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
3 <html xmlns="http://www.w3.org/1999/xhtml"
|
|
|
4 xmlns:ui="http://java.sun.com/jsf/facelets"
|
|
|
5 xmlns:h="http://java.sun.com/jsf/html"
|
|
|
6 xmlns:f="http://java.sun.com/jsf/core"
|
|
|
7 xmlns:ice="http://www.icesoft.com/icefaces/component"
|
|
|
8 xmlns:dvn="/WEB-INF/tlds/dvn-components">
|
|
|
9 <h:head>
|
|
|
10 <!-- page title param passed in by param -->
|
|
|
11 <title><ice:outputText nospan="true" value="#{pageTitle}"/></title>
|
|
|
12 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
|
13 <meta http-equiv="Content-Language" content="en"/>
|
|
|
14 <meta http-equiv="imagetoolbar" content="no"/>
|
|
|
15 <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
|
|
16 <ice:outputText nospan="true" escape="false" rendered="#{VDCRequest.currentVDCId == null or (VDCRequest.currentVDCId != null and !VDCRequest.displayInFrame)}">
|
|
|
17 <script type="text/javascript">
|
|
|
18 // <![CDATA[
|
|
|
19 // check to see if page is loaded in an iframe; if so, and "pop" out to top level
|
|
|
20 if(self != top){
|
|
|
21 top.location.replace(self.location.href);
|
|
|
22 }
|
|
|
23 // ]]>
|
|
|
24 </script>
|
|
|
25 </ice:outputText>
|
|
|
26 <ice:outputText nospan="true" escape="false" rendered="#{VDCRequest.currentVDCId != null and VDCRequest.displayInFrame}">
|
|
|
27 <script type="text/javascript">
|
|
|
28 // <![CDATA[
|
|
|
29 // check to see if page should be in an iframe (and is not); if so, redirect to containing site (specifiying sub page, if neeeded)
|
|
|
30 if(self == top){
|
|
|
31 dvn_subpage = self.location.href;
|
|
|
32 if ( dvn_subpage.indexOf("/faces/") != -1) {
|
|
|
33 window.location.replace("#{VDCRequest.currentVDC.parentSite}?dvn_subpage=" + dvn_subpage.substring( dvn_subpage.indexOf("/faces/") ) );
|
|
|
34 } else {
|
|
|
35 window.location.replace("#{VDCRequest.currentVDC.parentSite}");
|
|
|
36 }
|
|
|
37 }
|
|
|
38 // ]]>
|
|
|
39 </script>
|
|
|
40 </ice:outputText>
|
|
|
41 <link rel="icon" type="image/png" href="/dvn/resources/images/favicondataverse.png"/>
|
|
|
42 <link rel="stylesheet" type="text/css" href="/dvn/resources/icefaces/dvn_rime/dvn_rime.css?v=#{VersionPage.versionNumber}"/>
|
|
|
43 <link rel="stylesheet" type="text/css" href="/dvn/resources/css/dvngeneral.css?v=#{VersionPage.versionNumber}"/>
|
|
|
44 <link rel="stylesheet" type="text/css" href="/dvn/resources/css/dvnspecific.css?v=#{VersionPage.versionNumber}"/>
|
|
|
45 <link rel="stylesheet" type="text/css" href="/dvn/resources/css/dvnhome.css?v=#{VersionPage.versionNumber}"/>
|
|
|
46 <link rel="stylesheet" type="text/css" href="/dvn/resources/css/dvnstudy.css?v=#{VersionPage.versionNumber}"/>
|
|
|
47 <link rel="stylesheet" type="text/css" href="/dvn/resources/css/orbit.css?v=#{VersionPage.versionNumber}"/>
|
|
|
48 <!-- IE SPECIFIC STYLESHEET -->
|
|
|
49 <ice:outputText escape="false" nospan="true"
|
|
|
50 value="<!--[if lte IE 8]>
|
|
|
51 <link rel="stylesheet" type="text/css" href="/dvn/resources/css/iefix.css?v=#{VersionPage.versionNumber}"/>
|
|
|
52 <![endif]-->"/>
|
|
|
53 <ice:outputText escape="false" nospan="true"
|
|
|
54 value="<!--[if IE 8]>
|
|
|
55 <link rel="stylesheet" type="text/css" href="/dvn/resources/css/ie8fix.css?v=#{VersionPage.versionNumber}"/>
|
|
|
56 <![endif]-->"/>
|
|
|
57 <!-- FRAMES SPECIFIC STYLESHEET -->
|
|
|
58 <script type="text/javascript">
|
|
|
59 // <![CDATA[
|
|
|
60 if (window != top)
|
|
|
61 {
|
|
|
62 document.write ('<link rel="stylesheet" type="text/css" href="/dvn/resources/css/dvnframes.css?v=#{VersionPage.versionNumber}"/>');
|
|
|
63 }
|
|
|
64 // ]]>
|
|
|
65 </script>
|
|
|
66 <script type="text/javascript" src="/dvn/resources/javascript/EventCapture.js?v=#{VersionPage.versionNumber}"/>
|
|
|
67 <script type="text/javascript" src="/dvn/resources/javascript/jquery.js?v=#{VersionPage.versionNumber}"/>
|
|
|
68 <script type="text/javascript" src="/dvn/resources/javascript/jquery.truncator.js?v=#{VersionPage.versionNumber}"/>
|
|
|
69 <script type="text/javascript" src="/dvn/resources/javascript/jquery.dimensions.js?v=#{VersionPage.versionNumber}"/>
|
|
|
70 <script type="text/javascript" src="/dvn/resources/javascript/jquery.orbit.min.js?v=#{VersionPage.versionNumber}"/>
|
|
|
71 <script type="text/javascript" src="/dvn/resources/javascript/jquery.tooltip.min.js?v=#{VersionPage.versionNumber}"/>
|
|
|
72 <script type="text/javascript" src="/dvn/resources/javascript/jquery.cookie.js?v=#{VersionPage.versionNumber}"/>
|
|
|
73 <script type="text/javascript" src="/dvn/resources/javascript/jcap.js?v=#{VersionPage.versionNumber}"/>
|
|
|
74 <script type="text/javascript" src="/dvn/resources/javascript/md5.js?v=#{VersionPage.versionNumber}"/>
|
|
|
75 <script type="text/javascript">
|
|
|
76 // <![CDATA[
|
|
|
77 jQuery.noConflict();
|
|
|
78 jQuery(document).ready(function(){
|
|
|
79 initInlineHelpTip();
|
|
|
80 jQuery(".dvnstudystatusversionnote, .dvnCollectionDescription").truncate({max_length: 250});
|
|
|
81 });
|
|
|
82 function initInlineHelpTip(){
|
|
|
83 jQuery('.dvnInlineHelpTip').tooltip({
|
|
|
84 showURL: false,
|
|
|
85 showBody: " - "
|
|
|
86 });
|
|
|
87 jQuery('.dvnInlineHmpgWidgetInfo').tooltip({
|
|
|
88 showURL: false,
|
|
|
89 showBody: " *!* "
|
|
|
90 });
|
|
|
91
|
|
|
92 // Now remove the class, so when this method gets called again we don't include them
|
|
|
93 // (since calling .tooltip more than once seems to break the tooltips)
|
|
|
94 jQuery('.dvnInlineHelpTip').removeClass("dvnInlineHelpTip");
|
|
|
95
|
|
|
96 };
|
|
|
97 // ]]>
|
|
|
98 </script>
|
|
|
99 <ice:outputText escape="false" nospan="true"
|
|
|
100 rendered="#{applicationScope.googleAnalyticsKey != null || MainLayoutBean.googleAnalyticsKey != null}"
|
|
|
101 value="#{(applicationScope.googleAnalyticsSourceCode != null) ? applicationScope.googleAnalyticsSourceCode : MainLayoutBean.googleAnalyticsSourceCode}"/>
|
|
|
102 </h:head>
|
|
|
103 <!-- this template is example 4.3 in the Facelets Shortcut -->
|
|
|
104 <h:body>
|
|
|
105 <f:loadBundle basename="Bundle" var="bundle"/>
|
|
|
106 <f:loadBundle basename="BundlePageInfo" var="bundlePageInfo"/>
|
|
|
107 <ui:insert name="metadata"><!-- Default Metadata --></ui:insert>
|
|
|
108 <ui:insert name="title">
|
|
|
109 <!-- ****** THIS IS THE HEADER ******** -->
|
|
|
110 <ui:include src="views/CustomBanner.xhtml"/>
|
|
|
111 <!-- <ui:include src="views/ConnectedBanner.xhtml"/> -->
|
|
|
112 </ui:insert>
|
|
|
113
|
|
|
114 <div class="dvn_wrapper" id="dvn_wrapper">
|
|
|
115 <div class="dvn_content" id="content-frame">
|
|
|
116 <!-- required to fix a bug in firefox where the connection status box can be displayed erroneously -->
|
|
|
117 <ice:outputConnectionStatus showPopupOnDisconnect="false"/>
|
|
|
118 <div jsfc="ice:panelGroup" styleClass="dvnWarningMessage dvnReadOnlyBlock" rendered="#{!empty VDCRequest.vdcNetwork.statusNotice }">
|
|
|
119 <div class="dvnMsgBlockContainer">
|
|
|
120 <p>
|
|
|
121 <ice:outputText id="statusNotice" value="#{VDCRequest.vdcNetwork.statusNotice}" escape="false" />
|
|
|
122 </p>
|
|
|
123 </div>
|
|
|
124 </div>
|
|
|
125 <ui:insert name="title">
|
|
|
126 <!-- *** MENUBAR (Included from template) *** -->
|
|
|
127 <ui:include src="views/Menubar.xhtml"/>
|
|
|
128 </ui:insert>
|
|
|
129 <div jsfc="ice:panelGroup" styleClass="#{!empty(VDCRender.flash.warningMessage) ? 'dvnWarningMessage' : 'dvnSuccessMessage'}" rendered="#{!empty VDCRender.flash.successMessage or !empty VDCRender.flash.warningMessage}">
|
|
|
130 <div class="dvnMsgBlockContainer">
|
|
|
131 <p>
|
|
|
132 <ice:outputText id="successMessage" value="#{VDCRender.flash.successMessage}" escape="false" rendered="#{!empty VDCRender.flash.successMessage}"/>
|
|
|
133 <ice:outputText id="warningMessage" value="#{VDCRender.flash.warningMessage}" escape="false" rendered="#{!empty VDCRender.flash.warningMessage}"/>
|
|
|
134 </p>
|
|
|
135 </div>
|
|
|
136 </div>
|
|
|
137 <ui:insert name="body">Default Body</ui:insert>
|
|
|
138 <div class="dvn_clear"></div>
|
|
|
139 </div>
|
|
|
140 </div>
|
|
|
141 <ui:insert name="footer">
|
|
|
142 <ui:include src="views/CustomFooter.xhtml"/>
|
|
|
143 </ui:insert>
|
|
|
144 <!-- including the POPUPs below causes problems. - L.A. -->
|
|
|
145 <ui:include src="study/VersionNotesPopupFragment.xhtml"/>
|
|
|
146 <ui:include src="study/DeletePopupFragment.xhtml"/>
|
|
|
147 <!-- <ui:include src="study/FileAccessDeniedPopupFragment.xhtml"/> -->
|
|
|
148 <ice:outputText escape="false" nospan="true"
|
|
|
149 rendered="#{applicationScope.googleAnalyticsKey != null || MainLayoutBean.googleAnalyticsKey != null}"
|
|
|
150 value="#{(applicationScope.googleAnalyticsCode != null) ? applicationScope.googleAnalyticsCode : MainLayoutBean.googleAnalyticsCode}"/>
|
|
|
151 </h:body>
|
|
|
152 <script type="text/javascript">
|
|
|
153 // <![CDATA[
|
|
|
154 // TODO: remove this when we upgrade to Icefaces 3; this is a workaround to solve an issue where a request is being submitted when the page is unloaded
|
|
|
155 window.onbeforeunload = null;
|
|
|
156 // ]]>
|
|
|
157 </script>
|
|
|
158 </html>
|
|
|
159 <!-- Removing closing f:view: - L.A.
|
|
|
160 </f:view --> |