-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
128 additions
and
77 deletions.
There are no files selected for viewing
43 changes: 24 additions & 19 deletions
43
plone/app/registry/browser/templates/controlpanel_layout.pt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,36 @@ | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" | ||
xmlns:tal="http://xml.zope.org/namespaces/tal" | ||
xmlns:metal="http://xml.zope.org/namespaces/metal" | ||
<html xmlns="http://www.w3.org/1999/xhtml" | ||
xmlns:i18n="http://xml.zope.org/namespaces/i18n" | ||
xmlns:metal="http://xml.zope.org/namespaces/metal" | ||
xmlns:tal="http://xml.zope.org/namespaces/tal" | ||
lang="en" | ||
metal:use-macro="context/@@prefs_main_template/macros/master" | ||
i18n:domain="plone"> | ||
xml:lang="en" | ||
i18n:domain="plone" | ||
> | ||
|
||
<body> | ||
<tal:main metal:fill-slot="prefs_configlet_main"> | ||
<body> | ||
<tal:main metal:fill-slot="prefs_configlet_main"> | ||
|
||
<header> | ||
<header> | ||
|
||
<h1 tal:content="view/label">View Title</h1> | ||
<p class="lead" tal:condition="view/description | nothing" tal:content="structure view/description">View Description</p> | ||
<h1 tal:content="view/label">View Title</h1> | ||
<p class="lead" | ||
tal:condition="view/description | nothing" | ||
tal:content="structure view/description" | ||
>View Description</p> | ||
|
||
</header> | ||
</header> | ||
|
||
<div metal:use-macro="context/@@global_statusmessage/macros/portal_message"> | ||
<div metal:use-macro="context/@@global_statusmessage/macros/portal_message"> | ||
Portal status message | ||
</div> | ||
</div> | ||
|
||
<div id="content-core"> | ||
<div id="layout-contents"> | ||
<span tal:replace="structure view/contents" /> | ||
</div> | ||
</div> | ||
<div id="content-core"> | ||
<div id="layout-contents"> | ||
<span tal:replace="structure view/contents"></span> | ||
</div> | ||
</div> | ||
|
||
</tal:main> | ||
</body> | ||
</tal:main> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,60 @@ | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" | ||
xmlns:tal="http://xml.zope.org/namespaces/tal" | ||
xmlns:metal="http://xml.zope.org/namespaces/metal" | ||
<html xmlns="http://www.w3.org/1999/xhtml" | ||
xmlns:i18n="http://xml.zope.org/namespaces/i18n" | ||
xmlns:metal="http://xml.zope.org/namespaces/metal" | ||
xmlns:tal="http://xml.zope.org/namespaces/tal" | ||
lang="en" | ||
metal:use-macro="context/@@prefs_main_template/macros/master" | ||
i18n:domain="plone"> | ||
xml:lang="en" | ||
i18n:domain="plone" | ||
> | ||
|
||
<metal:block fill-slot="top_slot" | ||
tal:define="dummy python:request.set('disable_border',1)" /> | ||
<metal:block fill-slot="top_slot" | ||
tal:define=" | ||
dummy python:request.set('disable_border',1); | ||
" | ||
/> | ||
|
||
<body> | ||
<div id="content" metal:fill-slot="prefs_configlet_content"> | ||
<body> | ||
<div id="content" | ||
metal:fill-slot="prefs_configlet_content" | ||
> | ||
|
||
<h1 class="documentFirstHeading" i18n:translate="">Delete Record</h1> | ||
<h1 class="documentFirstHeading" | ||
i18n:translate="" | ||
>Delete Record</h1> | ||
|
||
<p class="documentDescription" i18n:translate="description_record_delete"> | ||
<p class="documentDescription" | ||
i18n:translate="description_record_delete" | ||
> | ||
Are you certain you want to delete this record? This can not be undone | ||
and can be potentially harmful if you don't know what you are doing. | ||
</p> | ||
</p> | ||
|
||
<b i18n:translate="">Record</b>: ${request/form/name} | ||
<b i18n:translate="">Record</b>: ${request/form/name} | ||
|
||
<form method="POST"> | ||
<input type="hidden" name="name" value="${request/form/name}" /> | ||
<div class="formControls"> | ||
<input id="form-buttons-delete" name="form.buttons.delete" i18n:attributes="value" | ||
class="submit-widget button-field btn btn-danger" value="Yes, delete" type="submit"> | ||
<input id="form-buttons-cancel" name="form.buttons.cancel" i18n:attributes="value" | ||
class="submit-widget button-field btn btn-secondary" value="Cancel" type="submit"> | ||
</div> | ||
</form> | ||
<form method="POST"> | ||
<input name="name" | ||
type="hidden" | ||
value="${request/form/name}" | ||
/> | ||
<div class="formControls"> | ||
<input class="submit-widget button-field btn btn-danger" | ||
id="form-buttons-delete" | ||
name="form.buttons.delete" | ||
type="submit" | ||
value="Yes, delete" | ||
i18n:attributes="value" | ||
/> | ||
<input class="submit-widget button-field btn btn-secondary" | ||
id="form-buttons-cancel" | ||
name="form.buttons.cancel" | ||
type="submit" | ||
value="Cancel" | ||
i18n:attributes="value" | ||
/> | ||
</div> | ||
</form> | ||
|
||
</div> | ||
</body> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,38 @@ | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" | ||
xmlns:tal="http://xml.zope.org/namespaces/tal" | ||
xmlns:metal="http://xml.zope.org/namespaces/metal" | ||
<html xmlns="http://www.w3.org/1999/xhtml" | ||
xmlns:i18n="http://xml.zope.org/namespaces/i18n" | ||
xmlns:metal="http://xml.zope.org/namespaces/metal" | ||
xmlns:tal="http://xml.zope.org/namespaces/tal" | ||
lang="en" | ||
metal:use-macro="context/@@prefs_main_template/macros/master" | ||
i18n:domain="plone"> | ||
xml:lang="en" | ||
i18n:domain="plone" | ||
> | ||
|
||
<metal:block fill-slot="top_slot" | ||
tal:define="dummy python:request.set('disable_border',1)" /> | ||
<metal:block fill-slot="top_slot" | ||
tal:define=" | ||
dummy python:request.set('disable_border',1); | ||
" | ||
/> | ||
|
||
<body> | ||
<div id="content" metal:fill-slot="prefs_configlet_content"> | ||
<body> | ||
<div id="content" | ||
metal:fill-slot="prefs_configlet_content" | ||
> | ||
|
||
<h1 class="documentFirstHeading" tal:content="view/label">View Title</h1> | ||
<h1 class="documentFirstHeading" | ||
tal:content="view/label" | ||
>View Title</h1> | ||
|
||
<p class="documentDescription" i18n:translate="description_record_edit"> | ||
<p class="documentDescription" | ||
i18n:translate="description_record_edit" | ||
> | ||
Use the form below to edit the value of this particular record. | ||
</p> | ||
</p> | ||
|
||
<div id="layout-contents"> | ||
<span tal:replace="structure view/contents" /> | ||
</div> | ||
<div id="layout-contents"> | ||
<span tal:replace="structure view/contents"></span> | ||
</div> | ||
|
||
</div> | ||
</body> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,36 @@ | ||
<tal> | ||
<h3 i18n:translate="registry_export_parts_heading">Export parts</h3> | ||
<p i18n:translate="registry_export_parts_text"> | ||
<h3 i18n:translate="registry_export_parts_heading">Export parts</h3> | ||
<p i18n:translate="registry_export_parts_text"> | ||
Download of a XML-file optimized to be used in a GenericSetup profile of an add-on or policy profile. | ||
It contains only the selected parts. | ||
</p> | ||
</p> | ||
|
||
<div class="pat-autotoc autotabs" | ||
data-pat-autotoc="levels: h3; section: div.exporttab; className: autotabs"> | ||
<div class="exporttab" | ||
id="export-section-interfaces"> | ||
<h3 i18n:translate="registry_export_parts_label_iface" id="h3-interfaces">by Interface</h3> | ||
<ul class="collapse_interfaces"> | ||
<li tal:repeat="prefix python:view.interfaces()"><a target="_blank" href="${python:prefix[1]}">${python:prefix[0]}</a></li> | ||
</ul> | ||
</div> | ||
<div class="exporttab" | ||
id="export-section-prefixes"> | ||
<h3 i18n:translate="registry_export_parts_label_prefix" id="h3-prefixes">by Prefix</h3> | ||
<ul> | ||
<li tal:repeat="prefix python:view.prefixes()"><a target="_blank" href="${python:prefix[1]}">${python:prefix[0]}</a></li> | ||
</ul> | ||
</div> | ||
<div class="pat-autotoc autotabs" | ||
data-pat-autotoc="levels: h3; section: div.exporttab; className: autotabs" | ||
> | ||
<div class="exporttab" | ||
id="export-section-interfaces" | ||
> | ||
<h3 id="h3-interfaces" | ||
i18n:translate="registry_export_parts_label_iface" | ||
>by Interface</h3> | ||
<ul class="collapse_interfaces"> | ||
<li tal:repeat="prefix python:view.interfaces()"><a href="${python:prefix[1]}" | ||
target="_blank" | ||
>${python:prefix[0]}</a></li> | ||
</ul> | ||
</div> | ||
<div class="exporttab" | ||
id="export-section-prefixes" | ||
> | ||
<h3 id="h3-prefixes" | ||
i18n:translate="registry_export_parts_label_prefix" | ||
>by Prefix</h3> | ||
<ul> | ||
<li tal:repeat="prefix python:view.prefixes()"><a href="${python:prefix[1]}" | ||
target="_blank" | ||
>${python:prefix[0]}</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</tal> |