34 lines
1.4 KiB
HTML
34 lines
1.4 KiB
HTML
|
|
<app-loading-panel> </app-loading-panel>
|
||
|
|
|
||
|
|
<div class="card grid marginBottomNone" style="margin: auto;">
|
||
|
|
<div class="col-12" style="margin: auto;">
|
||
|
|
<div class="textarea-wrapper">
|
||
|
|
<textarea [(ngModel)]="decryptedvalue"
|
||
|
|
rows="4" class="encryptTextArea"
|
||
|
|
placeholder="Enter text to encrypt..."></textarea>
|
||
|
|
<button *ngIf="decryptedvalue" type="button" class="clear-btn" title="clear" (click)="clearInput()">✖</button>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div class="grid" style="margin: auto;">
|
||
|
|
<div class="col-12" style="margin: auto;" align="middle">
|
||
|
|
<div class="textarea-wrapper">
|
||
|
|
<button kendoButton themeColor="primary"
|
||
|
|
(click)="CipherMechanism()"
|
||
|
|
(keydown.enter)="handleEnterKey($event)"
|
||
|
|
[svgIcon]="apiService.KendoSVGIcon['forward']">Execute</button>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div class="card grid" style="margin: auto;">
|
||
|
|
<div class="col-12" style="margin: auto;">
|
||
|
|
<div class="textarea-wrapper">
|
||
|
|
<textarea [(ngModel)]="encryptedValue" readonly="true" placeholder="Encrypt text will appear here..."
|
||
|
|
rows="6" class="decryptTextArea">
|
||
|
|
</textarea>
|
||
|
|
<button *ngIf="encryptedValue" [svgIcon]="apiService.KendoSVGIcon['copy']" kendoButton class="copy-btn" title="Copy" (click)="copyDecryptValueToClipboard()"></button>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|