<commit_before>@if (sizeof($domains))
<div class="boxed-group flush">
  <a href="{{ action('Acp\Domains@create') }}" class="boxed-group-action btn btn-success">
    <i class="fa fa-plus"></i>
  </a>
  <h3>
    <form class="form-inline">
      {{ $domains->total() }} {{ trans_choice('plural.domains', $domains->total()) }}
      &nbsp;
      <input type="search" name="q" class="form-control" placeholder="Поиск..." value="{{ $q or '' }}">
      <input type="hidden" name="filter" value="{{ $filter or '' }}">
    </form>
  </h3>
  <div class="boxed-group-inner">
    <table class="table-stats js-float-thead">
      <colgroup>
        <col width="30"></col>
        <col width="*"></col>
        <col width="125"></col>
        <col width="200"></col>
        <col width="200"></col>
        <col width="60"></col>
      </colgroup>
      <thead>
        <tr>
          <th><input type="checkbox" class="js-select-all" data-selector=".domains-checkbox"></th>
          <th>Домен</th>
          <th>Оплачен до</th>
          <th>Сервер</th>
          <th>NS</th>
          <th>CMS</th>
        </tr>
      </thead>
      <tbody>
      @foreach ($domains as $i => $domain)
        <tr class="js-dblclick-edit" data-dblclick-url="/acp/domains/{{ $domain->domain }}/edit?goto={{ $back_url }}">
          <td>
            <input class="domains-checkbox" type="checkbox" name="ids[]" value="{{ $domain->id }}">
          </td>
          <td>
            <a name="d{{ $domain->id }}"></a>
            <a href="http://{{ $domain->domain }}/" target="_blank" style="margin-right: 0.3em;"><i class="fa fa-external-link"></i></a>
            <a href="/acp/domains/{{ $domain->domain }}" class="link">{{ $domain->domain }}</a>
            @if ($domain->alias_id)
              <span class="text-muted">
                алиас
                <a href="/acp/domains/{{ $domain->alias->domain }}" class="link">{{ $domain->alias->domain }}</a>
                <a href="#d{{ $domain->alias_id }}" class="pseudo">#</a>
              </span>
            @endif
            @if ($domain->text)
              <span class="label label-default tip" title="есть заметки">...</span>
            @endif
            @if (!$domain->domain_control)
              <span class="label label-info tip" title="не в нашей панели">?</span>
            @endif
            @if ($domain->domain_control and $domain->isExpired())
              <span class="label label-danger tip" title="просрочена оплата">$</span>
            @endif
            @if ($domain->domain_control and $domain->isExpiringSoon())
              <span class="label label-warning tip" title="подходит срок оплаты">$</span>
            @endif
          </td>
          <td class="text-muted">
            <span class="tip" title="{{ $domain->paid_till }}">
              {{ $domain->paid_till->toDateString() }}
            </span>
          </td>
          <td>{!! $domain->whatServerIpv4() !!}</td>
          <td>{{ $domain->firstNsServer() }}</td>
          <td>
            @if (!$domain->isExpired() && ($domain->cms_url || ($domain->alias_id and $domain->alias->cms_url)))
              @include('acp.domains.cms_login', ['cms_button_class' => 'btn btn-default btn-xs'])
            @endif
          </td>
        </tr>
      @endforeach
      </tbody>
    </table>
  </div>
</div>

<div class="pull-left" style="margin: 0 0 1em;">
  <form class="form-inline js-batch-form" data-url="/acp/domains/batch" data-selector=".domains-checkbox">
    <div class="form-group">
      <select class="form-control" name="action" id="batch_action">
        <option value="">Выберите действие...</option>
        @if ($filter == 'trashed')
          <option value="restore">Восстановить</option>
          <option value="force_delete">Удалить окончательно</option>
        @else
          <option value="activate">Включить мониторинг</option>
          <option value="deactivate">Выключить мониторинг</option>
          <option value="delete">Удалить</option>
        @endif
      </select>
    </div>
    <button class="btn btn-default" id="batch_submit">Выполнить</button>
  </form>
</div>

<div class="pull-right">
  @include('tpl.paginator', ['paginator' => $domains])
</div>

<div class="clearfix"></div>

<p>
  <span class="label label-default">...</span> &nbsp;— есть заметки &nbsp;
  <span class="label label-info">?</span> &nbsp;— не в нашей панели &nbsp;
  <span class="label label-danger">$</span> &nbsp;— просрочена оплата &nbsp;
  <span class="label label-warning">$</span> &nbsp;— подходит срок оплаты
</p>
@else
  <div class="alert alert-warning">
    По заданному критерию не найдено ни одного домена.
  </div>
