Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
myjob-manage
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
angular
myjob-manage
Commits
2c7f0f5d
Commit
2c7f0f5d
authored
Jul 16, 2025
by
DESKTOP-E3GSHH7\myhr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
อย่าลืม npm i --force ด้วยครับ มีโหลดpackage
parent
5f100770
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
18 deletions
+27
-18
portal-create-category.component.html
...tal-create-category/portal-create-category.component.html
+27
-18
No files found.
src/app/DPU/common/myportal/portal-create-category/portal-create-category.component.html
View file @
2c7f0f5d
<app-page-header
[
title
]="'รายการอัพโหลดเอกสาร'"
[
activeTitle
]="'ผู้ดูแลระบบ'"
[
title1
]="'รายการอัพโหลดเอกสาร'"
></app-page-header>
<app-page-header
[
title
]="'รายการอัพโหลดเอกสาร'"
[
activeTitle
]="'ผู้ดูแลระบบ'"
[
title1
]="'รายการอัพโหลดเอกสาร'"
></app-page-header>
<!-- <div class="row">
<!-- <div class="row">
<div class="col-12">
<div class="col-12">
<div class="card card-body">
<div class="card card-body">
...
@@ -29,27 +30,34 @@
...
@@ -29,27 +30,34 @@
<div
class=
"max-w-7xl mx-auto"
>
<div
class=
"max-w-7xl mx-auto"
>
<div
class=
"box p-4"
>
<div
class=
"box p-4"
>
<h4
class=
"text-xl font-semibold text-gray-800 mb-6"
>
รายการอัพโหลดเอกสาร
</h4>
<h4
class=
"text-xl font-semibold text-gray-800 mb-6"
>
รายการเอกสาร
</h4>
<div
class=
"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6"
>
<div
class=
"bg-white rounded-xl shadow-lg overflow-hidden transform hover:scale-105 transition duration-300 ease-in-out"
<!-- Flex แทน Grid -->
*
ngFor=
"let c of testdata|slice: (page-1) * pageSize : (page-1) * pageSize + pageSize"
>
<div
class=
"flex flex-wrap justify-center gap-6"
>
<div
class=
" bg-white rounded-xl shadow-lg overflow-hidden transform hover:scale-105 transition duration-300 ease-in-out flex flex-col"
style=
"width: 30%;"
*
ngFor=
"let c of testdata | slice: (page-1) * pageSize : (page-1) * pageSize + pageSize"
>
<div
class=
"p-8 text-center"
>
<div
class=
"p-8 text-center"
>
<div
class=
"w-24 h-24 mx-auto rounded-full bg-green-100 flex items-center justify-center shadow-inner"
>
<div
class=
"w-24 h-24 mx-auto rounded-full bg-green-100 flex items-center justify-center shadow-inner"
>
<img
src=
"{{ c.img }}"
class=
""
alt=
""
>
<img
src=
"{{ c.img }}"
class=
""
alt=
""
/
>
</div>
</div>
<h3
class=
"text-2xl font-bold text-gray-800 mt-6 mb-2"
>
{{
c.name
}}
</h3>
<h3
class=
"text-2xl font-bold text-gray-800 mt-6 mb-2"
>
{{
c.name
}}
</h3>
</div>
</div>
<div
class=
"flex justify-between items-center bg-gray-50 border-t border-gray-200 p-4"
>
<div>
<!-- Footer -->
<span
class=
"text-sm text-gray-700"
>
จำนวนเอกสาร {{ c.document }} ฉบับ
</span>
<div
class=
"mt-auto"
>
</div>
<div
class=
"flex justify-between items-center bg-gray-50 border-t border-gray-200 p-4"
>
<div>
<div>
<button
<span
class=
"text-sm text-gray-700"
>
จำนวนเอกสาร {{ c.document }} ฉบับ
</span>
class=
"bg-primary inline-flex items-center px-4 py-2 bg-blue-600 hover:bg-blue-700 text-white text-sm font-medium rounded-md shadow-md transition duration-150 ease-in-out focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-opacity-50"
</div>
(
click
)="
openView
(
c
.
id
)"
>
<div>
รายละเอียด
<button
</button>
class=
"bg-primary inline-flex items-center px-4 py-2 bg-blue-600 hover:bg-blue-700 text-white text-sm font-medium rounded-md shadow-md transition duration-150 ease-in-out focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-opacity-50"
(
click
)="
openView
(
c
.
id
)"
>
รายละเอียด
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -102,4 +110,4 @@
...
@@ -102,4 +110,4 @@
</form>
</form>
</div>
</div>
</ng-template> -->
</ng-template> -->
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment