Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
Meu-Template-Angular-CSR
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Trần Anh Phú
Meu-Template-Angular-CSR
Commits
7fce6108
Commit
7fce6108
authored
Dec 11, 2024
by
vtduong0912
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
9025b15a
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
42 additions
and
12 deletions
+42
-12
job-list.component.ts
src/app/+admin/management/job/feature/job-list.component.ts
+5
-3
job.component.html
src/app/+job/feature/job.component.html
+27
-0
footer.component.html
...+shell/ui/components/footer/feature/footer.component.html
+1
-1
header.component.html
...+shell/ui/components/header/feature/header.component.html
+6
-6
layout.component.ts
src/app/+shell/ui/layout.component.ts
+1
-1
tailwind.config.js
tailwind.config.js
+2
-1
No files found.
src/app/+admin/management/job/feature/job-list.component.ts
View file @
7fce6108
...
@@ -126,7 +126,7 @@ import { NzIconModule } from 'ng-zorro-antd/icon';
...
@@ -126,7 +126,7 @@ import { NzIconModule } from 'ng-zorro-antd/icon';
<nz-form-item>
<nz-form-item>
<nz-form-control nzErrorTip="Please enter Url!">
<nz-form-control nzErrorTip="Please enter Url!">
<nz-input-group>
<nz-input-group>
<input class="tw-border tw-rounded-lg tw-w-full tw-h-8" type="text" formControlName="url">
<input
[(ngModel)]="searchString" (change)="getAllJobs()"
class="tw-border tw-rounded-lg tw-w-full tw-h-8" type="text" formControlName="url">
</nz-input-group>
</nz-input-group>
</nz-form-control>
</nz-form-control>
</nz-form-item>
</nz-form-item>
...
@@ -140,7 +140,7 @@ import { NzIconModule } from 'ng-zorro-antd/icon';
...
@@ -140,7 +140,7 @@ import { NzIconModule } from 'ng-zorro-antd/icon';
<nz-form-item class="tw-flex-1">
<nz-form-item class="tw-flex-1">
<nz-form-control>
<nz-form-control>
<nz-input-group>
<nz-input-group>
<input class="tw-border tw-rounded-lg tw-w-full tw-h-8">
<input class="tw-border tw-rounded-lg tw-w-full tw-h-8"
[(ngModel)]="searchString"
>
</nz-input-group>
</nz-input-group>
</nz-form-control>
</nz-form-control>
</nz-form-item>
</nz-form-item>
...
@@ -223,6 +223,8 @@ export class JobListComponent implements OnInit {
...
@@ -223,6 +223,8 @@ export class JobListComponent implements OnInit {
pageSize
:
number
=
5
;
pageSize
:
number
=
5
;
jobsList
:
Rows
<
JobApi
.
Response
>
|
null
=
null
;
jobsList
:
Rows
<
JobApi
.
Response
>
|
null
=
null
;
searchString
:
string
=
""
;
isDeleting
:
boolean
=
false
;
isDeleting
:
boolean
=
false
;
deletetingId
:
string
=
""
;
deletetingId
:
string
=
""
;
...
@@ -263,7 +265,7 @@ export class JobListComponent implements OnInit {
...
@@ -263,7 +265,7 @@ export class JobListComponent implements OnInit {
);
);
}
}
getAllJobs
(
pageIndex
:
number
=
this
.
pageIndex
,
pageSize
:
number
=
5
)
{
getAllJobs
(
pageIndex
:
number
=
this
.
pageIndex
,
pageSize
:
number
=
this
.
pageSize
)
{
this
.
_service
.
jobsGet
(
pageIndex
,
pageSize
)
this
.
_service
.
jobsGet
(
pageIndex
,
pageSize
)
.
pipe
(
.
pipe
(
tap
((
response
:
ResponseResult
<
Rows
<
JobApi
.
Response
>>
)
=>
{
tap
((
response
:
ResponseResult
<
Rows
<
JobApi
.
Response
>>
)
=>
{
...
...
src/app/+job/feature/job.component.html
View file @
7fce6108
<div
class=
"tw-max-w-3xl tw-mx-auto"
>
<div
class=
"tw-max-w-3xl tw-mx-auto"
>
<div
class=
"tw-w-full"
>
<p
class=
"tw-text-lg tw-font-semibold"
>
Search for your dream job...!
</p>
<div
class=
"tw-flex tw-gap-x-3"
>
<input
class=
"tw-h-8 tw-shadow-md tw-border tw-rounded-md tw-w-full tw-flex-1 tw-px-2"
placeholder=
"Location, Title,..."
>
<button
type=
"button"
class=
"tw-h-8 tw-shadow-md tw-border tw-rounded-md tw-bg-sky"
>
Search
</button>
</div>
<p
class=
"tw-text-lg tw-font-semibold tw-mt-3"
>
Suggested keywords:
</p>
<div
class=
"tw-flex tw-flex-wrap tw-gap-x-3 tw-gap-y-1 tw-my-3"
>
<a
class=
"tw-border tw-p-1"
>
Laravel
</a>
<a
class=
"tw-border tw-p-1"
>
VueJS
</a>
<a
class=
"tw-border tw-p-1"
>
React
</a>
<a
class=
"tw-border tw-p-1"
>
.NET Core
</a>
<a
class=
"tw-border tw-p-1"
>
SpringBoot
</a>
<a
class=
"tw-border tw-p-1"
>
Java
</a>
<a
class=
"tw-border tw-p-1"
>
Svelte
</a>
<a
class=
"tw-border tw-p-1"
>
CodeIgniter
</a>
<a
class=
"tw-border tw-p-1"
>
Flutter
</a>
<a
class=
"tw-border tw-p-1"
>
React Native
</a>
<a
class=
"tw-border tw-p-1"
>
DevOps
</a>
<a
class=
"tw-border tw-p-1"
>
FLask
</a>
<a
class=
"tw-border tw-p-1"
>
Django
</a>
<a
class=
"tw-border tw-p-1"
>
GoLang
</a>
<a
class=
"tw-border tw-p-1"
>
Wizard
</a>
<a
class=
"tw-border tw-p-1"
>
NodeJS
</a>
</div>
</div>
<div
class=
"tw-flex tw-flex-row tw-flex-wrap tw-mt-6"
>
<div
class=
"tw-flex tw-flex-row tw-flex-wrap tw-mt-6"
>
<nz-card
<nz-card
*
ngFor=
"let job of jobList?.rows"
*
ngFor=
"let job of jobList?.rows"
...
...
src/app/+shell/ui/components/footer/feature/footer.component.html
View file @
7fce6108
<nz-footer
class=
"tw-min-h-48 tw-bg-w
hite
"
>
<nz-footer
class=
"tw-min-h-48 tw-bg-w
ind
"
>
<div
class=
"tw-w-full tw-grid tw-grid-cols-1 md:tw-grid-cols-2 xl:tw-grid-cols-3"
>
<div
class=
"tw-w-full tw-grid tw-grid-cols-1 md:tw-grid-cols-2 xl:tw-grid-cols-3"
>
<div>
<div>
<p
class=
"tw-text-lg tw-font-semibold"
>
Text
</p>
<p
class=
"tw-text-lg tw-font-semibold"
>
Text
</p>
...
...
src/app/+shell/ui/components/header/feature/header.component.html
View file @
7fce6108
<nz-header
class=
"tw-bg-w
hite
tw-flex tw-flex-wrap"
>
<nz-header
class=
"tw-bg-w
ind
tw-flex tw-flex-wrap"
>
<a
routerLink=
"/home"
routerLinkActive=
"active"
>
<a
routerLink=
"/home"
routerLinkActive=
"active"
>
<img
src=
"https://yt3.googleusercontent.com/y4J_Fs5ksRlxx6_LzT1VKxVqH_T8Vyn_RN_YYgLJhuMzBS5qxTgm7NlEcMkQd3hgCpfWtYcEUg=s900-c-k-c0x00ffffff-no-rj"
class=
"tw-border tw-rounded-full tw-w-10 tw-h-10 tw-mt-3 tw-float-left"
>
<img
src=
"https://yt3.googleusercontent.com/y4J_Fs5ksRlxx6_LzT1VKxVqH_T8Vyn_RN_YYgLJhuMzBS5qxTgm7NlEcMkQd3hgCpfWtYcEUg=s900-c-k-c0x00ffffff-no-rj"
class=
"tw-border tw-rounded-full tw-w-10 tw-h-10 tw-mt-3 tw-float-left"
>
</a>
</a>
<ul
nz-menu
nzMode=
"horizontal"
>
<ul
nz-menu
nzMode=
"horizontal"
>
<li
nz-menu-item
routerLink=
"/home"
routerLinkActive=
"active"
>
Home
</li>
<li
nz-menu-item
class=
"tw-bg-wind"
routerLink=
"/home"
routerLinkActive=
"active"
>
Home
</li>
<li
nz-menu-item
routerLink=
"/jobs"
routerLinkActive=
"active"
>
Jobs
</li>
<li
nz-menu-item
class=
"tw-bg-wind"
routerLink=
"/jobs"
routerLinkActive=
"active"
>
Jobs
</li>
<ng-container
*
ngIf=
"!isLoggedIn()"
>
<ng-container
*
ngIf=
"!isLoggedIn()"
>
<li
nz-menu-item
routerLink=
"/login"
routerLinkActive=
"active"
>
Login
</li>
<li
nz-menu-item
class=
"tw-bg-wind"
routerLink=
"/login"
routerLinkActive=
"active"
>
Login
</li>
<li
nz-menu-item
>
Register
</li>
<li
nz-menu-item
class=
"tw-bg-wind"
>
Register
</li>
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"isLoggedIn()"
>
<ng-container
*
ngIf=
"isLoggedIn()"
>
<li
*
ngIf=
"isAdmin()"
nz-menu-item
routerLink=
"/admin"
routerLinkActive=
"active"
>
Admin
</li>
<li
*
ngIf=
"isAdmin()"
class=
"tw-bg-wind"
nz-menu-item
routerLink=
"/admin"
routerLinkActive=
"active"
>
Admin
</li>
</ng-container>
</ng-container>
</ul>
</ul>
<ng-container
*
ngIf=
"isLoggedIn()"
>
<ng-container
*
ngIf=
"isLoggedIn()"
>
...
...
src/app/+shell/ui/layout.component.ts
View file @
7fce6108
...
@@ -33,7 +33,7 @@ import { NzLayoutModule } from 'ng-zorro-antd/layout';
...
@@ -33,7 +33,7 @@ import { NzLayoutModule } from 'ng-zorro-antd/layout';
<nz-layout>
<nz-layout>
<meu-header></meu-header>
<meu-header></meu-header>
<div class="tw-relative tw-min-h-[92dvh]">
<div class="tw-relative tw-min-h-[92dvh]">
<div class="tw-max-w-5xl tw-
bg-white tw-mx-auto tw-py-10 tw-px-3 tw-shadow-xl
">
<div class="tw-max-w-5xl tw-
mx-auto tw-py-10 tw-px-3 tw-bg-white
">
<router-outlet></router-outlet>
<router-outlet></router-outlet>
</div>
</div>
</div>
</div>
...
...
tailwind.config.js
View file @
7fce6108
...
@@ -29,7 +29,8 @@ module.exports = {
...
@@ -29,7 +29,8 @@ module.exports = {
white
:
"#ffffff"
,
white
:
"#ffffff"
,
black
:
"#000000"
,
black
:
"#000000"
,
sky
:
"#a3e4ff"
,
sky
:
"#a3e4ff"
,
link
:
"#1484b2"
link
:
"#1484b2"
,
wind
:
"#def6ff"
},
},
fontFamily
:
{
fontFamily
:
{
"roboto-black"
:
[
"Roboto-Black"
,
"sans-serif"
],
"roboto-black"
:
[
"Roboto-Black"
,
"sans-serif"
],
...
...
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