<commit_before><!DOCTYPE html>
<html lang="en" class="govuk-template" xmlns:th="http://www.w3.org/1999/xhtml">
    <head>
        <th:block th:insert="fragments/layout :: head" th:with="pageTitle='Invite assessors to panel'" />
    </head>

    <body class="govuk-template__body competition-management competition-overview">
        <th:block th:insert="fragments/layout :: body-start" />
        <th:block th:insert="fragments/layout :: global-header" />

        <div class="govuk-width-container">
            <th:block th:insert="fragments/layout :: phase-banner" />
            <th:block th:insert="fragments/layout :: header-sub" th:with="linkTitle='Manage assessment panel',linkUrl=@{/assessment/panel/competition/{competitionId}(competitionId=${model.competitionId})}" />

            <main class="govuk-main-wrapper" id="main-content" role="main">
                <th:block th:insert="fragments/layout :: page-title" th:with="pageTitle='Invite assessors to panel',subTitle=${model.competitionName},size='govuk-heading-xl'" />
                <h2 class="govuk-heading-m">Key statistics</h2>

                <div class="govuk-grid-row">
                    <div class="govuk-grid-column-one-quarter">
                        <div class="highlight-panel highlight-panel-padded">
                            <span class="govuk-heading-l govuk-!-margin-0" th:text="${model.assessorsInvited}">60</span>
                            <small>Invited</small>
                        </div>
                    </div>
                    <div class="govuk-grid-column-one-quarter">
                        <div class="highlight-panel highlight-panel-padded">
                            <span class="govuk-heading-l govuk-!-margin-0" th:text="${model.assessorsAccepted}">23</span>
                            <small>Accepted</small>
                        </div>
                    </div>
                    <div class="govuk-grid-column-one-quarter">
                        <div class="highlight-panel highlight-panel-padded">
                            <span class="govuk-heading-l govuk-!-margin-0" th:text="${model.assessorsDeclined}">3</span>
                            <small>Declined</small>
                        </div>
                    </div>
                </div>

                <dl class="standard-definition-list govuk-!-margin-top-6">
                    <dt>Innovation sector</dt>
                    <dd th:text="${model.innovationSector}">Health and life sciences</dd>

                    <dt>Innovation area</dt>
                    <dd th:text="${model.innovationArea}">Agriculture and food</dd>
                </dl>

                <div class="govuk-tabs">
                    <h2 class="govuk-tabs__title">
                        Invite assessors to panel
                    </h2>
                    <ul class="govuk-tabs__list">
                        <li class="govuk-tabs__list-item">
                            <a th:href="@{/assessment/panel/competition/{competitionId}/assessors/find(competitionId=${model.competitionId})}" class="govuk-tabs__tab">Find</a>
                        </li>
                        <li class="govuk-tabs__list-item">
                            <a th:href="@{/assessment/panel/competition/{competitionId}/assessors/invite(competitionId=${model.competitionId})}" class="govuk-tabs__tab" aria-selected="true">Invite</a>
                        </li>
                        <li class="govuk-tabs__list-item">
                            <a th:href="@{/assessment/panel/competition/{competitionId}/assessors/pending-and-declined(competitionId=${model.competitionId})}" class="govuk-tabs__tab">Pending and declined</a>
                        </li>
                        <li class="govuk-tabs__list-item">
                            <a th:href="@{/assessment/panel/competition/{competitionId}/assessors/accepted(competitionId=${model.competitionId})}" class="govuk-tabs__tab">Accepted</a>
                        </li>
                    </ul>
                    <section class="govuk-tabs__panel">
                        <div class="govuk-grid-row">
                            <div class="govuk-grid-column-three-quarters">
                                <h2 class="govuk-heading-s govuk-!-margin-top-0 govuk-!-margin-bottom-6">Invite assessors to this panel.</h2>
                            </div>
                        </div>

                        <form method="POST" th:action="@{/assessment/panel/competition/{competitionId}/assessors/invite(competitionId=${model.competitionId})}">

                            <div class="govuk-grid-row sorting">
                                <div class="govuk-grid-column-one-half">
                                    <span class="govuk-body govuk-!-font-size-48 govuk-!-font-weight-bold" th:text="${model.pagination.totalCount}">20</span>
                                    <span class="govuk-body govuk-!-font-size-19 govuk-!-font-weight-bold">assessors</span>
                                </div>

                                <div class="govuk-grid-column-one-half alignright" th:if="${!#lists.isEmpty(model.assessors)}">
                                    <a th:href="@{/panel/competition/{competitionId}/assessors/invite/send(competitionId=${model.competitionId})}" class="govuk-button govuk-!-margin-0">Review and send invites</a>
                                </div>
                            </div>

                            <div class="table-overflow">
                                <table class="govuk-table">
                                    <thead class="govuk-table__head">
                                    <tr class="govuk-table__row">
                                        <th class="govuk-table__header" scope="col">Assessor name</th>
                                        <th class="govuk-table__header" scope="col">Email address</th>
                                        <th class="govuk-table__header" scope="col">Innovation area</th>
                                        <th class="govuk-table__header" scope="col">Contract and DOI</th>
                                        <td scope="col" class="govuk-table__header alignright">
                                            <button name="removeAll" class="button-clear alignright"
                                                    th:if="${!#lists.isEmpty(model.assessors)}">
                                                Remove all
                                            </button>
                                        </td>
                                    </tr>
                                    </thead>
                                    <tbody class="govuk-table__body">
                                    <tr class="govuk-table__row" th:each="assessor : ${model.assessors}">
                                        <td class="govuk-table__cell">
                                            <a th:href="@{/competition/{competitionId}/assessors/profile/{assessorId}(competitionId=${model.competitionId},assessorId=${assessor.id})} + ${originQuery}"
                                               th:if="${assessor.id}"
                                               th:text="${assessor.name}"
                                               class="govuk-link"><NAME>
                                            </a>
                                            <span th:text="${assessor.name}" th:if="${assessor.id == null}"><NAME></span>
                                        </td>
                                        <td class="govuk-table__cell" th:text="${assessor.email}"><EMAIL></td>
                                        <td class="govuk-table__cell" th:text="${assessor.innovationAreas}">Earth Observation</td>
                                        <td class="govuk-table__cell">
                                            <span class="yes" th:if="${assessor.compliant}">Yes</span>
                                            <span class="no" th:unless="${assessor.compliant}">No</span>
                                        </td>
                                        <td class="govuk-table__cell alignright">
                                            <button class="button-clear alignright" name="remove" th:value="${assessor.email}">
                                                Remove <span aria-hidden="true" th:text="${assessor.name}"><NAME> </span>
                                            </button>
                                        </td>
                                    </tr>
                                    <tr class="govuk-table__row" th:if="${#lists.isEmpty(model.assessors)}">
                                        <td class="govuk-table__cell" colspan="5">There are no assessors to be invited to this panel.</td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div>
                        </form>
                        <th:block th:insert="fragments/elements :: general-pagination(pagination=${model.pagination})" />
                    </section>
                </div>

