|
| 1 | +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" |
| 2 | + xmlns:tal="http://xml.zope.org/namespaces/tal" |
| 3 | + xmlns:metal="http://xml.zope.org/namespaces/metal" |
| 4 | + xmlns:i18n="http://xml.zope.org/namespaces/i18n" |
| 5 | + lang="en" |
| 6 | + metal:use-macro="context/main_template/macros/master" |
| 7 | + i18n:domain="collective.dms.mailcontent"> |
| 8 | + |
| 9 | +<metal:js fill-slot="javascript_head_slot"> |
| 10 | + <!--[if (!IE)|(gte IE 8)]> |
| 11 | + <!--> |
| 12 | + <link href="/viewer/viewer-datauri.css" media="screen" rel="stylesheet" type="text/css" |
| 13 | + tal:attributes="href string:${view/dvstatic}/assets/viewer-datauri.css" /> |
| 14 | + <!--<![endif]--> |
| 15 | + <!--[if lte IE 7]> |
| 16 | + <link href="/viewer/viewer.css" media="screen" rel="stylesheet" type="text/css" |
| 17 | + tal:attributes="href string:${view/dvstatic}/assets/viewer.css" /> |
| 18 | + <![endif]--> |
| 19 | + |
| 20 | + <script src="/dv_javascript_variables.js" |
| 21 | + tal:attributes="src string:${portal_url}/dv_javascript_variables.js"></script> |
| 22 | + <link href="/viewer/printviewer.css" media="print" rel="stylesheet" type="text/css" |
| 23 | + tal:attributes="href string:${view/dvstatic}/assets/printviewer.css" /> |
| 24 | + <script src="/viewer/viewer.js" |
| 25 | + tal:attributes="src string:${view/dvstatic}/assets/viewer.js"></script> |
| 26 | + <script src="/viewer/viewer.js" |
| 27 | + tal:attributes="src string:${view/dvstatic}/javascripts/viewer.js"></script> |
| 28 | + |
| 29 | +</metal:js> |
| 30 | + |
| 31 | +<metal:css fill-slot="style_slot"> |
| 32 | + <link rel="stylesheet" type="text/css" media="screen" href="group.css" |
| 33 | + tal:attributes="href string:${context/portal_url}/++resource++dv.resources/stylesheets/viewer.css" /> |
| 34 | +</metal:css> |
| 35 | + |
| 36 | +<body> |
| 37 | + <metal:desc fill-slot="content-description"> |
| 38 | + <div metal:use-macro="context/kss_generic_macros/macros/generic_description_view"> |
| 39 | + <metal:inside fill-slot="inside"> |
| 40 | + <span tal:content="context/Description" class="dms-description">Description</span> |
| 41 | + </metal:inside> |
| 42 | + </div> |
| 43 | + </metal:desc> |
| 44 | + |
| 45 | +<metal:main fill-slot="content-core"> |
| 46 | + <metal:content-core define-macro="content-core"> |
| 47 | + |
| 48 | + <tal:abovecontent replace="structure provider:dms.abovecontent" /> |
| 49 | + |
| 50 | + <div id="fields" style="float:left; width: 50%;"> |
| 51 | + <tal:block repeat="widget view/widgets/values"> |
| 52 | + <tal:block tal:condition="python:widget.__name__ not in ('IBasic.title', 'IBasic.description', 'title', 'description',)"> |
| 53 | + <tal:widget tal:replace="structure widget/@@ploneform-render-widget"/> |
| 54 | + </tal:block> |
| 55 | + </tal:block> |
| 56 | + |
| 57 | + <fieldset tal:repeat="group view/groups" |
| 58 | + tal:attributes="id python:''.join((group.prefix, 'groups.', group.__name__)).replace('.', '-')"> |
| 59 | + <legend> |
| 60 | + <span tal:content="group/label" style="padding-right: 5px"></span> |
| 61 | + <tal:widget tal:replace="structure context/@@signing_actions_panel"/> |
| 62 | + </legend> |
| 63 | + <tal:block tal:repeat="widget group/widgets/values"> |
| 64 | + <tal:widget tal:replace="structure widget/@@ploneform-render-widget"/> |
| 65 | + </tal:block> |
| 66 | + </fieldset> |
| 67 | + |
| 68 | + </div> |
| 69 | + |
| 70 | + <div style="clear:left"></div> |
| 71 | + <tal:belowcontent replace="structure provider:dms.belowcontent" /> |
| 72 | + <div style="clear:both"></div> |
| 73 | + |
| 74 | + </metal:content-core> |
| 75 | +</metal:main> |
| 76 | + |
| 77 | +</body> |
| 78 | +</html> |
0 commit comments