mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-971] Create task/process attachment should show the new button (#2069)
* Remove the drag and drop Change the design button Fix the Event with the name inside the Readme * Fix unit test * Rollback id button
This commit is contained in:
committed by
Eugenio Romano
parent
50fef106a8
commit
8a509e3c31
@@ -1,19 +1,5 @@
|
||||
.upload-attachment-container {
|
||||
border: 1px solid rgb(224, 224, 224);
|
||||
background: #fff;
|
||||
text-align: left;
|
||||
border-top: none;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
.adf-create-attachment {
|
||||
display: inline-block;
|
||||
line-height: 0px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.drag-area {
|
||||
border: 1px solid #eee;
|
||||
padding: 100px 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.upload-attachment-container button {
|
||||
color: rgb(253, 145, 0);
|
||||
opacity: 0.64;
|
||||
}
|
@@ -1,15 +1,11 @@
|
||||
<div class="upload-attachment-container">
|
||||
<div class="drag-area"
|
||||
(upload-files)="onFileUpload($event)"
|
||||
mode="['click', 'drop']"
|
||||
[adf-upload]="true">
|
||||
{{ 'TASK_DETAILS.BUTTON.DRAG-ATTACHMENT' | translate }}
|
||||
</div>
|
||||
<button class="mdl-button mdl-js-button mdl-button--raised"
|
||||
<button
|
||||
md-button
|
||||
md-raised-button
|
||||
md-icon-button
|
||||
class="adf-create-attachment"
|
||||
[adf-upload]="true"
|
||||
mode="['click']"
|
||||
[multiple]="true"
|
||||
(upload-files)="onFileUpload($event)">
|
||||
{{ 'TASK_DETAILS.BUTTON.UPLOAD-ATTACHMENT' | translate }}
|
||||
</button>
|
||||
</div>
|
||||
<md-icon>add</md-icon>
|
||||
</button>
|
||||
|
Reference in New Issue
Block a user