mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* add stylelint * fix style first part * fix style second part * fix style third part * fix style fourth part * Fix e2e tests first part * Fix e2e tests second part * Rebase branch * fix style third part * fix style fourth part * Fix list error * fix insights * fix style abotu component * Fix e2e tests second part * Rebase branch * fix style third part * fix style fourth part * Fix list error * Fix e2e tests second part * Rebase branch * fix style third part * fix style fourth part * Fix list error * [ADF-3746] Rebase branch * Fix e2e tests second part * Rebase branch * fix style third part * fix style fourth part * Fix list error * Fix e2e tests second part * Rebase branch * Fix list error * fix new style added * tslint fix * [ADF-3746] Fix scss errors on Process Filters Cloud component
60 lines
2.4 KiB
HTML
60 lines
2.4 KiB
HTML
<div class="adf-share-link__dialog-content">
|
|
<h1 data-automation-id="adf-share-dialog-title"
|
|
class="adf-share-link__title">
|
|
{{ 'SHARE.DIALOG-TITLE' | translate }} {{ fileName }}
|
|
</h1>
|
|
|
|
<mat-dialog-content>
|
|
<p class="adf-share-link__info">{{ 'SHARE.DESCRIPTION' | translate }}</p>
|
|
|
|
<div class="adf-share-link--row">
|
|
<h1 class="adf-share-link__label">{{ 'SHARE.TITLE' | translate }}</h1>
|
|
|
|
<mat-slide-toggle
|
|
color="primary"
|
|
data-automation-id="adf-share-toggle"
|
|
[checked]="isFileShared"
|
|
[disabled]="!canUpdate || isDisabled"
|
|
(change)="onSlideShareChange($event)">
|
|
</mat-slide-toggle>
|
|
</div>
|
|
|
|
<form [formGroup]="form">
|
|
<mat-form-field class="adf-full-width">
|
|
<input #sharedLinkInput
|
|
data-automation-id="adf-share-link"
|
|
class="adf-share-link__input"
|
|
matInput
|
|
cdkFocusInitial
|
|
placeholder="{{ 'SHARE.PUBLIC-LINK' | translate }}"
|
|
formControlName="sharedUrl"
|
|
readonly="readonly">
|
|
<mat-icon class="adf-input-action" matSuffix
|
|
[clipboard-notification]="'SHARE.CLIPBOARD-MESSAGE' | translate"
|
|
[adf-clipboard]="sharedLinkInput">
|
|
link
|
|
</mat-icon>
|
|
</mat-form-field>
|
|
|
|
<h1 class="adf-share-link__label">{{ 'SHARE.EXPIRES' | translate }}</h1>
|
|
<mat-form-field class="adf-full-width">
|
|
<mat-datetimepicker-toggle [for]="datetimePicker" matSuffix></mat-datetimepicker-toggle>
|
|
<mat-datetimepicker #datetimePicker type="datetime" openOnFocus="true" timeInterval="1"></mat-datetimepicker>
|
|
<input class="adf-share-link__input"
|
|
matInput
|
|
[min]="minDate"
|
|
formControlName="time"
|
|
[matDatetimepicker]="datetimePicker">
|
|
</mat-form-field>
|
|
</form>
|
|
</mat-dialog-content>
|
|
|
|
<div mat-dialog-actions>
|
|
<button
|
|
data-automation-id="adf-share-dialog-close"
|
|
mat-button color="primary" mat-dialog-close>
|
|
{{ 'SHARE.CLOSE' | translate }}
|
|
</button>
|
|
</div>
|
|
</div>
|