Merge pull request #13160 from deaflynx/fix/js-resource-module-style
JavaScript library style enhancement
This commit is contained in:
commit
9b29e69db4
@ -80,6 +80,7 @@
|
|||||||
(fileNameChanged)="entityForm?.get('fileName').patchValue($event)">
|
(fileNameChanged)="entityForm?.get('fileName').patchValue($event)">
|
||||||
</tb-file-input>
|
</tb-file-input>
|
||||||
<tb-js-func *ngIf="entityForm.get('resourceSubType').value === ResourceSubType.MODULE"
|
<tb-js-func *ngIf="entityForm.get('resourceSubType').value === ResourceSubType.MODULE"
|
||||||
|
[helpPopupStyle]="{ width: '1000px' }"
|
||||||
helpId="resource/js-resource-module_fn"
|
helpId="resource/js-resource-module_fn"
|
||||||
formControlName="content"
|
formControlName="content"
|
||||||
required
|
required
|
||||||
@ -91,8 +92,7 @@
|
|||||||
<label class="tb-title no-padding tb-required"
|
<label class="tb-title no-padding tb-required"
|
||||||
[class.tb-error]="entityForm.get('content').invalid && entityForm.get('content').touched"
|
[class.tb-error]="entityForm.get('content').invalid && entityForm.get('content').touched"
|
||||||
style="font-size: 16px;">
|
style="font-size: 16px;">
|
||||||
{{ 'javascript.module-script' | translate }}
|
{{ 'javascript.module-script' | translate }}</label>
|
||||||
</label>
|
|
||||||
<tb-file-input *ngIf="(isAdd || isEdit)"
|
<tb-file-input *ngIf="(isAdd || isEdit)"
|
||||||
asButton
|
asButton
|
||||||
uploadButtonText="{{ 'javascript.upload-from-file' | translate }}"
|
uploadButtonText="{{ 'javascript.upload-from-file' | translate }}"
|
||||||
|
|||||||
@ -85,4 +85,8 @@
|
|||||||
color: rgb(49, 132, 149);
|
color: rgb(49, 132, 149);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
label.tb-title.tb-required::after {
|
||||||
|
content: "*";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user