Initial project import for team collaboration.
Exclude local docs, MCP, and secrets via gitignore. Made-with: Cursor
This commit is contained in:
22
app/Views/admin/role/index.php
Normal file
22
app/Views/admin/role/index.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<section class="border-b border-gray-300 p-2 shrink-0 bg-control-panel">
|
||||
<span class="text-sm font-bold text-gray-700">역할 (mb_level)</span>
|
||||
</section>
|
||||
<div class="border border-gray-300 p-4 mt-2">
|
||||
<p class="text-sm text-gray-600 mb-4">Config\Roles 기반 역할 목록입니다.</p>
|
||||
<table class="w-full data-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-24">코드</th>
|
||||
<th>이름</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($roles->levelNames as $code => $name): ?>
|
||||
<tr>
|
||||
<td class="text-center"><?= (int) $code ?></td>
|
||||
<td class="text-left pl-2"><?= esc($name) ?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
Reference in New Issue
Block a user