Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
PSManagementUI
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
hasan.bahjat
PSManagementUI
Commits
ed17abb6
Commit
ed17abb6
authored
Sep 07, 2024
by
hasan khaddour
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add skeleton for projects module
parent
683d8ccf
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
62 additions
and
21 deletions
+62
-21
participants-list.component.html
.../pages/participants-list/participants-list.component.html
+8
-20
project-bycreterion.component.html
...es/project-bycreterion/project-bycreterion.component.html
+3
-0
project-list.component.html
...p/projects/pages/project-list/project-list.component.html
+3
-0
item-skeleton.component.css
...red/componenets/item-skeleton/item-skeleton.component.css
+0
-0
item-skeleton.component.html
...ed/componenets/item-skeleton/item-skeleton.component.html
+34
-0
item-skeleton.component.ts
...ared/componenets/item-skeleton/item-skeleton.component.ts
+10
-0
shared.module.ts
src/app/shared/shared.module.ts
+4
-1
No files found.
src/app/projects/pages/participants-list/participants-list.component.html
View file @
ed17abb6
<section
*
ngIf=
"participants"
class=
"row"
>
<!-- <add-participant-modal
[projectId]="projectId"
[paticipants]="participants"
(participantAdded)="onParticipantAdded()"
>
</add-participant-modal> -->
<section
class=
"row"
>
<div
class=
"row justify-content-center"
*
ngIf=
"!isDetailMode"
>
<div
class=
"col-12"
>
<div
class=
"row align-items-center my-4"
>
...
...
@@ -23,7 +17,11 @@
</div>
</div>
<hr
/>
<div
class=
"row"
>
<item-skeleton
class=
"col-3"
*
ngIf=
"!participants"
>
</item-skeleton>
<div
class=
"row"
*
ngIf=
"participants"
>
<participant-item
class=
"col-3"
(
selected
)="
onDetailMode
(
participant
)"
...
...
@@ -31,23 +29,13 @@
[
participant
]="
participant
"
></participant-item>
</div>
<div
*
ngIf=
"participants.length == 0"
>
<div
*
ngIf=
"participants.length == 0
&& participants
"
>
للأسف هذا المشروع لايحوي على أية مشاركين
</div>
</div>
</div>
<!-- <remove-participant-modal *ngIf="selectedParticipant"
[participant]="selectedParticipant"
(participantRemoved)="onParticipantRemoved()"
> -->
<!--
</remove-participant-modal> -->
<!-- <app-remove-participant-modal [participant]="selectedParticipant" (participantRemoved)="onParticipantRemoved()"></app-remove-participant-modal> -->
<div
class=
"row"
*
ngIf=
"isDetailMode"
>
<div
class=
"card shadow mb-4 col-8 offset-2"
>
<div
class=
"card-header py-3"
>
...
...
src/app/projects/pages/project-bycreterion/project-bycreterion.component.html
View file @
ed17abb6
...
...
@@ -24,3 +24,6 @@
</div>
</div>
</div>
<card-skeleton
*
ngIf=
"!projects"
>
</card-skeleton>
\ No newline at end of file
src/app/projects/pages/project-list/project-list.component.html
View file @
ed17abb6
...
...
@@ -13,6 +13,9 @@
</div>
<hr>
<item-skeleton
*
ngIf=
"projects"
>
</item-skeleton>
<div
*
ngIf=
"projects"
>
<div
class=
"row"
*
ngIf=
"projects.length > 0"
>
<project-item
class=
"col col-4 "
*
ngFor=
"let project of projects"
[
project
]="
project
"
></project-item>
...
...
src/app/shared/componenets/item-skeleton/item-skeleton.component.css
0 → 100644
View file @
ed17abb6
src/app/shared/componenets/item-skeleton/item-skeleton.component.html
0 → 100644
View file @
ed17abb6
<div
class=
"card shadow mb-4"
>
<div
class=
"card-body text-center"
>
<div
class=
"avatar avatar-lg mt-4"
>
<a
href=
""
>
<p-skeleton
shape=
"circle"
size=
"4rem"
styleClass=
"mr-2"
/>
</a>
</div>
<div
class=
"card-text my-2"
>
<p-skeleton
width=
"80%"
styleClass=
"mb-2"
/>
<p-skeleton
width=
"50%"
styleClass=
"mb-2"
/>
<p-skeleton
width=
"50%"
styleClass=
"mb-2"
/>
</div>
</div>
<!-- ./card-text -->
<div
class=
"card-footer"
>
<div
class=
"row align-items-center justify-content-between"
>
<div
class=
"col text-center"
>
<small>
<p-skeleton
width=
"40%"
styleClass=
"mb-2"
/>
</small>
</div>
<div
class=
"col text-center"
>
<small>
<p-skeleton
width=
"40%"
styleClass=
"mb-2"
/>
</small>
</div>
</div>
</div>
<!-- /.card-footer -->
</div>
\ No newline at end of file
src/app/shared/componenets/item-skeleton/item-skeleton.component.ts
0 → 100644
View file @
ed17abb6
import
{
Component
}
from
'@angular/core'
;
@
Component
({
selector
:
'item-skeleton'
,
templateUrl
:
'./item-skeleton.component.html'
,
styleUrl
:
'./item-skeleton.component.css'
})
export
class
ItemSkeletonComponent
{
}
src/app/shared/shared.module.ts
View file @
ed17abb6
...
...
@@ -15,6 +15,7 @@ import { CardSkeletonComponent } from './componenets/card-skeleton/card-skeleton
import
{
KnobModule
}
from
'primeng/knob'
;
import
{
ProgressBarModule
}
from
'primeng/progressbar'
;
import
{
SkeletonModule
}
from
'primeng/skeleton'
;
import
{
ItemSkeletonComponent
}
from
'./componenets/item-skeleton/item-skeleton.component'
;
...
...
@@ -30,7 +31,8 @@ import { SkeletonModule } from 'primeng/skeleton';
FullnamePipe
,
StateTranslatePipe
,
CardItemComponent
,
CardSkeletonComponent
CardSkeletonComponent
,
ItemSkeletonComponent
],
imports
:
[
...
...
@@ -39,6 +41,7 @@ import { SkeletonModule } from 'primeng/skeleton';
SkeletonModule
],
exports
:[
ItemSkeletonComponent
,
HeaderComponent
,
FooterComponent
,
SidebarComponent
,
...
...
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