|
69 | 69 | <tr>
|
70 | 70 | <th>
|
71 | 71 | <span class="glyphicon glyphicon-user" aria-hidden="true"></span>
|
72 |
| - <span th:text="#{employee.info.name}"></span> |
73 |
| - <span th:if="${employeeInfoForm.name != null}" th:text="${employeeInfoForm.name}"></span> |
| 72 | + <span class="span-heading" th:text="#{employee.info.name}"></span> |
| 73 | + <span class="span-text" th:if="${employeeInfoForm.name != null}" th:text="${employeeInfoForm.name}"></span> |
74 | 74 | </th>
|
75 | 75 | <th>
|
76 | 76 | <span class="glyphicon glyphicon-envelope" aria-hidden="true"></span>
|
77 |
| - <span th:text="#{employee.info.email}"></span> |
78 |
| - <span th:if="${employeeInfoForm.email != null}" th:text="${employeeInfoForm.email}"></span> |
| 77 | + <span class="span-heading" th:text="#{employee.info.email}"></span> |
| 78 | + <span class="span-text" th:if="${employeeInfoForm.email != null}" th:text="${employeeInfoForm.email}"></span> |
79 | 79 | </th>
|
80 | 80 | </tr>
|
81 | 81 | <tr>
|
82 | 82 | <th>
|
83 | 83 | <span class="glyphicon glyphicon-earphone" aria-hidden="true"></span>
|
84 |
| - <span th:text="#{employee.info.tel}"></span> |
85 |
| - <span th:if="${employeeInfoForm.phoneNumber != null}" th:text="${employeeInfoForm.phoneNumber}"></span> |
| 84 | + <span class="span-heading" th:text="#{employee.info.tel}"></span> |
| 85 | + <span class="span-text" th:if="${employeeInfoForm.phoneNumber != null}" th:text="${employeeInfoForm.phoneNumber}"></span> |
86 | 86 | </th>
|
87 | 87 | <th>
|
88 | 88 | <span class="glyphicon glyphicon-calendar" aria-hidden="true"></span>
|
89 |
| - <span th:text="#{employee.info.birthdate}"></span> |
90 |
| - <span th:if="${employeeInfoForm.birthDate != null}" th:text="${employeeInfoForm.birthDate}"></span> |
| 89 | + <span class="span-heading" th:text="#{employee.info.birthdate}"></span> |
| 90 | + <span class="span-text" th:if="${employeeInfoForm.birthDate != null}" th:text="${employeeInfoForm.birthDate}"></span> |
91 | 91 | </th>
|
92 | 92 | </tr>
|
93 | 93 | <tr>
|
94 | 94 | <th>
|
95 | 95 | <span class="glyphicon glyphicon-home" aria-hidden="true"></span>
|
96 |
| - <span th:text="#{employee.info.department}"></span> |
97 |
| - <span th:if="${employeeInfoForm.department != null}" th:text="${employeeInfoForm.department}"></span> |
| 96 | + <span class="span-heading" th:text="#{employee.info.department}"></span> |
| 97 | + <span class="span-text" th:if="${employeeInfoForm.department != null}" th:text="${employeeInfoForm.department}"></span> |
98 | 98 | </th>
|
99 | 99 | <th>
|
100 | 100 | <span class="glyphicon glyphicon-star" aria-hidden="true"></span>
|
101 |
| - <span th:text="#{employee.info.position}"></span> |
102 |
| - <span th:if="${employeeInfoForm.position != null}" th:text="${employeeInfoForm.position}"></span> |
| 101 | + <span class="span-heading" th:text="#{employee.info.position}"></span> |
| 102 | + <span class="span-text" th:if="${employeeInfoForm.position != null}" th:text="${employeeInfoForm.position}"></span> |
103 | 103 | </th>
|
104 | 104 | </tr>
|
105 | 105 | <tr>
|
106 | 106 | <th>
|
107 | 107 | <span class="glyphicon glyphicon-ok-sign" aria-hidden="true"></span>
|
108 |
| - <span th:text="#{employee.info.gender}"></span> |
109 |
| - <span th:if="${employeeInfoForm.gender != null}" th:text="${employeeInfoForm.gender}"></span> |
| 108 | + <span class="span-heading" th:text="#{employee.info.gender}"></span> |
| 109 | + <span class="span-text" th:if="${employeeInfoForm.gender != null}" th:text="${employeeInfoForm.gender}"></span> |
110 | 110 | </th>
|
111 | 111 | <th>
|
112 | 112 | <span class="glyphicon glyphicon-calendar" aria-hidden="true"></span>
|
113 |
| - <span th:text="#{employee.info.entrydate}"></span> |
114 |
| - <span th:if="${employeeInfoForm.entryDate != null}" th:text="${employeeInfoForm.entryDate}"></span> |
| 113 | + <span class="span-heading" th:text="#{employee.info.entrydate}"></span> |
| 114 | + <span class="span-text" th:if="${employeeInfoForm.entryDate != null}" th:text="${employeeInfoForm.entryDate}"></span> |
115 | 115 | </th>
|
116 | 116 | </tr>
|
117 | 117 | <tr>
|
118 | 118 | <th>
|
119 | 119 | <span class="glyphicon glyphicon-th-large" aria-hidden="true"></span>
|
120 |
| - <span th:text= "#{employee.info.company}"></span> |
121 |
| - <span th:text= "${companyInfo.name}"></span> |
| 120 | + <span class="span-heading" th:text= "#{employee.info.company}"></span> |
| 121 | + <span class="span-text" th:text= "${companyInfo.name}"></span> |
122 | 122 | </th>
|
123 | 123 | <th>
|
124 | 124 | </th>
|
|
127 | 127 | </table>
|
128 | 128 | </div>
|
129 | 129 | <div class= "media-right">
|
130 |
| - <a href="#" th:href="@{/edit.html}" role="button" class="btn btn-default btn-xs"> Edit</a> |
| 130 | + <a href="#" th:href="@{/edit.html}" role="button" class="btn btn-primary btn-xs"> Edit</a> |
131 | 131 | </div>
|
132 | 132 | </div>
|
133 | 133 | </div>
|
|
0 commit comments