UI: refactoring for decorator
This commit is contained in:
parent
4a53707124
commit
69da3e63eb
@ -32,7 +32,7 @@
|
||||
<ng-template #copyClientId>
|
||||
<tb-copy-button
|
||||
matSuffix
|
||||
[miniButton]="false"
|
||||
miniButton="false"
|
||||
[copyText]="deviceCredentialsMqttFormGroup.get('clientId').value"
|
||||
tooltipText="{{ 'device.copy-client-id' | translate }}"
|
||||
tooltipPosition="above"
|
||||
@ -59,7 +59,7 @@
|
||||
<ng-template #copyUserName>
|
||||
<tb-copy-button
|
||||
matSuffix
|
||||
[miniButton]="false"
|
||||
miniButton="false"
|
||||
*ngIf="deviceCredentialsMqttFormGroup.get('userName').value"
|
||||
[copyText]="deviceCredentialsMqttFormGroup.get('userName').value"
|
||||
tooltipText="{{ 'device.copy-user-name' | translate }}"
|
||||
@ -91,7 +91,7 @@
|
||||
<ng-template #copyPassword>
|
||||
<tb-copy-button
|
||||
matSuffix
|
||||
[miniButton]="false"
|
||||
miniButton="false"
|
||||
*ngIf="deviceCredentialsMqttFormGroup.get('password').value"
|
||||
[copyText]="deviceCredentialsMqttFormGroup.get('password').value"
|
||||
tooltipText="{{ 'device.copy-password' | translate }}"
|
||||
|
||||
@ -42,7 +42,7 @@
|
||||
<ng-template #copyAccessToken>
|
||||
<tb-copy-button
|
||||
matSuffix
|
||||
[miniButton]="false"
|
||||
miniButton="false"
|
||||
[copyText]="deviceCredentialsFormGroup.get('credentialsId').value"
|
||||
tooltipText="{{ 'device.copy-access-token' | translate }}"
|
||||
tooltipPosition="above"
|
||||
@ -63,7 +63,7 @@
|
||||
<textarea matInput formControlName="credentialsValue" cols="15" rows="5" required></textarea>
|
||||
<tb-copy-button
|
||||
matSuffix
|
||||
[miniButton]="false"
|
||||
miniButton="false"
|
||||
*ngIf="deviceCredentialsFormGroup.get('credentialsValue').value"
|
||||
[copyText]="deviceCredentialsFormGroup.get('credentialsValue').value"
|
||||
tooltipText="{{ 'device.copy-certificate' | translate }}"
|
||||
|
||||
@ -95,7 +95,7 @@
|
||||
<input matInput [value]="redirectURI(domainInfo)" readonly>
|
||||
<tb-copy-button
|
||||
matSuffix
|
||||
[miniButton]="false"
|
||||
miniButton="false"
|
||||
color="primary"
|
||||
[copyText]="redirectURI(domainInfo)"
|
||||
tooltipText="{{ 'admin.oauth2.copy-redirect-uri' | translate }}"
|
||||
@ -107,7 +107,7 @@
|
||||
<input matInput [value]="redirectURIMixed(domainInfo)" readonly>
|
||||
<tb-copy-button
|
||||
matSuffix
|
||||
[miniButton]="false"
|
||||
miniButton="false"
|
||||
color="primary"
|
||||
[copyText]="redirectURIMixed(domainInfo)"
|
||||
tooltipText="{{ 'admin.oauth2.copy-redirect-uri' | translate }}"
|
||||
@ -166,7 +166,7 @@
|
||||
<textarea matInput formControlName="appSecret" rows="1" required></textarea>
|
||||
<tb-copy-button
|
||||
matSuffix
|
||||
[miniButton]="false"
|
||||
miniButton="false"
|
||||
color="primary"
|
||||
[copyText]="mobileInfo.get('appSecret').value"
|
||||
tooltipText="{{ 'admin.oauth2.copy-mobile-app-secret' | translate }}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user