@endif<commit_msg>Якорь на домен неактуален<commit_after>@if (sizeof($domains))
<div class="boxed-group flush">
  <a href="{{ action('Acp\Domains@create') }}" class="boxed-group-action btn btn-success">
    <i class="fa fa-plus"></i>
  </a>
  <h3>
    <form class="form-inline">
      {{ $domains->total() }} {{ trans_choice('plural.domains', $domains->total()) }}
      &nbsp;
      <input type="search" name="q" class="form-control" placeholder="Поиск..." value="{{ $q or '' }}">
      <input type="hidden" name="filter" value="{{ $filter or '' }}">
    </form>
  </h3>
  <div class="boxed-group-inner">
    <table class="table-stats js-float-thead">
      <colgroup>
        <col width="30"></col>
        <col width="*"></col>
        <col width="125"></col>
        <col width="200"></col>
        <col width="200"></col>
        <col width="60"></col>
      </colgroup>
      <thead>
        <tr>
          <th><input type="checkbox" class="js-select-all" data-selector=".domains-checkbox"></th>
          <th>Домен</th>
          <th>Оплачен до</th>
          <th>Сервер</th>
          <th>NS</th>
          <th>CMS</th>
        </tr>
      </thead>
      <tbody>
      @foreach ($domains as $i => $domain)
        <tr class="js-dblclick-edit" data-dblclick-url="/acp/domains/{{ $domain->domain }}/edit?goto={{ $back_url }}">
          <td>
            <input class="domains-checkbox" type="checkbox" name="ids[]" value="{{ $domain->id }}">
          </td>
          <td>
            <a href="http://{{ $domain->domain }}/" target="_blank" style="margin-right: 0.3em;"><i class="fa fa-external-link"></i></a>
            <a href="/acp/domains/{{ $domain->domain }}" class="link">{{ $domain->domain }}</a>
            @if ($domain->alias_id)
              <span class="text-muted">
                алиас
                <a href="/acp/domains/{{ $domain->alias->domain }}" class="link">{{ $domain->alias->domain }}</a>
              </span>
            @endif
            @if ($domain->text)
              <span class="label label-default tip" title="есть заметки">...</span>
            @endif
            @if (!$domain->domain_control)
              <span class="label label-info tip" title="не в нашей панели">?</span>
            @endif
            @if ($domain->domain_control and $domain->isExpired())
              <span class="label label-danger tip" title="просрочена оплата">$</span>
            @endif
            @if ($domain->domain_control and $domain->isExpiringSoon())
              <span class="label label-warning tip" title="подходит срок оплаты">$</span>
            @endif
          </td>
          <td class="text-muted">
            <span class="tip" title="{{ $domain->paid_till }}">
              {{ $domain->paid_till->toDateString() }}
            </span>
          </td>
          <td>{!! $domain->whatServerIpv4() !!}</td>
          <td>{{ $domain->firstNsServer() }}</td>
          <td>
            @if (!$domain->isExpired() && ($domain->cms_url || ($domain->alias_id and $domain->alias->cms_url)))
              @include('acp.domains.cms_login', ['cms_button_class' => 'btn btn-default btn-xs'])
            @endif
          </td>
        </tr>
      @endforeach
      </tbody>
    </table>
  </div>
</div>

<div class="pull-left" style="margin: 0 0 1em;">
  <form class="form-inline js-batch-form" data-url="/acp/domains/batch" data-selector=".domains-checkbox">
    <div class="form-group">
      <select class="form-control" name="action" id="batch_action">
        <option value="">Выберите действие...</option>
        @if ($filter == 'trashed')
          <option value="restore">Восстановить</option>
          <option value="force_delete">Удалить окончательно</option>
        @else
          <option value="activate">Включить мониторинг</option>
          <option value="deactivate">Выключить мониторинг</option>
          <option value="delete">Удалить</option>
        @endif
      </select>
    </div>
    <button class="btn btn-default" id="batch_submit">Выполнить</button>
  </form>
</div>

<div class="pull-right">
  @include('tpl.paginator', ['paginator' => $domains])
</div>

<div class="clearfix"></div>

<p>
  <span class="label label-default">...</span> &nbsp;— есть заметки &nbsp;
  <span class="label label-info">?</span> &nbsp;— не в нашей панели &nbsp;
  <span class="label label-danger">$</span> &nbsp;— просрочена оплата &nbsp;
  <span class="label label-warning">$</span> &nbsp;— подходит срок оплаты
</p>
@else
  <div class="alert alert-warning">
    По заданному критерию не найдено ни одного домена.
  </div>
@endif
{'fraction_non_alphanumeric': 0.20307592331853136, 'fraction_numerical': 0.004548900682335102, 'mean_word_length': 2.4493836384011956, 'pattern_counts': {'":': 0, '<': 251, '<?xml version=': 0, '>': 315, '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': '2638946', 'n_tokens_mistral': 3099, 'n_tokens_neox': 3091, 'n_words': 606}