Rev 1267 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1267 | Rev 1291 | ||
---|---|---|---|
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
4 | 4 | ||
5 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> |
5 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> |
6 | <html> |
6 | <html> |
7 | 7 | ||
8 | <head> |
8 | <head> |
9 | <link href="res/styles.css" rel="stylesheet"> |
9 | <link href="res/styles.css" rel="stylesheet"> |
10 | <meta http-equiv="content-type" content="text/html; charset=UTF-8"> |
10 | <meta http-equiv="content-type" content="text/html; charset=UTF-8"> |
11 | <logic:empty name="current" property="title"> |
11 | <logic:empty name="current" property="title"> |
12 | <title>Index</title> |
12 | <title>Index</title> |
13 | </logic:empty> |
13 | </logic:empty> |
14 | <logic:notEmpty name="current" property="title"> |
14 | <logic:notEmpty name="current" property="title"> |
15 | <title><bean:write name="current" property="title" /></title> |
15 | <title><bean:write name="current" property="title" /></title> |
16 | </logic:notEmpty> |
16 | </logic:notEmpty> |
17 | </head> |
17 | </head> |
18 | 18 | ||
19 | <body bgcolor="white" id="index"> |
19 | <body bgcolor="white" id="index"> |
20 | 20 | ||
21 | <div id="divMainHeader"> |
21 | <div id="divMainHeader"> |
22 | <logic:empty name="current" property="title">Index</logic:empty> |
22 | <logic:empty name="current" property="title">Index</logic:empty> |
23 | <logic:notEmpty name="current" property="title"><bean:write name="current" property="title" /></logic:notEmpty> |
23 | <logic:notEmpty name="current" property="title"><bean:write name="current" property="title" /></logic:notEmpty> |
24 | <logic:notEmpty name="current" property="subtitle"> |
24 | <logic:notEmpty name="current" property="subtitle"> |
25 | <div id="divMainSubtitle"><bean:write name="current" property="subtitle" filter="false" /></div> |
25 | <div id="divMainSubtitle"><bean:write name="current" property="subtitle" filter="false" /></div> |
26 | </logic:notEmpty> |
26 | </logic:notEmpty> |
27 | </div> |
27 | </div> |
28 | 28 | ||
29 | <div id="divMain"> |
29 | <div id="divMain"> |
30 | 30 | ||
31 | <script language="javascript"> |
31 | <script language="javascript"> |
32 | if (navigator.userAgent.indexOf('Gecko')!=-1) |
32 | if (navigator.userAgent.indexOf('Gecko')!=-1) |
33 | document.write('<style>\ndiv.Photo {\n display: table-cell;\n}\n</style>'); |
33 | document.write('<style>\ndiv.Photo {\n display: table-cell;\n}\n</style>'); |
34 | </script> |
34 | </script> |
35 | 35 | ||
36 | <table cellpadding=0 cellspacing=0> |
36 | <table cellpadding=0 cellspacing=0> |
37 | <logic:iterate name="index" id="row"> |
37 | <logic:iterate name="index" id="row"> |
38 | 38 | ||
39 | <tr> |
39 | <tr> |
40 | <logic:iterate name="row" id="entry"> |
40 | <logic:iterate name="row" id="entry"> |
41 | 41 | ||
42 | <td valign=top> |
42 | <td valign=top> |
43 | <logic:present name="entry"> |
43 | <logic:present name="entry"> |
44 | <logic:equal name="entry" property="isDir" value="true"> |
44 | <logic:equal name="entry" property="isDir" value="true"> |
45 | 45 | ||
46 | <div class="Photo" align="center"> |
46 | <div class="Photo" align="center"> |
47 | <div class="dirImgBorder" align="center"><a href="index.do?branch=<bean:write name="indexForm" property="branch" />&path=<bean:write name="entry" property="path" />"><img src="dir.do?branch=<bean:write name="indexForm" property="branch" />&path=<bean:write name="entry" property="path" />" |
47 | <div class="dirImgBorder" align="center"><a href="index.do?branch=<bean:write name="indexForm" property="branch" />&path=<bean:write name="entry" property="path" />"><img src="dir.do?branch=<bean:write name="indexForm" property="branch" />&path=<bean:write name="entry" property="path" />" |
48 | alt="<bean:write name="entry" property="title" />" |
48 | alt="<bean:write name="entry" property="title" />" |
49 | width="<bean:write name="entry" property="width" />" |
49 | width="<bean:write name="entry" property="width" />" |
50 | height="<bean:write name="entry" property="height" />" |
50 | height="<bean:write name="entry" property="height" />" |
51 | border="0"/></a></div><a href="index.do?branch=<bean:write name="indexForm" property="branch" />&path=<bean:write name="entry" property="path" />" |
51 | border="0"/></a></div><a href="index.do?branch=<bean:write name="indexForm" property="branch" />&path=<bean:write name="entry" property="path" />" |
52 | class="Photo"> |
52 | class="Photo"> |
53 | <bean:write name="entry" property="title" /> |
53 | <bean:write name="entry" property="title" /> |
54 | <logic:notEmpty name="entry" property="subtitle"> |
54 | <logic:notEmpty name="entry" property="subtitle"> |
55 | <br><bean:write name="entry" property="subtitle" filter="false" /> |
55 | <br><bean:write name="entry" property="subtitle" filter="false" /> |
56 | </logic:notEmpty> |
56 | </logic:notEmpty> |
57 | </a> |
57 | </a> |
58 | </div> |
58 | </div> |
59 | 59 | ||
60 | </logic:equal> |
60 | </logic:equal> |
61 | <logic:equal name="entry" property="isDir" value="false"> |
61 | <logic:equal name="entry" property="isDir" value="false"> |
62 | 62 | ||
63 | <div class="Photo" align="center"> |
63 | <div class="Photo" align="center"> |
64 | <div class="imgBorder" align="center"><a href="page.do?branch=<bean:write name="indexForm" property="branch" />&path=<bean:write name="entry" property="path" />"><img src="small.do?branch=<bean:write name="indexForm" property="branch" />&path=<bean:write name="entry" property="path" />" |
64 | <div class="imgBorder" align="center"><a href="page.do?branch=<bean:write name="indexForm" property="branch" />&path=<bean:write name="entry" property="path" />"><img src="small.do?branch=<bean:write name="indexForm" property="branch" />&path=<bean:write name="entry" property="path" />" |
65 | alt="<bean:write name="entry" property="title" />" |
65 | alt="<bean:write name="entry" property="title" />" |
66 | width="<bean:write name="entry" property="width" />" |
66 | width="<bean:write name="entry" property="width" />" |
67 | height="<bean:write name="entry" property="height" />" |
67 | height="<bean:write name="entry" property="height" />" |
68 | border="0"/></a></div><a href="page.do?branch=<bean:write name="indexForm" property="branch" />&path=<bean:write name="entry" property="path" />" |
68 | border="0"/></a></div><a href="page.do?branch=<bean:write name="indexForm" property="branch" />&path=<bean:write name="entry" property="path" />" |
69 | class="Photo"> |
69 | class="Photo"> |
70 | <bean:write name="entry" property="title" /> |
70 | <bean:write name="entry" property="title" /> |
71 | <logic:notEmpty name="entry" property="subtitle"> |
71 | <logic:notEmpty name="entry" property="subtitle"> |
72 | <br><bean:write name="entry" property="subtitle" filter="false" /> |
72 | <br><bean:write name="entry" property="subtitle" filter="false" /> |
73 | </logic:notEmpty> |
73 | </logic:notEmpty> |
74 | </a> |
74 | </a> |
75 | </div> |
75 | </div> |
76 | 76 | ||
77 | </logic:equal> |
77 | </logic:equal> |
78 | </logic:present> |
78 | </logic:present> |
79 | <logic:notPresent name="entry"> |
79 | <logic:notPresent name="entry"> |
80 | |
80 | |
81 | </logic:notPresent> |
81 | </logic:notPresent> |
82 | </td> |
82 | </td> |
83 | 83 | ||
84 | </logic:iterate> |
84 | </logic:iterate> |
85 | </tr> |
85 | </tr> |
86 | 86 | ||
87 | </logic:iterate> |
87 | </logic:iterate> |
88 | </table> |
88 | </table> |
89 | 89 | ||
90 | <logic:equal name="severalPages" value="true"> |
90 | <logic:equal name="severalPages" value="true"> |
91 | <table style="width:610px" border=0> |
91 | <table style="width:610px" border=0> |
92 | <tr> |
92 | <tr> |
93 | 93 | ||
94 | <logic:notPresent name="prevPage"> |
94 | <logic:notPresent name="prevPage"> |
95 | <td align=left class="IndexPage" style="width:150px"> </td> |
95 | <td align=left class="IndexPage" style="width:150px"> </td> |
96 | </logic:notPresent> |
96 | </logic:notPresent> |
97 | <logic:present name="prevPage"> |
97 | <logic:present name="prevPage"> |
98 | <td align=left class="IndexPage" style="width:150px"><a href="index.do?branch=<bean:write name="indexForm" property="branch" />&path=<bean:write name="indexForm" property="path" />&page=<bean:write name="prevPage" property="number" />" class="ImagePaneRow"><img |
98 | <td align=left class="IndexPage" style="width:150px"><a href="index.do?branch=<bean:write name="indexForm" property="branch" />&path=<bean:write name="indexForm" property="path" />&page=<bean:write name="prevPage" property="number" />" class="ImagePaneRow"><img |
99 | src="res/Back.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Previous page</a></td> |
99 | src="res/Back.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Previous page</a></td> |
100 | </logic:present> |
100 | </logic:present> |
101 | 101 | ||
102 | <td align=center class="IndexPage"> |
102 | <td align=center class="IndexPage"> |
103 | • |
103 | • |
104 | <logic:iterate name="pages" id="p"> |
104 | <logic:iterate name="pages" id="p" |
105 | <logic:equal name="p" property="isCurrent" value="true"> |
105 | ><logic:equal name="p" property="isCurrent" value="true" |
106 | <span style="color:black">[ <bean:write name="p" property="displayNumber" /> ]</span> |
106 | ><span style="color:black">[ <bean:write name="p" property="displayNumber" /> ]</span></logic:equal |
107 | </logic:equal> |
- | |
108 | <logic:equal name="p" property="isCurrent" value="false"> |
107 | ><logic:equal name="p" property="isCurrent" value="false" |
109 | <a href="index.do?branch=<bean:write name="indexForm" property="branch" />&path=<bean:write name="indexForm" property="path" />&page=<bean:write name="p" property="number" />" class="ImagePaneRow"><bean:write name="p" property="displayNumber" /></a> |
108 | ><a href="index.do?branch=<bean:write name="indexForm" property="branch" />&path=<bean:write name="indexForm" property="path" />&page=<bean:write name="p" property="number" />" class="ImagePaneRow"><bean:write name="p" property="displayNumber" /></a></logic:equal> • |
110 | </logic:equal> |
- | |
111 | • |
- | |
112 | </logic:iterate> |
109 | </logic:iterate> |
113 | </td> |
110 | </td> |
114 | 111 | ||
115 | <logic:notPresent name="nextPage"> |
112 | <logic:notPresent name="nextPage"> |
116 | <td align=right class="IndexPage" style="width:150px"> </td> |
113 | <td align=right class="IndexPage" style="width:150px"> </td> |
117 | </logic:notPresent> |
114 | </logic:notPresent> |
118 | <logic:present name="nextPage"> |
115 | <logic:present name="nextPage"> |
119 | <td align=right class="IndexPage" style="width:150px"><a href="index.do?branch=<bean:write name="indexForm" property="branch" />&path=<bean:write name="indexForm" property="path" />&page=<bean:write name="nextPage" property="number" />" class="ImagePaneRow"><img |
116 | <td align=right class="IndexPage" style="width:150px"><a href="index.do?branch=<bean:write name="indexForm" property="branch" />&path=<bean:write name="indexForm" property="path" />&page=<bean:write name="nextPage" property="number" />" class="ImagePaneRow"><img |
120 | src="res/Forward.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Next page</a></td> |
117 | src="res/Forward.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Next page</a></td> |
121 | </logic:present> |
118 | </logic:present> |
122 | 119 | ||
123 | </tr> |
120 | </tr> |
124 | </table> |
121 | </table> |
125 | </logic:equal> |
122 | </logic:equal> |
126 | 123 | ||
127 | </div> |
124 | </div> |
128 | 125 | ||
129 | <div id="divActivity"> |
126 | <div id="divActivity"> |
130 | <div id="divImageActivity"> |
127 | <div id="divImageActivity"> |
131 | <table border="0" cellspacing="0" cellpadding="0" width="185"> |
128 | <table border="0" cellspacing="0" cellpadding="0" width="185"> |
132 | <tr> |
129 | <tr> |
133 | <td colspan="3" width="185" class="ImagePaneHeader">Image activities</td> |
130 | <td colspan="3" width="185" class="ImagePaneHeader">Image activities</td> |
134 | </tr> |
131 | </tr> |
135 | 132 | ||
136 | <logic:present name="top" property="path"> |
133 | <logic:present name="top" property="path"> |
137 | <tr> |
134 | <tr> |
138 | <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
135 | <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
139 | <td width="183" class="ImagePaneRow"><a href="index.do?branch=<bean:write name="indexForm" property="branch" />&path=<bean:write name="top" property="path" />&page=<bean:write name="top" property="page" />" |
136 | <td width="183" class="ImagePaneRow"><a href="index.do?branch=<bean:write name="indexForm" property="branch" />&path=<bean:write name="top" property="path" />&page=<bean:write name="top" property="page" />" |
140 | class="ImagePaneRow"><img |
137 | class="ImagePaneRow"><img |
141 | src="res/FolderUp.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Up one level</a></td> |
138 | src="res/FolderUp.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Up one level</a></td> |
142 | <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
139 | <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
143 | </tr> |
140 | </tr> |
144 | </logic:present> |
141 | </logic:present> |
145 | 142 | ||
146 | <logic:present name="nextPage"> |
143 | <logic:present name="nextPage"> |
147 | <tr> |
144 | <tr> |
148 | <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
145 | <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
149 | <td width="183" class="ImagePaneRow"><a href="index.do?branch=<bean:write name="indexForm" property="branch" />&path=<bean:write name="indexForm" property="path" />&page=<bean:write name="nextPage" property="number" />" class="ImagePaneRow"><img |
146 | <td width="183" class="ImagePaneRow"><a href="index.do?branch=<bean:write name="indexForm" property="branch" />&path=<bean:write name="indexForm" property="path" />&page=<bean:write name="nextPage" property="number" />" class="ImagePaneRow"><img |
150 | src="res/Forward.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Next page</a></td> |
147 | src="res/Forward.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Next page</a></td> |
151 | <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
148 | <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
152 | </tr> |
149 | </tr> |
153 | </logic:present> |
150 | </logic:present> |
154 | 151 | ||
155 | <logic:present name="prevPage"> |
152 | <logic:present name="prevPage"> |
156 | <tr> |
153 | <tr> |
157 | <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
154 | <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
158 | <td width="183" class="ImagePaneRow"><a href="index.do?branch=<bean:write name="indexForm" property="branch" />&path=<bean:write name="indexForm" property="path" />&page=<bean:write name="prevPage" property="number" />" class="ImagePaneRow"><img |
155 | <td width="183" class="ImagePaneRow"><a href="index.do?branch=<bean:write name="indexForm" property="branch" />&path=<bean:write name="indexForm" property="path" />&page=<bean:write name="prevPage" property="number" />" class="ImagePaneRow"><img |
159 | src="res/Back.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Previous page</a></td> |
156 | src="res/Back.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Previous page</a></td> |
160 | <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
157 | <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
161 | </tr> |
158 | </tr> |
162 | </logic:present> |
159 | </logic:present> |
163 | 160 | ||
164 | <tr> |
161 | <tr> |
165 | <td width="185" colspan="3" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
162 | <td width="185" colspan="3" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
166 | </tr> |
163 | </tr> |
167 | </table> |
164 | </table> |
168 | </div> |
165 | </div> |
169 | 166 | ||
170 | <div id="divInfoActivity"> |
167 | <div id="divInfoActivity"> |
171 | <table border="0" cellspacing="0" cellpadding="0" width="185"> |
168 | <table border="0" cellspacing="0" cellpadding="0" width="185"> |
172 | <tr> |
169 | <tr> |
173 | <td colspan="3" width="185" class="InfoPaneHeader">Information</td> |
170 | <td colspan="3" width="185" class="InfoPaneHeader">Information</td> |
174 | </tr> |
171 | </tr> |
175 | <tr> |
172 | <tr> |
176 | <td width="1" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
173 | <td width="1" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
177 | <td width="183" class="InfoPaneRow"> |
174 | <td width="183" class="InfoPaneRow"> |
178 | <logic:notEmpty name="current" property="comment"> |
175 | <logic:notEmpty name="current" property="comment"> |
179 | <bean:write name="current" property="comment" filter="false" /> |
176 | <bean:write name="current" property="comment" filter="false" /> |
180 | </logic:notEmpty> |
177 | </logic:notEmpty> |
181 | </td> |
178 | </td> |
182 | <td width="1" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
179 | <td width="1" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
183 | </tr> |
180 | </tr> |
184 | <tr> |
181 | <tr> |
185 | <td width="185" colspan="3" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
182 | <td width="185" colspan="3" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
186 | </tr> |
183 | </tr> |
187 | </table> |
184 | </table> |
188 | </div> |
185 | </div> |
189 | </div> |
186 | </div> |
190 | 187 | ||
191 | </body> |
188 | </body> |
192 | 189 | ||
193 | </html> |
190 | </html> |
194 | 191 |