Skip to content

Commit

Permalink
fix issue #33 icons
Browse files Browse the repository at this point in the history
  • Loading branch information
gheorghelupu17 committed Jun 26, 2023
1 parent 243aedd commit 33bb1f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 303 deletions.
9 changes: 5 additions & 4 deletions resources/js/Components/templates/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ import {
HomeIcon,
UsersIcon,
FolderOpenIcon,
FolderMinusIcon
FolderMinusIcon, UserMinusIcon, UserPlusIcon,UserGroupIcon
} from '@heroicons/vue/24/outline';
/** Sidebar links. */
const navigation = [
{
Expand All @@ -79,22 +80,22 @@ const navigation = [
name: 'volunteers_approved',
href: 'admin.ong.volunteers',
route: route('admin.ong.volunteers', {'status': 'approved'}),
icon: UsersIcon,
icon: UserGroupIcon,
subroutes: [],
},
{
name: 'volunteers_pending',
href: 'admin.ong.volunteers',
route: route('admin.ong.volunteers', {'status': 'pending'}),
subroutes: [],
icon: UsersIcon
icon: UserPlusIcon
},
{
name: 'volunteers_rejected',
href: 'admin.ong.volunteers',
route: route('admin.ong.volunteers', {'status': 'rejected'}),
subroutes: [],
icon: UsersIcon
icon: UserMinusIcon
}
],
icon: UsersIcon,
Expand Down
300 changes: 1 addition & 299 deletions resources/js/Pages/AdminOng/Volunteers/Volunteers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
:title="$t('confirm')"
:body="`${$t('confirm_delete_text')} ${person.user?.name} `"
actionRoute="route('admin.client.destroy', person.user.id)"
:data="volunteers3.data"
:data="volunteers.data"
/>
</td>
Expand Down Expand Up @@ -133,302 +133,4 @@
flash: Object,
status: String,
});
onMounted(() => {
console.log(props.volunteers)
});
const volunteers1 = {
"current_page": 2,
"data": [
{
user: {
image: '',
name: 'Jane Cooper',
email: '[email protected]',
phone: '0755864325'
},
proiect: 'Fundatia pentru Voineasa',
created_at: '12.08.2022',
role: 'Da'
},
],
"first_page_url": "http://bursabinelui.test/proiecte?page=1",
"from": 1,
"last_page": 2,
"last_page_url": "http://bursabinelui.test/proiecte?page=2",
"links": [
{
"url": "http://bursabinelui.test/proiecte?page=1",
"label": "1",
"active": true
},
{
"url": "http://bursabinelui.test/proiecte?page=1",
"label": "1",
"active": true
},
{
"url": "http://bursabinelui.test/proiecte?page=2",
"label": "2",
"active": false
},
{
"url": "http://bursabinelui.test/proiecte?page=3",
"label": "3",
"active": false
},
{
"url": "http://bursabinelui.test/proiecte?page=1",
"label": "1",
"active": true
},
],
"next_page_url": "http://bursabinelui.test/proiecte?page=3",
"path": "http://bursabinelui.test/proiecte",
"per_page": 15,
"prev_page_url": 'http://bursabinelui.test/proiecte?page=1',
"to": 15,
"total": 20
}
const volunteers2 = {
"current_page": 2,
"data": [
{
user: {
image: '',
name: 'Jane Cooper',
email: '[email protected]',
phone: '0755864325'
},
proiect: 'Fundatia pentru Voineasa',
created_at: '12.08.2022',
role: 'Da'
},
{
user: {
image: '',
name: 'Jane Cooper',
email: '[email protected]',
phone: '0755864325'
},
proiect: 'Fundatia pentru Voineasa',
created_at: '12.08.2022',
role: 'Da'
},
{
user: {
image: '',
name: 'Jane Cooper',
email: '[email protected]',
phone: '0755864325'
},
proiect: 'Fundatia pentru Voineasa',
created_at: '12.08.2022',
role: 'Da'
},
],
"first_page_url": "http://bursabinelui.test/proiecte?page=1",
"from": 1,
"last_page": 2,
"last_page_url": "http://bursabinelui.test/proiecte?page=2",
"links": [
{
"url": "http://bursabinelui.test/proiecte?page=1",
"label": "1",
"active": true
},
{
"url": "http://bursabinelui.test/proiecte?page=1",
"label": "1",
"active": true
},
{
"url": "http://bursabinelui.test/proiecte?page=2",
"label": "2",
"active": false
},
{
"url": "http://bursabinelui.test/proiecte?page=3",
"label": "3",
"active": false
},
{
"url": "http://bursabinelui.test/proiecte?page=1",
"label": "1",
"active": true
},
],
"next_page_url": "http://bursabinelui.test/proiecte?page=3",
"path": "http://bursabinelui.test/proiecte",
"per_page": 15,
"prev_page_url": 'http://bursabinelui.test/proiecte?page=1',
"to": 15,
"total": 20
}
const volunteers3 = {
"current_page": 2,
"data": [
{
user: {
image: '',
name: 'Jane Cooper',
email: '[email protected]',
phone: '0755864325'
},
proiect: 'Fundatia pentru Voineasa',
created_at: '12.08.2022',
role: 'Da'
},
{
user: {
image: '',
name: 'Jane Cooper',
email: '[email protected]',
phone: '0755864325'
},
proiect: 'Fundatia pentru Voineasa',
created_at: '12.08.2022',
role: 'Da'
},
{
user: {
image: '',
name: 'Jane Cooper',
email: '[email protected]',
phone: '0755864325'
},
proiect: 'Fundatia pentru Voineasa',
created_at: '12.08.2022',
role: 'Da'
},
{
user: {
image: '',
name: 'Jane Cooper',
email: '[email protected]',
phone: '0755864325'
},
proiect: 'Fundatia pentru Voineasa',
created_at: '12.08.2022',
role: 'Da'
},
{
user: {
image: '',
name: 'Jane Cooper',
email: '[email protected]',
phone: '0755864325'
},
proiect: 'Fundatia pentru Voineasa',
created_at: '12.08.2022',
role: 'Da'
},
{
user: {
image: '',
name: 'Jane Cooper',
email: '[email protected]',
phone: '0755864325'
},
proiect: 'Fundatia pentru Voineasa',
created_at: '12.08.2022',
role: 'Da'
},
{
user: {
image: '',
name: 'Jane Cooper',
email: '[email protected]',
phone: '0755864325'
},
proiect: 'Fundatia pentru Voineasa',
created_at: '12.08.2022',
role: 'Da'
},
{
user: {
image: '',
name: 'Jane Cooper',
email: '[email protected]',
phone: '0755864325'
},
proiect: 'Fundatia pentru Voineasa',
created_at: '12.08.2022',
role: 'Da'
},
{
user: {
image: '',
name: 'Jane Cooper',
email: '[email protected]',
phone: '0755864325'
},
proiect: 'Fundatia pentru Voineasa',
created_at: '12.08.2022',
role: 'Da'
},
{
user: {
image: '',
name: 'Jane Cooper',
email: '[email protected]',
phone: '0755864325'
},
proiect: 'Fundatia pentru Voineasa',
created_at: '12.08.2022',
role: 'Da'
},
{
user: {
image: '',
name: 'Jane Cooper',
email: '[email protected]',
phone: '0755864325'
},
proiect: 'Fundatia pentru Voineasa',
created_at: '12.08.2022',
role: ''
},
],
"first_page_url": "http://bursabinelui.test/proiecte?page=1",
"from": 1,
"last_page": 2,
"last_page_url": "http://bursabinelui.test/proiecte?page=2",
"links": [
{
"url": "http://bursabinelui.test/proiecte?page=1",
"label": "1",
"active": true
},
{
"url": "http://bursabinelui.test/proiecte?page=1",
"label": "1",
"active": true
},
{
"url": "http://bursabinelui.test/proiecte?page=2",
"label": "2",
"active": false
},
{
"url": "http://bursabinelui.test/proiecte?page=3",
"label": "3",
"active": false
},
{
"url": "http://bursabinelui.test/proiecte?page=1",
"label": "1",
"active": true
},
],
"next_page_url": "http://bursabinelui.test/proiecte?page=3",
"path": "http://bursabinelui.test/proiecte",
"per_page": 15,
"prev_page_url": 'http://bursabinelui.test/proiecte?page=1',
"to": 15,
"total": 20
}
</script>

0 comments on commit 33bb1f4

Please sign in to comment.