Subversion Repositories general

Rev

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">

<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">

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

<table cellpadding=0 cellspacing=0>
<logic:iterate name="index" id="row">

  <tr>
  <logic:iterate name="row" id="entry">

    <td valign=top>
    <logic:present name="entry">
      <logic:equal name="entry" property="isDir" value="true">

        <div class="Photo" align="center">
          <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" />"
            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?branch=<bean:write name="indexForm" property="branch" />&amp;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?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" />"
            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?branch=<bean:write name="indexForm" property="branch" />&amp;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:notPresent name="entry">
      &nbsp;
    </logic:notPresent>
    </td>

  </logic:iterate>
  </tr>

</logic:iterate>
</table>

<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?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
      src="res/Back.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Previous page</a></td>
</logic:present>

<td align=center class="IndexPage">
&bull;
<logic:iterate name="pages" id="p">
  <logic:equal name="p" property="isCurrent" value="true">
    <span style="color:black">[&nbsp;<bean:write name="p" property="displayNumber" />&nbsp;]</span>
  </logic:equal>
  <logic:equal name="p" property="isCurrent" value="false">
    <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>
  &bull;
</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?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
      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?branch=<bean:write name="indexForm" property="branch" />&amp;path=<bean:write name="top" property="path" />&amp;page=<bean:write name="top" property="page" />"
          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?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
          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?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
          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">
            <bean:write name="current" property="comment" filter="false" />
          </logic:notEmpty>
        </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>