<%@ 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>
<%
    ObjectTransaction   objTran         =   process.getTransaction ();
    String              nextPage        =   WebUtils.getSamePageInRenderMode(request, "SelectionCriteria");
    JobApplication      jobApplication  =   (JobApplication) process.getAttribute("JobApplication");
    Job                 job             =   jobApplication.getJob();
    String              exitPage        =   WebUtils.getArticleLink(request, objTran, WebUtils.APPLY_JOB, "Page") + "&id=" + job.getID() + "&key=" + job.getRandomKey();
%>
    <script>
        $(document.body).addClass('bg-color');
    </script>
    
    <div class="main-application-outline">
        <div class="selection-aust-logo">
            <%
                if(job.isClientLogoAvailable())
                {
                    int logoWidth   =   45;
            %>
                    <tagfile:img src="<%= ThumbnailUtils.filterImage(DiskFileBinaryContent.getRelativeURL(job.getClient().getClientLogo()), "KEEP", new ScaleWithin (logoWidth, 0)) %>" />
            <%
                }
            %>
            <span><oneit:toString value="<%= job.getJobTitle() %>"  mode="EscapeHTML"/></span>
            <div class="clearfix no-height"></div>
        </div>    
        <div class="mobile-successfull-show display-none">Thank you <span><img  class="mob-smile-face" src="images/smile-face.png" /></span></div>            
        <div class="section-page-area complete-back">
            <div class="job-post-complete">
                <div class="big-right-sy"><span><img src="images/big-right-symbol.svg" /></span></div>
                <div class="app-complete-title m-hide">Thank you <span><img class="smile-face"src="images/smile-face.png" /></span></div>
                <div class="app-complete-text">
                    Your application for klk aksfjasdjasdjasjdas  fksdj as ad
                    <oneit:toString value="<%= job.getJobTitle() %>"  mode="EscapeHTML"/>
                    has been submitted for review.
                </div>
                <oneit:form name="applyJob" method="post" enctype="multipart/form-data">
                    <div class="section-btn text-center">
                        <oneit:button   value="Return to Job Details"   name="gotoPage" cssClass="btn btn-primary box-btn btn-gotojob"
                                        requestAttribs="<%= CollectionUtils.mapEntry("nextPage", exitPage)
                                                                        .mapEntry("procParams", CollectionUtils.mapEntry("JobApplication", jobApplication).toMap())
                                                                        .toMap() %>"/>
                    </div>
                </oneit:form>
            </div>                                
        </div>        
    </div>
</oneit:dynIncluded>