~mnordhoff/loggerhead/cheezum

« back to all changes in this revision

Viewing changes to loggerhead/templates/browse.pt

  • Committer: Guillermo Gonzalez
  • Date: 2008-09-09 04:06:13 UTC
  • mfrom: (164.18.28 trunk)
  • mto: (164.35.3 trunk)
  • mto: This revision was merged to the branch mainline in revision 242.
  • Revision ID: guillo.gonzo@gmail.com-20080909040613-vuu54qaowgwz4cot
 merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
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" metal:use-macro="macros/main">
 
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
3
  <head>
4
 
    <title metal:fill-slot="title">
5
 
      loggerhead branches
6
 
    </title>
 
4
    <title>loggerhead branches</title>
 
5
    <link rel="stylesheet"
 
6
          tal:attributes="href python:branch.static_url('/static/css/global.css')" />
7
7
  </head>
8
8
 
9
9
  <body>
10
 
 
11
 
    <h1 metal:fill-slot="heading" style="padding-bottom: 1em">
12
 
      <tal:title condition="title" content="title" />
13
 
      <tal:no-title condition="not:title">
14
 
        bazaar branches in loggerhead
15
 
      </tal:no-title>
16
 
    </h1>
17
 
 
18
 
    <div metal:fill-slot="content">
 
10
   <div id="loggerheadCont">
 
11
    <div>
19
12
      <div class="browse-project"
20
13
           tal:repeat="project projects">
21
 
        <div class="browse-project-name"
22
 
             tal:content="project/friendly_name"></div>
23
 
 
 
14
        <h1 tal:content="project/friendly_name" />
24
15
        <div class="browse-project-description"
25
16
             tal:condition="python:len(project.long_description) > 0"
26
17
             tal:content="structure project/long_description"></div>
27
18
 
28
 
        <div class="browse-view">
29
 
          <table>
30
 
            <tr class="heading">
31
 
              <th>Name</th>
32
 
              <th>Description</th>
33
 
              <th>Last change</th>
34
 
              <th />
 
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>
35
24
            </tr>
36
25
            <tal:block repeat="view python:views_by_project[project]">
37
 
              <tr>
38
 
                <td class="name">
39
 
                  <a tal:attributes="href python:branch.static_url(project.name + '/' +  view.name)"
40
 
                     tal:content="view/friendly_name">
41
 
                    ${view.friendly_name}
42
 
                  </a>
43
 
                </td>
44
 
                <td class="description"
45
 
                    tal:content="view/description">
46
 
                  ${view.description}
47
 
                </td>
48
 
                <td class="last-update"
49
 
                    tal:content="python:view.get_history().has_revisions and util._approximatedate(view.last_updated()) or '(no revisions)'"></td>
50
 
                <td class="feed">
 
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')" />
 
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">
51
39
                  <a tal:attributes="href python:branch.static_url(project.name + '/' +  view.name + '/atom')"
52
40
                     title="atom feed">
53
 
                    <img tal:attributes="src python:branch.static_url('/static/images/feed-icon-16x16.gif')"
 
41
                    <img tal:attributes="src python:branch.static_url('/static/images/ico_rss.gif')"
54
42
                         alt="atom feed" />
55
43
                  </a>
56
44
                </td>
60
48
                </td>
61
49
                <td class="description url" colspan="2">
62
50
                  <a tal:attributes="href view/branch_url"
63
 
                     tal:content="view/branch_url">
64
 
                    ${view.branch_url}
65
 
                  </a>
 
51
                     tal:content="view/branch_url" />
66
52
                </td>
67
53
              </tr>
68
54
            </tal:block>
69
55
          </table>
70
 
        </div>
71
 
 
72
56
      </div>
73
57
    </div>
 
58
  </div>
74
59
  </body>
75
60
</html>