mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-1240] move from mdl to Material2 from tag component (#2221)
This commit is contained in:
committed by
Mario Romano
parent
5e17c8e103
commit
0443c2aed9
9
demo-shell-ng2/app/components/tag/tag.component.css
Normal file
9
demo-shell-ng2/app/components/tag/tag.component.css
Normal file
@@ -0,0 +1,9 @@
|
||||
.adf-tag-example-area {
|
||||
width: calc(33.3333333333% - 16px);
|
||||
margin: 8px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.adf-tag-example-title {
|
||||
padding-bottom: 12px;
|
||||
}
|
13
demo-shell-ng2/app/components/tag/tag.component.html
Normal file
13
demo-shell-ng2/app/components/tag/tag.component.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<label for="nodeId"><b>Insert Node Id</b></label><br>
|
||||
<input id="nodeId" type="text" size="48" [(ngModel)]="nodeId"><br>
|
||||
<div class="adf-tag-example-area">
|
||||
<alfresco-tag-node-actions-list [nodeId]="nodeId"></alfresco-tag-node-actions-list>
|
||||
</div>
|
||||
<div class="adf-tag-example-area">
|
||||
<div class="adf-tag-example-title">List Tags Content Services</div>
|
||||
<alfresco-tag-list></alfresco-tag-list>
|
||||
</div>
|
||||
<div class="adf-tag-example-area">
|
||||
<div class="adf-tag-example-title">Tag list By Node ID</div>
|
||||
<alfresco-tag-node-list [nodeId]="nodeId"></alfresco-tag-node-list>
|
||||
</div>
|
@@ -19,18 +19,8 @@ import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'alfresco-tag-demo',
|
||||
template: `
|
||||
<label for="nodeId"><b>Insert Node Id</b></label><br>
|
||||
<input id="nodeId" type="text" size="48" [(ngModel)]="nodeId"><br>
|
||||
<div class="mdl-grid">
|
||||
<div class="mdl-cell mdl-cell--4-col"><alfresco-tag-node-actions-list [nodeId]="nodeId"></alfresco-tag-node-actions-list></div>
|
||||
<div class="mdl-cell mdl-cell--4-col">List Tags Content Services <alfresco-tag-list></alfresco-tag-list></div>
|
||||
<div class="mdl-cell mdl-cell--4-col">
|
||||
Tag list By Node ID
|
||||
<alfresco-tag-node-list [nodeId]="nodeId"></alfresco-tag-node-list>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
templateUrl: 'tag.component.html',
|
||||
styleUrls: ['tag.component.css']
|
||||
})
|
||||
export class TagComponent {
|
||||
|
||||
|
Reference in New Issue
Block a user