Files
SAFEKISO/safekiso-server/modules/base/views/main/widgets/admin-list.ejs
2026-04-07 14:50:23 +09:00

190 lines
6.5 KiB
Plaintext

<div class="dt-responsive table-responsive">
<table id="target-list" class="table table-striped table-bordered nowrap">
<% if (infos.loc === '/admin/notice') { %>
<thead>
<tr>
<th><%=__('Title')%></th>
<th><%=__('Detail')%></th>
<th><%=__('Flags')%></th>
<th><%=__('Status')%></th>
<th><%=__('Created')%></th>
<th><%=__('Action')%></th>
</tr>
</thead>
<tbody>
</tbody>
<tfoot>
<tr>
<th><%=__('Title')%></th>
<th><%=__('Detail')%></th>
<th><%=__('Flags')%></th>
<th><%=__('Status')%></th>
<th><%=__('Created')%></th>
<th><%=__('Action')%></th>
</tr>
</tfoot>
<%} else if (infos.loc === '/admin/faq') {%>
<thead>
<tr>
<th><%=__('Question')%></th>
<th><%=__('Answer')%></th>
<th><%=__('Status')%></th>
<th><%=__('Action')%></th>
</tr>
</thead>
<tbody>
</tbody>
<tfoot>
<tr>
<th><%=__('Question')%></th>
<th><%=__('Answer')%></th>
<th><%=__('Status')%></th>
<th><%=__('Action')%></th>
</tr>
</tfoot>
<%} else if (infos.loc === '/admin/support') {%>
<thead>
<tr>
<th><%=__('Name')%></th>
<th><%=__('Message')%></th>
<th><%=__('Status')%></th>
<th><%=__('Created')%></th>
<th><%=__('Action')%></th>
</tr>
</thead>
<tbody>
</tbody>
<tfoot>
<tr>
<th><%=__('Name')%></th>
<th><%=__('Message')%></th>
<th><%=__('Status')%></th>
<th><%=__('Created')%></th>
<th><%=__('Action')%></th>
</tr>
</tfoot>
<%} else if (infos.loc === '/admin/users') {%>
<thead>
<tr>
<th><%=__('UID')%></th>
<th><%=__('Name')%></th>
<th><%=__('Type')%></th>
<th><%=__('Level')%></th>
<th><%=__('cReal')%></th>
<th><%=__('cBonus')%></th>
<th><%=__('Lock')%></th>
<th><%=__('Statue')%></th>
<th><%=__('Created')%></th>
</tr>
</thead>
<tbody>
</tbody>
<tfoot>
<tr>
<th><%=__('UID')%></th>
<th><%=__('Name')%></th>
<th><%=__('Type')%></th>
<th><%=__('Level')%></th>
<th><%=__('cReal')%></th>
<th><%=__('cBonus')%></th>
<th><%=__('Lock')%></th>
<th><%=__('Statue')%></th>
<th><%=__('Created')%></th>
</tr>
</tfoot>
<%} else if (infos.loc === '/admin/logs/user') {%>
<thead>
<tr>
<th><%=__('UID')%></th>
<th><%=__('Tag')%></th>
<th><%=__('Data')%></th>
<th><%=__('Created')%></th>
</tr>
</thead>
<tbody>
</tbody>
<tfoot>
<tr>
<th><%=__('UID')%></th>
<th><%=__('Tag')%></th>
<th><%=__('Data')%></th>
<th><%=__('Created')%></th>
</tr>
</tfoot>
<%} else if (infos.loc === '/admin/logs/credit') {%>
<thead>
<tr>
<th><%=__('UID')%></th>
<th><%=__('Tag')%></th>
<th><%=__('Real')%></th>
<th><%=__('Bonus')%></th>
<th><%=__('Memo')%></th>
<th><%=__('By')%></th>
<th><%=__('Created')%></th>
</tr>
</thead>
<tbody>
</tbody>
<tfoot>
<tr>
<th><%=__('UID')%></th>
<th><%=__('Tag')%></th>
<th><%=__('Real')%></th>
<th><%=__('Bonus')%></th>
<th><%=__('Memo')%></th>
<th><%=__('By')%></th>
<th><%=__('Created')%></th>
</tr>
</tfoot>
<%} else {%>
<thead>
<tr>
<th>Who</th>
<th>Want</th>
<th>Some</th>
<th>Pie</th>
<th>?</th>
</tr>
</thead>
<tbody>
</tbody>
<tfoot>
<tr>
<th>Who</th>
<th>Want</th>
<th>Some</th>
<th>Pie</th>
<th>?</th>
</tr>
</tfoot>
<%} %>
</table>
</div>
<% if (infos.loc === '/admin/notice') { %>
<button class="btn btn-primary waves-effect waves-light" onclick="window.location.href = '/admin/notice/edit'"><%=__('새 공지 작성')%></button>
<%} else if (infos.loc === '/admin/faq') {%>
<button class="btn btn-primary waves-effect waves-light" onclick="window.location.href = '/admin/faq/edit'""><%=__('새 FAQ 작성')%></button>
<%} else if (infos.loc === '/admin/support') {%>
<%} else if (infos.loc === '/admin/users') {%>
<%} else if (infos.loc === '/admin/logs/user') {%>
<pre id="json-renderer" class="json-body" style="display:'none'"></pre>
<%} else if (infos.loc === '/admin/logs/credit') {%>
<%} else {%>
<%} %>