Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
7cfa1dd8df | ||
|
af7c67312f | ||
|
8fe73b5327 | ||
|
62814cd226 |
105
composer.lock
generated
105
composer.lock
generated
@ -1056,16 +1056,16 @@
|
||||
},
|
||||
{
|
||||
"name": "laravel/framework",
|
||||
"version": "v10.21.0",
|
||||
"version": "v10.22.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/laravel/framework.git",
|
||||
"reference": "96b15c7ac382a9adb4a56d40c640e782d669a112"
|
||||
"reference": "9234388a895206d4e1df37342b61adc67e5c5d31"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/laravel/framework/zipball/96b15c7ac382a9adb4a56d40c640e782d669a112",
|
||||
"reference": "96b15c7ac382a9adb4a56d40c640e782d669a112",
|
||||
"url": "https://api.github.com/repos/laravel/framework/zipball/9234388a895206d4e1df37342b61adc67e5c5d31",
|
||||
"reference": "9234388a895206d4e1df37342b61adc67e5c5d31",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -1252,7 +1252,7 @@
|
||||
"issues": "https://github.com/laravel/framework/issues",
|
||||
"source": "https://github.com/laravel/framework"
|
||||
},
|
||||
"time": "2023-08-29T13:55:56+00:00"
|
||||
"time": "2023-09-05T13:20:01+00:00"
|
||||
},
|
||||
{
|
||||
"name": "laravel/prompts",
|
||||
@ -1304,16 +1304,16 @@
|
||||
},
|
||||
{
|
||||
"name": "laravel/sanctum",
|
||||
"version": "v3.2.6",
|
||||
"version": "v3.3.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/laravel/sanctum.git",
|
||||
"reference": "217e8a2bc5aa6a827ced97fcb76504029d3115d7"
|
||||
"reference": "95a0181900019e2d79acbd3e2ee7d57e3d0a086b"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/laravel/sanctum/zipball/217e8a2bc5aa6a827ced97fcb76504029d3115d7",
|
||||
"reference": "217e8a2bc5aa6a827ced97fcb76504029d3115d7",
|
||||
"url": "https://api.github.com/repos/laravel/sanctum/zipball/95a0181900019e2d79acbd3e2ee7d57e3d0a086b",
|
||||
"reference": "95a0181900019e2d79acbd3e2ee7d57e3d0a086b",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -1366,7 +1366,7 @@
|
||||
"issues": "https://github.com/laravel/sanctum/issues",
|
||||
"source": "https://github.com/laravel/sanctum"
|
||||
},
|
||||
"time": "2023-08-22T13:21:11+00:00"
|
||||
"time": "2023-09-04T14:26:54+00:00"
|
||||
},
|
||||
{
|
||||
"name": "laravel/serializable-closure",
|
||||
@ -1909,16 +1909,16 @@
|
||||
},
|
||||
{
|
||||
"name": "league/flysystem",
|
||||
"version": "3.15.1",
|
||||
"version": "3.16.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/thephpleague/flysystem.git",
|
||||
"reference": "a141d430414fcb8bf797a18716b09f759a385bed"
|
||||
"reference": "4fdf372ca6b63c6e281b1c01a624349ccb757729"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/a141d430414fcb8bf797a18716b09f759a385bed",
|
||||
"reference": "a141d430414fcb8bf797a18716b09f759a385bed",
|
||||
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/4fdf372ca6b63c6e281b1c01a624349ccb757729",
|
||||
"reference": "4fdf372ca6b63c6e281b1c01a624349ccb757729",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -1927,6 +1927,8 @@
|
||||
"php": "^8.0.2"
|
||||
},
|
||||
"conflict": {
|
||||
"async-aws/core": "<1.19.0",
|
||||
"async-aws/s3": "<1.14.0",
|
||||
"aws/aws-sdk-php": "3.209.31 || 3.210.0",
|
||||
"guzzlehttp/guzzle": "<7.0",
|
||||
"guzzlehttp/ringphp": "<1.1.1",
|
||||
@ -1946,7 +1948,7 @@
|
||||
"microsoft/azure-storage-blob": "^1.1",
|
||||
"phpseclib/phpseclib": "^3.0.14",
|
||||
"phpstan/phpstan": "^0.12.26",
|
||||
"phpunit/phpunit": "^9.5.11",
|
||||
"phpunit/phpunit": "^9.5.11|^10.0",
|
||||
"sabre/dav": "^4.3.1"
|
||||
},
|
||||
"type": "library",
|
||||
@ -1981,7 +1983,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/thephpleague/flysystem/issues",
|
||||
"source": "https://github.com/thephpleague/flysystem/tree/3.15.1"
|
||||
"source": "https://github.com/thephpleague/flysystem/tree/3.16.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -1993,20 +1995,20 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2023-05-04T09:04:26+00:00"
|
||||
"time": "2023-09-07T19:22:17+00:00"
|
||||
},
|
||||
{
|
||||
"name": "league/flysystem-local",
|
||||
"version": "3.15.0",
|
||||
"version": "3.16.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/thephpleague/flysystem-local.git",
|
||||
"reference": "543f64c397fefdf9cfeac443ffb6beff602796b3"
|
||||
"reference": "ec7383f25642e6fd4bb0c9554fc2311245391781"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/543f64c397fefdf9cfeac443ffb6beff602796b3",
|
||||
"reference": "543f64c397fefdf9cfeac443ffb6beff602796b3",
|
||||
"url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/ec7383f25642e6fd4bb0c9554fc2311245391781",
|
||||
"reference": "ec7383f25642e6fd4bb0c9554fc2311245391781",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -2041,7 +2043,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/thephpleague/flysystem-local/issues",
|
||||
"source": "https://github.com/thephpleague/flysystem-local/tree/3.15.0"
|
||||
"source": "https://github.com/thephpleague/flysystem-local/tree/3.16.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -2053,7 +2055,7 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2023-05-02T20:02:14+00:00"
|
||||
"time": "2023-08-30T10:23:59+00:00"
|
||||
},
|
||||
{
|
||||
"name": "league/mime-type-detection",
|
||||
@ -2214,16 +2216,16 @@
|
||||
},
|
||||
{
|
||||
"name": "nesbot/carbon",
|
||||
"version": "2.69.0",
|
||||
"version": "2.70.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/briannesbitt/Carbon.git",
|
||||
"reference": "4308217830e4ca445583a37d1bf4aff4153fa81c"
|
||||
"reference": "d3298b38ea8612e5f77d38d1a99438e42f70341d"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/4308217830e4ca445583a37d1bf4aff4153fa81c",
|
||||
"reference": "4308217830e4ca445583a37d1bf4aff4153fa81c",
|
||||
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/d3298b38ea8612e5f77d38d1a99438e42f70341d",
|
||||
"reference": "d3298b38ea8612e5f77d38d1a99438e42f70341d",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -2316,7 +2318,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-08-03T09:00:52+00:00"
|
||||
"time": "2023-09-07T16:43:50+00:00"
|
||||
},
|
||||
{
|
||||
"name": "nette/schema",
|
||||
@ -6488,16 +6490,16 @@
|
||||
},
|
||||
{
|
||||
"name": "laravel/pint",
|
||||
"version": "v1.12.0",
|
||||
"version": "v1.13.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/laravel/pint.git",
|
||||
"reference": "08bcf51e520a5e5aea458fc600ac4869f6934a66"
|
||||
"reference": "22f204242d68095b3ba7dab5d3ef0240454a4652"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/laravel/pint/zipball/08bcf51e520a5e5aea458fc600ac4869f6934a66",
|
||||
"reference": "08bcf51e520a5e5aea458fc600ac4869f6934a66",
|
||||
"url": "https://api.github.com/repos/laravel/pint/zipball/22f204242d68095b3ba7dab5d3ef0240454a4652",
|
||||
"reference": "22f204242d68095b3ba7dab5d3ef0240454a4652",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -6550,20 +6552,20 @@
|
||||
"issues": "https://github.com/laravel/pint/issues",
|
||||
"source": "https://github.com/laravel/pint"
|
||||
},
|
||||
"time": "2023-08-30T07:53:32+00:00"
|
||||
"time": "2023-09-06T11:03:34+00:00"
|
||||
},
|
||||
{
|
||||
"name": "laravel/sail",
|
||||
"version": "v1.24.0",
|
||||
"version": "v1.24.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/laravel/sail.git",
|
||||
"reference": "c8a621d7b69ab2e568d97a20f837ca733a224006"
|
||||
"reference": "3a373bb2845623aed2017c672dc61c84ae974890"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/laravel/sail/zipball/c8a621d7b69ab2e568d97a20f837ca733a224006",
|
||||
"reference": "c8a621d7b69ab2e568d97a20f837ca733a224006",
|
||||
"url": "https://api.github.com/repos/laravel/sail/zipball/3a373bb2845623aed2017c672dc61c84ae974890",
|
||||
"reference": "3a373bb2845623aed2017c672dc61c84ae974890",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -6615,7 +6617,7 @@
|
||||
"issues": "https://github.com/laravel/sail/issues",
|
||||
"source": "https://github.com/laravel/sail"
|
||||
},
|
||||
"time": "2023-08-27T14:26:11+00:00"
|
||||
"time": "2023-09-01T14:05:17+00:00"
|
||||
},
|
||||
{
|
||||
"name": "mockery/mockery",
|
||||
@ -7288,16 +7290,16 @@
|
||||
},
|
||||
{
|
||||
"name": "phpunit/phpunit",
|
||||
"version": "10.3.2",
|
||||
"version": "10.3.3",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
||||
"reference": "0dafb1175c366dd274eaa9a625e914451506bcd1"
|
||||
"reference": "241ed4dd0db1c096984e62d414c4e1ac8d5dbff4"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/0dafb1175c366dd274eaa9a625e914451506bcd1",
|
||||
"reference": "0dafb1175c366dd274eaa9a625e914451506bcd1",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/241ed4dd0db1c096984e62d414c4e1ac8d5dbff4",
|
||||
"reference": "241ed4dd0db1c096984e62d414c4e1ac8d5dbff4",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -7369,7 +7371,7 @@
|
||||
"support": {
|
||||
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
|
||||
"security": "https://github.com/sebastianbergmann/phpunit/security/policy",
|
||||
"source": "https://github.com/sebastianbergmann/phpunit/tree/10.3.2"
|
||||
"source": "https://github.com/sebastianbergmann/phpunit/tree/10.3.3"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -7385,7 +7387,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-08-15T05:34:23+00:00"
|
||||
"time": "2023-09-05T04:34:51+00:00"
|
||||
},
|
||||
{
|
||||
"name": "sebastian/cli-parser",
|
||||
@ -7822,16 +7824,16 @@
|
||||
},
|
||||
{
|
||||
"name": "sebastian/exporter",
|
||||
"version": "5.0.0",
|
||||
"version": "5.0.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/sebastianbergmann/exporter.git",
|
||||
"reference": "f3ec4bf931c0b31e5b413f5b4fc970a7d03338c0"
|
||||
"reference": "32ff03d078fed1279c4ec9a407d08c5e9febb480"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/f3ec4bf931c0b31e5b413f5b4fc970a7d03338c0",
|
||||
"reference": "f3ec4bf931c0b31e5b413f5b4fc970a7d03338c0",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/32ff03d078fed1279c4ec9a407d08c5e9febb480",
|
||||
"reference": "32ff03d078fed1279c4ec9a407d08c5e9febb480",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -7887,7 +7889,8 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/sebastianbergmann/exporter/issues",
|
||||
"source": "https://github.com/sebastianbergmann/exporter/tree/5.0.0"
|
||||
"security": "https://github.com/sebastianbergmann/exporter/security/policy",
|
||||
"source": "https://github.com/sebastianbergmann/exporter/tree/5.0.1"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -7895,7 +7898,7 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2023-02-03T07:06:49+00:00"
|
||||
"time": "2023-09-08T04:46:58+00:00"
|
||||
},
|
||||
{
|
||||
"name": "sebastian/global-state",
|
||||
@ -8740,5 +8743,5 @@
|
||||
"php": "^8.1"
|
||||
},
|
||||
"platform-dev": [],
|
||||
"plugin-api-version": "2.3.0"
|
||||
"plugin-api-version": "2.6.0"
|
||||
}
|
||||
|
17
package-lock.json
generated
17
package-lock.json
generated
@ -5,7 +5,8 @@
|
||||
"packages": {
|
||||
"": {
|
||||
"dependencies": {
|
||||
"datatables.net-dt": "^1.13.6"
|
||||
"datatables.net-dt": "^1.13.6",
|
||||
"sweetalert2": "^11.7.27"
|
||||
},
|
||||
"devDependencies": {
|
||||
"axios": "^1.1.2",
|
||||
@ -642,6 +643,15 @@
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/sweetalert2": {
|
||||
"version": "11.7.27",
|
||||
"resolved": "https://registry.npmjs.org/sweetalert2/-/sweetalert2-11.7.27.tgz",
|
||||
"integrity": "sha512-QbRXGQn1sb7HEhzA/K2xtWIwQHh/qkSbb1w6jYcTql2xy17876lTREEt1D4X6Q0x2wHtfUjKJ+Cb8IVkRoq7DQ==",
|
||||
"funding": {
|
||||
"type": "individual",
|
||||
"url": "https://github.com/sponsors/limonte"
|
||||
}
|
||||
},
|
||||
"node_modules/vite": {
|
||||
"version": "4.4.9",
|
||||
"resolved": "https://registry.npmjs.org/vite/-/vite-4.4.9.tgz",
|
||||
@ -1049,6 +1059,11 @@
|
||||
"integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
|
||||
"dev": true
|
||||
},
|
||||
"sweetalert2": {
|
||||
"version": "11.7.27",
|
||||
"resolved": "https://registry.npmjs.org/sweetalert2/-/sweetalert2-11.7.27.tgz",
|
||||
"integrity": "sha512-QbRXGQn1sb7HEhzA/K2xtWIwQHh/qkSbb1w6jYcTql2xy17876lTREEt1D4X6Q0x2wHtfUjKJ+Cb8IVkRoq7DQ=="
|
||||
},
|
||||
"vite": {
|
||||
"version": "4.4.9",
|
||||
"resolved": "https://registry.npmjs.org/vite/-/vite-4.4.9.tgz",
|
||||
|
@ -11,6 +11,7 @@
|
||||
"vite": "^4.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"datatables.net-dt": "^1.13.6"
|
||||
"datatables.net-dt": "^1.13.6",
|
||||
"sweetalert2": "^11.7.27"
|
||||
}
|
||||
}
|
||||
|
@ -3537,7 +3537,7 @@ body.sidebar-mini .main-sidebar:after {
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
|
||||
content: ' ';
|
||||
position: fixed;
|
||||
background-color: #900c3f;
|
||||
background-color: #900C3F;
|
||||
width: 65px;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
@ -3687,7 +3687,9 @@ body.layout-2 .main-wrapper {
|
||||
flex-wrap: wrap;
|
||||
padding: 0 50px;
|
||||
}
|
||||
|
||||
.row-divider {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
body.layout-2 .main-sidebar,
|
||||
body.layout-2 .main-content,
|
||||
body.layout-2 .main-footer {
|
||||
|
BIN
public/assets/images/foto-ktp.jpg
Normal file
BIN
public/assets/images/foto-ktp.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
@ -250,7 +250,7 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||
clearPhoto(fotoInputKtp, document.getElementById("foto-preview-ktp"));
|
||||
|
||||
if (ktpStream) {
|
||||
// Matikan kamera jika sedang aktif
|
||||
|
||||
turnOffCamera(ktpStream, videoElementKtp, startButtonKtp);
|
||||
ktpStream = null;
|
||||
}
|
||||
|
@ -2,37 +2,27 @@
|
||||
|
||||
$("[data-checkboxes]").each(function () {
|
||||
var me = $(this),
|
||||
group = me.data("checkboxes"),
|
||||
role = me.data("checkbox-role");
|
||||
group = me.data('checkboxes'),
|
||||
role = me.data('checkbox-role');
|
||||
|
||||
me.change(function () {
|
||||
var all = $(
|
||||
'[data-checkboxes="' +
|
||||
group +
|
||||
'"]:not([data-checkbox-role="dad"])'
|
||||
),
|
||||
checked = $(
|
||||
'[data-checkboxes="' +
|
||||
group +
|
||||
'"]:not([data-checkbox-role="dad"]):checked'
|
||||
),
|
||||
dad = $(
|
||||
'[data-checkboxes="' + group + '"][data-checkbox-role="dad"]'
|
||||
),
|
||||
var all = $('[data-checkboxes="' + group + '"]:not([data-checkbox-role="dad"])'),
|
||||
checked = $('[data-checkboxes="' + group + '"]:not([data-checkbox-role="dad"]):checked'),
|
||||
dad = $('[data-checkboxes="' + group + '"][data-checkbox-role="dad"]'),
|
||||
total = all.length,
|
||||
checked_length = checked.length;
|
||||
|
||||
if (role == "dad") {
|
||||
if (me.is(":checked")) {
|
||||
all.prop("checked", true);
|
||||
if (role == 'dad') {
|
||||
if (me.is(':checked')) {
|
||||
all.prop('checked', true);
|
||||
} else {
|
||||
all.prop("checked", false);
|
||||
all.prop('checked', false);
|
||||
}
|
||||
} else {
|
||||
if (checked_length >= total) {
|
||||
dad.prop("checked", true);
|
||||
dad.prop('checked', true);
|
||||
} else {
|
||||
dad.prop("checked", false);
|
||||
dad.prop('checked', false);
|
||||
}
|
||||
}
|
||||
});
|
||||
@ -40,10 +30,14 @@ $("[data-checkboxes]").each(function () {
|
||||
|
||||
// User
|
||||
$("#table-1").dataTable({
|
||||
columnDefs: [{ sortable: false, targets: [2, 7] }],
|
||||
"columnDefs": [
|
||||
{ "sortable": false, "targets": [2] }
|
||||
]
|
||||
});
|
||||
|
||||
// Refund, Setting, Transaction
|
||||
$("#table-2").dataTable({
|
||||
ordering: true,
|
||||
"columnDefs": [
|
||||
{ "sortable": false, "targets": [0, 2, 3] }
|
||||
]
|
||||
});
|
||||
|
@ -1,62 +1,62 @@
|
||||
"use strict";
|
||||
|
||||
$("#swal-1").click(function() {
|
||||
swal('Hello');
|
||||
$("#swal-1").click(function () {
|
||||
swal('Hello');
|
||||
});
|
||||
|
||||
$("#swal-2").click(function() {
|
||||
swal('Good Job', 'You clicked the button!', 'success');
|
||||
$("#swal-2").click(function () {
|
||||
swal('Tambah data setting', 'Berhasil', 'success');
|
||||
});
|
||||
|
||||
$("#swal-3").click(function() {
|
||||
swal('Good Job', 'You clicked the button!', 'warning');
|
||||
$("#swal-3").click(function () {
|
||||
swal('Good Job', 'You clicked the button!', 'warning');
|
||||
});
|
||||
|
||||
$("#swal-4").click(function() {
|
||||
swal('Good Job', 'You clicked the button!', 'info');
|
||||
$("#swal-4").click(function () {
|
||||
swal('Good Job', 'You clicked the button!', 'info');
|
||||
});
|
||||
|
||||
$("#swal-5").click(function() {
|
||||
swal('Good Job', 'You clicked the button!', 'error');
|
||||
$("#swal-5").click(function () {
|
||||
swal('Good Job', 'You clicked the button!', 'error');
|
||||
});
|
||||
|
||||
$("#swal-6").click(function() {
|
||||
swal({
|
||||
title: 'Are you sure?',
|
||||
text: 'Once deleted, you will not be able to recover this imaginary file!',
|
||||
icon: 'warning',
|
||||
buttons: true,
|
||||
dangerMode: true,
|
||||
$("#swal-6").click(function () {
|
||||
swal({
|
||||
title: 'Are you sure?',
|
||||
text: 'Once deleted, you will not be able to recover this imaginary file!',
|
||||
icon: 'warning',
|
||||
buttons: true,
|
||||
dangerMode: true,
|
||||
})
|
||||
.then((willDelete) => {
|
||||
if (willDelete) {
|
||||
swal('Poof! Your imaginary file has been deleted!', {
|
||||
icon: 'success',
|
||||
});
|
||||
} else {
|
||||
swal('Your imaginary file is safe!');
|
||||
}
|
||||
.then((willDelete) => {
|
||||
if (willDelete) {
|
||||
swal('Poof! Your imaginary file has been deleted!', {
|
||||
icon: 'success',
|
||||
});
|
||||
} else {
|
||||
swal('Your imaginary file is safe!');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$("#swal-7").click(function () {
|
||||
swal({
|
||||
title: 'What is your name?',
|
||||
content: {
|
||||
element: 'input',
|
||||
attributes: {
|
||||
placeholder: 'Type your name',
|
||||
type: 'text',
|
||||
},
|
||||
},
|
||||
}).then((data) => {
|
||||
swal('Hello, ' + data + '!');
|
||||
});
|
||||
});
|
||||
|
||||
$("#swal-7").click(function() {
|
||||
swal({
|
||||
title: 'What is your name?',
|
||||
content: {
|
||||
element: 'input',
|
||||
attributes: {
|
||||
placeholder: 'Type your name',
|
||||
type: 'text',
|
||||
},
|
||||
},
|
||||
}).then((data) => {
|
||||
swal('Hello, ' + data + '!');
|
||||
});
|
||||
$("#swal-8").click(function () {
|
||||
swal('This modal will disappear soon!', {
|
||||
buttons: false,
|
||||
timer: 3000,
|
||||
});
|
||||
});
|
||||
|
||||
$("#swal-8").click(function() {
|
||||
swal('This modal will disappear soon!', {
|
||||
buttons: false,
|
||||
timer: 3000,
|
||||
});
|
||||
});
|
@ -65,11 +65,16 @@
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'UA-94034622-3');
|
||||
<<<<<<< HEAD
|
||||
</script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||
=======
|
||||
</script> --}}
|
||||
|
||||
<!-- /END GA -->
|
||||
|
||||
{{-- JS --}}
|
||||
>>>>>>> c6e7e74f2a6981b808e6ad8dc9499362fdf9f043
|
||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||||
<script src="{{ asset('assets/modules/chart.min.js') }}"></script>
|
||||
</head>
|
||||
@ -179,6 +184,70 @@
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
const toggleSwitches = document.querySelectorAll('.switch input[type="checkbox"]');
|
||||
toggleSwitches.forEach(toggleSwitch => {
|
||||
toggleSwitch.addEventListener('change', function() {
|
||||
const parentRow = toggleSwitch.closest('tr');
|
||||
const statusBadge = parentRow.querySelector('.badge');
|
||||
const onText = toggleSwitch.nextElementSibling.getAttribute('data-on-text');
|
||||
const offText = toggleSwitch.nextElementSibling.getAttribute('data-off-text');
|
||||
if (toggleSwitch.checked) {
|
||||
statusBadge.textContent = onText === 'Yes' ? 'Active' : 'Non Active';
|
||||
statusBadge.classList.remove('badge-danger');
|
||||
statusBadge.classList.add('badge-success');
|
||||
} else {
|
||||
statusBadge.textContent = offText === 'No' ? 'Non Active' : 'Active';
|
||||
statusBadge.classList.remove('badge-success');
|
||||
statusBadge.classList.add('badge-danger');
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script src="/assets/modules/sweetalert/sweetalert.min.js"></script>
|
||||
<!-- Page Specific JS File -->
|
||||
<script src="/assets/js/page/modules-sweetalert.js"></script>
|
||||
{{-- <script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
const swalWithBootstrapButtons = Swal.mixin({
|
||||
customClass: {
|
||||
confirmButton: 'btn btn-success',
|
||||
cancelButton: 'btn btn-danger'
|
||||
},
|
||||
buttonsStyling: false
|
||||
});
|
||||
const swalButton = document.getElementById('Swal');
|
||||
swalButton.addEventListener('click', function() {
|
||||
swalWithBootstrapButtons.fire({
|
||||
title: 'Are you sure?',
|
||||
text: "You won't be able to revert this!",
|
||||
icon: 'warning',
|
||||
showCancelButton: true,
|
||||
confirmButtonText: 'Yes, delete it!',
|
||||
cancelButtonText: 'No, cancel!',
|
||||
reverseButtons: true
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed) {
|
||||
swalWithBootstrapButtons.fire(
|
||||
'Deleted!',
|
||||
'Your file has been deleted.',
|
||||
'success'
|
||||
);
|
||||
} else if (
|
||||
result.dismiss === Swal.DismissReason.cancel
|
||||
) {
|
||||
swalWithBootstrapButtons.fire(
|
||||
'Cancelled',
|
||||
'Your imaginary file is safe :)',
|
||||
'error'
|
||||
);
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
</script> --}}
|
||||
|
||||
</body>
|
||||
|
||||
|
@ -1,21 +1,24 @@
|
||||
<div class="main-sidebar sidebar-style-2">
|
||||
<aside id="sidebar-wrapper">
|
||||
<div class="sidebar-brand">
|
||||
<a href="{{route('admin.index')}}">REKBER</a>
|
||||
<a href="{{ route('admin.index') }}">REKBER</a>
|
||||
</div>
|
||||
<div class="sidebar-brand sidebar-brand-sm">
|
||||
<a href="{{route('admin.index')}}">RK</a>
|
||||
<a href="{{ route('admin.index') }}">RK</a>
|
||||
</div>
|
||||
<ul class="sidebar-menu">
|
||||
<li class="menu-header">Dashboard</li>
|
||||
<li ><a class="nav-link active" href="{{route('admin.index')}}"><i class="fas fa-fire"></i> <span>Dashboard</span></a></li>
|
||||
<li><a class="nav-link active" href="{{ route('admin.index') }}"><i class="fas fa-fire"></i>
|
||||
<span>Dashboard</span></a></li>
|
||||
<li class="menu-header">Starter</li>
|
||||
<li><a class="nav-link" href="{{route('admin-user.index')}}"><i class="far fa-user"></i> <span>User</span></a></li>
|
||||
<li><a class="nav-link" href="{{route('admin-transaction.index')}}"><i
|
||||
<li><a class="nav-link" href="{{ route('admin-user.index') }}"><i class="far fa-user"></i>
|
||||
<span>User</span></a></li>
|
||||
<li><a class="nav-link" href="{{ route('admin-transaction.index') }}"><i
|
||||
class="fas fa-columns"></i><span>Transaction</span></a></li>
|
||||
<li><a class="nav-link" href="{{route('admin-refund.index')}}"><i class="far fa-square"></i> <span>List Refund</span></a>
|
||||
<li><a class="nav-link" href="{{ route('admin-refund.index') }}"><i class="far fa-square"></i> <span>List
|
||||
Refund</span></a>
|
||||
</li>
|
||||
<li><a class="nav-link" href="{{route('admin-setting.index')}}"><i class="fas fa-cog"></i> <span>Setting</span></a></li>
|
||||
<li><a class="nav-link" href="/setting"><i class="fas fa-cog"></i> <span>Setting</span></a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</div>
|
||||
|
@ -5,276 +5,58 @@
|
||||
<div class="section-header">
|
||||
<h1>Profile</h1>
|
||||
</div>
|
||||
<div class="card-body profile-card py-2 d-flex flex-column align-items-center text-center"
|
||||
style="border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); position: relative; background: linear-gradient(45deg, #f3f3f3, #e0e0e0);">
|
||||
|
||||
<i class="bi bi-arrow-right" style="position: absolute; top: 10px; right: 10px; font-size: 24px;"></i>
|
||||
<img src="assets/img/avatar/ok.jpg" alt="Profile" class="rounded-circle" style="width: 150px; height: 150px;">
|
||||
<h2 class="mt-3">Nurul Prima Annisa</h2>
|
||||
<h5 class="mb-0">#1238dsbias0-30832bjs</h5>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-body pt-3">
|
||||
<!-- Bordered Tabs -->
|
||||
<ul class="nav nav-tabs nav-tabs-bordered">
|
||||
|
||||
<li class="nav-item">
|
||||
<button class="nav-link active" data-bs-toggle="tab"
|
||||
data-bs-target="#profile-overview">Overview</button>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<button class="nav-link" data-bs-toggle="tab" data-bs-target="#profile-edit">Edit
|
||||
Profile</button>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<button class="nav-link" data-bs-toggle="tab"
|
||||
data-bs-target="#profile-settings">Settings</button>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<button class="nav-link" data-bs-toggle="tab" data-bs-target="#profile-change-password">Change
|
||||
Password</button>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
<div class="tab-content pt-2">
|
||||
|
||||
<div class="tab-pane fade show active profile-overview" id="profile-overview">
|
||||
<h5 class="card-title">About</h5>
|
||||
<p class="small fst-italic">Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima
|
||||
annisa
|
||||
Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima
|
||||
annisa Nurul prima annisa
|
||||
Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima
|
||||
annisa Nurul prima annisa
|
||||
Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima
|
||||
annisa Nurul prima annisa
|
||||
Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima
|
||||
annisa Nurul prima annisa
|
||||
Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima
|
||||
annisa Nurul prima annisa
|
||||
Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima
|
||||
annisa Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul
|
||||
prima
|
||||
annisa
|
||||
Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima
|
||||
annisa Nurul prima annisa
|
||||
Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima
|
||||
annisa Nurul prima annisa
|
||||
Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima
|
||||
annisa Nurul prima annisa
|
||||
Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima
|
||||
annisa Nurul prima annisa
|
||||
Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima
|
||||
annisa Nurul prima annisa
|
||||
Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima annisa Nurul prima
|
||||
annisa Nurul prima annisa
|
||||
</p>
|
||||
|
||||
<h5 class="card-title">Profile Details</h5>
|
||||
|
||||
<div class="col-12">
|
||||
<div class="card">
|
||||
<div class="card-head">
|
||||
<img id="card_head" src="/assets/images/sampul.jpg"></img>
|
||||
</div>
|
||||
<div class="image-crop">
|
||||
<img id="avatar" src="/assets/images/dashboard/img_1.jpg"></img>
|
||||
</div><br>
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-md-4 label ">Full Name</div>
|
||||
<div class="col-lg-9 col-md-8">Nurul Prima Annisa</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-md-4 label">Company</div>
|
||||
<div class="col-lg-9 col-md-8">Ya apa yak</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-md-4 label">Job</div>
|
||||
<div class="col-lg-9 col-md-8">Frontend Web </div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-md-4 label">Country</div>
|
||||
<div class="col-lg-9 col-md-8">Indonesia</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-md-4 label">Address</div>
|
||||
<div class="col-lg-9 col-md-8">Depok city broww</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-md-4 label">Phone</div>
|
||||
<div class="col-lg-9 col-md-8">(+62) 486-3538 29071</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-md-4 label">Email</div>
|
||||
<div class="col-lg-9 col-md-8">npannisa23@gmail.com</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="tab-pane fade profile-edit pt-3" id="profile-edit">
|
||||
|
||||
<!-- Profile Edit Form -->
|
||||
<form>
|
||||
<div class="row mb-3">
|
||||
<label for="profileImage" class="col-md-4 col-lg-3 col-form-label">Profile Image</label>
|
||||
<div class="col-md-8 col-lg-9">
|
||||
<img id="profileImagePreview" src="assets/img/avatar/ok.jpg" alt="Profile"
|
||||
style="max-width: 100%; max-height: 150px;">
|
||||
<div class="d-flex justify-content-between align-items-center mt-2">
|
||||
<label for="profileImageInput" class="btn btn-primary btn-sm"
|
||||
title="Upload new profile image">
|
||||
<i class="bi bi-upload"></i> Upload
|
||||
<input type="file" id="profileImageInput" accept="image/*"
|
||||
style="display: none;">
|
||||
</label>
|
||||
<div class="col-md-6">
|
||||
<div>
|
||||
<strong style="font-size: 30px; color: black;"><b>Tsalsabila Jilhan
|
||||
Haura</b></strong><br>
|
||||
Super Admin<br>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md my-3">
|
||||
<div>
|
||||
<div class="row justify-content-end row-divider">
|
||||
<div class="col-1"><i class="fas fa-id-card" style="font-size: 20px;"></i>
|
||||
</div>
|
||||
<div class="col-lg-9 col-md-8" style="font-size: 15px;">94894893848</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="fullName" class="col-md-4 col-lg-3 col-form-label">Full Name</label>
|
||||
<div class="col-md-8 col-lg-9">
|
||||
<input name="fullName" type="text" class="form-control" id="fullName"
|
||||
value="Nurul Prima Annisa">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="about" class="col-md-4 col-lg-3 col-form-label">About</label>
|
||||
<div class="col-md-8 col-lg-9">
|
||||
<textarea name="about" class="form-control" id="about" style="height: 100px">
|
||||
|
||||
</textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="company" class="col-md-4 col-lg-3 col-form-label">Company</label>
|
||||
<div class="col-md-8 col-lg-9">
|
||||
<input name="company" type="text" class="form-control" id="company"
|
||||
value="Abbauf Mulia Konsultan Teknologi">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="Job" class="col-md-4 col-lg-3 col-form-label">Job</label>
|
||||
<div class="col-md-8 col-lg-9">
|
||||
<input name="job" type="text" class="form-control" id="Job"
|
||||
value="Frontend Web">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="Country" class="col-md-4 col-lg-3 col-form-label">Country</label>
|
||||
<div class="col-md-8 col-lg-9">
|
||||
<input name="country" type="text" class="form-control" id="Country"
|
||||
value="Indonesia">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="Address" class="col-md-4 col-lg-3 col-form-label">Address</label>
|
||||
<div class="col-md-8 col-lg-9">
|
||||
<input name="address" type="text" class="form-control" id="Address"
|
||||
value="Depok city broww">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="Phone" class="col-md-4 col-lg-3 col-form-label">Phone</label>
|
||||
<div class="col-md-8 col-lg-9">
|
||||
<input name="phone" type="text" class="form-control" id="Phone"
|
||||
value="(+62) 486-3538 29071">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="Email" class="col-md-4 col-lg-3 col-form-label">Email</label>
|
||||
<div class="col-md-8 col-lg-9">
|
||||
<input name="email" type="email" class="form-control" id="Email"
|
||||
value="npannisa23@gmail.com">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{-- <div class="row mb-3">
|
||||
<label for="Twitter" class="col-md-4 col-lg-3 col-form-label">Twitter Profile</label>
|
||||
<div class="col-md-8 col-lg-9">
|
||||
<input name="twitter" type="text" class="form-control" id="Twitter"
|
||||
value="https://twitter.com/#">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="Facebook" class="col-md-4 col-lg-3 col-form-label">Facebook
|
||||
Profile</label>
|
||||
<div class="col-md-8 col-lg-9">
|
||||
<input name="facebook" type="text" class="form-control" id="Facebook"
|
||||
value="https://facebook.com/#">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="Instagram" class="col-md-4 col-lg-3 col-form-label">Instagram
|
||||
Profile</label>
|
||||
<div class="col-md-8 col-lg-9">
|
||||
<input name="instagram" type="text" class="form-control" id="Instagram"
|
||||
value="https://instagram.com/npannisa_?utm_source=qr&igshid=MzNlNGNkZWQ4Mg%3D%3D#">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="Linkedin" class="col-md-4 col-lg-3 col-form-label">Linkedin
|
||||
Profile</label>
|
||||
<div class="col-md-8 col-lg-9">
|
||||
<input name="linkedin" type="text" class="form-control" id="Linkedin"
|
||||
value="https://github.com/npannisa#">
|
||||
</div>
|
||||
</div> --}}
|
||||
|
||||
<div class="text-center">
|
||||
<a href="profile" type="submit" class="btn btn-primary">Save Changes</a>
|
||||
</div>
|
||||
</form><!-- End Profile Edit Form -->
|
||||
|
||||
</div>
|
||||
|
||||
<div class="tab-pane fade pt-3" id="profile-settings">
|
||||
|
||||
<!-- Settings Form -->
|
||||
<form>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="fullName" class="col-md-4 col-lg-3 col-form-label">Email
|
||||
Notifications</label>
|
||||
<div class="col-md-8 col-lg-9">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" id="changesMade" checked>
|
||||
<label class="form-check-label" for="changesMade">
|
||||
Changes made to your account
|
||||
</label>
|
||||
<div class="row justify-content-end row-divider">
|
||||
<div class="col-1"><i class="fas fa-user" style="font-size:20px"></i></div>
|
||||
<div class="col-lg-9 col-md-8" style="font-size: 15px">jilhan Haura</div>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" id="newProducts" checked>
|
||||
<label class="form-check-label" for="newProducts">
|
||||
Information on new products and services
|
||||
</label>
|
||||
<div class="row justify-content-end row-divider">
|
||||
<div class="col-1"><i class="fas fa-user-tag" style="font-size:20px"></i>
|
||||
</div>
|
||||
<div class="col-lg-9 col-md-8" style="font-size: 15px">Super Admin</div>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" id="proOffers">
|
||||
<label class="form-check-label" for="proOffers">
|
||||
Marketing and promo offers
|
||||
</label>
|
||||
<div class="row justify-content-end row-divider">
|
||||
<div class="col-1"><i class="fas fa-map-marker-alt" style="font-size:20px"></i>
|
||||
</div>
|
||||
<div class="col-lg-9 col-md-8" style="font-size: 15px">Jl simpang komplek
|
||||
polda
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" id="securityNotify" checked
|
||||
disabled>
|
||||
<label class="form-check-label" for="securityNotify">
|
||||
Security alerts
|
||||
</label>
|
||||
<div class="row justify-content-end row-divider">
|
||||
<div class="col-1"><i class="fas fa-phone" style="font-size:20px"></i>
|
||||
</div>
|
||||
<div class="col-lg-9 col-md-8" style="font-size: 15px">+62 1209 0120 02
|
||||
</div>
|
||||
</div>
|
||||
<div class="row justify-content-end row-divider">
|
||||
<div class="col-1"><i class="fas fa-envelope" style="font-size:20px"></i>
|
||||
</div>
|
||||
<div class="col-lg-9 col-md-8" style="font-size: 15px">jilhan@gmail.com
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -282,50 +64,51 @@
|
||||
<div class="text-center">
|
||||
<button type="submit" class="btn btn-primary">Save Changes</button>
|
||||
</div>
|
||||
</form><!-- End settings Form -->
|
||||
</form><!-- End settings Form -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tab-pane fade pt-3" id="profile-change-password">
|
||||
<!-- Change Password Form -->
|
||||
<form>
|
||||
<div class="tab-pane fade pt-3" id="profile-change-password">
|
||||
<!-- Change Password Form -->
|
||||
<form>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="currentPassword" class="col-md-4 col-lg-3 col-form-label">Current
|
||||
Password</label>
|
||||
<div class="col-md-8 col-lg-9">
|
||||
<input name="password" type="password" class="form-control"
|
||||
id="currentPassword">
|
||||
<div class="row mb-3">
|
||||
<label for="currentPassword" class="col-md-4 col-lg-3 col-form-label">Current
|
||||
Password</label>
|
||||
<div class="col-md-8 col-lg-9">
|
||||
<input name="password" type="password" class="form-control"
|
||||
id="currentPassword">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="newPassword" class="col-md-4 col-lg-3 col-form-label">New Password</label>
|
||||
<div class="col-md-8 col-lg-9">
|
||||
<input name="newpassword" type="password" class="form-control" id="newPassword">
|
||||
<div class="row mb-3">
|
||||
<label for="newPassword" class="col-md-4 col-lg-3 col-form-label">New
|
||||
Password</label>
|
||||
<div class="col-md-8 col-lg-9">
|
||||
<input name="newpassword" type="password" class="form-control" id="newPassword">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="renewPassword" class="col-md-4 col-lg-3 col-form-label">Re-enter New
|
||||
Password</label>
|
||||
<div class="col-md-8 col-lg-9">
|
||||
<input name="renewpassword" type="password" class="form-control"
|
||||
id="renewPassword">
|
||||
<div class="row mb-3">
|
||||
<label for="renewPassword" class="col-md-4 col-lg-3 col-form-label">Re-enter New
|
||||
Password</label>
|
||||
<div class="col-md-8 col-lg-9">
|
||||
<input name="renewpassword" type="password" class="form-control"
|
||||
id="renewPassword">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="text-center">
|
||||
<button type="submit" class="btn btn-primary">Change Password</button>
|
||||
</div>
|
||||
</form><!-- End Change Password Form -->
|
||||
<div class="text-center">
|
||||
<button type="submit" class="btn btn-primary">Change Password</button>
|
||||
</div>
|
||||
</form><!-- End Change Password Form -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div><!-- End Bordered Tabs -->
|
||||
</div><!-- End Bordered Tabs -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
{{-- profile --}}
|
||||
|
@ -24,27 +24,27 @@
|
||||
<br><br>
|
||||
<div class="row">
|
||||
<div class="col-2"><strong>ID Order</strong></div>
|
||||
<div class="col">{{ $DetailRefund['orderId'] }}</div>
|
||||
<div class="col">: {{ $DetailRefund['orderId'] }}</div>
|
||||
</div><br>
|
||||
<div class="row">
|
||||
<div class="col-2"><strong>Customer Name</strong></div>
|
||||
<div class="col">{{ $DetailRefund['customer'] }}</div>
|
||||
<div class="col">: {{ $DetailRefund['customer'] }}</div>
|
||||
</div><br>
|
||||
<div class="row">
|
||||
<div class="col-2"><strong>Seller Name</strong></div>
|
||||
<div class="col">{{ $DetailRefund['seller'] }}</div>
|
||||
<div class="col">: {{ $DetailRefund['seller'] }}</div>
|
||||
</div><br>
|
||||
<div class="row">
|
||||
<div class="col-2"><strong>Total</strong></div>
|
||||
<div class="col">{{ $DetailRefund['total'] }}</div>
|
||||
<div class="col">: {{ $DetailRefund['total'] }}</div>
|
||||
</div><br>
|
||||
<div class="row">
|
||||
<div class="col-2"><strong>Due Date</strong></div>
|
||||
<div class="col">{{ $DetailRefund['date'] }}</div>
|
||||
<div class="col">: {{ $DetailRefund['date'] }}</div>
|
||||
</div><br>
|
||||
<div class="row">
|
||||
<div class="col-2"><strong>Reason Complaint</strong></div>
|
||||
<div class="col justified-text">{{ $DetailRefund['complaint'] }}</div>
|
||||
<div class="col justified-text">: {{ $DetailRefund['complaint'] }}</div>
|
||||
</div>
|
||||
|
||||
<div class="d-flex justify-content-center mt-3">
|
||||
|
@ -49,7 +49,7 @@
|
||||
</button>
|
||||
<div class="dropdown-menu">
|
||||
<a class="dropdown-item" href="/detail_refund">Details</a>
|
||||
<a class="dropdown-item" href="#">Delete</a>
|
||||
<a class="dropdown-item" href="#" id="Swal">Delete</a>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
@ -27,8 +27,15 @@
|
||||
<input type="number" class="form-control" name="persentase" required>
|
||||
</div>
|
||||
</div>
|
||||
<<<<<<< HEAD:resources/views/Admin/setting/add-Data.blade.php
|
||||
<div class="card">
|
||||
<div class="card-body text-center">
|
||||
<button class="btn btn-primary" id="swal-2">Submit</button>
|
||||
</div>
|
||||
=======
|
||||
<div class="card-footer text-right">
|
||||
<button class="btn btn-primary" id="simpan" type="submit">Simpan</button>
|
||||
>>>>>>> c6e7e74f2a6981b808e6ad8dc9499362fdf9f043:resources/views/Admin/setting/modal-add-setting.blade.php
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -61,7 +61,7 @@
|
||||
<a class="dropdown-item" href="{{route('transaction.detail')}}">Details</a>
|
||||
<a class="dropdown-item" href="#" data-toggle="modal"
|
||||
data-target="#ModalTransaction">Tracking</a>
|
||||
<a class="dropdown-item" href="#">Delete</a>
|
||||
<a class="dropdown-item" href="#" id="Swal">Delete</a>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-6">
|
||||
<div class="col-md-9">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
@ -28,7 +28,9 @@
|
||||
class="rounded-circle shadow align-self-center" style="max-width: 130px;"
|
||||
alt="" srcset="">
|
||||
@endif
|
||||
<h4 class="align-self-center mt-3">Status : {{$user->status == 'Finished' ? 'Selesai diverifikasi' : ($user->status == 'Progress' ? 'Sedang diverifikasi' : 'Tolak')}}</h4>
|
||||
<h4 class="align-self-center mt-3">Status :
|
||||
{{ $user->status == 'Finished' ? 'Selesai diverifikasi' : ($user->status == 'Progress' ? 'Sedang diverifikasi' : 'Tolak') }}
|
||||
</h4>
|
||||
<hr class="border border-1 opacity-75 w-100">
|
||||
<div class="data-field">
|
||||
<span class="fw-bold text-start">NIK</span>
|
||||
@ -97,16 +99,13 @@
|
||||
<!-- Kolom pertama, col-md-6 untuk layar medium dan col-sm-12 untuk layar kecil -->
|
||||
@if ($user->foto_ktp == null)
|
||||
<a href="#" id="tampilKTP">
|
||||
<img id="fotoKTP" src="{{ asset('storage/foto-ktp/ktp.jpg') }}"
|
||||
alt="Foto KTP" class="align-self-center img-fluid"
|
||||
style="max-width: 350px;">
|
||||
<img id="fotoKTP" src="/assets/images/foto-ktp.jpg" alt="Foto KTP"
|
||||
class="align-self-center img-fluid" style="max-width: 350px;">
|
||||
</a>
|
||||
@else
|
||||
<a href="#" id="tampilKTP">
|
||||
<img id="fotoKTP"
|
||||
src="{{ asset('storage/foto-ktp/' . $user->foto_ktp) }}"
|
||||
alt="Foto Wajah" class="align-self-center img-fluid"
|
||||
style="max-width: 350px;">
|
||||
<img id="fotoKTP" src="/assets/images/foto-ktp.jpg" alt="Foto Wajah"
|
||||
class="align-self-center img-fluid" style="max-width: 350px;">
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
@ -114,16 +113,13 @@
|
||||
<!-- Kolom kedua, col-md-6 untuk layar medium dan col-sm-12 untuk layar kecil -->
|
||||
@if ($user->foto_wajah == null)
|
||||
<a href="#" id="tampilWajah">
|
||||
<img id="fotoWajah" src="{{ asset('storage/foto-wajah/wajah.jpg') }}"
|
||||
alt="Foto KTP" class="align-self-center img-fluid"
|
||||
style="max-width: 350px;">
|
||||
<img id="fotoWajah" src="/assets/images/foto-ktp.jpg" alt="Foto KTP"
|
||||
class="align-self-center img-fluid" style="max-width: 350px;">
|
||||
</a>
|
||||
@else
|
||||
<a href="#" id="tampilWajah">
|
||||
<img id="fotoWajah"
|
||||
src="{{ asset('storage/foto-wajah/' . $user->foto_wajah) }}"
|
||||
alt="Foto Wajah" class="align-self-center img-fluid"
|
||||
style="max-width: 350px;">
|
||||
<img id="fotoWajah" src="/assets/images/foto-ktp.jpg" alt="Foto Wajah"
|
||||
class="align-self-center img-fluid" style="max-width: 350px;">
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
|
@ -34,10 +34,11 @@
|
||||
<td>{{ $user->id }}</td>
|
||||
<td>
|
||||
<figure class="avatar mr-2 avatar-xl">
|
||||
<img src="{{ $user->foto_profil != null ? asset('storage') : asset('assets/img/avatar/avatar-6.png') }}" alt="...">
|
||||
<img src="{{ $user->foto_profil != null ? asset('storage') : asset('assets/img/avatar/avatar-6.png') }}"
|
||||
alt="...">
|
||||
</figure>
|
||||
</td>
|
||||
<td>{{ $user->nama }}</td>
|
||||
<td>{{ $user->nama_depan }}</td>
|
||||
<td>{{ $user->email }}</td>
|
||||
<td>{{ $user->created_at }}</td>
|
||||
<td>
|
||||
|
77
resources/views/Admin/users/list-user.blade.php
Normal file
77
resources/views/Admin/users/list-user.blade.php
Normal file
@ -0,0 +1,77 @@
|
||||
@extends('Admin.layout.main')
|
||||
@section('content')
|
||||
<div class="main-content">
|
||||
<section class="section">
|
||||
<div class="section-header">
|
||||
<h1>User</h1>
|
||||
<div class="section-header-breadcrumb">
|
||||
<div class="breadcrumb-item active"><a href="#">Dashboard</a></div>
|
||||
<div class="breadcrumb-item">User</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped" id="table-1">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-center">#</th>
|
||||
<th>User Id</th>
|
||||
<th>Avatar</th>
|
||||
<th>Fullname</th>
|
||||
<th>Email</th>
|
||||
<th>Gender</th>
|
||||
<th>Due Date</th>
|
||||
<th>Status</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach ($list_users as $list_user)
|
||||
<tr>
|
||||
<td>{{ $list_user['no'] }}</td>
|
||||
<td>{{ $list_user['userId'] }}</td>
|
||||
<td>
|
||||
<figure class="avatar mr-2 avatar-xl">
|
||||
<img src="assets/img/avatar/avatar-6.png" alt="...">
|
||||
</figure>
|
||||
</td>
|
||||
<td>{{ $list_user['fullname'] }}</td>
|
||||
<td>{{ $list_user['email'] }}</td>
|
||||
<td>{{ $list_user['gender'] }}</td>
|
||||
<td>{{ $list_user['date'] }}</td>
|
||||
<td>
|
||||
@php
|
||||
$statusClass = '';
|
||||
if ($list_user['status'] === 'Finished') {
|
||||
$statusClass = 'badge-success';
|
||||
} elseif ($list_user['status'] === 'Progress') {
|
||||
$statusClass = 'badge-danger';
|
||||
}
|
||||
@endphp
|
||||
<div class="badge {{ $statusClass }}">{{ $list_user['status'] }}</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="btn-group">
|
||||
<button type="button" class="btn btn-primary dropdown-toggle"
|
||||
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
Action
|
||||
</button>
|
||||
<div class="dropdown-menu">
|
||||
<a class="dropdown-item" href="/detail-user">Details</a>
|
||||
<a class="dropdown-item" href="#" id="Swal">Delete</a>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@endsection
|
Loading…
Reference in New Issue
Block a user