Subversion Repositories general

Rev

Rev 1243 | Rev 1252 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>

<head>
  <link href="res/styles.css" rel="stylesheet">
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
<logic:empty name="current" property="title">
  <title>Index</title>
</logic:empty>
<logic:notEmpty name="current" property="title">
  <title><bean:write name="current" property="title" /></title>
</logic:notEmpty>
</head>

<body bgcolor="white" id="index">

<script language="javascript">
if (navigator.userAgent.indexOf('Gecko')!=-1)
  document.write('<style>\ndiv.Photo {\n display: table-cell;\n}\n</style>');
</script>

<div id="divMainHeader">
<logic:empty name="current" property="title">Index</logic:empty>
<logic:notEmpty name="current" property="title"><bean:write name="current" property="title" /></logic:notEmpty>
<logic:notEmpty name="current" property="subtitle">
  <div id="divMainSubtitle"><bean:write name="current" property="subtitle" filter="false" /></div>
</logic:notEmpty>
</div>

<div id="divMain">

<logic:iterate name="index" id="row">
  <logic:iterate name="row" id="entry">
    <logic:present name="entry">
      <logic:equal name="entry" property="isDir" value="true">

        <div class="Photo" align="center">
          <div class="imgBorder" align="center"><a href="index.do?path=<bean:write name="entry" property="path" />"><img src="dir.do?path=<bean:write name="entry" property="path" />"
            alt="<bean:write name="entry" property="title" />"
            width="<bean:write name="entry" property="width" />"
            height="<bean:write name="entry" property="height" />"
            border="0"/></a></div><a href="index.do?path=<bean:write name="entry" property="path" />"
              class="Photo">
              <bean:write name="entry" property="title" />
              <logic:notEmpty name="entry" property="subtitle">
                <br><bean:write name="entry" property="subtitle" filter="false" />
              </logic:notEmpty>
            </a>
        </div>

      </logic:equal>
      <logic:equal name="entry" property="isDir" value="false">

        <div class="Photo" align="center">
          <div class="imgBorder" align="center"><a href="page.do?path=<bean:write name="entry" property="path" />"><img src="small.do?path=<bean:write name="entry" property="path" />"
            alt="<bean:write name="entry" property="title" />"
            width="<bean:write name="entry" property="width" />"
            height="<bean:write name="entry" property="height" />"
            border="0"/></a></div><a href="page.do?path=<bean:write name="entry" property="path" />"
              class="Photo">
              <bean:write name="entry" property="title" />
              <logic:notEmpty name="entry" property="subtitle">
                <br><bean:write name="entry" property="subtitle" filter="false" />
              </logic:notEmpty>
            </a>
        </div>
        
      </logic:equal>
    </logic:present>
  </logic:iterate>

  <script language="JavaScript">
  if (navigator.userAgent.indexOf('Gecko')!=-1)
    document.writeln('<br/>');
  </script>

</logic:iterate>

<logic:equal name="severalPages" value="true">
<table style="width:610px" border=0>
  <tr>

<logic:notPresent name="prevPage">
    <td align=left class="IndexPage" style="width:150px">&nbsp;</td>
</logic:notPresent>
<logic:present name="prevPage">
    <td align=left class="IndexPage" style="width:150px"><a href="index.do?path=<bean:write name="indexForm" property="path" />&amp;page=<bean:write name="prevPage" property="number" />" class="ImagePaneRow"><img
      src="res/Back.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Previous page</a></td>
</logic:present>

<td align=center class="IndexPage">
&sdot;
<logic:iterate name="pages" id="p">
  <logic:equal name="p" property="isCurrent" value="true">
    <span style="color:black"><bean:write name="p" property="displayNumber" /></span>
  </logic:equal>
  <logic:equal name="p" property="isCurrent" value="false">
    <a href="index.do?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>
  &sdot;
</logic:iterate>
</td>

<logic:notPresent name="nextPage">
    <td align=right class="IndexPage" style="width:150px">&nbsp;</td>
</logic:notPresent>
<logic:present name="nextPage">
    <td align=right class="IndexPage" style="width:150px"><a href="index.do?path=<bean:write name="indexForm" property="path" />&amp;page=<bean:write name="nextPage" property="number" />" class="ImagePaneRow"><img
      src="res/Forward.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Next page</a></td>
</logic:present>

  </tr>
</table>
</logic:equal>

</div>

<div id="divActivity">
  <div id="divImageActivity">
    <table border="0" cellspacing="0" cellpadding="0" width="185">
      <tr>
        <td colspan="3" width="185" class="ImagePaneHeader">Image activities</td>
      </tr>

      <logic:present name="top" property="path">
      <tr>
        <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
        <td width="183" class="ImagePaneRow"><a href="index.do?path=<bean:write name="top" property="path" />"
          class="ImagePaneRow"><img
          src="res/FolderUp.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Up one level</a></td>
        <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
      </tr>
      </logic:present>

      <logic:present name="nextPage">
      <tr>
        <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
        <td width="183" class="ImagePaneRow"><a href="index.do?path=<bean:write name="indexForm" property="path" />&amp;page=<bean:write name="nextPage" property="number" />" class="ImagePaneRow"><img
          src="res/Forward.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Next page</a></td>
        <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
      </tr>
      </logic:present>

      <logic:present name="prevPage">
      <tr>
        <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
        <td width="183" class="ImagePaneRow"><a href="index.do?path=<bean:write name="indexForm" property="path" />&amp;page=<bean:write name="prevPage" property="number" />" class="ImagePaneRow"><img
          src="res/Back.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Previous page</a></td>
        <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
      </tr>
      </logic:present>

      <tr>
        <td width="185" colspan="3" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
      </tr>
    </table>
  </div>

  <div id="divInfoActivity">
    <table border="0" cellspacing="0" cellpadding="0" width="185">
      <tr>
        <td colspan="3" width="185" class="InfoPaneHeader">Information</td>
      </tr>
      <tr>
        <td width="1" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
        <td width="183" class="InfoPaneRow">
          <logic:notEmpty name="current" property="comment">
            <p><bean:write name="current" property="comment" filter="false" /></p>
          </logic:notEmpty>
          <br>
        </td>
        <td width="1" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
      </tr>
      <tr>
        <td width="185" colspan="3" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
      </tr>
    </table>
  </div>
</div>

</body>

</html>