|
@@ -0,0 +1,135 @@
|
|
|
+<!DOCTYPE html>
|
|
|
+<html lang="zh-CN" xmlns="http://www.w3.org/1999/html"
|
|
|
+ xmlns:th="http://www.thymeleaf.org"
|
|
|
+ xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
|
|
+ layout:decorate="~{layouts/layout}">
|
|
|
+<head>
|
|
|
+ <meta charset="UTF-8"/>
|
|
|
+ <title>职位信息 - [[${APP_NAME}]]</title>
|
|
|
+</head>
|
|
|
+<body>
|
|
|
+<th:block layout:fragment="content">
|
|
|
+ <section class="jumbotron text-center">
|
|
|
+ <div class="container">
|
|
|
+ <h1 class="jumbotron-heading" th:text="${job.getName()}"></h1>
|
|
|
+ <p class="lead text-muted" th:text="${job.getSalary() + ' / ' + job.getEducation() + ' / ' + job.getType()}"></p>
|
|
|
+ <p>
|
|
|
+ <a class="btn btn-secondary my-2" th:href="${'/job?id=' + job.getId()}">支持一下</a>
|
|
|
+ <a class="btn btn-primary my-2" href="#modal-job" data-toggle="modal">投递简历</a>
|
|
|
+ </p>
|
|
|
+ <p>
|
|
|
+ 当前热度:<span th:text="${job.getPriority()}"></span>
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ </section>
|
|
|
+
|
|
|
+ <div class="container">
|
|
|
+ <div class="row">
|
|
|
+ <div class="col-md-12">
|
|
|
+ <h3 class="pb-3 mb-4 font-italic border-bottom">职位详情</h3>
|
|
|
+
|
|
|
+ <div class="my-3 p-3 bg-white rounded box-shadow">
|
|
|
+ <h5 class="border-bottom border-gray pb-2 mb-0">职位简介</h5>
|
|
|
+ <div class="media text-muted pt-3">
|
|
|
+ <div class="media-body pb-3 mb-0 small lh-125 border-bottom border-gray">
|
|
|
+ <div class="d-flex justify-content-between align-items-center w-100">
|
|
|
+ <strong class="text-gray-dark" th:text="${job.getDescription()}"></strong>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="my-3 p-3 bg-white rounded box-shadow">
|
|
|
+ <h5 class="border-bottom border-gray pb-2 mb-0">工作地点</h5>
|
|
|
+ <div class="media text-muted pt-3">
|
|
|
+ <div class="media-body pb-3 mb-0 small lh-125 border-bottom border-gray">
|
|
|
+ <div class="d-flex justify-content-between align-items-center w-100">
|
|
|
+ <strong class="text-gray-dark" th:text="${job.getPlace()}"></strong>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="row" style="margin-top: 24px;"></div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <!-- 完善企业信息模态框 -->
|
|
|
+ <div class="modal fade" id="modal-company" tabindex="-1" role="dialog" aria-labelledby="" aria-hidden="true">
|
|
|
+ <div class="modal-dialog" role="document">
|
|
|
+ <div class="modal-content">
|
|
|
+ <div class="modal-header">
|
|
|
+ <h5 class="modal-title">完善企业信息</h5>
|
|
|
+ <button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
+ <span aria-hidden="true">×</span>
|
|
|
+ </button>
|
|
|
+ </div>
|
|
|
+ <div class="modal-body">
|
|
|
+ <form>
|
|
|
+ <div class="form-group">
|
|
|
+ <label for="input-brand">商标</label>
|
|
|
+ <input class="form-control-file" id="input-brand" type="file" accept="image/png, image/jpg, image/jpeg"/>
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label for="select-nature">企业性质</label>
|
|
|
+ <select class="form-control" id="select-nature">
|
|
|
+ <option value="">--- 请选择 ---</option>
|
|
|
+ <option value="国有企业">国有企业</option>
|
|
|
+ <option value="集体所有制">集体所有制</option>
|
|
|
+ <option value="私营企业">私营企业</option>
|
|
|
+ <option value="股份制企业">股份制企业</option>
|
|
|
+ <option value="有限合伙企业">有限合伙企业</option>
|
|
|
+ <option value="联营企业">联营企业</option>
|
|
|
+ <option value="外商投资企业">外商投资企业</option>
|
|
|
+ <option value="个人独资企业">个人独资企业</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label for="input-scale">企业规模</label>
|
|
|
+ <input class="form-control" id="input-scale" type="text" placeholder="企业规模" maxlength="16"/>
|
|
|
+ <small class="form-text text-muted">? 人 / ? 千人</small>
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label for="textarea-introduction">企业简介</label>
|
|
|
+ <textarea class="form-control" id="textarea-introduction" rows="3" maxlength="500"></textarea>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ <div class="modal-footer">
|
|
|
+ <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
|
|
|
+ <button type="button" class="btn btn-primary" onclick="active();">认证并激活</button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <script src="https://files.minbb.cn/plugins/jquery/3.4.0/jquery.js"></script>
|
|
|
+ <script>
|
|
|
+ $(document).ready(function () {
|
|
|
+ });
|
|
|
+
|
|
|
+ function deleteJob(obj) {
|
|
|
+ if (confirm("确定投递简历吗?")) {
|
|
|
+ $.ajax({
|
|
|
+ url: '/job?id=' + obj.dataset.id,
|
|
|
+ type: 'DELETE',
|
|
|
+ contentType: "application/json; charset=utf-8",
|
|
|
+ dataType: "json",
|
|
|
+ success: function (data) {
|
|
|
+ if (data.success) {
|
|
|
+ window.location.reload();
|
|
|
+ } else {
|
|
|
+ alert("请重试");
|
|
|
+ }
|
|
|
+ },
|
|
|
+ error: function (data) {
|
|
|
+ console.log(data);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
+ </script>
|
|
|
+</th:block>
|
|
|
+</body>
|
|
|
+</html>
|