-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add tab for allowing author to import paragraphs using dialog.
- Loading branch information
Showing
1 changed file
with
64 additions
and
0 deletions.
There are no files selected for viewing
64 changes: 64 additions & 0 deletions
64
...ontent/jcr_root/apps/aemdesign/components/content/contentfragment/_cq_dialog/.content.xml
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 |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:granite="http://www.adobe.com/jcr/granite/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" | ||
jcr:primaryType="nt:unstructured" | ||
jcr:title="Content Fragment" | ||
sling:resourceType="cq/gui/components/authoring/dialog" | ||
extraClientlibs="[core.wcm.components.contentfragment.v1.dialog]" | ||
helpPath="https://www.adobe.com/go/aem_cmp_contentfragment_v1" | ||
trackingFeature="core-components:contentfragment:v1"> | ||
<content | ||
granite:class="cmp-contentfragment__editor" | ||
jcr:primaryType="nt:unstructured" | ||
sling:resourceType="granite/ui/components/coral/foundation/container"> | ||
<items jcr:primaryType="nt:unstructured"> | ||
<tabs | ||
jcr:primaryType="nt:unstructured" | ||
sling:resourceType="granite/ui/components/coral/foundation/tabs" | ||
maximized="{Boolean}true"> | ||
<items jcr:primaryType="nt:unstructured"> | ||
<paragraphcontentimport | ||
jcr:primaryType="nt:unstructured" | ||
jcr:title="Paragraph Content Import" | ||
sling:resourceType="granite/ui/components/coral/foundation/container" | ||
margin="{Boolean}true" | ||
granite:hidden="{Boolean}true"> | ||
<granite:rendercondition | ||
jcr:primaryType="nt:unstructured" | ||
sling:resourceType="granite/ui/components/coral/foundation/renderconditions/simple" | ||
expression="false"> | ||
</granite:rendercondition> | ||
<items jcr:primaryType="nt:unstructured"> | ||
<paragraphcontentimport | ||
granite:class="cmp-contentfragment__editor-paragraph-content-import" | ||
jcr:primaryType="nt:unstructured" | ||
sling:resourceType="granite/ui/components/coral/foundation/form/fieldset"> | ||
<granite:data | ||
jcr:primaryType="nt:unstructured" | ||
field-path="${requestPathInfo.resourcePath}"/> | ||
<items jcr:primaryType="nt:unstructured"> | ||
<content | ||
jcr:primaryType="nt:unstructured" | ||
sling:resourceType="granite/ui/components/coral/foundation/container"> | ||
<items jcr:primaryType="nt:unstructured"> | ||
<paragraphcontentimport | ||
jcr:primaryType="nt:unstructured" | ||
sling:resourceType="granite/ui/components/coral/foundation/button" | ||
granite:class="js-contentfragment-importassets" | ||
text="Import Paragraph Content" | ||
formId="./paragraphContentImportAction"/> | ||
<paragraphcontentimportinfo | ||
granite:class="paragraphcontentimportinfo" | ||
jcr:primaryType="nt:unstructured" | ||
sling:resourceType="granite/ui/components/coral/foundation/text" | ||
text="Import paragraph assets content into page."/> | ||
</items> | ||
</content> | ||
</items> | ||
</paragraphcontentimport> | ||
</items> | ||
</paragraphcontentimport> | ||
</items> | ||
</tabs> | ||
</items> | ||
</content> | ||
</jcr:root> |