天天看点

【若依】详细页面(detail.html)的实现

<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('员工详细')" />
    <th:block th:include="include :: jsonview-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-stf-detail" th:object="${stf}">
           
			
            <div class="form-group">
                <label class="col-sm-3 control-label">姓名:</label>
                <div class="col-sm-8">
                    <div class="form-control-static" th:text="*{name}"></div>
                </div>
            </div>
            
			
		
            <div class="form-group">    
                <label class="col-sm-3 control-label">岗位:</label>
                <div class="col-sm-8">
                    <div class="form-control-static" th:text="${@dict.getLabel('sc_stf_gw', stf.gw)}"></div>
                </div>
            </div>
            
			
            <div class="form-group">    
                <label class="col-sm-3 control-label">出生日期:</label>
                <div class="col-sm-8">
                    <div class="form-control-static" th:text="${#dates.format(stf.birthday, 'yyyy-MM-dd')}"></div>
                </div>
            </div>
			
			
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: jsonview-js" />
</body>
</html>