Mercurial > hg > LGServer
annotate src/main/webapp/templates/publicTemplate.xhtml @ 10:5610250d021a default tip
SectionsIndex, we added a method to print the setting of the VM
author | "jurzua <jurzua@mpiwg-berlin.mpg.de>" |
---|---|
date | Thu, 19 Mar 2015 11:46:33 +0100 |
parents | 5316e79f9a27 |
children |
rev | line source |
---|---|
0
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
1 <?xml version='1.0' encoding='UTF-8' ?> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
3 <html xmlns="http://www.w3.org/1999/xhtml" |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
4 xmlns:ui="http://java.sun.com/jsf/facelets" |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
5 xmlns:f="http://java.sun.com/jsf/core" |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
6 xmlns:h="http://java.sun.com/jsf/html" |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
7 xmlns:icecore="http://www.icefaces.org/icefaces/core" |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
8 xmlns:ace="http://www.icefaces.org/icefaces/components" |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
9 xmlns:ice="http://www.icesoft.com/icefaces/component"> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
10 |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
11 |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
12 <h:head> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
13 <title>Local Monographs Service</title> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
14 <ice:outputStyle href="#{appBean.rootServer}/resources/css/style.css" /> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
15 <script type="text/javascript" src="#{appBean.rootServer}/resources/js/general.js"/> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
16 </h:head> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
17 |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
18 <h:body> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
19 |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
20 <h:form id="formDialog"> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
21 <ace:themeSelect value="cupertino"/> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
22 |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
23 <ace:dialog id="dialog" |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
24 header="Message" |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
25 closable="false" |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
26 visible="#{!empty sessionBean.msgList}" |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
27 modal="true" |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
28 draggable="false"> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
29 <h:panelGrid columns="1"> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
30 <ace:dataTable value="#{sessionBean.msgList}" var="msg"> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
31 <ace:column> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
32 <h:outputText value="#{msg}" /> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
33 </ace:column> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
34 </ace:dataTable> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
35 <h:commandButton value="Close" |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
36 actionListener="#{sessionBean.listenerCloseMsgPopup}" |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
37 style="margin-left: auto;margin-right: auto; width:100%;" |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
38 onclick="window.location.reload();"> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
39 </h:commandButton> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
40 </h:panelGrid> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
41 </ace:dialog> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
42 </h:form> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
43 |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
44 <div id="header"> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
45 <div id="logo"> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
46 <h1><a href="#"><ice:outputLabel value="Local Gazetter Server"/></a></h1> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
47 </div> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
48 </div> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
49 |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
50 <div id="login"> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
51 <div id="loginContent"> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
52 |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
53 <ice:form id="loginForm"> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
54 |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
55 <h:panelGrid columns="5" rendered="#{sessionBean.user == null}"> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
56 <h:outputLink value="#{appBean.dvnRootServer}/faces/login/AddAccountPage.xhtml">Create Account</h:outputLink> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
57 <ice:outputLabel value="Login"/> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
58 <ice:inputText value="#{sessionBean.userName}"/> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
59 <ice:inputSecret value="#{sessionBean.password}" |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
60 actionListener="#{sessionBean.listenerLogin}"/> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
61 <ice:commandButton value="Submit" |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
62 actionListener="#{sessionBean.listenerLogin}"> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
63 </ice:commandButton> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
64 </h:panelGrid> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
65 |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
66 <h:panelGrid columns="3" rendered="#{sessionBean.user != null}"> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
67 <h:outputText value="Logged in as: #{sessionBean.user.userName}"/> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
68 <h:outputText value=" | "/> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
69 <h:commandLink value="logout" actionListener="#{sessionBean.listenerLogout}"/> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
70 </h:panelGrid> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
71 </ice:form> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
72 |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
73 </div> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
74 </div> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
75 |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
76 <h:form> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
77 <ace:menuBar autoSubmenuDisplay="true" style="margin: 0 auto; width: 80%;"> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
78 <ace:menuItem value="Home" |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
79 url="#{appBean.rootServer}/home/mainPage.xhtml"/> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
80 <ace:menuItem value="Create File" |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
81 url="#{appBean.rootServer}/home/createNewFile.xhtml" /> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
82 <ace:menuItem value="Search Section" |
2
1f56cf4f80d4
Fix of bug in the creation of a new file.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
0
diff
changeset
|
83 url="#{appBean.rootServer}/home/searchPage.xhtml" /> |
1f56cf4f80d4
Fix of bug in the creation of a new file.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
0
diff
changeset
|
84 <ace:menuItem value="Dataverse" |
1f56cf4f80d4
Fix of bug in the creation of a new file.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
0
diff
changeset
|
85 url="#{appBean.dvnRootServer}" /> |
0
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
86 </ace:menuBar> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
87 </h:form> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
88 |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
89 <div id="page"> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
90 <h:panelGrid rendered="#{sessionBean.user != null}" style="width:100%"> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
91 <ui:insert name="content"/> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
92 </h:panelGrid> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
93 <h:panelGrid rendered="#{sessionBean.user == null}" style="width:100%"> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
94 <h:outputLabel value="You must login!"/> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
95 </h:panelGrid> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
96 |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
97 </div> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
98 </h:body> |
7682c04c63a8
First commit of the source code!
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
99 </html> |