<commit_before><div
  class="pad"
  id="init_cluster_dialog"
  mn-spinner="wizardStep1Ctl.viewLoading || !wizardStep1Ctl.config.selfConfig">
  <div class="config-top">
    <h1>Configure Server</h1>
    <h2>Step <span class="current-step">1</span> of 5</h2>
  </div>
  <form ng-submit="wizardStep1Ctl.onSubmit()">
    <div>
      <h2 class="question">Configure Disk Storage</h2>
      <div class="disk_setup_block">
        <div>
          <label for="setup_db_path_input">Databases Path:</label>
          <input
            type="text"
            name="db_path"
            ng-model="wizardStep1Ctl.config.dbPath"
            ng-change="wizardStep1Ctl.onDbPathChange()">
          <br class="clear" />
        </div>
        <div>
          <label>Free:</label>
          <span
            style="font-size:10pt; margin-left:5px; line-height: 25px;"
            class="total-db-size">
            {{wizardStep1Ctl.dbPathTotal}}
          </span>
        </div>
        <div>
          <label for="setup_index_path_input">Indexes Path:</label>
          <input
            type="text"
            name="index_path"
            ng-model="wizardStep1Ctl.config.indexPath"
            ng-change="wizardStep1Ctl.onIndexPathChange()">
          <br class="clear">
        </div>
        <div>
          <label>Free:</label>
          <span
            style="font-size:10pt; margin-left:5px; line-height: 25px;"
            class="total-index-size">
            {{wizardStep1Ctl.indexPathTotal}}
          </span>
        </div>
        <div
          class="warning init_cluster_dialog_errors_container"
          ng-if="wizardStep1Ctl.postDiskStorageErrors">
          <div ng-repeat="error in wizardStep1Ctl.postDiskStorageErrors">
            <strong>Attention</strong> - {{error}}<br>
          </div>
        </div>
        <p class="when-enterprise" ng-show="wizardStep1Ctl.isEnterprise">
          Hint: if you use this server in a production environment, use different file systems for databases and indexes.
        </p>
      </div>
    </div>

    <h2 class="question">Configure Server Hostname</h2>
    <div class="hostname_setup_block">
      <label for="setup_hostname">Hostname:</label>
      <input
        type="text"
        name="hostname"
        ng-model="wizardStep1Ctl.config.hostname">
      <br class="clear">
      <div
        class="warning pat_10"
          id="init_cluster_dialog_hostname_errors_container"
          ng-if="wizardStep1Ctl.postHostnameErrors[0]">
        {{wizardStep1Ctl.postHostnameErrors[0]}}
      </div>
    </div>

    <div>
      <h2 class="question">
        Join Cluster / Start new Cluster
      </h2>
      <p class="pad_10">
        If you want to add this server to an existing Couchbase Cluster, select "Join a
        cluster now".
        Alternatively, you may create a new Couchbase Cluster by selecting "Start a new
        cluster".
      </p>
      <p class="pad_10">
        If you start a new cluster the "Per Server RAM Quota" you set below will define
        the amount of RAM each server provides to the Couchbase Cluster. This value will
        be inherited by all servers subsequently joining the cluster, so please set
        appropriately.
      </p>
      <div id="init_cluster_form" class="form block init_cluster_form">
        <div>
          <h3>
            <label>
              <input
                type="radio"
                ng-model="wizardStep1Ctl.joinCluster"
                value="no"
                name="joinCluster"
                id="no-join-cluster">
              Start a new cluster.
            </label>
          </h3>
          <div
            class="start_new_cluster_block js_start_new_cluster_block"
            ng-if="wizardStep1Ctl.isJoinCluster('no')">
            <div
              class="warning pat_10"
              ng-show="!!wizardStep1Ctl.setupServicesErrors[0]">
              {{wizardStep1Ctl.setupServicesErrors[0]}}
            </div>
            <div
              mn-memory-quota="wizardStep1Ctl.config.startNewClusterConfig"
              errors="wizardStep1Ctl.postMemoryErrors">
            </div>
            <div
              mn-storage-mode="wizardStep1Ctl.config.startNewClusterConfig.indexSettings"
              is-disabled="!wizardStep1Ctl.isEnterprise || !wizardStep1Ctl.config.startNewClusterConfig.services.model.index"
              errors="wizardStep1Ctl.postIndexSettingsErrors">
            </div>
          </div>
        </div>
        <div name="joinClusterForm" ng-form novalidate>
          <h3>
            <label>
              <input
                type="radio"
                ng-model="wizardStep1Ctl.joinCluster"
                value="ok"
                name="joinCluster"
                id="join-cluster">
              Join a cluster now.
            </label>
          </h3>
          <div
            class="login-credentials"
            ng-if="wizardStep1Ctl.isJoinCluster('ok')">
            <p
              class="warning pat_10 join_cluster_dialog_errors_container"
              ng-if="wizardStep1Ctl.postJoinClusterErrors"
              style="margin: 10px 30px 10px 0px; display: block;">
              <span ng-repeat="error in wizardStep1Ctl.postJoinClusterErrors">
                <strong>Attention</strong> - {{error}}
              </span>
            </p>
            <div>
              <label for="clusterMemberHostIp">IP Address:</label>
              <input
                type="text"
                class="inp"
                name="hostname"
                id="clusterMemberHostIp"
                ng-model="wizardStep1Ctl.joinClusterConfig.clusterMember.hostname">
              <br class="clear">
            </div>
            <div>
              <label for="join_user_input">Username:</label>
              <input
                type="text"
                class="inp"
                name="user"
                id="join_user_input"
                ng-model="wizardStep1Ctl.joinClusterConfig.clusterMember.username">
              <br class="clear">
            </div>
            <div>
              <label for="join_password_input">Password:</label>
              <input
                type="password"
                class="inp"
                name="password"
                mn-autocomplete-off
                ng-model="wizardStep1Ctl.joinClusterConfig.clusterMember.password"
                id="join_password_input">
              <br class="clear">
            </div>
            <div mn-services="wizardStep1Ctl.joinClusterConfig">
            </div>
          </div>
        </div>
      </div>
    </div>

    <div class="config-bottom">
      <button name="next" value="Next" class="submit next direction-button" id="step-2-next" type="submit">Next</button>
    </div>
  </form>
