Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
I
IPRSv2
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Michael Ngei
IPRSv2
Commits
96c9cea9
Commit
96c9cea9
authored
Apr 04, 2025
by
Brian Wangora
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial changes to basic search
parent
0ca0417a
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
21 additions
and
130 deletions
+21
-130
passport-photo.jpg
public/images/passport-photo.jpg
+0
-0
birth-modal.blade.php
resources/views/livewire/search/birth-modal.blade.php
+2
-84
document_data.blade.php
...vewire/search/partials/tabs/birth/document_data.blade.php
+2
-10
document_data.blade.php
.../livewire/search/partials/tabs/id/document_data.blade.php
+2
-16
document_history.blade.php
...vewire/search/partials/tabs/id/document_history.blade.php
+8
-0
document_data.blade.php
...earch/partials/tabs/passport_tabs/document_data.blade.php
+3
-14
passport-modal.blade.php
resources/views/livewire/search/passport-modal.blade.php
+3
-5
resultsmodal.blade.php
resources/views/livewire/search/resultsmodal.blade.php
+1
-1
No files found.
public/images/passport-photo.jpg
0 → 100644
View file @
96c9cea9
75.8 KB
resources/views/livewire/search/birth-modal.blade.php
View file @
96c9cea9
...
...
@@ -14,14 +14,14 @@
<x-adminlte-modal
id=
"searchModalBirth"
class=
"{{ $modalStatus }}"
style=
"{{ $modalStyle }}"
size=
"lg"
title=
"
{{ $fname }} {{ $oname }} {{ $surname }}'s Birth Details
"
v-centered
static-backdrop
scrollable
>
title=
"
Birth Details: {{ $fname }} {{ $oname }} {{ $surname }}
"
v-centered
static-backdrop
scrollable
>
<div
class=
"modal-body"
>
<ul
class=
"nav nav-tabs"
id=
"custom-tabs-five-tab"
role=
"tablist"
>
@if($role->hasAnyPermission(["Basic View Birth Details"]))
<li
class=
"nav-item"
>
@if($modalStatus)
<a
class=
"nav-link active"
id=
"custom-tabs-
fiv
e-home-tab"
data-toggle=
"pill"
<a
class=
"nav-link active"
id=
"custom-tabs-
on
e-home-tab"
data-toggle=
"pill"
href=
"#custom-tabs-five-home"
role=
"tab"
aria-controls=
"custom-tabs-five-home"
aria-selected=
"true"
>
Document data
...
...
@@ -34,67 +34,9 @@
</li>
@endif
@if($role->hasAnyPermission(["Basic View Birth Family relations"]))
<li
class=
"nav-item"
>
@if($modalStatus)
<a
class=
"nav-link"
id=
"custom-tabs-five-family-tab"
data-toggle=
"pill"
href=
"#custom-tabs-five-family"
role=
"tab"
aria-controls=
"custom-tabs-five-family"
aria-selected=
"false"
>
Family relations
</a>
@else
<a
class=
"nav-link"
id=
"custom-tabs-five-family-tab"
data-toggle=
"pill"
href=
"#custom-tabs-five-family"
role=
"tab"
aria-controls=
"custom-tabs-five-family"
aria-selected=
"false"
>
<div
class=
"skeleton skeleton-text short"
style=
"width: 10rem;"
></div>
</a>
@endif
</li>
@endif
@if($role->hasAnyPermission(["Basic View Birth Documents"]))
<li
class=
"nav-item"
>
@if($modalStatus)
<a
class=
"nav-link"
id=
"custom-tabs-five-history-tab"
data-toggle=
"pill"
href=
"#custom-tabs-five-history"
role=
"tab"
aria-controls=
"custom-tabs-five-history"
aria-selected=
"false"
>
Document History
</a>
@else
<a
class=
"nav-link"
id=
"custom-tabs-five-family-tab"
data-toggle=
"pill"
href=
"#custom-tabs-five-family"
role=
"tab"
aria-controls=
"custom-tabs-five-family"
aria-selected=
"false"
>
<div
class=
"skeleton skeleton-text short"
style=
"width: 10rem;"
></div>
</a>
@endif
</li>
@endif
@if($role->hasAnyPermission(["Basic View Birth History"]))
<li
class=
"nav-item"
>
@if($modalStatus)
<a
class=
"nav-link"
id=
"custom-tabs-five-photo-tab"
data-toggle=
"pill"
href=
"#custom-tabs-five-photo"
role=
"tab"
aria-controls=
"custom-tabs-five-photo"
aria-selected=
"false"
>
Photo
&
Signature
</a>
@else
<a
class=
"nav-link"
id=
"custom-tabs-five-family-tab"
data-toggle=
"pill"
href=
"#custom-tabs-five-family"
role=
"tab"
aria-controls=
"custom-tabs-five-family"
aria-selected=
"false"
>
<div
class=
"skeleton skeleton-text short"
style=
"width: 10rem;"
></div>
</a>
@endif
</li>
@endif
<li
class=
"nav-item"
>
@if($modalStatus)
<a
class=
"nav-link"
id=
"custom-tabs-five-death-tab"
data-toggle=
"pill"
href=
"#custom-tabs-five-death"
role=
"tab"
aria-controls=
"custom-tabs-five-death"
aria-selected=
"false"
>
Date of Death
</a>
@else
<a
class=
"nav-link"
id=
"custom-tabs-five-family-tab"
data-toggle=
"pill"
href=
"#custom-tabs-five-family"
role=
"tab"
aria-controls=
"custom-tabs-five-family"
aria-selected=
"false"
>
<div
class=
"skeleton skeleton-text short"
style=
"width: 10rem;"
></div>
</a>
@endif
</li>
</ul>
</div>
...
...
@@ -109,33 +51,9 @@
</div>
@endif
@if($role->hasAnyPermission(["Basic View Birth Details"]))
<div
class=
"tab-pane fade"
id=
"custom-tabs-five-family"
role=
"tabpanel"
aria-labelledby=
"custom-tabs-five-family-tab"
>
@include('livewire.search.partials.tabs.birth.document_header_details')
</div>
@endif
@if($role->hasAnyPermission(["Basic View Birth Details"]))
<div
class=
"tab-pane fade"
id=
"custom-tabs-five-history"
role=
"tabpanel"
aria-labelledby=
"custom-tabs-five-history-tab"
>
@include('livewire.search.partials.tabs.birth.document_history')
</div>
@endif
@if($role->hasAnyPermission(["Basic View Birth Details"]))
<div
class=
"tab-pane fade"
id=
"custom-tabs-five-photo"
role=
"tabpanel"
aria-labelledby=
"custom-tabs-five-photo-tab"
>
@include('livewire.search.partials.tabs.birth.family_relation')
</div>
@endif
@if($role->hasAnyPermission(["Basic View Birth Details"]))
<div
class=
"tab-pane fade"
id=
"custom-tabs-five-death"
role=
"tabpanel"
aria-labelledby=
"custom-tabs-five-death-tab"
>
@include('livewire.search.partials.tabs.birth.document_data')
</div>
@endif
</div>
</div>
...
...
resources/views/livewire/search/partials/tabs/birth/document_data.blade.php
View file @
96c9cea9
...
...
@@ -6,14 +6,6 @@
<
div
class
="
row
">
<div class="
col
-
2
">
<div class="
row
">
<x-adminlte-card>
@if(
$modalStatus
)
<img class="
card
-
img
-
top
"
src="
{{
asset
(
'../images/imgplaceholder.png'
)
}}
" alt="
Card
image
cap
">
@else
<div class="
skeleton
skeleton
-
text
short
skeleton
-
img
"></div>
@endif
</x-adminlte-card>
<div class="
row
" style="
width
:
100
%
;
">
@if(
$role->hasPermissionTo
("
Basic
View
Birth
Details
"))
<div class="
col
-
12
text
-
center
">
...
...
@@ -29,7 +21,7 @@
<div class="
col
-
12
text
-
center
">
@if(isset(
$human
))
<small class="">Country of Birth</small>
<p class="
card
-
text
">
KENYA
</p>
<p class="
card
-
text
">
{{
$human->birth_country
}}
</p>
<span class="
fi
fi
-
ke
" style="
font
-
size
:
2
rem
;
"></span>
@else
<div class="
skeleton
skeleton
-
text
short
"></div>
...
...
@@ -55,7 +47,7 @@
@endif
</div>
<div class="
col
-
6
">
<small>Sur
name</small>
<small>Surname</small>
@if(isset(
$human->surn
))
<p class="
field
-
value
">{{
$human->surn
}}</p>
@else
...
...
resources/views/livewire/search/partials/tabs/id/document_data.blade.php
View file @
96c9cea9
...
...
@@ -6,7 +6,7 @@
<x-adminlte-card>
@if(
$modalStatus
)
<img class="
card
-
img
-
top
"
src="
{{
asset
(
'../images/
imgplaceholder.pn
g'
)
}}
" alt="
Card
image
cap
">
src="
{{
asset
(
'../images/
passport-photo.jp
g'
)
}}
" alt="
Card
image
cap
">
@else
<div class="
skeleton
skeleton
-
text
short
skeleton
-
img
"></div>
@endif
...
...
@@ -49,7 +49,7 @@
<div class="
col
-
12
text
-
center
">
@if(isset(
$human->o_pid
))
<small class="">Country of Birth</small>
<p class="
card
-
text
">
KEN
</p>
<p class="
card
-
text
">
{{
$human->birth_country
}}
</p>
<span class="
fi
fi
-
ke
" style="
font
-
size
:
2
rem
;
"></span>
@else
<div class="
skeleton
skeleton
-
text
short
"></div>
...
...
@@ -60,20 +60,6 @@
</div>
</div>
@if(
$doctype
== 'ID')
@if(
$role->hasPermissionTo
("
Basic
View
ID
Details
"))
<div class="
row
">
@if(isset(
$human->name
))
<x-adminlte-card style="
margin
:
1
rem
auto
;
">
<img class="
card
-
img
-
top
" height="
100
"
src="
{{
asset
(
'../images/fingerprints/biometric.png'
)
}}
" alt="
Card
image
cap
">
</x-adminlte-card>
@else
<div class="
skeleton
skeleton
-
text
short
"></div>
@endif
</div>
@endif
@endif
</div>
...
...
resources/views/livewire/search/partials/tabs/id/document_history.blade.php
View file @
96c9cea9
...
...
@@ -206,6 +206,14 @@
border-radius: 6.25rem;
opacity: .5
}
.table td{
font-size: 1.2rem !important;
}
.field-value-text{
font-size: 1.2rem !important;
}
</style>
</div>
resources/views/livewire/search/partials/tabs/passport_tabs/document_data.blade.php
View file @
96c9cea9
...
...
@@ -8,7 +8,7 @@
<x-adminlte-card>
@if(
$modalStatus
)
<img class="
card
-
img
-
top
"
src="
{{
asset
(
'../images/
imgplaceholder.pn
g'
)
}}
" alt="
Card
image
cap
">
src="
{{
asset
(
'../images/
passport-photo.jp
g'
)
}}
" alt="
Card
image
cap
">
@else
<div class="
skeleton
skeleton
-
text
short
skeleton
-
img
"></div>
@endif
...
...
@@ -29,7 +29,7 @@
<div class="
col
-
12
text
-
center
">
@if(isset(
$human_passport->identity_card_no
))
<small class="">Country of Birth</small>
<p class="
card
-
text
">
KEN
</p>
<p class="
card
-
text
">
{{
$human_passport->birth_country
}}
</p>
<span class="
fi
fi
-
ke
" style="
font
-
size
:
2
rem
;
"></span>
@else
<div class="
skeleton
skeleton
-
text
short
"></div>
...
...
@@ -40,18 +40,7 @@
</div>
</div>
@if(
$role->hasPermissionTo
("
Basic
View
ID
Details
"))
<div class="
row
">
@if(isset(
$human_passport->identity_card_no
))
<x-adminlte-card style="
margin
:
1
rem
auto
;
">
<img class="
card
-
img
-
top
" height="
100
"
src="
{{
asset
(
'../images/fingerprints/biometric.png'
)
}}
" alt="
Card
image
cap
">
</x-adminlte-card>
@else
<div class="
skeleton
skeleton
-
text
short
"></div>
@endif
</div>
@endif
</div>
<div class="
col
-
6
" style="
padding
-
left
:
27
px
;
">
...
...
resources/views/livewire/search/passport-modal.blade.php
View file @
96c9cea9
...
...
@@ -11,16 +11,14 @@
@endphp
<x-adminlte-modal
id=
"searchModalPassport"
class=
"{{ $modalStatus }}"
style=
"{{ $modalStyle }}"
size=
"lg"
title=
"{{ $fname }} {{ $sname }}'s Passport Details"
v-centered
static-backdrop
scrollable
>
<x-adminlte-modal
id=
"searchModalPassport"
class=
"{{ $modalStatus }}"
style=
"{{ $modalStyle }}"
size=
"lg"
title=
"Passport Details: {{ $fname }} {{ $sname }}"
v-centered
static-backdrop
scrollable
>
<div
class=
"modal-body"
>
<ul
class=
"nav nav-tabs"
id=
"custom-tabs-four-tab"
role=
"tablist"
>
@if($role->hasAnyPermission(["Basic View ID Details", "Basic View Passport Details", "Basic View Birth Details"]))
<li
class=
"nav-item"
>
@if($modalStatus)
<a
class=
"nav-link active"
id=
"custom-tabs-four-home-tab"
data-toggle=
"pill"
href=
"#custom-tabs-four-home"
role=
"tab"
aria-controls=
"custom-tabs-four-home"
aria-selected=
"true"
>
<a
class=
"nav-link active"
id=
"custom-tabs-four-home-tab"
data-toggle=
"pill"
href=
"#custom-tabs-four-home"
role=
"tab"
aria-controls=
"custom-tabs-four-home"
aria-selected=
"true"
>
Document data
</a>
@else
...
...
resources/views/livewire/search/resultsmodal.blade.php
View file @
96c9cea9
...
...
@@ -12,7 +12,7 @@
@endphp
<x-adminlte-modal
id=
"searchModalBasic"
class=
"{{ $modalStatus }}"
style=
"{{ $modalStyle }}"
size=
"lg"
title=
"{{ $fname }} {{ $mname }} {{ $sname }}"
v-centered
static-backdrop
scrollable
>
title=
"
ID Details:
{{ $fname }} {{ $mname }} {{ $sname }}"
v-centered
static-backdrop
scrollable
>
<div
class=
"modal-body"
>
<ul
class=
"nav nav-tabs"
id=
"custom-tabs-six-tab"
role=
"tablist"
>
@if($role->hasAnyPermission(["Basic View ID Details", "Basic View Passport Details", "Basic View Birth Details"]))
...
...
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