21 lines
1.1 KiB
XML
21 lines
1.1 KiB
XML
<tal:main define="tool context/config">
|
|
<html metal:use-macro="context/ui/template/macros/main">
|
|
<metal:fill fill-slot="content"
|
|
tal:define="dummy python: contextObj.allows('View', raiseError=True);
|
|
errors python: req.get('errors', {});
|
|
layout python: contextObj.getPageLayout(layoutType);
|
|
phaseInfo python: contextObj.getAppyPhases(currentOnly=True, layoutType='view');
|
|
phase phaseInfo/name;
|
|
cssJs python: {};
|
|
page req/page|python:contextObj.getDefaultViewPage();
|
|
dummy python: contextObj.removeMyLock(user, page);
|
|
groupedWidgets python: contextObj.getGroupedAppyTypes(layoutType, page, cssJs=cssJs);"
|
|
tal:on-error="structure python: tool.manageError(error)">
|
|
|
|
<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>
|
|
</html>
|
|
</tal:main>
|