update
This commit is contained in:
136
old/template/admin/department_entity_permission.html
Normal file
136
old/template/admin/department_entity_permission.html
Normal file
@@ -0,0 +1,136 @@
|
||||
<div class="w-[100%]">
|
||||
<div class="global-breadcrumb-container">
|
||||
<a href="/admin/admin"> Danh sách quản trị viên </a>
|
||||
<a href="" class="text-[#0041E8]"> Form sửa phòng ban </a>
|
||||
</div>
|
||||
|
||||
<div class="max-w-[1141px] m-[0_auto_16px_auto]">
|
||||
<div class="p-[15px] bg-white rounded-[15px] shadow-[0px_1px_1px_0px_#0000001A]">
|
||||
<div class="flex items-center justify-between">
|
||||
<h1 class="text-[24px] font-[700] ">Thêm phòng ban</h1>
|
||||
<div class="flex items-center">
|
||||
<a href="/admin/admin/department_add"
|
||||
class="flex items-center p-[7px] border-[#0041E8] border-[1px] rounded-[4px] text-[#0041E8] hover:bg-[#0041E8] hover:text-white ml-[15px] font-[500]">
|
||||
<span
|
||||
class="border-[1px] border-[#0041E8] h-[15px] w-[15px] leading-[12px] text-center rounded-[50%] mr-1">+</span>
|
||||
<span>Thêm mới</span>
|
||||
</a>
|
||||
<a href="/admin/admin/department" class=" flex items-center px-[10px] py-[8px] border-[#0041E8] border-[1px] rounded-[4px]
|
||||
text-white bg-[#0041E8] hover:bg-[#0041E8] hover:text-white ml-[10px] hover:stroke-white
|
||||
font-[500]">
|
||||
<span class="ml-1">Danh sách phòng ban</span>
|
||||
</a>
|
||||
<a href="/admin/admin"
|
||||
class="flex items-center px-[10px] py-[8px] border-[#0041E8] border-[1px] rounded-[4px] text-white bg-[#0041E8] hover:bg-[#0041E8] hover:text-white ml-[10px] hover:stroke-white font-[500]">
|
||||
<span class="ml-1">Danh sách quản trị</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex mt-[15px]">
|
||||
<div class="left w-[270px] mr-[10px]">
|
||||
<div class="list-tab rounded-[10px] shadow-[0px_1px_1px_0px_rgba(0,0,0,0.10)] overflow-hidden">
|
||||
<a href="/admin/distributor/form"
|
||||
class="item block w-[100%] h-[36px] bg-white rounded-[10px_10px_0_0] border-b-[1px] border-gray-100 leading-[35px] px-[20px] hover:bg-[#0041E8] hover:text-white">Thông
|
||||
tin</a>
|
||||
<a href="/admin/admin/department_menu_permission?id=0"
|
||||
class="item block w-[100%] h-[36px] bg-white leading-[35px] px-[20px] border-b-[1px] border-gray-100 hover:bg-[#0041E8] hover:text-white">Quyền
|
||||
xem menu</a>
|
||||
<a href="/admin/admin/department_entity_permission?id=0"
|
||||
class="item block w-[100%] h-[36px] bg-[#0041E8] text-white rounded-[0_0_10px_10px] leading-[35px] px-[20px] hover:bg-[#0041E8] hover:text-white">Quyền
|
||||
chỉnh sửa</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right w-[860px]">
|
||||
<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]">
|
||||
<p class="mb-[20px]">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.
|
||||
</p>
|
||||
<p> <b>Lưu ý:</b> Quyền xem menu chỉ quy định việc ẩn/hiện nội dung ở Menu, không quy định việc
|
||||
quản trị viên có thể
|
||||
xem được nội dung chi tiết của 1 hạng mục nào đó hay không nếu quản trị viên đó biết được
|
||||
đường link
|
||||
truy cập. Để hạn
|
||||
chế quản trị viên xem hạng mục, bạn cần cài đặt ở Quyền hạng mục.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<table class="table">
|
||||
<thead class="bg-[#f6f6f6] text-[#000] font-[500]">
|
||||
<tr>
|
||||
<th class="w-[40px]">STT</th>
|
||||
<th>Hạng mục</th>
|
||||
<th class="w-[210px]">Đượ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>
|
||||
<label class="check-form flex items-center cursor-pointer">
|
||||
<input type="checkbox" name="" value="1" class="checkbox checkbox-success">
|
||||
<span class="ml-[7px] text-[#6B7280] label-text">Được xem</span>
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>1.2</td>
|
||||
<td>Chờ mua sản phẩm</td>
|
||||
<td>
|
||||
<label class="check-form flex items-center cursor-pointer">
|
||||
<input type="checkbox" name="" value="1" class="checkbox checkbox-success">
|
||||
<span class="ml-[7px] text-[#6B7280] label-text">Được xem</span>
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>1.3</td>
|
||||
<td>Thanh toán qua cổng dịch vụ</td>
|
||||
<td>
|
||||
<label class="check-form flex items-center cursor-pointer">
|
||||
<input type="checkbox" name="" value="1" class="checkbox checkbox-success">
|
||||
<span class="ml-[7px] text-[#6B7280] label-text">Được xem</span>
|
||||
</label>
|
||||
</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>
|
||||
<label class="check-form flex items-center cursor-pointer">
|
||||
<input type="checkbox" name="" value="1" class="checkbox checkbox-success">
|
||||
<span class="ml-[7px] text-[#6B7280] label-text">Được xem</span>
|
||||
</label>
|
||||
</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>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user