<<<<<<< HEAD
=======
                    <div class="table-overflow">
                        <table class="govuk-table">
                            <thead class="govuk-table__head">
                            <tr class="govuk-table__row">
                                <th class="govuk-table__header" scope="col">Assessor name</th>
                                <th class="govuk-table__header" scope="col">Email address</th>
                                <th class="govuk-table__header" scope="col">Innovation area</th>
                                <th class="govuk-table__header" scope="col">Contract and DOI</th>
                                <td scope="col" class="govuk-table__header alignright">
                                    <button name="removeAll" class="button-clear alignright"
                                            th:if="${!#lists.isEmpty(model.assessors)}">
                                        Remove all
                                    </button>
                                </td>
                            </tr>
                            </thead>
                            <tbody class="govuk-table__body">
                            <tr class="govuk-table__row" th:each="assessor : ${model.assessors}">
                                <td class="govuk-table__cell">
                                    <a th:href="@{/competition/{competitionId}/assessors/profile/{assessorId}/skills(competitionId=${model.competitionId},assessorId=${assessor.id})} + ${originQuery}"
                                       th:if="${assessor.id}"
                                       th:text="${assessor.name}"
                                       class="govuk-link"><NAME>
                                    </a>
                                    <span th:text="${assessor.name}" th:if="${assessor.id == null}"><NAME></span>
                                </td>
                                <td class="govuk-table__cell" th:text="${assessor.email}"><EMAIL></td>
                                <td class="govuk-table__cell" th:text="${assessor.innovationAreas}">Earth Observation</td>
                                <td class="govuk-table__cell">
                                    <span class="yes" th:if="${assessor.compliant}">Yes</span>
                                    <span class="no" th:unless="${assessor.compliant}">No</span>
                                </td>
                                <td class="govuk-table__cell alignright">
                                    <button class="button-clear alignright" name="remove" th:value="${assessor.email}">
                                        Remove <span aria-hidden="true" th:text="${assessor.name}"><NAME> </span>
                                    </button>
                                </td>
                            </tr>
                            <tr class="govuk-table__row" th:if="${#lists.isEmpty(model.assessors)}">
                                <td class="govuk-table__cell" colspan="5">There are no assessors to be invited to this panel.</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </form>
                <th:block th:insert="fragments/elements :: general-pagination(pagination=${model.pagination})" />