</div>
<commit_msg>MB-18843: added padding for init_cluster_dialog_hostname_errors_container<commit_after><div
  class="pad"
  id="init_cluster_dialog"
  mn-spinner="wizardStep1Ctl.viewLoading || !wizardStep1Ctl.config.selfConfig">
  <div class="config-top">
    <h1>Configure Server</h1>
    <h2>Step <span class="current-step">1</span> of 5</h2>
  </div>
  <form ng-submit="wizardStep1Ctl.onSubmit()">
    <div>
      <h2 class="question">Configure Disk Storage</h2>
      <div class="disk_setup_block">
        <div>
          <label for="setup_db_path_input">Databases Path:</label>
          <input
            type="text"
            name="db_path"
            ng-model="wizardStep1Ctl.config.dbPath"
            ng-change="wizardStep1Ctl.onDbPathChange()">
          <br class="clear" />
        </div>
        <div>
          <label>Free:</label>
          <span
            style="font-size:10pt; margin-left:5px; line-height: 25px;"
            class="total-db-size">
            {{wizardStep1Ctl.dbPathTotal}}
          </span>
        </div>
        <div>
          <label for="setup_index_path_input">Indexes Path:</label>
          <input
            type="text"
            name="index_path"
            ng-model="wizardStep1Ctl.config.indexPath"
            ng-change="wizardStep1Ctl.onIndexPathChange()">
          <br class="clear">
        </div>
        <div>
          <label>Free:</label>
          <span
            style="font-size:10pt; margin-left:5px; line-height: 25px;"
            class="total-index-size">
            {{wizardStep1Ctl.indexPathTotal}}
          </span>
        </div>
        <div
          class="warning init_cluster_dialog_errors_container"
          ng-if="wizardStep1Ctl.postDiskStorageErrors">
          <div ng-repeat="error in wizardStep1Ctl.postDiskStorageErrors">
            <strong>Attention</strong> - {{error}}<br>
          </div>
        </div>
        <p class="when-enterprise" ng-show="wizardStep1Ctl.isEnterprise">
          Hint: if you use this server in a production environment, use different file systems for databases and indexes.
        </p>
      </div>
    </div>

    <h2 class="question">Configure Server Hostname</h2>
    <div class="hostname_setup_block">
      <label for="setup_hostname">Hostname:</label>
      <input
        type="text"
        name="hostname"
        ng-model="wizardStep1Ctl.config.hostname">
      <br class="clear">
      <div
        class="warning pat_10"
        style="padding-right: 95px;"
        id="init_cluster_dialog_hostname_errors_container"
        ng-if="wizardStep1Ctl.postHostnameErrors[0]">
          {{wizardStep1Ctl.postHostnameErrors[0]}}
      </div>
    </div>

    <div>
      <h2 class="question">
        Join Cluster / Start new Cluster
      </h2>
      <p class="pad_10">
        If you want to add this server to an existing Couchbase Cluster, select "Join a
        cluster now".
        Alternatively, you may create a new Couchbase Cluster by selecting "Start a new
        cluster".
      </p>
      <p class="pad_10">
        If you start a new cluster the "Per Server RAM Quota" you set below will define
        the amount of RAM each server provides to the Couchbase Cluster. This value will
        be inherited by all servers subsequently joining the cluster, so please set
        appropriately.
      </p>
      <div id="init_cluster_form" class="form block init_cluster_form">
        <div>
          <h3>
            <label>
              <input
                type="radio"
                ng-model="wizardStep1Ctl.joinCluster"
                value="no"
                name="joinCluster"
                id="no-join-cluster">
              Start a new cluster.
            </label>
          </h3>
          <div
            class="start_new_cluster_block js_start_new_cluster_block"
            ng-if="wizardStep1Ctl.isJoinCluster('no')">
            <div
              class="warning pat_10"
              ng-show="!!wizardStep1Ctl.setupServicesErrors[0]">
              {{wizardStep1Ctl.setupServicesErrors[0]}}
            </div>
            <div
              mn-memory-quota="wizardStep1Ctl.config.startNewClusterConfig"
              errors="wizardStep1Ctl.postMemoryErrors">
            </div>
            <div
              mn-storage-mode="wizardStep1Ctl.config.startNewClusterConfig.indexSettings"
              is-disabled="!wizardStep1Ctl.isEnterprise || !wizardStep1Ctl.config.startNewClusterConfig.services.model.index"
              errors="wizardStep1Ctl.postIndexSettingsErrors">
            </div>
          </div>
        </div>
        <div name="joinClusterForm" ng-form novalidate>
          <h3>
            <label>
              <input
                type="radio"
                ng-model="wizardStep1Ctl.joinCluster"
                value="ok"
                name="joinCluster"
                id="join-cluster">
              Join a cluster now.
            </label>
          </h3>
          <div
            class="login-credentials"
            ng-if="wizardStep1Ctl.isJoinCluster('ok')">
            <p
              class="warning pat_10 join_cluster_dialog_errors_container"
              ng-if="wizardStep1Ctl.postJoinClusterErrors"
              style="margin: 10px 30px 10px 0px; display: block;">
              <span ng-repeat="error in wizardStep1Ctl.postJoinClusterErrors">
                <strong>Attention</strong> - {{error}}
              </span>
            </p>
            <div>
              <label for="clusterMemberHostIp">IP Address:</label>
              <input
                type="text"
                class="inp"
                name="hostname"
                id="clusterMemberHostIp"
                ng-model="wizardStep1Ctl.joinClusterConfig.clusterMember.hostname">
              <br class="clear">
            </div>
            <div>
              <label for="join_user_input">Username:</label>
              <input
                type="text"
                class="inp"
                name="user"
                id="join_user_input"
                ng-model="wizardStep1Ctl.joinClusterConfig.clusterMember.username">
              <br class="clear">
            </div>
            <div>
              <label for="join_password_input">Password:</label>
              <input
                type="password"
                class="inp"
                name="password"
                mn-autocomplete-off
                ng-model="wizardStep1Ctl.joinClusterConfig.clusterMember.password"
                id="join_password_input">
              <br class="clear">
            </div>
            <div mn-services="wizardStep1Ctl.joinClusterConfig">
            </div>
          </div>
        </div>
      </div>
    </div>

    <div class="config-bottom">
      <button name="next" value="Next" class="submit next direction-button" id="step-2-next" type="submit">Next</button>
    </div>
  </form>
</div>

{'fraction_non_alphanumeric': 0.11787876577430885, 'fraction_numerical': 0.012327667955357793, 'mean_word_length': 1.769137547970107, 'pattern_counts': {'":': 0, '<': 253, '<?xml version=': 0, '>': 253, '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': '3135629', 'n_tokens_mistral': 4059, 'n_tokens_neox': 3924, 'n_words': 722}