Files
jongryangje/app/Views/admin/role/index.php
taekyoungc 4e557d4be1 Initial project import for team collaboration.
Exclude local docs, MCP, and secrets via gitignore.

Made-with: Cursor
2026-03-25 12:05:33 +09:00

23 lines
706 B
PHP

<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>