diff options
author | Sonja Galovic <galovicsonja@gmail.com> | 2022-06-06 04:21:57 +0200 |
---|---|---|
committer | Sonja Galovic <galovicsonja@gmail.com> | 2022-06-06 04:21:57 +0200 |
commit | a5dedce9016f75de00954f02cdaf865a66454220 (patch) | |
tree | 9f8c4dd85c367fdd63af75dfb34b1a7a9e1ba5db /frontend/src/app/_modals/share-dialog/share-dialog.component.html | |
parent | 2b5200bc9d3c55ca2d3f44c7dda23568125540ff (diff) | |
parent | 67151f6cc5fcb9a66fc08a181eb8e1a6acaca733 (diff) |
Merge branch 'redesign' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into redesign
Diffstat (limited to 'frontend/src/app/_modals/share-dialog/share-dialog.component.html')
-rw-r--r-- | frontend/src/app/_modals/share-dialog/share-dialog.component.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/frontend/src/app/_modals/share-dialog/share-dialog.component.html b/frontend/src/app/_modals/share-dialog/share-dialog.component.html new file mode 100644 index 00000000..32584197 --- /dev/null +++ b/frontend/src/app/_modals/share-dialog/share-dialog.component.html @@ -0,0 +1,14 @@ +<h1 mat-dialog-title class="text-center">Podeli {{data.fileType == 0 ? 'izvor podataka' : 'konfiguraciju neuronske mreže'}}</h1> +<div mat-dialog-content class="mt-5 mb-3 mx-1"> + <form> + <mat-checkbox class="m-2" [(ngModel)]="data.file.isPublic" [ngModelOptions]="{standalone: true}" (change)="publicChanged()">Svi mogu da vide </mat-checkbox> + <mat-checkbox class="m-2" [(ngModel)]="data.file.accessibleByLink" [ngModelOptions]="{standalone: true}" (change)="linkChanged()">Osobe sa linkom mogu da vide</mat-checkbox> + <div class="input-group my-3"> + <input type="text" [value]="link" class="form-control" placeholder="" aria-label="Copy link button addon" aria-describedby="button-copy"> + <button class="btn btn-outline-primary" type="button" id="button-copy" (click)="copy()" [disabled]="!data.file.accessibleByLink"><div class="mt-1"><mat-icon *ngIf="data.file.accessibleByLink">link</mat-icon><mat-icon *ngIf="!data.file.accessibleByLink">link_off</mat-icon></div></button> + </div> + </form> +</div> +<div mat-dialog-actions class="justify-content-center"> + <button mat-stroked-button (click)="close()">Gotovo</button> +</div>
\ No newline at end of file |