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