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 <body>
|
|
10 <ui:composition template="/templates/publicTemplate.xhtml">
|
|
11
|
|
12 <ui:define name="publicContent">
|
|
13
|
|
14 <h:outputStylesheet name="/css/ismi-db/display.css" />
|
|
15
|
|
16 <div id="pageTitle">
|
|
17 <h:outputText
|
|
18 value="Title [#{Session.displayTitle.selectedTitleId}]" />
|
|
19 </div>
|
|
20
|
|
21 <h:panelGrid columns="1" styleClass="mainPanel">
|
|
22
|
|
23 <h:commandButton value="Edit form"
|
|
24 image="#{ApplicationBean1.editImage}" title="Edit This Entity"
|
|
25 action="#{Session.displayTitle.actionEditTitle}"
|
|
26 rendered="#{Session.user != null}" />
|
|
27
|
|
28
|
|
29 <h:panelGrid columns="2" styleClass="displayPanel"
|
|
30 columnClasses="displayPanelColumn01,displayPanelColumn02">
|
|
31
|
|
32 <h:outputText value="Permission" />
|
|
33 <h:panelGrid columns="2">
|
|
34 <h:outputText value="#{Session.displayTitle.title.privacity} - " />
|
|
35 <h:commandLink value="change" rendered="#{Session.user != null}"
|
|
36 actionListener="#{Session.displayTitle.changePrivacity4Title}"
|
|
37 onclick="if(!confirm('Do you really want to change the privacity of this title?')){ return; };" />
|
|
38 </h:panelGrid>
|
|
39
|
|
40 <h:outputText value="Title ID" />
|
|
41 <h:outputText value="#{Session.displayTitle.selectedTitleId}" />
|
|
42
|
|
43 <h:outputText value="Full title" />
|
|
44 <h:outputText value="#{Session.displayTitle.title.fullTitle}" />
|
|
45
|
|
46 <h:outputText value="Full title (translit)" />
|
|
47 <h:outputText
|
|
48 value="#{Session.displayTitle.title.fullTitleTranslit}" />
|
|
49
|
|
50 <h:outputText value="Aliases" />
|
|
51 <h:dataTable var="aliasTitle" style="border:none;"
|
|
52 value="#{Session.displayTitle.title.aliasList}">
|
|
53 <h:column style="border:none;">
|
|
54 <h:outputText value="#{aliasTitle}" />
|
|
55 </h:column>
|
|
56 </h:dataTable>
|
|
57
|
|
58 <h:outputText value="Author"/>
|
|
59 <h:panelGroup rendered="#{Session.displayTitle.title.hasAuthor}">
|
|
60 <h:outputText value="#{Session.displayTitle.title.author}" />
|
|
61 <h:outputLink
|
|
62 target="_blank"
|
|
63 value="#{ApplicationBean1.root}/search/displayAuthor.xhtml?personId=#{Session.displayTitle.title.authorId}" title="Person viewer"
|
|
64 styleClass="displayButton">
|
|
65 <h:graphicImage
|
|
66 value="#{ApplicationBean1.displayImage}"
|
|
67 width="20" height="20"/>
|
|
68 </h:outputLink>
|
|
69 <h:outputLink
|
|
70 target="_blank"
|
|
71 value="#{ApplicationBean1.root}/browse/entityDetails.xhtml?eid=#{Session.displayTitle.title.authorId}" title="Metadata of the entity"
|
|
72 styleClass="displayButton">
|
|
73 <h:graphicImage
|
|
74 value="#{ApplicationBean1.imgNetwork32}"
|
|
75 width="20" height="20"/>
|
|
76 </h:outputLink>
|
|
77
|
|
78 </h:panelGroup>
|
|
79 <h:outputText rendered="#{!Session.displayTitle.title.hasAuthor}"/>
|
|
80
|
|
81 <h:outputText value="Date" />
|
|
82 <h:outputText value="#{Session.displayTitle.title.creationDate}"
|
|
83 escape="false" />
|
|
84
|
|
85 <h:outputText value="Create in" />
|
|
86 <h:outputText value="#{Session.displayTitle.title.createIn}" />
|
|
87
|
|
88 <h:outputText value="Language" />
|
|
89 <h:outputText value="#{Session.displayTitle.title.language}" />
|
|
90
|
|
91 <h:outputText value="Subject" />
|
|
92 <h:outputText value="#{Session.displayTitle.title.category}" />
|
|
93
|
|
94 <h:outputText value="Notes" />
|
|
95 <h:outputText value="#{Session.displayTitle.title.notes}" />
|
|
96
|
|
97 <h:outputText value="Incipit" />
|
|
98 <h:outputText value="#{Session.displayTitle.title.incipit}" />
|
|
99
|
|
100 <h:outputText value="Explicit" />
|
|
101 <h:outputText value="#{Session.displayTitle.title.explicit}"
|
|
102 dir="RTL" />
|
|
103
|
|
104 <h:outputText value="Dedication" />
|
|
105 <h:outputText value="#{Session.displayTitle.title.dedication}"
|
|
106 dir="RTL" />
|
|
107
|
|
108 <h:outputText value="Table of Contents" />
|
|
109 <h:outputText value="#{Session.displayTitle.title.tableOfContents}"
|
|
110 escape="false" />
|
|
111
|
|
112 <h:outputText value="Bibliographical References" />
|
|
113 <h:panelGrid columns="1">
|
|
114 <rich:dataTable var="item" style="border:none;width: 700px;"
|
|
115 value="#{Session.displayTitle.title.referenceList}"
|
|
116 rendered="#{!empty Session.displayTitle.title.referenceList}">
|
|
117
|
|
118 <h:column>
|
|
119 <f:facet name="header">
|
|
120 <h:outputText value="endnote-id" />
|
|
121 </f:facet>
|
|
122 <h:outputText value="#{item.endnoteId}" />
|
|
123 </h:column>
|
|
124
|
|
125 <h:column>
|
|
126 <f:facet name="header">
|
|
127 <h:outputText value="endnote-content" />
|
|
128 </f:facet>
|
|
129 <h:outputText value="#{item.endnoteContent}" />
|
|
130 </h:column>
|
|
131
|
|
132 <h:column>
|
|
133 <f:facet name="header">
|
|
134 <h:outputText value="escidoc label" />
|
|
135 </f:facet>
|
|
136 <h:outputText value="#{item.escidocLabel}" escape="false" />
|
|
137 </h:column>
|
|
138
|
|
139 <h:column>
|
|
140 <f:facet name="header">
|
|
141 <h:outputText value="additional_information" />
|
|
142 </f:facet>
|
|
143 <h:outputText value="#{item.additionalInf}" />
|
|
144 </h:column>
|
|
145 </rich:dataTable>
|
|
146 </h:panelGrid>
|
|
147
|
|
148
|
|
149
|
|
150 </h:panelGrid>
|
|
151 <h:panelGrid id="witnessesPanel">
|
|
152 <a name="witnesses" />
|
|
153 <h:outputText
|
|
154 value="Witnesses (#{Session.displayTitle.witnessItemsSize})"
|
|
155 rendered="#{!empty Session.displayTitle.witnessItems}"
|
|
156 styleClass="titlePanel" />
|
|
157
|
|
158 <h:panelGrid columns="1"
|
|
159 rendered="#{(!empty Session.displayTitle.witnessItems) and Session.user != null}">
|
|
160 <h:commandLink value="Make all public"
|
|
161 actionListener="#{Session.displayTitle.listenerMakeAllWitnessesPublic}"
|
|
162 onclick="if(!confirm('Do you really want to change the privacity these witnesses?\nThis action can take some minutes.')){ return; };" />
|
|
163 <h:commandLink value="Make all private"
|
|
164 actionListener="#{Session.displayTitle.listenerMakeAllWitnessesPrivate}"
|
|
165 onclick="if(!confirm('Do you really want to change the privacity these witnesses?\nThis action can take some minutes.')){ return; };" />
|
|
166 </h:panelGrid>
|
|
167 </h:panelGrid>
|
|
168
|
|
169 <rich:dataTable
|
|
170 rendered="#{!empty Session.displayTitle.witnessItems}"
|
|
171 value="#{Session.displayTitle.witnessItems}" var="witnessItem"
|
|
172 styleClass="select"
|
|
173 rows="10">
|
|
174 <rich:column>
|
|
175 <h:commandLink id="selectItem"
|
|
176 actionListener="#{Session.displayTitle.listenerShowWitness0}"
|
|
177 style="text-decoration:none;">
|
|
178 <div class="selectItem" style="#{witnessItem.style}">#{witnessItem.label}</div>
|
|
179 </h:commandLink>
|
|
180 </rich:column>
|
|
181 <f:facet name="footer">
|
|
182 <rich:dataScroller id="scroller" rendered="#{Session.displayTitle.witnessItemsSize > 10}"/>
|
|
183 </f:facet>
|
|
184 </rich:dataTable>
|
|
185
|
|
186 <h:panelGrid id="witnessPanel" columns="1" style="width: 100%;"
|
|
187 rendered="#{Session.displayTitle.selectedWitnessId != null}">
|
|
188
|
|
189 <h:commandButton value="edit or view this witness"
|
|
190 action="#{Session.displayTitle.actionEditWitness}"
|
|
191 rendered="#{Session.canEdit}" />
|
|
192
|
|
193 <h:panelGrid columns="2" styleClass="displayPanel"
|
|
194 columnClasses="displayPanelColumn01,displayPanelColumn02">
|
|
195
|
|
196 <h:outputText value="Permission" />
|
|
197 <h:panelGrid columns="2">
|
|
198 <h:outputText
|
|
199 value="#{Session.displayTitle.witness.privacity} - " />
|
|
200 <h:commandLink value="change" rendered="#{Session.user != null}"
|
|
201 actionListener="#{Session.displayTitle.changePrivacity4Witness}"
|
|
202 onclick="if(!confirm('Do you really want to change the privacity of this witness?')){ return; };" />
|
|
203 </h:panelGrid>
|
|
204
|
|
205 <h:outputText value="Witness ID" />
|
|
206 <h:outputText value="#{Session.displayTitle.selectedWitnessId}" />
|
|
207
|
|
208 <h:outputText value="State" />
|
|
209 <h:outputText value="#{Session.displayTitle.witness.status}" />
|
|
210
|
|
211 <h:outputText value="Country" />
|
|
212 <h:outputText value="#{Session.displayTitle.witness.country}" />
|
|
213
|
|
214 <h:outputText value="City" />
|
|
215 <h:outputText value="#{Session.displayTitle.witness.city}" />
|
|
216
|
|
217 <h:outputText value="Repository" />
|
|
218 <h:outputText value="#{Session.displayTitle.witness.repository}" />
|
|
219
|
|
220 <h:outputText value="Collection" />
|
|
221 <h:outputText value="#{Session.displayTitle.witness.collection}" />
|
|
222
|
|
223 <h:outputText value="Codex Identifier" />
|
|
224 <h:outputText value="#{Session.displayTitle.witness.codex}" />
|
|
225
|
|
226 <h:outputText value="Codex Owned by" />
|
|
227 <h:panelGrid columns="1">
|
|
228 <h:dataTable var="item" style="border:none;"
|
|
229 value="#{Session.displayTitle.witness.ownedByList}"
|
|
230 rendered="#{!empty Session.displayTitle.witness.ownedByList}">
|
|
231 <h:column style="border:none;">
|
|
232 <f:facet name="header">
|
|
233 <h:outputText value="Owner" />
|
|
234 </f:facet>
|
|
235 <h:outputText value="#{item}" />
|
|
236 </h:column>
|
|
237 <h:column style="border:none;">
|
|
238 <f:facet name="header">
|
|
239 <h:outputText value="Date" />
|
|
240 </f:facet>
|
|
241 <h:outputText
|
|
242 value="#{Session.displayTitle.witness.ownedByMap[item]}"
|
|
243 escape="false" />
|
|
244 </h:column>
|
|
245 </h:dataTable>
|
|
246
|
|
247 </h:panelGrid>
|
|
248
|
|
249
|
|
250 <h:outputText value="Codex Read by" />
|
|
251 <h:panelGrid columns="1">
|
|
252 <h:dataTable var="item" style="border:none;"
|
|
253 value="#{Session.displayTitle.witness.readByList}"
|
|
254 rendered="#{!empty Session.displayTitle.witness.readByList}">
|
|
255 <h:column style="border:none;">
|
|
256 <f:facet name="header">
|
|
257 <h:outputText value="Reader" />
|
|
258 </f:facet>
|
|
259 <h:outputText value="#{item}" />
|
|
260 </h:column>
|
|
261 <h:column style="border:none;">
|
|
262 <f:facet name="header">
|
|
263 <h:outputText value="Date" />
|
|
264 </f:facet>
|
|
265 <h:outputText
|
|
266 value="#{Session.displayTitle.witness.readByMap[item]}"
|
|
267 escape="false" />
|
|
268 </h:column>
|
|
269 </h:dataTable>
|
|
270 </h:panelGrid>
|
|
271
|
|
272 <h:outputText value="Notes on Title and Author" />
|
|
273 <h:outputText
|
|
274 value="#{Session.displayTitle.witness.notesOnTitleAuthor}" />
|
|
275
|
|
276 <h:outputText value="Notes on Collation and Corrections" />
|
|
277 <h:outputText
|
|
278 value="#{Session.displayTitle.witness.notesOnCollationAndCorrections}" />
|
|
279
|
|
280 <h:outputText value="Notes on Ownership" />
|
|
281 <h:outputText
|
|
282 value="#{Session.displayTitle.witness.notesOnOwnership}" />
|
|
283
|
|
284 <h:outputText value="Notes (general)" />
|
|
285 <h:outputText value="#{Session.displayTitle.witness.notes}" />
|
|
286
|
|
287 <h:outputText value="Table of Contents" />
|
|
288 <h:outputText
|
|
289 value="#{Session.displayTitle.witness.tableOfContents}"
|
|
290 escape="false" />
|
|
291
|
|
292 <h:outputText value="Bibliographical References" />
|
|
293 <h:panelGrid columns="1">
|
|
294 <rich:dataTable var="item" style="border:none;width: 700px;"
|
|
295 value="#{Session.displayTitle.witness.referenceList}"
|
|
296 rendered="#{!empty Session.displayTitle.title.referenceList}">
|
|
297
|
|
298 <h:column>
|
|
299 <f:facet name="header">
|
|
300 <h:outputText value="endnote-id" />
|
|
301 </f:facet>
|
|
302 <h:outputText value="#{item.endnoteId}" />
|
|
303 </h:column>
|
|
304
|
|
305 <h:column>
|
|
306 <f:facet name="header">
|
|
307 <h:outputText value="endnote-content" />
|
|
308 </f:facet>
|
|
309 <h:outputText value="#{item.endnoteContent}" />
|
|
310 </h:column>
|
|
311
|
|
312 <h:column>
|
|
313 <f:facet name="header">
|
|
314 <h:outputText value="escidoc label" />
|
|
315 </f:facet>
|
|
316 <h:outputText value="#{item.escidocLabel}" escape="false" />
|
|
317 </h:column>
|
|
318
|
|
319 <h:column>
|
|
320 <f:facet name="header">
|
|
321 <h:outputText value="additional_information" />
|
|
322 </f:facet>
|
|
323 <h:outputText value="#{item.additionalInf}" />
|
|
324 </h:column>
|
|
325 </rich:dataTable>
|
|
326 </h:panelGrid>
|
|
327
|
|
328 </h:panelGrid>
|
|
329
|
|
330 </h:panelGrid>
|
|
331 </h:panelGrid>
|
|
332 </ui:define>
|
|
333 </ui:composition>
|
|
334 </body>
|
|
335
|
|
336 </html> |