disable upload content for completed task (#2332)

use primary color for upload button in proccess attachment and task attachment
This commit is contained in:
Eugenio Romano
2017-09-13 18:22:30 +01:00
committed by Popovics András
parent 1fd23cfd40
commit d1d3e02c33
6 changed files with 26 additions and 8 deletions

View File

@@ -1,5 +1,6 @@
<button
id="add_new_process_content_button"
color="primary"
md-button
md-raised-button
md-icon-button

View File

@@ -1,5 +1,6 @@
<adf-datatable [rows]="attachments" [actions]="true" [loading]="isLoading" (rowDblClick)="openContent($event)" (showRowActionsMenu)="onShowRowActionsMenu($event)"
(executeRowAction)="onExecuteRowAction($event)">
<adf-empty-list *ngIf="isEmpty()">
<div adf-empty-list-header class="adf-empty-list-header"> {{'PROCESS-ATTACHMENT.EMPTY.HEADER' | translate}} </div>
<div adf-empty-list-body *ngIf="!isDisabled()">
@@ -10,11 +11,13 @@
<img class="adf-empty-list__empty_doc_lib" [src]="emptyListImageUrl">
</div>
</adf-empty-list>
<data-columns>
<data-column key="icon" type="icon" srTitle="Thumbnail" [sortable]="false"></data-column>
<data-column key="name" type="text" title="Name" class="full-width ellipsis-cell" [sortable]="true"></data-column>
<data-column key="created" type="date" format="shortDate" title="Created On"></data-column>
</data-columns>
<loading-content-template>
<ng-template>
<!--Add your custom loading template here-->
@@ -22,4 +25,5 @@
</md-progress-spinner>
</ng-template>
</loading-content-template>
</adf-datatable>
</adf-datatable>

View File

@@ -1,4 +1,5 @@
<button
color="primary"
md-button
md-raised-button
md-icon-button