70 lines
2.3 KiB
Plaintext
70 lines
2.3 KiB
Plaintext
<table class="table main-list">
|
|
<thead>
|
|
<tr>
|
|
<th class="span4" style=" color: rgb(255, 255, 255);
|
|
text-shadow: rgba(0, 0, 0, 0.498039) 0px -1px 0px;
|
|
font-family: 微軟正黑體;
|
|
font-size: 14px;
|
|
padding: 6px 10px;
|
|
background: -webkit-linear-gradient(top, rgb(112, 134, 178) 0%, rgb(63, 76, 107) 100%);
|
|
border-bottom: 3px solid rgb(47, 56, 79);
|
|
border-top: 1px solid rgb(157, 180, 231);
|
|
border-left: 1px solid rgb(64, 73, 98);"><%= t("memberlog.staff") %></th>
|
|
<th class="span4" style=" color: rgb(255, 255, 255);
|
|
text-shadow: rgba(0, 0, 0, 0.498039) 0px -1px 0px;
|
|
font-family: 微軟正黑體;
|
|
font-size: 14px;
|
|
padding: 6px 10px;
|
|
background: -webkit-linear-gradient(top, rgb(112, 134, 178) 0%, rgb(63, 76, 107) 100%);
|
|
border-bottom: 3px solid rgb(47, 56, 79);
|
|
border-top: 1px solid rgb(157, 180, 231);
|
|
border-left: 1px solid rgb(64, 73, 98);"><%= t('memberlog.checkin') %></th>
|
|
<th class="span4" style=" color: rgb(255, 255, 255);
|
|
text-shadow: rgba(0, 0, 0, 0.498039) 0px -1px 0px;
|
|
font-family: 微軟正黑體;
|
|
font-size: 14px;
|
|
padding: 6px 10px;
|
|
background: -webkit-linear-gradient(top, rgb(112, 134, 178) 0%, rgb(63, 76, 107) 100%);
|
|
border-bottom: 3px solid rgb(47, 56, 79);
|
|
border-top: 1px solid rgb(157, 180, 231);
|
|
border-left: 1px solid rgb(64, 73, 98);"><%= t('memberlog.checkout') %></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><%= @memberlog.member_profile.name rescue "" %></td>
|
|
<td><%= @memberlog.created_at.strftime('%Y-%m-%d %R') %></td>
|
|
<td>
|
|
<% if @memberlog.finish == true %>
|
|
<%= @memberlog.checkout.strftime('%Y-%m-%d %R') %>
|
|
<% else %>
|
|
<span class="label label-warning">Working....</span>
|
|
<% end %>
|
|
</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<table class="table">
|
|
<thead>
|
|
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td class="span2" style="background:#282828; color:white;"><h3><%= t('memberlog.excuse') %>:</h3></td>
|
|
<td><%= @memberlog.excuse %></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="span2" style="background:#282828; color:white;"><h3><%= t('memberlog.todo')%>:</h3></td>
|
|
<td><%= @memberlog.todo.html_safe %></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="span2" style="background:#282828; color:white;"><h3><%= t('memberlog.complete') %>:</h3></td>
|
|
<td ><%= @memberlog.complete.html_safe %></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|