>>>>>>> development
                <th:block th:insert="fragments/layout :: main-content-end" />
            </main>
        </div>
        <th:block th:insert="fragments/layout :: footer" />
        <th:block th:insert="fragments/layout :: body-end" />
        <th:block th:insert="fragments/service-layout :: body-end" />
    </body>
</html><commit_msg>IFS-4175 Fix merge conflict<commit_after><!DOCTYPE html>
<html lang="en" class="govuk-template" xmlns:th="http://www.w3.org/1999/xhtml">
    <head>
        <th:block th:insert="fragments/layout :: head" th:with="pageTitle='Invite assessors to panel'" />
    </head>

    <body class="govuk-template__body competition-management competition-overview">
        <th:block th:insert="fragments/layout :: body-start" />
        <th:block th:insert="fragments/layout :: global-header" />

        <div class="govuk-width-container">
            <th:block th:insert="fragments/layout :: phase-banner" />
            <th:block th:insert="fragments/layout :: header-sub" th:with="linkTitle='Manage assessment panel',linkUrl=@{/assessment/panel/competition/{competitionId}(competitionId=${model.competitionId})}" />

            <main class="govuk-main-wrapper" id="main-content" role="main">
                <th:block th:insert="fragments/layout :: page-title" th:with="pageTitle='Invite assessors to panel',subTitle=${model.competitionName},size='govuk-heading-xl'" />
                <h2 class="govuk-heading-m">Key statistics</h2>

                <div class="govuk-grid-row">
                    <div class="govuk-grid-column-one-quarter">
                        <div class="highlight-panel highlight-panel-padded">
                            <span class="govuk-heading-l govuk-!-margin-0" th:text="${model.assessorsInvited}">60</span>
                            <small>Invited</small>
                        </div>
                    </div>
                    <div class="govuk-grid-column-one-quarter">
                        <div class="highlight-panel highlight-panel-padded">
                            <span class="govuk-heading-l govuk-!-margin-0" th:text="${model.assessorsAccepted}">23</span>
                            <small>Accepted</small>
                        </div>
                    </div>
                    <div class="govuk-grid-column-one-quarter">
                        <div class="highlight-panel highlight-panel-padded">
                            <span class="govuk-heading-l govuk-!-margin-0" th:text="${model.assessorsDeclined}">3</span>
                            <small>Declined</small>
                        </div>
                    </div>
                </div>

                <dl class="standard-definition-list govuk-!-margin-top-6">
                    <dt>Innovation sector</dt>
                    <dd th:text="${model.innovationSector}">Health and life sciences</dd>

                    <dt>Innovation area</dt>
                    <dd th:text="${model.innovationArea}">Agriculture and food</dd>
                </dl>

                <div class="govuk-tabs">
                    <h2 class="govuk-tabs__title">
                        Invite assessors to panel
                    </h2>
                    <ul class="govuk-tabs__list">
                        <li class="govuk-tabs__list-item">
                            <a th:href="@{/assessment/panel/competition/{competitionId}/assessors/find(competitionId=${model.competitionId})}" class="govuk-tabs__tab">Find</a>
                        </li>
                        <li class="govuk-tabs__list-item">
                            <a th:href="@{/assessment/panel/competition/{competitionId}/assessors/invite(competitionId=${model.competitionId})}" class="govuk-tabs__tab" aria-selected="true">Invite</a>
                        </li>
                        <li class="govuk-tabs__list-item">
                            <a th:href="@{/assessment/panel/competition/{competitionId}/assessors/pending-and-declined(competitionId=${model.competitionId})}" class="govuk-tabs__tab">Pending and declined</a>
                        </li>
                        <li class="govuk-tabs__list-item">
                            <a th:href="@{/assessment/panel/competition/{competitionId}/assessors/accepted(competitionId=${model.competitionId})}" class="govuk-tabs__tab">Accepted</a>
                        </li>
                    </ul>
                    <section class="govuk-tabs__panel">
                        <div class="govuk-grid-row">
                            <div class="govuk-grid-column-three-quarters">
                                <h2 class="govuk-heading-s govuk-!-margin-top-0 govuk-!-margin-bottom-6">Invite assessors to this panel.</h2>
                            </div>
                        </div>

                        <form method="POST" th:action="@{/assessment/panel/competition/{competitionId}/assessors/invite(competitionId=${model.competitionId})}">

                            <div class="govuk-grid-row sorting">
                                <div class="govuk-grid-column-one-half">
                                    <span class="govuk-body govuk-!-font-size-48 govuk-!-font-weight-bold" th:text="${model.pagination.totalCount}">20</span>
                                    <span class="govuk-body govuk-!-font-size-19 govuk-!-font-weight-bold">assessors</span>
                                </div>

                                <div class="govuk-grid-column-one-half alignright" th:if="${!#lists.isEmpty(model.assessors)}">
                                    <a th:href="@{/panel/competition/{competitionId}/assessors/invite/send(competitionId=${model.competitionId})}" class="govuk-button govuk-!-margin-0">Review and send invites</a>
                                </div>
                            </div>

                            <div class="table-overflow">
                                <table class="govuk-table">
                                    <thead class="govuk-table__head">
                                    <tr class="govuk-table__row">
                                        <th class="govuk-table__header" scope="col">Assessor name</th>
                                        <th class="govuk-table__header" scope="col">Email address</th>
                                        <th class="govuk-table__header" scope="col">Innovation area</th>
                                        <th class="govuk-table__header" scope="col">Contract and DOI</th>
                                        <td scope="col" class="govuk-table__header alignright">
                                            <button name="removeAll" class="button-clear alignright"
                                                    th:if="${!#lists.isEmpty(model.assessors)}">
                                                Remove all
                                            </button>
                                        </td>
                                    </tr>
                                    </thead>
                                    <tbody class="govuk-table__body">
                                    <tr class="govuk-table__row" th:each="assessor : ${model.assessors}">
                                        <td class="govuk-table__cell">
                                            <a th:href="@{/competition/{competitionId}/assessors/profile/{assessorId}/skills(competitionId=${model.competitionId},assessorId=${assessor.id})} + ${originQuery}"
                                               th:if="${assessor.id}"
                                               th:text="${assessor.name}"
                                               class="govuk-link"><NAME>
                                            </a>
                                            <span th:text="${assessor.name}" th:if="${assessor.id == null}"><NAME></span>
                                        </td>
                                        <td class="govuk-table__cell" th:text="${assessor.email}"><EMAIL></td>
                                        <td class="govuk-table__cell" th:text="${assessor.innovationAreas}">Earth Observation</td>
                                        <td class="govuk-table__cell">
                                            <span class="yes" th:if="${assessor.compliant}">Yes</span>
                                            <span class="no" th:unless="${assessor.compliant}">No</span>
                                        </td>
                                        <td class="govuk-table__cell alignright">
                                            <button class="button-clear alignright" name="remove" th:value="${assessor.email}">
                                                Remove <span aria-hidden="true" th:text="${assessor.name}"><NAME> </span>
                                            </button>
                                        </td>
                                    </tr>
                                    <tr class="govuk-table__row" th:if="${#lists.isEmpty(model.assessors)}">
                                        <td class="govuk-table__cell" colspan="5">There are no assessors to be invited to this panel.</td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div>
                        </form>
                        <th:block th:insert="fragments/elements :: general-pagination(pagination=${model.pagination})" />
                    </section>
                </div>
                <th:block th:insert="fragments/layout :: main-content-end" />
            </main>
        </div>
        <th:block th:insert="fragments/layout :: footer" />
        <th:block th:insert="fragments/layout :: body-end" />
        <th:block th:insert="fragments/service-layout :: body-end" />
    </body>
</html>
{'fraction_non_alphanumeric': 0.13485495639793557, 'fraction_numerical': 0.0028919736607937356, 'mean_word_length': 1.2380762720302698, 'pattern_counts': {'":': 0, '<': 382, '<?xml version=': 0, '>': 382, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 167, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2567412', 'n_tokens_mistral': 5681, 'n_tokens_neox': 5416, 'n_words': 769}