2011-11-25 11:01:20 -06:00
|
|
|
<tal:main define="tool context/config">
|
|
|
|
<html metal:use-macro="context/ui/template/macros/main">
|
|
|
|
<metal:fill fill-slot="content"
|
2012-11-29 13:45:21 -06:00
|
|
|
tal:define="dummy python: contextObj.allows('View', raiseError=True);
|
2012-05-05 10:04:19 -05:00
|
|
|
errors python: req.get('errors', {});
|
|
|
|
layout python: contextObj.getPageLayout(layoutType);
|
|
|
|
phaseInfo python: contextObj.getAppyPhases(currentOnly=True, layoutType='view');
|
|
|
|
phase phaseInfo/name;
|
2012-10-03 07:44:34 -05:00
|
|
|
cssJs python: {};
|
2012-06-02 10:39:05 -05:00
|
|
|
page req/page|python:contextObj.getDefaultViewPage();
|
2012-10-03 07:44:34 -05:00
|
|
|
groupedWidgets python: contextObj.getGroupedAppyTypes(layoutType, page, cssJs=cssJs);"
|
2012-01-04 11:03:46 -06:00
|
|
|
tal:on-error="structure python: tool.manageError(error)">
|
2012-10-03 07:44:34 -05:00
|
|
|
|
|
|
|
<metal:prologue use-macro="context/ui/page/macros/prologue"/>
|
|
|
|
<metal:show use-macro="context/ui/page/macros/show"/>
|
|
|
|
<metal:footer use-macro="context/ui/page/macros/footer"/>
|
|
|
|
</metal:fill>
|
2011-11-25 11:01:20 -06:00
|
|
|
</html>
|
|
|
|
</tal:main>
|