<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ page extends="oneit.servlets.jsp.JSPInclude" %>
<%@ include file="/inc/stdimports50.jsp" %><%-- This is in cougar --%>
<%@ include file="/inc/stdcms.jsp" %><%-- This is in cougar --%>
<%@ include file="/extensions/performa/inc/stdimports.jsp" %>

<oneit:dynIncluded>
<%
    Job job =   (Job) process.getAttribute("Job");
            
    if(request.getParameter("JobID")!=null)
    {
        job =   Job.getJobByID(transaction, Long.parseLong((String) request.getParameter("JobID")));
    }
    
    Debug.assertion(job != null, "Job is null in applicant portal");
    
    WorkFlowTemplate    workFlowTemplate    =   job.getWorkFlowTemplate() != null ? job.getWorkFlowTemplate() : null;
%>
    <script type="text/javascript">
        var interval;
        $(document.body).addClass('bg-color');
    </script>
    <div class="apply-job-logo-header signinpage">
        <div class="box-sizing-border-box">
            <div class="logo-img">
            <%
                BinaryContent   logo    =   job.getLogo();

                if(logo != null)
                {
                    int logoHeight  =   45;
            %>
                    <tagfile:img src="<%= ThumbnailUtils.filterImage(DiskFileBinaryContent.getRelativeURL(logo), "KEEP", new ScaleWithin (0, logoHeight)) %>" />
            <%
                }
            %>
            </div>
            <div class="header-title">
                <%= job.getTeamName() %>
            </div>
        </div>
    </div>
    <div class="main-verify-identity">
       
        <div class="pl-verify"><%= workFlowTemplate != null ? workFlowTemplate.getThankYouHeaderText() : "Thank-you for your application to:" %></div>
        <div class="verify-i-title">
            <oneit:toString value="<%= job.getJobTitle() %>"   mode="EscapeHTML"/>
        </div>
        <div class="main-box-layout verify-i-setpone">
            <div class="box-label"><%= workFlowTemplate != null ? workFlowTemplate.getThankYouSecondaryText() : "We will get in touch with you soon" %></div>
        </div>
    </div>
</oneit:dynIncluded>