update marketing 2/6/2024

This commit is contained in:
2024-02-06 13:13:29 +07:00
parent 2c6a60a2d7
commit cf98ec94a0
8 changed files with 81 additions and 2 deletions

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