update
This commit is contained in:
144
old/template/admin/entity_permission.html
Normal file
144
old/template/admin/entity_permission.html
Normal file
@@ -0,0 +1,144 @@
|
||||
<div class="global-breadcrumb-container">
|
||||
<a href="/admin/admin"> Danh sách quản trị viên </a>
|
||||
<a href=""> Form thêm/sửa quản trị viên </a>
|
||||
</div>
|
||||
|
||||
<div class="max-w-[1141px] flex flex-wrap items-start m-[0_auto_16px_auto]">
|
||||
<div
|
||||
class="w-[100%] p-[11px_16px] bg-white m-[0_0_16px] rounded-[10px] shadow-[0px_1px_1px_0px_rgba(0,0,0,0.10)] leading-[18px]">
|
||||
<p class="font-bold text-[20px] leading-[26px] block"> Cập nhật quản trị </p>
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="w-[270px] m-[0_16px_0_0] bg-white rounded-[10px] shadow-[0px_1px_1px_0px_rgba(0,0,0,0.10)] font-[500] leading-[24px] overflow-hidden">
|
||||
<a href="/admin/admin/add" style="color: #919699;border-bottom: 1px solid #f3f3f3;"
|
||||
class="block p-[6px_16px] text-[#919699] hover:text-[#fff] hover:bg-[#0041E8] transition">
|
||||
Thông tin
|
||||
</a>
|
||||
<a href="/admin/admin/menu-permission" style="color: #919699;border-bottom: 1px solid #f3f3f3;"
|
||||
class="block p-[6px_16px] text-[#919699] hover:text-[#fff] hover:bg-[#0041E8] transition">
|
||||
Quyền xem menu
|
||||
</a>
|
||||
<a href="/admin/admin/entity-permission" style="color: #fff;background: #0041E8;"
|
||||
class="block p-[6px_16px] text-[#919699] hover:text-[#fff] hover:bg-[#0041E8] transition">
|
||||
Quyền chỉnh sửa
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="w-[852px]">
|
||||
<div class="p-[15px] bg-white rounded-[15px_15px_0_0] shadow-[0px_-1px_1px_0px_#0000001A]">
|
||||
<b class="block mb-[15px] font-[20px]">Cài đặt quyền xem Menu cho: Tiệp Hura</b>
|
||||
<div class="mb-[20px] text-[#6B7280]">
|
||||
Trong trường hợp quản trị viên không được cập nhật quyền tại đây thì quyền của quản
|
||||
trị viên sẽ được thừa hưởng từ quyền
|
||||
của phòng ban.
|
||||
</div>
|
||||
|
||||
<table class="table">
|
||||
<thead class="bg-[#f6f6f6] text-[14px] text-[#000] font-500">
|
||||
<tr>
|
||||
<th class="w-[40px]">STT</th>
|
||||
<th>Hạng mục</th>
|
||||
<th>Được phép xem</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="bg-[#FFE6C1] font-[700]">
|
||||
<td>1</td>
|
||||
<td colspan="2">Bán hàng</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>1.1</td>
|
||||
<td>Danh sách đơn hàng</td>
|
||||
<td>
|
||||
<div class="flex items-center">
|
||||
<label class="check-form flex items-center mr-[20px] cursor-pointer">
|
||||
<input type="checkbox" name="" value="1" class="checkbox checkbox-success">
|
||||
<span class="ml-[7px] text-[#6B7280] label-text">Xem</span>
|
||||
</label>
|
||||
<label class="check-form flex items-center mr-[20px] cursor-pointer">
|
||||
<input type="checkbox" name="" value="1" class="checkbox checkbox-success">
|
||||
<span class="ml-[7px] text-[#6B7280] label-text">Xóa</span>
|
||||
</label>
|
||||
<label class="check-form flex items-center mr-[20px] cursor-pointer">
|
||||
<input type="checkbox" name="" value="1" class="checkbox checkbox-success">
|
||||
<span class="ml-[7px] text-[#6B7280] label-text">Cập nhật</span>
|
||||
</label>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>1.2</td>
|
||||
<td>Chờ mua sản phẩm</td>
|
||||
<td>
|
||||
<div class="flex items-center">
|
||||
<label class="check-form flex items-center mr-[20px] cursor-pointer">
|
||||
<input type="checkbox" name="" value="1" class="checkbox checkbox-success">
|
||||
<span class="ml-[7px] text-[#6B7280] label-text">Xem</span>
|
||||
</label>
|
||||
<label class="check-form flex items-center mr-[20px] cursor-pointer">
|
||||
<input type="checkbox" name="" value="1" class="checkbox checkbox-success">
|
||||
<span class="ml-[7px] text-[#6B7280] label-text">Xóa</span>
|
||||
</label>
|
||||
<label class="check-form flex items-center mr-[20px] cursor-pointer">
|
||||
<input type="checkbox" name="" value="1" class="checkbox checkbox-success">
|
||||
<span class="ml-[7px] text-[#6B7280] label-text">Cập nhật</span>
|
||||
</label>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>1.3</td>
|
||||
<td>Thanh toán qua cổng dịch vụ</td>
|
||||
<td>
|
||||
<div class="flex items-center">
|
||||
<label class="check-form flex items-center mr-[20px] cursor-pointer">
|
||||
<input type="checkbox" name="" value="1" class="checkbox checkbox-success">
|
||||
<span class="ml-[7px] text-[#6B7280] label-text">Xem</span>
|
||||
</label>
|
||||
<label class="check-form flex items-center mr-[20px] cursor-pointer">
|
||||
<input type="checkbox" name="" value="1" class="checkbox checkbox-success">
|
||||
<span class="ml-[7px] text-[#6B7280] label-text">Xóa</span>
|
||||
</label>
|
||||
<label class="check-form flex items-center mr-[20px] cursor-pointer">
|
||||
<input type="checkbox" name="" value="1" class="checkbox checkbox-success">
|
||||
<span class="ml-[7px] text-[#6B7280] label-text">Cập nhật</span>
|
||||
</label>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="bg-[#FFE6C1] font-[700]">
|
||||
<td>2</td>
|
||||
<td colspan="2">Sản phẩm</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2.1</td>
|
||||
<td>Danh sách Sản phẩm</td>
|
||||
<td>
|
||||
<div class="flex items-center">
|
||||
<label class="check-form flex items-center mr-[20px] cursor-pointer">
|
||||
<input type="checkbox" name="" value="1" class="checkbox checkbox-success">
|
||||
<span class="ml-[7px] text-[#6B7280] label-text">Xem</span>
|
||||
</label>
|
||||
<label class="check-form flex items-center mr-[20px] cursor-pointer">
|
||||
<input type="checkbox" name="" value="1" class="checkbox checkbox-success">
|
||||
<span class="ml-[7px] text-[#6B7280] label-text">Xóa</span>
|
||||
</label>
|
||||
<label class="check-form flex items-center mr-[20px] cursor-pointer">
|
||||
<input type="checkbox" name="" value="1" class="checkbox checkbox-success">
|
||||
<span class="ml-[7px] text-[#6B7280] label-text">Cập nhật</span>
|
||||
</label>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
<div
|
||||
class="p-[15px] bg-white border-t-[6px] border-[#FAFAFB] rounded-[0_0_15px_15px] shadow-[0px_1px_1px_0px_#0000001A]">
|
||||
<input type="submit" value="Cập nhật"
|
||||
class="inline-block cursor-pointer h-[32px] bg-[#0041E8] text-[#fff] rounded-[4px] font-[500] p-[0_11px]" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user