7
|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
2 <html xmlns="http://www.w3.org/1999/xhtml"
|
|
3 xmlns:h="http://java.sun.com/jsf/html"
|
|
4 xmlns:f="http://java.sun.com/jsf/core"
|
|
5 xmlns:ui="http://java.sun.com/jsf/facelets"
|
|
6 xmlns:a4j="http://richfaces.org/a4j"
|
|
7 xmlns:rich="http://richfaces.org/rich">
|
|
8
|
|
9 <h:head>
|
|
10 <title>ismi</title>
|
|
11 <h:outputStylesheet name="/css/ismi-db/default.css" />
|
|
12 <h:outputStylesheet name="/css/ismi-db/popupPanel.css" />
|
|
13
|
|
14
|
|
15 <h:outputScript name="/js/autocomplete.js" />
|
|
16 <h:outputScript name="/js/autocomplete.js" />
|
|
17
|
|
18 <!--
|
|
19 <h:outputStylesheet name="/imageServer/css/diva.min.css" />
|
|
20 <h:outputStylesheet name="/imageServer/css/bootstrap.css" />
|
|
21 <h:outputStylesheet name="/imageServer/css/bootstrap-responsive.min.css" />
|
|
22 <h:outputStylesheet name="/imageServer/css/style.css" />
|
|
23
|
|
24 <h:outputScript name="imageServer/js/jquery.min.js" />
|
|
25 -->
|
|
26 <!-- <h:outputScript name="imageServer/js/diva.min.js" /> -->
|
|
27
|
|
28 <!-- <script type="text/javascript" src="http://localhost:8080/ismi-richfaces/resources/imageServer/js/diva.min.js"/> -->
|
|
29 <!--
|
|
30 <h:outputScript name="imageServer/js/diva.js" />
|
|
31 <h:outputScript name="imageServer/js/bootstrap.min.js" />
|
|
32 <h:outputScript name="imageServer/js/typeahead.js" />
|
|
33
|
|
34 <h:outputScript name="imageServer/js/jurzua/shared.js" />
|
|
35 -->
|
|
36
|
|
37 </h:head>
|
|
38
|
|
39 <h:body>
|
|
40
|
|
41 <h:form>
|
|
42
|
|
43 <!-- Message -->
|
|
44 <h:panelGrid id="msgPp">
|
|
45 <a4j:outputPanel ajaxRendered="true">
|
|
46
|
|
47
|
|
48 <h:panelGroup rendered="#{!empty Session.generalMsgList}">
|
|
49 <div style="z-index: 100;" class="rf-pp-shade">
|
|
50 <button class="rf-pp-btn" tabindex="-1" accesskey="" />
|
|
51 </div>
|
|
52
|
|
53 <h:panelGrid columns="1" styleClass="ismi-pp-cntr">
|
|
54
|
|
55 <div class="ismi-pp-hdr">
|
|
56 <div class="ismi-pp-hdr-cnt">Message</div>
|
|
57 </div>
|
|
58
|
|
59 <h:panelGrid columns="1" styleClass="ismi-pp-main-panel">
|
|
60 <h:panelGrid columns="2">
|
|
61 <h:graphicImage url="/resources/images/info_32.png" />
|
|
62 <h:panelGrid style="text-align:left">
|
|
63 <h:dataTable value="#{Session.generalMsgList}" var="msg"
|
|
64 rows="10">
|
|
65 <h:column>
|
|
66 <h:outputText value="#{msg}" />
|
|
67 </h:column>
|
|
68 </h:dataTable>
|
|
69 </h:panelGrid>
|
|
70 </h:panelGrid>
|
|
71 <a4j:commandButton value="OK"
|
|
72 actionListener="#{Session.actionCloseGeneralMsgDialog}"
|
|
73 render="msgPp" />
|
|
74 </h:panelGrid>
|
|
75
|
|
76 </h:panelGrid>
|
|
77
|
|
78 </h:panelGroup>
|
|
79 </a4j:outputPanel>
|
|
80 </h:panelGrid>
|
|
81
|
|
82 <!-- Message -->
|
|
83 <h:panelGrid id="errorMsgPp">
|
|
84 <a4j:outputPanel ajaxRendered="true">
|
|
85 <h:panelGroup rendered="#{!empty Session.errorMsgList}">
|
|
86 <div style="z-index: 100;" class="rf-pp-shade">
|
|
87 <button class="rf-pp-btn" tabindex="-1" accesskey="" />
|
|
88 </div>
|
|
89
|
|
90 <h:panelGrid columns="1" styleClass="ismi-pp-cntr">
|
|
91
|
|
92 <div class="ismi-pp-hdr">
|
|
93 <div class="ismi-pp-hdr-cnt">Message Error</div>
|
|
94 </div>
|
|
95
|
|
96 <h:panelGrid columns="1" styleClass="ismi-pp-main-panel">
|
|
97 <h:panelGrid columns="2">
|
|
98 <h:graphicImage url="/resources/images/error_32.png" />
|
|
99 <h:panelGrid style="text-align:left">
|
|
100 <h:dataTable value="#{Session.errorMsgList}" var="msg"
|
|
101 rows="10">
|
|
102 <h:column>
|
|
103 <h:outputText value="#{msg}" />
|
|
104 </h:column>
|
|
105 </h:dataTable>
|
|
106 </h:panelGrid>
|
|
107 </h:panelGrid>
|
|
108 <a4j:commandButton value="OK"
|
|
109 actionListener="#{Session.actionCloseErrorMsgDialog}"
|
|
110 render="errorMsgPp" />
|
|
111 </h:panelGrid>
|
|
112 </h:panelGrid>
|
|
113 </h:panelGroup>
|
|
114 </a4j:outputPanel>
|
|
115 </h:panelGrid>
|
|
116
|
|
117 <div id="header">
|
|
118
|
|
119 <div id="icon">
|
|
120 <div id="iconContent">
|
|
121 <h:graphicImage
|
|
122 url="/resources/images/ismi_icon.png" width="90"/>
|
|
123 <!--
|
|
124 <h:graphicImage
|
|
125 url="http://www.mpiwg-berlin.mpg.de/en/images/logo.png" />
|
|
126 -->
|
|
127 </div>
|
|
128 </div>
|
|
129 <div id="headerContent">
|
|
130 <h1>
|
|
131 <a href="#{ApplicationBean1.root}">ISMI</a>
|
|
132 </h1>
|
|
133 <p>Islamic Scientific Manuscripts Initiative</p>
|
|
134 </div>
|
|
135 </div>
|
|
136
|
|
137
|
|
138 <div id="login">
|
|
139 <div id="loginContent">
|
|
140 <h:panelGrid columns="4">
|
|
141 <h:commandLink value="login" rendered="#{Session.user == null}"
|
|
142 actionListener="#{Session.listenerDisplayLoginDialog}" />
|
|
143 <h:outputText value="Logged in as: #{Session.username}"
|
|
144 rendered="#{Session.user != null}" />
|
|
145
|
|
146 <h:commandLink value="logout" action="#{Session.logout}"
|
|
147 rendered="#{Session.user != null}"
|
|
148 onclick="#{ApplicationBean1.JSConfirmationLogout}" />
|
|
149
|
|
150 <h:outputText value="|" rendered="#{Session.user != null}" />
|
|
151 <h:commandLink value="change password"
|
|
152 action="#{Session.toProfile}" rendered="#{Session.user != null}" />
|
|
153 </h:panelGrid>
|
|
154 </div>
|
|
155 </div>
|
|
156
|
|
157 <!-- ################ Menu ################ -->
|
|
158 <rich:toolbar height="26px" styleClass="menu">
|
|
159
|
|
160
|
|
161 <rich:dropDownMenu mode="ajax" rendered="#{Session.canCreate}">
|
|
162 <f:facet name="label">
|
|
163 <h:panelGroup>
|
|
164 <h:outputText value="Create" />
|
|
165 </h:panelGroup>
|
|
166 </f:facet>
|
|
167 <rich:menuItem label="Create Entry"
|
|
168 onclick="document.location.href='#{ApplicationBean1.root}/entry/createEntity.xhtml'">
|
|
169 </rich:menuItem>
|
|
170 <rich:menuItem label="Create Event"
|
|
171 onclick="document.location.href='#{ApplicationBean1.root}/events/eventForm.xhtml'">
|
|
172 </rich:menuItem>
|
|
173 </rich:dropDownMenu>
|
|
174
|
|
175 <h:outputLink rendered="#{Session.canCreate}"
|
|
176 value="#{ApplicationBean1.root}/merge/generalMerge.xhtml">Merge</h:outputLink>
|
|
177
|
|
178 <h:outputLink rendered="#{Session.canCreate}"
|
|
179 value="#{ApplicationBean1.root}/browse/entityRepository.xhtml">Browse Repository</h:outputLink>
|
|
180
|
|
181 <h:outputLink rendered="#{Session.canCreate}"
|
|
182 value="#{ApplicationBean1.root}/browse/entityDetails.xhtml">Entity Details</h:outputLink>
|
|
183
|
|
184 <rich:dropDownMenu mode="ajax">
|
|
185 <f:facet name="label">
|
|
186 <h:panelGroup>
|
|
187 <h:outputText value="Search" />
|
|
188 </h:panelGroup>
|
|
189 </f:facet>
|
|
190 <rich:menuItem label="Simple Search"
|
|
191 onclick="document.location.href='#{ApplicationBean1.root}/search/simpleSearch.xhtml'">
|
|
192 </rich:menuItem>
|
|
193 <rich:menuItem label="Advanced Search"
|
|
194 onclick="document.location.href='#{ApplicationBean1.root}/search/advancedSearch.xhtml'">
|
|
195 </rich:menuItem>
|
|
196 </rich:dropDownMenu>
|
|
197
|
|
198 <h:outputLink rendered="#{Session.canCreate}"
|
|
199 value="#{ApplicationBean1.root}/public/publicCodices.xhtml">Codices marked as public</h:outputLink>
|
|
200
|
|
201 <h:outputLink rendered="#{Session.canCreate}"
|
|
202 value="#{ApplicationBean1.root}/search/biographies.xhtml">Biographies</h:outputLink>
|
|
203
|
|
204 <h:outputLink rendered="#{Session.canCreate}"
|
|
205 value="#{ApplicationBean1.root}/imageServer/displayDigiList.xhtml">Image Server</h:outputLink>
|
|
206
|
|
207 <h:outputLink rendered="#{Session.canCreate}"
|
|
208 value="#{ApplicationBean1.root}/public/dynamicPageEditor.xhtml">Dynamic Page Editor</h:outputLink>
|
|
209
|
|
210 <h:outputLink rendered="#{Session.canCreate}"
|
|
211 value="#{ApplicationBean1.root}/defs/defEditor.xhtml">Definition Editor</h:outputLink>
|
|
212
|
|
213 <h:outputLink rendered="#{Session.canCreate}"
|
|
214 value="#{ApplicationBean1.root}/admin/admin.xhtml">Admin</h:outputLink>
|
|
215
|
|
216
|
|
217
|
|
218 </rich:toolbar>
|
|
219
|
|
220 <h:panelGrid styleClass="ajaxStatus">
|
|
221 <a4j:outputPanel ajaxRendered="true">
|
|
222 <a4j:status>
|
|
223 <f:facet name="start">
|
|
224 <h:graphicImage
|
|
225 value="/resources/images/connectionStatus/connect_active_03.gif" />
|
|
226 </f:facet>
|
|
227 </a4j:status>
|
|
228 </a4j:outputPanel>
|
|
229 </h:panelGrid>
|
|
230
|
|
231 <div id="page">
|
|
232 <ui:insert name="content" />
|
|
233 </div>
|
|
234
|
|
235 </h:form>
|
|
236
|
|
237 </h:body>
|
|
238
|
|
239 </html> |