Skip to content

Commit 7b03b92

Browse files
leekelleheriOvergaard
authored andcommitted
Amended document blueprint root styling
1 parent 767d513 commit 7b03b92

File tree

1 file changed

+39
-36
lines changed

1 file changed

+39
-36
lines changed

src/packages/documents/document-blueprints/workspace/document-blueprint-root-workspace.element.ts

Lines changed: 39 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,50 @@
1-
import { html, customElement } from '@umbraco-cms/backoffice/external/lit';
1+
import { customElement, html } from '@umbraco-cms/backoffice/external/lit';
22
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
33
import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
44

55
@customElement('umb-document-blueprint-root-workspace')
66
export class UmbDocumentBlueprintRootWorkspaceElement extends UmbLitElement {
77
override render() {
8-
return html`<umb-body-layout .headline=${this.localize.term('treeHeaders_contentBlueprints')}>
9-
<uui-box>
10-
<h2>
11-
<umb-localize key="contentTemplatesDashboard_whatHeadline"> What are Document Blueprints? </umb-localize>
12-
</h2>
13-
<umb-localize key="contentTemplatesDashboard_whatDescription">
14-
Document Blueprints are pre-defined content that can be selected when creating a new content node.
15-
</umb-localize>
16-
<h2>
17-
<umb-localize key="contentTemplatesDashboard_createHeadline">
18-
How do I create a Document Blueprint?
8+
return html`
9+
<umb-body-layout headline=${this.localize.term('treeHeaders_contentBlueprints')}>
10+
<uui-box class="uui-text">
11+
<h4>
12+
<umb-localize key="contentTemplatesDashboard_whatHeadline"> What are Document Blueprints? </umb-localize>
13+
</h4>
14+
<umb-localize key="contentTemplatesDashboard_whatDescription">
15+
Document Blueprints are pre-defined content that can be selected when creating a new content node.
1916
</umb-localize>
20-
</h2>
21-
<umb-localize key="contentTemplatesDashboard_createDescription">
22-
<p>There are two ways to create a Content Blueprint:</p>
23-
<ul>
24-
<li>
25-
Click "Create Document Blueprint" in the action menu on a content node to create a new Document Blueprint.
26-
</li>
27-
<li>
28-
Click the "+" button in the Document Blueprints tree in the Settings section and select the Document Type
29-
you want to create a Document Blueprint for.
30-
</li>
31-
</ul>
32-
<p>Once given a name, editors can start using the Document Blueprint as a foundation for their new page.</p>
33-
</umb-localize>
34-
<h2>
35-
<umb-localize key="contentTemplatesDashboard_manageHeadline">
36-
How do I manage Document Blueprints?
17+
<h4>
18+
<umb-localize key="contentTemplatesDashboard_createHeadline">
19+
How do I create a Document Blueprint?
20+
</umb-localize>
21+
</h4>
22+
<umb-localize key="contentTemplatesDashboard_createDescription">
23+
<p>There are two ways to create a Content Blueprint:</p>
24+
<ul>
25+
<li>
26+
Click "Create Document Blueprint" in the action menu on a content node to create a new Document
27+
Blueprint.
28+
</li>
29+
<li>
30+
Click the "+" button in the Document Blueprints tree in the Settings section and select the Document
31+
Type you want to create a Document Blueprint for.
32+
</li>
33+
</ul>
34+
<p>Once given a name, editors can start using the Document Blueprint as a foundation for their new page.</p>
3735
</umb-localize>
38-
</h2>
39-
<umb-localize key="contentTemplatesDashboard_manageDescription">
40-
You can edit and delete Document Blueprints from the "Document Blueprints" tree in the Settings section.
41-
Expand the Document Type which the Document Blueprint is based on and click it to edit or delete it.
42-
</umb-localize>
43-
</uui-box>
44-
</umb-body-layout> `;
36+
<h4>
37+
<umb-localize key="contentTemplatesDashboard_manageHeadline">
38+
How do I manage Document Blueprints?
39+
</umb-localize>
40+
</h4>
41+
<umb-localize key="contentTemplatesDashboard_manageDescription">
42+
You can edit and delete Document Blueprints from the "Document Blueprints" tree in the Settings section.
43+
Expand the Document Type which the Document Blueprint is based on and click it to edit or delete it.
44+
</umb-localize>
45+
</uui-box>
46+
</umb-body-layout>
47+
`;
4548
}
4649

4750
static override styles = [UmbTextStyles];

0 commit comments

Comments
 (0)