~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/browse.pt

  • Committer: Tres Seaver
  • Date: 2010-03-23 15:44:51 UTC
  • mto: This revision was merged to the branch mainline in revision 405.
  • Revision ID: tseaver@agendaless.com-20100323154451-enjul7pa2crkk18b
Add Sphinx-based documentation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
2
<html xmlns="http://www.w3.org/1999/xhtml">
 
3
  <head>
 
4
    <title>loggerhead branches</title>
 
5
    <link rel="stylesheet"
 
6
          tal:attributes="href python:branch.static_url('/static/css/global.css')" />
 
7
  </head>
 
8
 
 
9
  <body>
 
10
   <div id="loggerheadCont">
 
11
    <div>
 
12
      <div class="browse-project"
 
13
           tal:repeat="project projects">
 
14
        <h1 tal:content="project/friendly_name" />
 
15
        <div class="browse-project-description"
 
16
             tal:condition="python:len(project.long_description) > 0"
 
17
             tal:content="structure project/long_description"></div>
 
18
 
 
19
          <table id="logentries">
 
20
            <tr class="logheader">
 
21
              <th class="summarycell" colspan="2">Name</th>
 
22
              <th class="summarycell">Description</th>
 
23
              <th class="datecell" colspan="2">Last change</th>
 
24
            </tr>
 
25
            <tal:block repeat="view python:views_by_project[project]">
 
26
              <tr tal:attributes="class string:blueRow1">
 
27
                <td class="icocell">
 
28
                  <img tal:attributes="src python:branch.static_url('/static/images/ico_branch.gif')" alt="Branch" />
 
29
                </td>
 
30
                <td class="autcell">
 
31
                    <a tal:attributes="href python:branch.static_url(project.name + '/' +  view.name)" 
 
32
                       tal:content="view/friendly_name" />
 
33
                </td>
 
34
                <td class="autcell"
 
35
                    tal:content="view/description" />
 
36
                <td class="date"
 
37
                    tal:content="python:view.get_history().has_revisions and util._approximatedate(view.last_updated()) or '(no revisions)'" />
 
38
                <td class="icocell">
 
39
                  <a tal:attributes="href python:branch.static_url(project.name + '/' +  view.name + '/atom')"
 
40
                     title="atom feed">
 
41
                    <img tal:attributes="src python:branch.static_url('/static/images/ico_rss.gif')"
 
42
                         alt="atom feed" />
 
43
                  </a>
 
44
                </td>
 
45
              </tr>
 
46
              <tr tal:condition="view/served_url">
 
47
                <td class="name">
 
48
                </td>
 
49
                <td class="description url" colspan="2">
 
50
                  <a tal:attributes="href view/served_url"
 
51
                     tal:content="view/served_url" />
 
52
                </td>
 
53
              </tr>
 
54
            </tal:block>
 
55
          </table>
 
56
      </div>
 
57
    </div>
 
58
  </div>
 
59
  </body>
 
60
</html>