<commit_before><!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
  <head th:replace="_layout::head(~{::title}, ~{::scripts})">
    <title th:text="#{calendar.share.header.title}"></title>
    <th:block th:fragment="scripts">
      <script defer asset:src="app_list.js"></script>
    </th:block>
  </head>
  <body th:replace="_layout::body(~{::main}, ~{})">
    <main th:fragment="main" class="tw-max-w-6xl tw-mx-auto tw-px-4 lg:tw-px-12 xl:tw-px-0 tw-pb-32">
      <h1 class="tw-sr-only" th:text="#{applications.title}"></h1>

      <div
        class="feedback"
        th:if="${#bools.isTrue(allowSuccess) or #bools.isTrue(temporaryAllowSuccess) or #bools.isTrue(rejectSuccess)}"
      >
        <div class="alert alert-success">
          <th:block th:if="${allowSuccess}" th:text="#{application.action.allow.success}"></th:block>
          <th:block th:if="${temporaryAllowSuccess}" th:text="#{application.action.temporary_allow.success}"></th:block>
          <th:block th:if="${rejectSuccess}" th:text="#{application.action.reject.success}"></th:block>
        </div>
      </div>

      <div
        th:replace="fragments/section-heading::section-heading(~{::user-applications-heading-body}, ~{::user-applications-heading-actions}, ~{::user-applications-heading-below})"
      >
        <th:block th:ref="user-applications-heading-actions">
          <a
            href="#"
            th:href="@{/web/application/new}"
            class="icon-link tw-px-1"
            th:data-title="#{action.apply.vacation}"
            sec:authorize="hasAuthority('OFFICE')"
          >
            <svg th:replace="icon/plus-circle::svg(className='tw-w-5 tw-h-5')"></svg>
          </a>
          <a
            href="#"
            th:href="@{/web/absences}"
            class="icon-link tw-px-1"
            th:data-title="#{action.applications.absences_overview}"
          >
            <svg th:replace="icon/calendar::svg(className='tw-w-5 tw-h-5')"></svg>
          </a>
          <a
            href="#"
            th:href="@{/web/application/statistics}"
            class="icon-link tw-px-1"
            th:data-title="#{action.applications.statistics}"
            sec:authorize="hasAnyAuthority('DEPARTMENT_HEAD', 'SECOND_STAGE_AUTHORITY', 'BOSS', 'OFFICE')"
          >
            <svg th:replace="icon/presentation-chart-bar::svg(className='tw-w-5 tw-h-5')"></svg>
          </a>
          <a href="#" th:replace="fragments/print::button"></a>
        </th:block>
        <th:block th:ref="user-applications-heading-body">
          <ul class="tw-m-0 tw-p-0 tw-list-none tw-flex tw-flex-col xs:tw-flex-row tw-gap-2 xs:tw-gap-8 tw-mb-2 xs:tw-mb-0" is="uv-nav-tabs">
            <li
              class="tw-border-l-4 xs:tw-border-l-0 xs:tw-border-b-4 tw-pl-2 xs:tw-pl-0"
              th:classappend="${activeContent == 'application' ? 'tw-border-gray-200' : 'tw-border-transparent'}"
              data-content="#user-applications-block"
              th:attrappend="data-active=${activeContent == 'application'}?${'data-active'}"
            >
              <a
                href="#user-applications-block"
                th:href="@{/web/application}"
                class="tw-text-xl tw-font-medium tw-no-underline hover:tw-text-black-almost"
                th:classappend="${activeContent == 'application' ? 'tw-text-black-almost' : 'tw-text-gray-400'}"
                th:text="#{applications.myself.waiting}"
              >
              </a>
            </li>
            <li
              class="tw-border-l-4 xs:tw-border-l-0 xs:tw-border-b-4 tw-pl-2 xs:tw-pl-0"
              th:classappend="${activeContent == 'replacement' ? 'tw-border-gray-200' : 'tw-border-transparent'}"
              data-content="#user-replacements-block"
              th:attrappend="data-active=${activeContent == 'replacement'}?${'data-active'}"
            >
              <a
                href="#user-replacements-block"
                th:href="@{/web/application/replacement}"
                class="tw-text-xl tw-font-medium tw-no-underline hover:tw-text-black-almost tw-gap-2"
                th:classappend="${activeContent == 'replacement' ? 'tw-text-black-almost' : 'tw-text-gray-400'}"
              >
                <th:block th:text="#{applications.holiday_replacement}" />
                <span class="tw-inline-flex tw-items-center tw-justify-center tw-rounded-full tw-bg-blue-100 tw-text-blue-700 tw-text-xs tw-p-0.5 tw-font-bold tw-w-5 tw-h-5 tw-transform tw--translate-y-0.5">
                  <th:block th:text="${#lists.size(applications_holiday_replacements)}" />
                </span>
              </a>
            </li>
          </ul>
        </th:block>
      </div>

      <div
        id="user-applications-block"
        class="tw-mb-10"
        th:hidden="${activeContent != 'application'}"
      >
        <h2 class="tw-sr-only" th:text="#{applications.myself.waiting}"></h2>
        <p th:if="${#lists.isEmpty(userApplications)}" th:text="#{applications.none}"></p>
        <div th:if="${not #lists.isEmpty(userApplications)}" class="tw-flex tw-items-start tw-flex-col md:tw-flex-row md:tw-space-x-12">
          <div
            class="
              tw-sticky tw-py-2 tw-w-full
              md:tw-w-auto
              lg:tw-w-1/4
              tw-bg-gradient-to-b tw-from-white tw-via-white
            "
            style="top: 3.25rem"
          >
            <div class="tw-flex tw-space-x-5 md:tw-space-x-6">
              <img
                th:replace="fragments/avatar::avatar-bordered(url=${signedInUser.gravatarURL + '?d=mm&s=104'},username=${signedInUser.niceName},width='52px',height='52px')"
                alt=""
              />
              <span class="tw-flex tw-flex-wrap lg:tw-flex-col">
                <span class="tw-text-lg">
                  <th:block th:text="${signedInUser.niceName}"></th:block>&nbsp;
                </span>
                <span class="tw-text-lg lg:tw-text-sm" th:text="#{application.applier.applied}"></span>
              </span>
            </div>
          </div>
          <ul
            class="
              tw-w-full tw-list-none tw-m-0 tw-p-0 tw-pl-20
              md:tw-pl-0
              tw-space-y-6
              lg:tw-space-y-2
              md:tw-mt-2
              lg:tw-mt-0
              md:tw-transform md:tw-translate-y-0.5
              tw-text-sm
            "
          >
              <li
                class="
                  tw-mt-2 xs:tw-mt-0<commit_msg>more spacing for my application request rows on small screen<commit_after><!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
  <head th:replace="_layout::head(~{::title}, ~{::scripts})">
    <title th:text="#{calendar.share.header.title}"></title>
    <th:block th:fragment="scripts">
      <script defer asset:src="app_list.js"></script>
    </th:block>
  </head>
  <body th:replace="_layout::body(~{::main}, ~{})">
    <main th:fragment="main" class="tw-max-w-6xl tw-mx-auto tw-px-4 lg:tw-px-12 xl:tw-px-0 tw-pb-32">
      <h1 class="tw-sr-only" th:text="#{applications.title}"></h1>

      <div
        class="feedback"
        th:if="${#bools.isTrue(allowSuccess) or #bools.isTrue(temporaryAllowSuccess) or #bools.isTrue(rejectSuccess)}"
      >
        <div class="alert alert-success">
          <th:block th:if="${allowSuccess}" th:text="#{application.action.allow.success}"></th:block>
          <th:block th:if="${temporaryAllowSuccess}" th:text="#{application.action.temporary_allow.success}"></th:block>
          <th:block th:if="${rejectSuccess}" th:text="#{application.action.reject.success}"></th:block>
        </div>
      </div>

      <div
        th:replace="fragments/section-heading::section-heading(~{::user-applications-heading-body}, ~{::user-applications-heading-actions}, ~{::user-applications-heading-below})"
      >
        <th:block th:ref="user-applications-heading-actions">
          <a
            href="#"
            th:href="@{/web/application/new}"
            class="icon-link tw-px-1"
            th:data-title="#{action.apply.vacation}"
            sec:authorize="hasAuthority('OFFICE')"
          >
            <svg th:replace="icon/plus-circle::svg(className='tw-w-5 tw-h-5')"></svg>
          </a>
          <a
            href="#"
            th:href="@{/web/absences}"
            class="icon-link tw-px-1"
            th:data-title="#{action.applications.absences_overview}"
          >
            <svg th:replace="icon/calendar::svg(className='tw-w-5 tw-h-5')"></svg>
          </a>
          <a
            href="#"
            th:href="@{/web/application/statistics}"
            class="icon-link tw-px-1"
            th:data-title="#{action.applications.statistics}"
            sec:authorize="hasAnyAuthority('DEPARTMENT_HEAD', 'SECOND_STAGE_AUTHORITY', 'BOSS', 'OFFICE')"
          >
            <svg th:replace="icon/presentation-chart-bar::svg(className='tw-w-5 tw-h-5')"></svg>
          </a>
          <a href="#" th:replace="fragments/print::button"></a>
        </th:block>
        <th:block th:ref="user-applications-heading-body">
          <ul class="tw-m-0 tw-p-0 tw-list-none tw-flex tw-flex-col xs:tw-flex-row tw-gap-2 xs:tw-gap-8 tw-mb-2 xs:tw-mb-0" is="uv-nav-tabs">
            <li
              class="tw-border-l-4 xs:tw-border-l-0 xs:tw-border-b-4 tw-pl-2 xs:tw-pl-0"
              th:classappend="${activeContent == 'application' ? 'tw-border-gray-200' : 'tw-border-transparent'}"
              data-content="#user-applications-block"
              th:attrappend="data-active=${activeContent == 'application'}?${'data-active'}"
            >
              <a
                href="#user-applications-block"
                th:href="@{/web/application}"
                class="tw-text-xl tw-font-medium tw-no-underline hover:tw-text-black-almost"
                th:classappend="${activeContent == 'application' ? 'tw-text-black-almost' : 'tw-text-gray-400'}"
                th:text="#{applications.myself.waiting}"
              >
              </a>
            </li>
            <li
              class="tw-border-l-4 xs:tw-border-l-0 xs:tw-border-b-4 tw-pl-2 xs:tw-pl-0"
              th:classappend="${activeContent == 'replacement' ? 'tw-border-gray-200' : 'tw-border-transparent'}"
              data-content="#user-replacements-block"
              th:attrappend="data-active=${activeContent == 'replacement'}?${'data-active'}"
            >
              <a
                href="#user-replacements-block"
                th:href="@{/web/application/replacement}"
                class="tw-text-xl tw-font-medium tw-no-underline hover:tw-text-black-almost tw-gap-2"
                th:classappend="${activeContent == 'replacement' ? 'tw-text-black-almost' : 'tw-text-gray-400'}"
              >
                <th:block th:text="#{applications.holiday_replacement}" />
                <span class="tw-inline-flex tw-items-center tw-justify-center tw-rounded-full tw-bg-blue-100 tw-text-blue-700 tw-text-xs tw-p-0.5 tw-font-bold tw-w-5 tw-h-5 tw-transform tw--translate-y-0.5">
                  <th:block th:text="${#lists.size(applications_holiday_replacements)}" />
                </span>
              </a>
            </li>
          </ul>
        </th:block>
      </div>

      <div
        id="user-applications-block"
        class="tw-mb-10"
        th:hidden="${activeContent != 'application'}"
      >
        <h2 class="tw-sr-only" th:text="#{applications.myself.waiting}"></h2>
        <p th:if="${#lists.isEmpty(userApplications)}" th:text="#{applications.none}"></p>
        <div th:if="${not #lists.isEmpty(userApplications)}" class="tw-flex tw-items-start tw-flex-col md:tw-flex-row md:tw-space-x-12">
          <div
            class="
              tw-sticky tw-py-2 tw-w-full
              md:tw-w-auto
              lg:tw-w-1/4
              tw-bg-gradient-to-b tw-from-white tw-via-white
            "
            style="top: 3.25rem"
          >
            <div class="tw-flex tw-space-x-5 md:tw-space-x-6">
              <img
                th:replace="fragments/avatar::avatar-bordered(url=${signedInUser.gravatarURL + '?d=mm&s=104'},username=${signedInUser.niceName},width='52px',height='52px')"
                alt=""
              />
              <span class="tw-flex tw-flex-wrap lg:tw-flex-col">
                <span class="tw-text-lg">
                  <th:block th:text="${signedInUser.niceName}"></th:block>&nbsp;
                </span>
                <span class="tw-text-lg lg:tw-text-sm" th:text="#{application.applier.applied}"></span>
              </span>
            </div>
          </div>
          <ul
            class="
              tw-w-full tw-list-none tw-m-0 tw-p-0 tw-pl-20
              md:tw-pl-0
              tw-space-y-10
              lg:tw-space-y-2
              md:tw-mt-2
              lg:tw-mt-0
              md:tw-transform md:tw-translate-y-0.5
              tw-text-sm
            "
          >
              <li
                class="
                  tw-mt-2 xs:tw-mt-0
{'fraction_non_alphanumeric': 0.1836269744835966, 'fraction_numerical': 0.014201093560145808, 'mean_word_length': 1.9593258426966291, 'pattern_counts': {'":': 0, '<': 161, '<?xml version=': 0, '>': 159, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 4}, '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': '5631315', 'n_tokens_mistral': 4464, 'n_tokens_neox': 4307, 'n_words': 530}