Browse Source
Merge pull request #13160 from deaflynx/fix/js-resource-module-style
JavaScript library style enhancement
pull/13181/head
Igor Kulikov
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
6 additions and
2 deletions
-
ui-ngx/src/app/modules/home/pages/admin/resource/js-resource.component.html
-
ui-ngx/src/app/shared/components/js-func.component.scss
|
|
|
@ -80,6 +80,7 @@ |
|
|
|
(fileNameChanged)="entityForm?.get('fileName').patchValue($event)"> |
|
|
|
</tb-file-input> |
|
|
|
<tb-js-func *ngIf="entityForm.get('resourceSubType').value === ResourceSubType.MODULE" |
|
|
|
[helpPopupStyle]="{ width: '1000px' }" |
|
|
|
helpId="resource/js-resource-module_fn" |
|
|
|
formControlName="content" |
|
|
|
required |
|
|
|
@ -91,8 +92,7 @@ |
|
|
|
<label class="tb-title no-padding tb-required" |
|
|
|
[class.tb-error]="entityForm.get('content').invalid && entityForm.get('content').touched" |
|
|
|
style="font-size: 16px;"> |
|
|
|
{{ 'javascript.module-script' | translate }} |
|
|
|
</label> |
|
|
|
{{ 'javascript.module-script' | translate }}</label> |
|
|
|
<tb-file-input *ngIf="(isAdd || isEdit)" |
|
|
|
asButton |
|
|
|
uploadButtonText="{{ 'javascript.upload-from-file' | translate }}" |
|
|
|
|
|
|
|
@ -85,4 +85,8 @@ |
|
|
|
color: rgb(49, 132, 149); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
label.tb-title.tb-required::after { |
|
|
|
content: "*"; |
|
|
|
} |
|
|
|
} |
|
|
|
|