~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/blueprints/templates/specifications-index.pt

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-22 04:55:30 UTC
  • mfrom: (14577.1.1 testfix)
  • Revision ID: launchpad@pqm.canonical.com-20111222045530-wki9iu6c0ysqqwkx
[r=wgrant][no-qa] Fix test_publisherconfig lpstorm import. Probably a
        silent conflict between megalint and apocalypse.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html
 
2
  xmlns="http://www.w3.org/1999/xhtml"
 
3
  xmlns:tal="http://xml.zope.org/namespaces/tal"
 
4
  xmlns:metal="http://xml.zope.org/namespaces/metal"
 
5
  xmlns:i18n="http://xml.zope.org/namespaces/i18n"
 
6
  metal:use-macro="view/macro:page/main_only"
 
7
  i18n:domain="launchpad">
 
8
  <body>
 
9
    <div metal:fill-slot="main">
 
10
 
 
11
      <ul class="buttons">
 
12
        <li>
 
13
          <a href="/+tour/feature-tracking"
 
14
             tal:attributes="href string:${rooturl}+tour/feature-tracking">
 
15
            <img
 
16
              alt="Take a tour"
 
17
              src="/+icing/but-lrg-takeatour.gif"
 
18
              />
 
19
          </a>
 
20
        </li>
 
21
        <li>
 
22
          <a href="+new" id="addspec">
 
23
            <img
 
24
              alt="Register a blueprint"
 
25
              src="/+icing/but-lrg-registeraspec.gif"
 
26
              />
 
27
          </a>
 
28
        </li>
 
29
      </ul>
 
30
 
 
31
      <form id="search-all-specifications" class="central" action="" method="get"
 
32
            tal:attributes="action request/URL">
 
33
        <table>
 
34
          <tbody>
 
35
            <tr>
 
36
              <td style="text-align: right;">
 
37
                <input
 
38
                  id="text"
 
39
                  type="text"
 
40
                  name="field.search_text"
 
41
                  size="50"
 
42
                  tal:attributes="value view/searchtext"
 
43
                />
 
44
              </td>
 
45
              <td>
 
46
                <input tal:replace="structure view/search_action/render"/>
 
47
              </td>
 
48
            </tr>
 
49
            <tr>
 
50
              <td colspan="2"
 
51
                tal:attributes="class view/scope_css_class">
 
52
                <input tal:replace="structure view/widgets/scope" />
 
53
                <div class="message"
 
54
                  tal:condition="view/widgets/scope/error"
 
55
                  tal:content="view/widgets/scope/error">
 
56
                  Error message
 
57
                </div>
 
58
                <script type="text/javascript"
 
59
                  tal:define="script view/focusedElementScript"
 
60
                  tal:condition="script"
 
61
                  tal:content="structure script" ></script>
 
62
              </td>
 
63
            </tr>
 
64
          </tbody>
 
65
        </table>
 
66
      </form>
 
67
      <script type="text/javascript"><!--
 
68
         setFocusByName('field.search_text');
 
69
       // --></script>
 
70
 
 
71
      <tal:searchresults condition="view/searchrequested"
 
72
                         define="specs view/specs" >
 
73
        <p tal:condition="specs">
 
74
          <span tal:replace="view/spec_count" />
 
75
          blueprint(s) matching
 
76
          &#8220;<tal:string replace="view/searchtext" />&#8221;
 
77
        </p>
 
78
 
 
79
        <tal:nomatches condition="not: specs"
 
80
                       replace="structure context/@@+nomatches" />
 
81
 
 
82
        <table id="specs-table">
 
83
          <tr tal:repeat="spec specs"
 
84
              tal:replace="structure spec/@@+listing-simple" />
 
85
        </table>
 
86
 
 
87
      </tal:searchresults>
 
88
      <tal:nosearchresults condition="not:view/searchrequested">
 
89
        <p id="application-summary">
 
90
          With Launchpad you can track blueprints
 
91
          (lightweight feature specifications) from discussion through to
 
92
          review, approval, and implementation. (<a href="https://help.launchpad.net/Blueprint">Read our guide</a>)
 
93
        </p>
 
94
        <div class="columns">
 
95
          <div class="three column left"
 
96
               tal:content="structure context/@@+portlet-latestregistered">
 
97
          </div>
 
98
          <div class="three column middle"
 
99
               tal:content="structure context/@@+portlet-latestcompleted">
 
100
          </div>
 
101
          <div class="three column right"
 
102
               tal:content="structure context/@@+portlet-sprints" />
 
103
        </div>
 
104
        <div id="application-footer">
 
105
          <tal:stats replace="structure context/@@+portlet-stats" />
 
106
        </div>
 
107
      </tal:nosearchresults>
 
108
 
 
109
    </div><!--main-->
 
110
  </body>
 
111
</html>