mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
#1085 disabled dynamic table fields
This commit is contained in:
committed by
Mario Romano
parent
f23ed9d774
commit
224d6ef476
@@ -6,6 +6,12 @@
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.display-value-widget__dynamic-table .is-disabled {
|
||||
background-color: transparent;
|
||||
border-bottom: 1px dotted rgba(0,0,0,.12);
|
||||
color: rgba(0,0,0,.26);
|
||||
}
|
||||
|
||||
.display-value-widget__dynamic-table table {
|
||||
width: 100%;
|
||||
}
|
||||
|
@@ -40,12 +40,12 @@
|
||||
</div>
|
||||
<div *ngSwitchCase="'dynamic-table'">
|
||||
<div class="display-value-widget__dynamic-table">
|
||||
<div>{{field.name}}</div>
|
||||
<div class="is-disabled">{{field.name}}</div>
|
||||
<table class="mdl-data-table mdl-js-data-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th *ngFor="let column of visibleColumns"
|
||||
class="mdl-data-table__cell--non-numeric">
|
||||
class="mdl-data-table__cell--non-numeric is-disabled">
|
||||
{{column.name}}
|
||||
</th>
|
||||
</tr>
|
||||
@@ -53,7 +53,7 @@
|
||||
<tbody>
|
||||
<tr *ngFor="let row of rows">
|
||||
<td *ngFor="let column of visibleColumns"
|
||||
class="mdl-data-table__cell--non-numeric">
|
||||
class="mdl-data-table__cell--non-numeric is-disabled">
|
||||
{{ getCellValue(row, column) }}
|
||||
</td>
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user