update marketing 2/6/2024
This commit is contained in:
@@ -63,6 +63,7 @@ body {
|
|||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -55,6 +55,7 @@ body {
|
|||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
img {
|
img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ return array(
|
|||||||
),
|
),
|
||||||
|
|
||||||
array(
|
array(
|
||||||
'enable' => false ,
|
'enable' => true ,
|
||||||
'module' => 'deal',
|
'module' => 'deal',
|
||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => 'deal/home',
|
'id' => 'deal/home',
|
||||||
|
|||||||
44
template/marketing/poster_list.html
Normal file
44
template/marketing/poster_list.html
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
<div class="m-[16px_0_16px_16px] p-[20px_15px] bg-white">
|
||||||
|
<p class="m-[0_0_13px] text-[24px] font-bold leading-[31px]"> Danh sách poster quảng cáo </p>
|
||||||
|
|
||||||
|
<div class="text-right m-[13px_0_20px]">
|
||||||
|
<a href="/admin/marketing/poster-upload" class="rounded-[4px] bg-[#F5F7FF] border border-[#0041E8] hover:text-[#fff] hover:bg-[#0041E8] leading-[36px] font-[500] text-[#0041E8] p-[0_14px] inline-block">
|
||||||
|
<i class="fas fa-file-download m-[0_4px_0_0]"></i> Upload poster mới
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="order-page-table">
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<td> STT </td>
|
||||||
|
<td> Quản trị </td>
|
||||||
|
<td> Tên file </td>
|
||||||
|
<td> Danh sách file </td>
|
||||||
|
<td> Thời gian đăng </td>
|
||||||
|
<td> Lựa chọn </td>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="center"> 1 </td>
|
||||||
|
<td> admin@hurasoft.com </td>
|
||||||
|
<td> Huyen - Test - Bỉm (Mẹ & Bé).html </td>
|
||||||
|
<td> </td>
|
||||||
|
<td> 02-08-2023, 4:51 pm </td>
|
||||||
|
<td> <a href="javascript:void(0)" class="icons icon-delete m-auto" title="Xóa"></a> </td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td align="center"> 2 </td>
|
||||||
|
<td> admin@hurasoft.com </td>
|
||||||
|
<td> Huyen - Test - Bỉm (Mẹ & Bé).html </td>
|
||||||
|
<td> </td>
|
||||||
|
<td> 02-08-2023, 4:51 pm </td>
|
||||||
|
<td> <a href="javascript:void(0)" class="icons icon-delete m-auto" title="Xóa"></a> </td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
32
template/marketing/poster_upload.html
Normal file
32
template/marketing/poster_upload.html
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
<div class="global-breadcrumb-container">
|
||||||
|
<a href="/admin/marketing/poster-list"> Danh sách Poster </a>
|
||||||
|
<a href=""> Upload Poster </a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="max-w-[1140px] m-auto">
|
||||||
|
|
||||||
|
<i class="block text-[13px] leading-[18px] mb-[10px]">Chức năng này cho phép bạn upload các file quảng cáo poster. Yêu cầu cần đặt trong file đuôi .zip. Server này giới hạn dung lượng file upload là 20 MB, do vậy nếu file .zip dung lượng lớn hơn 20MB thì bạn cần sử dụng công cụ FTP (hoặc liên hệ bên cung cấp server để nâng giới hạn file upload).</i>
|
||||||
|
|
||||||
|
<p class="w-[100%] bg-white m-[0_0_16px] text-center rounded-[10px] shadow-[0px_1px_1px_0px_rgba(0,0,0,0.10)] leading-[54px] text-[18px] font-bold"> Upload poster quảng cáo </p>
|
||||||
|
|
||||||
|
<div class="flex flex-wrap items-start m-[16px_0]">
|
||||||
|
<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="javascript:void(0)" class="block p-[6px_16px] text-[#919699] hover:text-[#fff] hover:bg-[#0041E8] transition" style="color: #Fff;background: #0041E8;"> Upload Poster </a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<form enctype="multipart/form-data" method="post" class="w-[852px] bg-white p-[20px_16px] rounded-[15px] shadow-[0px_1px_1px_0px_rgba(0,0,0,0.10)] leading-[20px] block">
|
||||||
|
<p class="mb-[20px]"> File zip chỉ được phép chứa file ảnh (jpg, gif) và html nếu có. </p>
|
||||||
|
|
||||||
|
<p class="mb-[20px]">
|
||||||
|
<b class="text-[#E00000]">Chú ý</b>: Bạn cần nhớ tên file để truy cập, ví dụ bạn upload file abc.zip có chứa file khuyenmai.html, thì sau khi upload xong, đường dẫn truy cập sẽ là https://demopc8.hurasoft.com/media/marketing/abc/khuyenmai.html
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div class="flex items-center border border-[#ECECEC] mb-[10px] p-[8px_12px]">
|
||||||
|
<p class="mr-[10px]">Chọn file zip để upload (dung lượng tối đa 20MB)</p>
|
||||||
|
<input type="file" name="zip_file" size="40" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<input name="submit" type="submit" value="Cập nhật" class="inline-block mt-[12px] cursor-pointer h-[32px] bg-[#0041E8] text-[#fff] rounded-[4px] font-[500] p-[0_11px]">
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
1
template/order/detail-new.html
Normal file
1
template/order/detail-new.html
Normal file
@@ -0,0 +1 @@
|
|||||||
|
template/order/detail-new.html
|
||||||
Reference in New Issue
Block a user