Subversion Repositories general

Rev

Rev 1267 | 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;
1291 dev 104
<logic:iterate name="pages" id="p"
105
  ><logic:equal name="p" property="isCurrent" value="true"
106
    ><span style="color:black">[&nbsp;<bean:write name="p" property="displayNumber" />&nbsp;]</span></logic:equal
107
  ><logic:equal name="p" property="isCurrent" value="false"
108
    ><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></logic:equal>&nbsp;&bull;
1243 dev 109
</logic:iterate>
1244 dev 110
</td>
1243 dev 111
 
112
<logic:notPresent name="nextPage">
1244 dev 113
    <td align=right class="IndexPage" style="width:150px">&nbsp;</td>
1243 dev 114
</logic:notPresent>
115
<logic:present name="nextPage">
1252 dev 116
    <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 117
      src="res/Forward.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Next page</a></td>
1243 dev 118
</logic:present>
119
 
1244 dev 120
  </tr>
121
</table>
1243 dev 122
</logic:equal>
123
 
1244 dev 124
</div>
125
 
126
<div id="divActivity">
127
  <div id="divImageActivity">
128
    <table border="0" cellspacing="0" cellpadding="0" width="185">
129
      <tr>
130
        <td colspan="3" width="185" class="ImagePaneHeader">Image activities</td>
131
      </tr>
132
 
133
      <logic:present name="top" property="path">
134
      <tr>
135
        <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
1267 dev 136
        <td width="183" class="ImagePaneRow"><a href="index.do?branch=<bean:write name="indexForm" property="branch" />&amp;path=<bean:write name="top" property="path" />&amp;page=<bean:write name="top" property="page" />"
1244 dev 137
          class="ImagePaneRow"><img
138
          src="res/FolderUp.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Up one level</a></td>
139
        <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
140
      </tr>
141
      </logic:present>
142
 
143
      <logic:present name="nextPage">
144
      <tr>
145
        <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
1252 dev 146
        <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 147
          src="res/Forward.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Next page</a></td>
148
        <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
149
      </tr>
150
      </logic:present>
151
 
152
      <logic:present name="prevPage">
153
      <tr>
154
        <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
1252 dev 155
        <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 156
          src="res/Back.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Previous page</a></td>
157
        <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
158
      </tr>
159
      </logic:present>
160
 
161
      <tr>
162
        <td width="185" colspan="3" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
163
      </tr>
164
    </table>
165
  </div>
166
 
167
  <div id="divInfoActivity">
168
    <table border="0" cellspacing="0" cellpadding="0" width="185">
169
      <tr>
170
        <td colspan="3" width="185" class="InfoPaneHeader">Information</td>
171
      </tr>
172
      <tr>
173
        <td width="1" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
174
        <td width="183" class="InfoPaneRow">
175
          <logic:notEmpty name="current" property="comment">
1246 dev 176
            <bean:write name="current" property="comment" filter="false" />
1244 dev 177
          </logic:notEmpty>
936 dev 178
        </td>
1244 dev 179
        <td width="1" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
180
      </tr>
181
      <tr>
182
        <td width="185" colspan="3" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
183
      </tr>
184
    </table>
185
  </div>
186
</div>
936 dev 187
 
188
</body>
189
 
190
</html>
1244 dev 191