~vcs-imports/silva/trunk

« back to all changes in this revision

Viewing changes to views/edit/tab_preview_noframes.pt

  • Committer: sylvain
  • Date: 2010-11-17 15:00:53 UTC
  • Revision ID: vcs-imports@canonical.com-20101117150053-rwli0c5w5dw7f47m
Remove a bit of crazyness.

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 tal:omit-tag=""
3
 
  lang="en"
4
 
  xml:lang="en"
5
 
  xmlns="http://www.w3.org/1999/xhtml"
6
 
  xmlns:metal="http://xml.zope.org/namespaces/metal"
7
 
  xmlns:tal="http://xml.zope.org/namespaces/tal"
8
 
  xmlns:i18n="http://xml.zope.org/namespaces/i18n"
9
 
  tal:define="global vein string:preview; active_tab string:tab_preview"
10
 
  i18n:domain="silva">
11
 
 
12
 
<metal:block use-macro="here/macro_index/macros/master">
13
 
 
14
 
<metal:block fill-slot="frontend">
15
 
<link rel="stylesheet"
16
 
  type="text/css"
17
 
  tal:attributes="href here/frontend.css/absolute_url | nothing"
18
 
/>
19
 
</metal:block>
20
 
 
21
 
<metal:block fill-slot="style">
22
 
<style type="text/css">
23
 
body {
24
 
  /* reassert background */
25
 
  background-color: #8E98A2;
26
 
}
27
 
div.public {
28
 
  margin-left: 0;
29
 
  padding-top: 0;
30
 
}
31
 
h2 {
32
 
  margin-top: 0.3em;
33
 
}
34
 
</style>
35
 
 
36
 
<!-- override for specific css/js inclusion in the head -->
37
 
<link tal:replace="structure here/head_inject|nothing"/>
38
 
 
39
 
</metal:block>
40
 
 
41
 
  <metal:block metal:fill-slot="middleground">
42
 
    <tal:buttons tal:replace="structure model/@@tab_preview_extra" />
43
 
  </metal:block>
44
 
 
45
 
<metal:block fill-slot="main"
46
 
  tal:define="nottext python:model.meta_type == 'Silva Image'">
47
 
  <table class="columns columns3">
48
 
    <tbody>
49
 
      <tr>
50
 
        <tal:block replace="nothing">
51
 
          _____________________ sidebar _____________________
52
 
        </tal:block>
53
 
        <td class="left" tal:define="template_id string:tab_preview">
54
 
          <metal:block use-macro="here/macro_vein_navigation/macros/vein" />
55
 
        </td>
56
 
        <tal:block replace="nothing">
57
 
          _____________________ main _____________________
58
 
        </tal:block>
59
 
        <td class="main">
60
 
        <tal:block replace="nothing">
61
 
          ______________ content area, here the XML is rendered in HTML ______________ 
62
 
        </tal:block>
63
 
          <div class="preview"
64
 
            tal:omit-tag="nottext">
65
 
            <div class="public"
66
 
              tal:content="structure model/preview">
67
 
              <!-- this text is replaced by Silva content -->
68
 
            </div>
69
 
          </div>
70
 
        </td>
71
 
        <td class="right">
72
 
        </td>
73
 
      </tr>
74
 
    </tbody>
75
 
  </table>
76
 
</metal:block>
77
 
 
78
 
</metal:block>
79
 
</html>