~ubuntu-branches/ubuntu/raring/schooltool.intervention/raring

« back to all changes in this revision

Viewing changes to src/schooltool/intervention/browser/goal_edit.pt

  • Committer: Bazaar Package Importer
  • Author(s): Gediminas Paulauskas
  • Date: 2011-02-24 17:10:33 UTC
  • Revision ID: james.westby@ubuntu.com-20110224171033-8wflfqxxe3zld6bf
Tags: upstream-0.4.2
ImportĀ upstreamĀ versionĀ 0.4.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html metal:use-macro="context/@@standard_macros/page"
 
2
      i18n:domain="schooltool.intervention">
 
3
<body>
 
4
 
 
5
<span metal:fill-slot="zonki">
 
6
  <img src="zonki.png" alt="SchoolTool" i18n:attributes="alt"
 
7
    tal:attributes="src context/++resource++zonki-question.png" /> 
 
8
</span>
 
9
 
 
10
<div metal:fill-slot="body">
 
11
 
 
12
<style type="text/css">
 
13
  td {
 
14
    padding-left:4px;
 
15
  }
 
16
</style>
 
17
 
 
18
  <form tal:attributes="action request/URL" class="standalone" style="width: 65em"
 
19
        method="post" enctype="multipart/form-data">
 
20
 
 
21
      <h3 tal:condition="view/label"
 
22
          tal:content="view/label" />
 
23
 
 
24
      <p tal:define="status view/update"
 
25
         tal:condition="status"
 
26
         tal:content="nothing" />
 
27
 
 
28
      <p tal:condition="view/errors" i18n:translate="">
 
29
        There are <strong tal:content="python:len(view.errors)"
 
30
                          i18n:name="num_errors">6</strong> input errors.
 
31
      </p>
 
32
 
 
33
<div class="row" style="width: 45em"
 
34
     tal:define="widget nocall:view/persons_responsible_widget">
 
35
  <div metal:use-macro="context/@@form_macros/widget_fieldset_row" />
 
36
</div>
 
37
 
 
38
<table style="margin: 1ex 1em 1ex 1em;">
 
39
  <tr>
 
40
    <td>
 
41
      <div class="row" tal:define="widget nocall:view/presenting_concerns_widget">
 
42
        <div metal:use-macro="context/@@form_macros/widget_split_row" />
 
43
      </div>
 
44
    </td>
 
45
    <td>
 
46
      <div class="row" tal:define="widget nocall:view/goal_widget">
 
47
        <div metal:use-macro="context/@@form_macros/widget_split_row" />
 
48
      </div>
 
49
    </td>
 
50
  </tr>
 
51
 
 
52
  <tr>
 
53
    <td>
 
54
      <div class="row" tal:define="widget nocall:view/strengths_widget">
 
55
        <div metal:use-macro="context/@@form_macros/widget_split_row" />
 
56
      </div>
 
57
    </td>
 
58
    <td>
 
59
      <div class="row" tal:define="widget nocall:view/indicators_widget">
 
60
        <div metal:use-macro="context/@@form_macros/widget_split_row" />
 
61
      </div>
 
62
    </td>
 
63
  </tr>
 
64
 
 
65
  <tr>
 
66
    <td>
 
67
      <div class="row" tal:define="widget nocall:view/intervention_widget">
 
68
        <div metal:use-macro="context/@@form_macros/widget_split_row" />
 
69
      </div>
 
70
    </td>
 
71
    <td>
 
72
      <div class="row" tal:define="widget nocall:view/timeline_widget">
 
73
            <div metal:use-macro="context/@@form_macros/widget_row" />
 
74
      </div>
 
75
      </td>
 
76
  </tr>
 
77
 
 
78
  <tr>
 
79
    <td>
 
80
      <div class="row" tal:define="widget nocall:view/goal_met_widget">
 
81
        <div metal:use-macro="context/@@form_macros/widget_row" />
 
82
      </div>
 
83
    </td>
 
84
    <td>
 
85
      <div class="row" tal:define="widget nocall:view/follow_up_notes_widget">
 
86
        <div metal:use-macro="context/@@form_macros/widget_split_row" />
 
87
      </div>
 
88
    </td>
 
89
  </tr>
 
90
</table>
 
91
 
 
92
    <div class="controls">
 
93
      <tal:block metal:use-macro="view/@@standard_macros/apply-button" />
 
94
      <tal:block metal:use-macro="view/@@standard_macros/cancel-button" />
 
95
    </div>
 
96
 
 
97
  </form>
 
98
 
 
99
</div>
 
100
</body>
 
101
</html>