<commit_before><form class="import-modal-form" role="form" ng-submit="import()">
  <div class="modal-header">
    <button type="button" class="close" ng-click="cancel()">
      <span aria-hidden="true">&times;</span>
      <span class="sr-only">Close</span>
    </button>
    <h3 class="modal-title" translate="home.importPipelineFromHttpUrl">Import Pipeline From HTTP URL</h3>
  </div>
  <div class="modal-body">

    <ng-include src="'app/home/alerts/error/errorAlert.tpl.html'"></ng-include>

    <div class="form-group" show-errors="{ trigger: 'keypress' }">
      <label class="control-label" translate="global.form.title">Title</label>
      <input type="text"
             autofocus
             name="name"
             class="form-control"
             ng-required
             placeholder="{{'home.library.namePlaceholder' | translate}}"
             ng-model="newConfig.title"
             focus-me="true">
      <p class="help-block">{{'home.library.nameValidation' | translate}}</p>
    </div>

    <div class="form-group">
      <label class="control-label" translate="global.form.description">Description</label>
      <textarea class="form-control" rows="2"
                placeholder="{{'home.library.descriptionPlaceholder' | translate}}"
                ng-model="newConfig.description"></textarea>
    </div>

    <div class="form-group">
      <label class="control-label" translate="global.form.httpUrl">HTTP URL</label>
      <input type="text"
             autofocus
             name="name"
             class="form-control"
             ng-required
             placeholder="{{'home.library.httpUrlPlaceholder' | translate}}"
             ng-model="newConfig.pipelineHttpUrl">
    </div>

  </div>
  <div class="modal-footer">
    <button type="reset" class="btn btn-default" ng-click="cancel()"
            translate="global.form.cancel">Cancel</button>
    <button type="submit" class="btn btn-primary"
            translate="global.form.import">Import</button>
  </div>
</form><commit_msg>SDC-10194. UI: Improve import from URL modal dialog<commit_after><form class="import-modal-form" role="form" ng-submit="import()">
  <div class="modal-header">
    <button type="button" class="close" ng-click="cancel()">
      <span aria-hidden="true">&times;</span>
      <span class="sr-only">Close</span>
    </button>
    <h3 class="modal-title" translate="home.importPipelineFromHttpUrl">Import Pipeline From HTTP URL</h3>
  </div>
  <div class="modal-body">

    <ng-include src="'app/home/alerts/error/errorAlert.tpl.html'"></ng-include>

    <div class="form-group" show-errors="{ trigger: 'keypress' }">
      <label class="control-label" translate="global.form.title">Title</label>
      <input type="text"
             autofocus
             name="name"
             class="form-control"
             ng-required
             placeholder="{{'home.library.namePlaceholder' | translate}}"
             ng-model="newConfig.title"
             ng-disabled="operationInProgress"
             focus-me="true">
      <p class="help-block">{{'home.library.nameValidation' | translate}}</p>
    </div>

    <div class="form-group">
      <label class="control-label" translate="global.form.description">Description</label>
      <textarea class="form-control" rows="2"
                ng-disabled="operationInProgress"
                placeholder="{{'home.library.descriptionPlaceholder' | translate}}"
                ng-model="newConfig.description"></textarea>
    </div>

    <div class="form-group">
      <label class="control-label" translate="global.form.httpUrl">HTTP URL</label>
      <input type="text"
             autofocus
             name="name"
             class="form-control"
             ng-required
             placeholder="{{'home.library.httpUrlPlaceholder' | translate}}"
             ng-model="newConfig.pipelineHttpUrl"
             ng-disabled="operationInProgress">
    </div>

  </div>
  <div class="modal-footer">
    <button type="reset" class="btn btn-default" ng-click="cancel()"
            ng-disabled="operationInProgress"
            translate="global.form.cancel">Cancel</button>
    <button type="submit" class="btn btn-primary"
            ng-disabled="!newConfig.pipelineHttpUrl || operationInProgress"
            translate="global.form.import">Import</button>
  </div>
</form>
{'fraction_non_alphanumeric': 0.1655918931368033, 'fraction_numerical': 0.002533394748963611, 'mean_word_length': 2.846767050487157, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2148759', 'n_tokens_mistral': 1256, 'n_tokens_neox': 1225, 'n_words': 198}