Subversion Repositories general

Rev

Rev 1246 | Rev 1267 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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