<commit_before>  <div class="form-group">
    {{#if errorFramework}}
      <label class="control-label col-sm-1 col-sm-offset-1 alert-danger">Framework</label>
    {{else}}
      <label class="control-label col-sm-1 col-sm-offset-1 alert-success">Cms</label>
    {{/if}}
    <div class="col-sm-3">
    {{#power-select
      disabled=isExist
      options=frameworks
      searchField="name"
      selected=endpoint.framework
      searchEnabled=false
      placeholder="Select a framework"
      onchange=(action 'changeProperty' 'endpoint.framework')
      as |framework|
    }}
      {{framework.name}}
    {{/power-select}}
     </div>
  </div>

  <div class="form-group">
    {{#if errorPrefix}}
      <label class="control-label col-sm-1 col-sm-offset-1 alert-danger">URI Prefix</label>
    {{else}}
      <label class="control-label col-sm-1 col-sm-offset-1 alert-success">URI Prefix</label>
    {{/if}}
    <div class="col-sm-3">
    {{input type="text" classNames="form-control" autocomplete="off" value=endpoint.prefix placeholder="URI Prefix" disabled=isExist}}
    </div>
  </div>

  <div class="form-group">
    {{#if errorPath}}
      <label class="control-label col-sm-1 col-sm-offset-1 alert-danger">Path</label>
    {{else}}
      <label class="control-label col-sm-1 col-sm-offset-1 alert-success">Path</label>
    {{/if}}
    <div class="col-sm-3">
    {{input type="text" classNames="form-control" autocomplete="off" value=endpoint.path placeholder="Path" disabled=isExist}}
    </div>
  </div>

  <div class="form-group">
    {{#if errorPort}}
      <label class="control-label col-sm-1 col-sm-offset-1 alert-danger">Port</label>
    {{else}}
      <label class="control-label col-sm-1 col-sm-offset-1 alert-success">Port</label>
    {{/if}}
    <div class="col-sm-3">
    {{input type="text" classNames="form-control" autocomplete="off" value=endpoint.port placeholder="Port" disabled=isExist}}
    </div>
  </div>

  <div class="form-group">
    <label class="control-label col-sm-1 col-sm-offset-1 alert-success">Ipfilter</label>
    <div class="col-sm-3">
    {{textarea
            classNames="form-control"
            rows=2
            value=endpoint.ipfilter
            placeholder="Ipfilter"
            disabled=isExist}}
    </div>
  </div>

  <div class="form-group">
    {{#if errorEnv}}
      <label class="control-label col-sm-1 col-sm-offset-1 alert-danger">Env vars</label>
    {{else}}
      <label class="control-label col-sm-1 col-sm-offset-1 alert-success">Env vars</label>
    {{/if}}
    <div class="col-sm-3">
    {{input type="text" classNames="form-control" autocomplete="off" value=endpoint.envvars placeholder="Env vars" disabled=isExist}}
    </div>
  </div>

  <div class="form-group">
    {{#if errorAliases}}
      <label class="control-label col-sm-1 col-sm-offset-1 alert-danger">Aliases</label>
    {{else}}
      <label class="control-label col-sm-1 col-sm-offset-1 alert-success">Aliases</label>
    {{/if}}
    <div class="col-sm-3">
    {{input type="text" classNames="form-control" autocomplete="off" value=endpoint.aliases placeholder="Aliases" disabled=isExist}}
    </div>
  </div>

  {{#if isAdmin}}
    <div class="form-group">
      <label class="control-label col-sm-1 col-sm-offset-1 alert-success">Custom Vhost Block</label>
      <div class="col-sm-3">
      {{textarea
              classNames="form-control"
              rows=8
              value=endpoint.customvhost
              placeholder="Custom Block"
              }}
      </div>
    </div>
  {{/if}}

  {{#unless isExist}}
  <div class="form-group">
      <label class="control-label alert-success col-sm-1 col-sm-offset-1">Install ?</label>
    <div class="col-sm-3">
      {{#if project.id}}
      <label>{{x-toggle value=endpoint.is_install toggled=endpoint.is_install disabled=true}}</label>
      {{else}}
      <label>{{x-toggle value=endpoint.is_install toggled=endpoint.is_install}}</label>
      {{/if}}
    </div>
  </div><commit_msg>Make custom vhost area readonly if already exists<commit_after>  <div class="form-group">
    {{#if errorFramework}}
      <label class="control-label col-sm-1 col-sm-offset-1 alert-danger">Framework</label>
    {{else}}
      <label class="control-label col-sm-1 col-sm-offset-1 alert-success">Cms</label>
    {{/if}}
    <div class="col-sm-3">
    {{#power-select
      disabled=isExist
      options=frameworks
      searchField="name"
      selected=endpoint.framework
      searchEnabled=false
      placeholder="Select a framework"
      onchange=(action 'changeProperty' 'endpoint.framework')
      as |framework|
    }}
      {{framework.name}}
    {{/power-select}}
     </div>
  </div>

  <div class="form-group">
    {{#if errorPrefix}}
      <label class="control-label col-sm-1 col-sm-offset-1 alert-danger">URI Prefix</label>
    {{else}}
      <label class="control-label col-sm-1 col-sm-offset-1 alert-success">URI Prefix</label>
    {{/if}}
    <div class="col-sm-3">
    {{input type="text" classNames="form-control" autocomplete="off" value=endpoint.prefix placeholder="URI Prefix" disabled=isExist}}
    </div>
  </div>

  <div class="form-group">
    {{#if errorPath}}
      <label class="control-label col-sm-1 col-sm-offset-1 alert-danger">Path</label>
    {{else}}
      <label class="control-label col-sm-1 col-sm-offset-1 alert-success">Path</label>
    {{/if}}
    <div class="col-sm-3">
    {{input type="text" classNames="form-control" autocomplete="off" value=endpoint.path placeholder="Path" disabled=isExist}}
    </div>
  </div>

  <div class="form-group">
    {{#if errorPort}}
      <label class="control-label col-sm-1 col-sm-offset-1 alert-danger">Port</label>
    {{else}}
      <label class="control-label col-sm-1 col-sm-offset-1 alert-success">Port</label>
    {{/if}}
    <div class="col-sm-3">
    {{input type="text" classNames="form-control" autocomplete="off" value=endpoint.port placeholder="Port" disabled=isExist}}
    </div>
  </div>

  <div class="form-group">
    <label class="control-label col-sm-1 col-sm-offset-1 alert-success">Ipfilter</label>
    <div class="col-sm-3">
    {{textarea
            classNames="form-control"
            rows=2
            value=endpoint.ipfilter
            placeholder="Ipfilter"
            disabled=isExist}}
    </div>
  </div>

  <div class="form-group">
    {{#if errorEnv}}
      <label class="control-label col-sm-1 col-sm-offset-1 alert-danger">Env vars</label>
    {{else}}
      <label class="control-label col-sm-1 col-sm-offset-1 alert-success">Env vars</label>
    {{/if}}
    <div class="col-sm-3">
    {{input type="text" classNames="form-control" autocomplete="off" value=endpoint.envvars placeholder="Env vars" disabled=isExist}}
    </div>
  </div>

  <div class="form-group">
    {{#if errorAliases}}
      <label class="control-label col-sm-1 col-sm-offset-1 alert-danger">Aliases</label>
    {{else}}
      <label class="control-label col-sm-1 col-sm-offset-1 alert-success">Aliases</label>
    {{/if}}
    <div class="col-sm-3">
    {{input type="text" classNames="form-control" autocomplete="off" value=endpoint.aliases placeholder="Aliases" disabled=isExist}}
    </div>
  </div>

  {{#if isAdmin}}
    <div class="form-group">
      <label class="control-label col-sm-1 col-sm-offset-1 alert-success">Custom Vhost Block</label>
      <div class="col-sm-3">
      {{textarea
              classNames="form-control"
              rows=8
              value=endpoint.customvhost
              placeholder="Custom Block"
              disabled=isExist
              }}
      </div>
    </div>
  {{/if}}

  {{#unless isExist}}
  <div class="form-group">
      <label class="control-label alert-success col-sm-1 col-sm-offset-1">Install ?</label>
    <div class="col-sm-3">
      {{#if project.id}}
      <label>{{x-toggle value=endpoint.is_install toggled=endpoint.is_install disabled=true}}</label>
      {{else}}
      <label>{{x-toggle value=endpoint.is_install toggled=endpoint.is_install}}</label>
      {{/if}}
    </div>
  </div>
{'fraction_non_alphanumeric': 0.17702753207923258, 'fraction_numerical': 0.010215522611187243, 'mean_word_length': 3.003990024937656, 'pattern_counts': {'":': 0, '<': 143, '<?xml version=': 0, '>': 143, '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': '1878120', 'n_tokens_mistral': 2673, 'n_tokens_neox': 2624, 'n_words': 491}