update template icons
This commit is contained in:
@@ -265,7 +265,7 @@ export class UmbDocumentWorkspaceViewInfoElement extends UmbLitElement {
|
||||
standalone
|
||||
name=${ifDefined(this._templateName)}
|
||||
href=${editTemplatePath + 'edit/' + this._templateUnique}>
|
||||
<uui-icon slot="icon" name="icon-newspaper"></uui-icon>
|
||||
<uui-icon slot="icon" name="icon-document-html"></uui-icon>
|
||||
<uui-action-bar slot="actions">
|
||||
<uui-button
|
||||
label=${this.localize.term('general_choose')}
|
||||
|
||||
@@ -343,7 +343,7 @@ export class UmbWorkspacePackageBuilderElement extends UmbLitElement {
|
||||
<umb-property-layout label="Templates">
|
||||
<div slot="editor">
|
||||
<umb-input-entity
|
||||
.getIcon=${() => 'icon-newspaper'}
|
||||
.getIcon=${() => 'icon-document-html'}
|
||||
.pickerContext=${UmbTemplatePickerInputContext}
|
||||
.selection=${this._package.templates ?? []}
|
||||
@change=${this.#onTemplateChange}>
|
||||
|
||||
@@ -47,7 +47,7 @@ export class UmbTemplateCardElement extends UUIFormControlMixin(UmbLitElement, '
|
||||
override render() {
|
||||
return html`<div id="card">
|
||||
<button id="open-part" aria-label="Open ${this.name}" @click="${this.#openTemplate}">
|
||||
<uui-icon class="logo" name="icon-layout"></uui-icon>
|
||||
<uui-icon class="logo" name="icon-document-html"></uui-icon>
|
||||
<strong>${this.name.length ? this.name : 'Untitled template'}</strong>
|
||||
</button>
|
||||
<uui-button
|
||||
|
||||
@@ -71,6 +71,6 @@ const mapper = (item: NamedEntityTreeItemResponseModel): UmbTemplateTreeItemMode
|
||||
entityType: UMB_TEMPLATE_ENTITY_TYPE,
|
||||
hasChildren: item.hasChildren,
|
||||
isFolder: false,
|
||||
icon: 'icon-newspaper',
|
||||
icon: 'icon-document-html',
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user