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)">
 | 
			
		||||
      </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: "*";
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user