├── public ├── favicon.ico ├── robots.txt ├── .DS_Store ├── sekitarkita.apk ├── images │ ├── sekitar.png │ ├── sikm │ │ ├── ttd.png │ │ └── kop-sikm.png │ ├── markers │ │ ├── m1.png │ │ ├── m2.png │ │ ├── m3.png │ │ ├── m4.png │ │ ├── m5.png │ │ ├── odp.png │ │ ├── pdp.png │ │ ├── confirmed.png │ │ ├── healthy.png │ │ ├── odp-online.gif │ │ ├── pdp-online.gif │ │ ├── healthy-online.gif │ │ └── confirmed-online.gif │ ├── sekitarkitalogo.png │ ├── vendor │ │ └── leaflet │ │ │ └── dist │ │ │ ├── layers.png │ │ │ ├── layers-2x.png │ │ │ ├── marker-icon.png │ │ │ ├── marker-icon-2x.png │ │ │ └── marker-shadow.png │ └── icons │ │ └── smartphone.svg ├── sekitarkitalogo.png ├── fonts │ ├── feather-webfont.eot │ ├── feather-webfont.ttf │ └── feather-webfont.woff ├── mix-manifest.json ├── vendor │ └── nova │ │ ├── mix-manifest.json │ │ └── manifest.js ├── .htaccess └── index.php ├── resources ├── sass │ └── tabler │ │ ├── _infobox.scss │ │ ├── _functions.scss │ │ ├── _product.scss │ │ ├── _badge.scss │ │ ├── fonts │ │ └── feather │ │ │ ├── feather-webfont.eot │ │ │ ├── feather-webfont.ttf │ │ │ └── feather-webfont.woff │ │ ├── _carousel.scss │ │ ├── _close.scss │ │ ├── _media.scss │ │ ├── _popover.scss │ │ ├── _image.scss │ │ ├── _social.scss │ │ ├── _footer.scss │ │ ├── _breadcrumb.scss │ │ ├── _stamp.scss │ │ ├── _list-group.scss │ │ ├── _alert.scss │ │ ├── _sparkline.scss │ │ ├── _link.scss │ │ ├── _colors.scss │ │ ├── _statuses.scss │ │ ├── _pagination.scss │ │ ├── _list.scss │ │ ├── _icon.scss │ │ ├── _utilities.scss │ │ ├── _text.scss │ │ ├── _aside.scss │ │ ├── _grid.scss │ │ ├── _core.scss │ │ ├── _chips.scss │ │ ├── _charts.scss │ │ ├── _maps.scss │ │ ├── forms │ │ ├── _custom-colorinput.scss │ │ ├── _custom-selectgroup.scss │ │ ├── _custom-switch.scss │ │ └── _custom-imagecheck.scss │ │ ├── _timeline.scss │ │ ├── tabler.scss │ │ ├── _dropdown.scss │ │ ├── _layout.scss │ │ ├── _chat.scss │ │ ├── _tag.scss │ │ ├── _syntax.scss │ │ ├── _type.scss │ │ ├── _nav.scss │ │ ├── _avatar.scss │ │ ├── _tables.scss │ │ ├── _button.scss │ │ └── _header.scss ├── js │ ├── app.js │ └── bootstrap.js ├── views │ ├── vendor │ │ └── nova │ │ │ └── partials │ │ │ ├── meta.blade.php │ │ │ ├── footer.blade.php │ │ │ └── user.blade.php │ ├── mapping │ │ ├── member.blade.php │ │ ├── device.blade.php │ │ ├── mapping-for-puppeteer.blade.php │ │ └── base.blade.php │ ├── errors │ │ └── 503.blade.php │ └── layouts │ │ └── app.blade.php └── lang │ ├── en │ ├── pagination.php │ ├── auth.php │ └── passwords.php │ └── vendor │ └── nova │ └── en │ └── validation.php ├── bootstrap ├── cache │ └── .gitignore └── app.php ├── storage ├── logs │ └── .gitignore ├── app │ ├── public │ │ └── .gitignore │ └── .gitignore └── framework │ ├── testing │ └── .gitignore │ ├── views │ └── .gitignore │ ├── cache │ ├── data │ │ └── .gitignore │ └── .gitignore │ ├── sessions │ └── .gitignore │ └── .gitignore ├── database ├── .gitignore ├── seeds │ ├── DatabaseSeeder.php │ └── NovaUserSeeder.php ├── migrations │ ├── 2020_04_18_021333_create_sequences_table.php │ ├── 2020_05_20_112154_create_zones_table.php │ ├── 2020_04_13_215843_create_partners_table.php │ ├── 2020_03_29_160931_create_call_centers_table.php │ ├── 2020_06_03_114029_alter_devices_table.php │ ├── 2020_06_03_114029_alter_self_checks_table.php │ ├── 2019_08_19_000000_create_failed_jobs_table.php │ ├── 2020_04_02_172703_alter_action_event_user_id.php │ ├── 2020_06_29_195420_alter_sikm_add_estimate.php │ ├── 2020_03_29_161421_create_hospitals_table.php │ ├── 2014_10_12_000000_create_users_table.php │ ├── 2020_03_21_120707_create_nearby_table.php │ ├── 2020_04_13_124152_create_device_logs_table.php │ ├── 2020_04_13_125858_create_change_requests_table.php │ ├── 2020_06_12_213131_create_sikm_table.php │ ├── 2020_05_26_155648_create_self_checks_table.php │ └── 2020_03_21_120110_create_devices_table.php └── factories │ └── UserFactory.php ├── .DS_Store ├── .gitattributes ├── app ├── Models │ ├── Partner.php │ ├── Zone.php │ ├── Hospital.php │ ├── CallCenter.php │ ├── ChangeRequest.php │ ├── SelfCheck.php │ ├── Kelurahan.php │ ├── Sequence.php │ ├── Provinsi.php │ ├── Kabupaten.php │ ├── Kecamatan.php │ ├── Nearby.php │ ├── User.php │ ├── DeviceLog.php │ ├── SIKM.php │ └── Device.php ├── Policies │ ├── HandlessPolicy.php │ ├── PartnerPolicy.php │ └── UserPolicy.php ├── Http │ ├── Middleware │ │ ├── EncryptCookies.php │ │ ├── VerifyCsrfToken.php │ │ ├── CheckForMaintenanceMode.php │ │ ├── TrimStrings.php │ │ ├── PartnerMiddleware.php │ │ ├── TrustProxies.php │ │ ├── Authenticate.php │ │ └── RedirectIfAuthenticated.php │ ├── Controllers │ │ ├── Controller.php │ │ ├── NovaLoginController.php │ │ └── Api │ │ │ └── AreaController.php │ └── Resources │ │ ├── NearbyCollection.php │ │ ├── CustomPaginatedResourceResponse.php │ │ ├── CallCenterResource.php │ │ └── HospitalResource.php ├── Providers │ ├── BroadcastServiceProvider.php │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ ├── EventServiceProvider.php │ └── RouteServiceProvider.php ├── Traits │ └── UuidIndex.php ├── Enums │ ├── SIKMCategory.php │ ├── Transportation.php │ ├── ZoneLevel.php │ ├── ChangeRequestStatus.php │ └── HealthStatus.php ├── Console │ └── Kernel.php ├── Nova │ ├── Actions │ │ ├── PendingSIKM.php │ │ ├── RejectSIKM.php │ │ └── ApproveSIKM.php │ ├── Filters │ │ ├── AreaFilter.php │ │ └── ChangeRequestFilter.php │ ├── Metrics │ │ ├── OnlineDevice.php │ │ ├── NewDevice.php │ │ ├── NewInteraction.php │ │ ├── DevicePerDay.php │ │ ├── HealthyUser.php │ │ ├── PDPUser.php │ │ ├── InteractionPerHour.php │ │ ├── InteractionPerMinutes.php │ │ ├── Devices.php │ │ ├── ODPUser.php │ │ ├── InteractionPerDay.php │ │ └── NearbyDevices.php │ ├── Resource.php │ ├── Kelurahan.php │ ├── Zone.php │ ├── Partner.php │ └── Provinsi.php ├── Exceptions │ └── Handler.php └── Observers │ └── ChangeRequestObserver.php ├── tests ├── TestCase.php ├── Unit │ └── ExampleTest.php ├── Feature │ └── ExampleTest.php └── CreatesApplication.php ├── .styleci.yml ├── .editorconfig ├── .gitignore ├── routes ├── channels.php ├── console.php ├── web.php └── api.php ├── server.php ├── webpack.mix.js ├── serverless.yml ├── config ├── cors.php ├── services.php ├── view.php ├── hashing.php └── broadcasting.php ├── .env.example ├── .github └── workflows │ └── sekitar-cicd.yml ├── phpunit.xml ├── package.json ├── artisan ├── composer.json └── README.md /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/sass/tabler/_infobox.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite 2 | *.sqlite-journal 3 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/framework/testing/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/cache/data/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !data/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/.DS_Store -------------------------------------------------------------------------------- /resources/js/app.js: -------------------------------------------------------------------------------- 1 | require('./bootstrap'); 2 | require('./utils'); 3 | 4 | 5 | -------------------------------------------------------------------------------- /public/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/.DS_Store -------------------------------------------------------------------------------- /resources/sass/tabler/_functions.scss: -------------------------------------------------------------------------------- 1 | @function px2rem($value) { 2 | @return $value/16px * 1rem; 3 | } -------------------------------------------------------------------------------- /public/sekitarkita.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/sekitarkita.apk -------------------------------------------------------------------------------- /public/images/sekitar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/images/sekitar.png -------------------------------------------------------------------------------- /public/images/sikm/ttd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/images/sikm/ttd.png -------------------------------------------------------------------------------- /public/sekitarkitalogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/sekitarkitalogo.png -------------------------------------------------------------------------------- /public/images/markers/m1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/images/markers/m1.png -------------------------------------------------------------------------------- /public/images/markers/m2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/images/markers/m2.png -------------------------------------------------------------------------------- /public/images/markers/m3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/images/markers/m3.png -------------------------------------------------------------------------------- /public/images/markers/m4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/images/markers/m4.png -------------------------------------------------------------------------------- /public/images/markers/m5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/images/markers/m5.png -------------------------------------------------------------------------------- /public/images/markers/odp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/images/markers/odp.png -------------------------------------------------------------------------------- /public/images/markers/pdp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/images/markers/pdp.png -------------------------------------------------------------------------------- /public/fonts/feather-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/fonts/feather-webfont.eot -------------------------------------------------------------------------------- /public/fonts/feather-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/fonts/feather-webfont.ttf -------------------------------------------------------------------------------- /public/images/sikm/kop-sikm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/images/sikm/kop-sikm.png -------------------------------------------------------------------------------- /public/fonts/feather-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/fonts/feather-webfont.woff -------------------------------------------------------------------------------- /public/images/markers/confirmed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/images/markers/confirmed.png -------------------------------------------------------------------------------- /public/images/markers/healthy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/images/markers/healthy.png -------------------------------------------------------------------------------- /public/images/sekitarkitalogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/images/sekitarkitalogo.png -------------------------------------------------------------------------------- /resources/sass/tabler/_product.scss: -------------------------------------------------------------------------------- 1 | .product-price { 2 | font-size: 1rem; 3 | 4 | strong { 5 | font-size: 1.5rem; 6 | } 7 | } -------------------------------------------------------------------------------- /public/images/markers/odp-online.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/images/markers/odp-online.gif -------------------------------------------------------------------------------- /public/images/markers/pdp-online.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/images/markers/pdp-online.gif -------------------------------------------------------------------------------- /public/images/markers/healthy-online.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/images/markers/healthy-online.gif -------------------------------------------------------------------------------- /resources/views/vendor/nova/partials/meta.blade.php: -------------------------------------------------------------------------------- 1 | {{-- --}} 2 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.css linguist-vendored 3 | *.scss linguist-vendored 4 | *.js linguist-vendored 5 | CHANGELOG.md export-ignore 6 | -------------------------------------------------------------------------------- /public/images/markers/confirmed-online.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/images/markers/confirmed-online.gif -------------------------------------------------------------------------------- /resources/sass/tabler/_badge.scss: -------------------------------------------------------------------------------- 1 | .badge { 2 | color: #fff; 3 | } 4 | 5 | .badge-default { 6 | background: $gray-200; 7 | color: $gray-600; 8 | } -------------------------------------------------------------------------------- /public/images/vendor/leaflet/dist/layers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/images/vendor/leaflet/dist/layers.png -------------------------------------------------------------------------------- /public/images/vendor/leaflet/dist/layers-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/images/vendor/leaflet/dist/layers-2x.png -------------------------------------------------------------------------------- /public/images/vendor/leaflet/dist/marker-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/images/vendor/leaflet/dist/marker-icon.png -------------------------------------------------------------------------------- /public/mix-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "/js/app.js": "/js/app.js?id=79d62ecf12587ab784b7", 3 | "/css/app.css": "/css/app.css?id=8f9e92b23f6642f2c392" 4 | } 5 | -------------------------------------------------------------------------------- /storage/framework/.gitignore: -------------------------------------------------------------------------------- 1 | config.php 2 | routes.php 3 | schedule-* 4 | compiled.php 5 | services.json 6 | events.scanned.php 7 | routes.scanned.php 8 | down 9 | -------------------------------------------------------------------------------- /public/images/vendor/leaflet/dist/marker-icon-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/images/vendor/leaflet/dist/marker-icon-2x.png -------------------------------------------------------------------------------- /public/images/vendor/leaflet/dist/marker-shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/public/images/vendor/leaflet/dist/marker-shadow.png -------------------------------------------------------------------------------- /resources/sass/tabler/fonts/feather/feather-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/resources/sass/tabler/fonts/feather/feather-webfont.eot -------------------------------------------------------------------------------- /resources/sass/tabler/fonts/feather/feather-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/resources/sass/tabler/fonts/feather/feather-webfont.ttf -------------------------------------------------------------------------------- /resources/sass/tabler/fonts/feather/feather-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghuniyu/sekitarkita-backend/HEAD/resources/sass/tabler/fonts/feather/feather-webfont.woff -------------------------------------------------------------------------------- /app/Models/Partner.php: -------------------------------------------------------------------------------- 1 | morphTo(); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /resources/sass/tabler/_media.scss: -------------------------------------------------------------------------------- 1 | .media-icon { 2 | width: 2rem; 3 | height: 2rem; 4 | line-height: 2rem; 5 | text-align: center; 6 | border-radius: 100%; 7 | } 8 | 9 | .media-list { 10 | margin: 0; 11 | padding: 0; 12 | list-style: none; 13 | } -------------------------------------------------------------------------------- /app/Models/Hospital.php: -------------------------------------------------------------------------------- 1 | morphTo(); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /app/Models/CallCenter.php: -------------------------------------------------------------------------------- 1 | morphTo(); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /app/Policies/HandlessPolicy.php: -------------------------------------------------------------------------------- 1 | .col, 7 | > [class*="col-"] { 8 | padding-left: .25rem; 9 | padding-right: .25rem; 10 | padding-bottom: .5rem; 11 | } 12 | } -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | insert_final_newline = true 7 | indent_style = space 8 | indent_size = 4 9 | trim_trailing_whitespace = true 10 | 11 | [*.md] 12 | trim_trailing_whitespace = false 13 | 14 | [*.{yml,yaml}] 15 | indent_size = 2 16 | -------------------------------------------------------------------------------- /resources/sass/tabler/_social.scss: -------------------------------------------------------------------------------- 1 | .social-links { 2 | li { 3 | a { 4 | background: #f8f8f8; 5 | border-radius: 50%; 6 | color: $text-muted; 7 | display: inline-block; 8 | height: 1.75rem; 9 | width: 1.75rem; 10 | line-height: 1.75rem; 11 | text-align: center; 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /public/hot 3 | /public/storage 4 | /public/landing 5 | /storage/*.key 6 | /vendor 7 | /.idea/** 8 | /public/web.config 9 | *.apk 10 | .env 11 | .env.save 12 | .env.backup 13 | .phpunit.result.cache 14 | Homestead.json 15 | Homestead.yaml 16 | npm-debug.log 17 | yarn-error.log 18 | .serverless 19 | -------------------------------------------------------------------------------- /resources/sass/tabler/_footer.scss: -------------------------------------------------------------------------------- 1 | .footer { 2 | background: $footer-bg; 3 | border-top: $border-width solid $border-color; 4 | font-size: px2rem(14px); 5 | padding: 1.25rem 0; 6 | color: $text-muted; 7 | 8 | a:not(.btn) { 9 | color: $text-muted-dark; 10 | } 11 | 12 | @media print { 13 | display: none; 14 | } 15 | } -------------------------------------------------------------------------------- /resources/views/vendor/nova/partials/footer.blade.php: -------------------------------------------------------------------------------- 1 |
2 | SekitarKita 3 | · 4 | © {{ date('Y') }} Sekitar Kita - By Ghuniyu. 5 |
6 | -------------------------------------------------------------------------------- /database/seeds/DatabaseSeeder.php: -------------------------------------------------------------------------------- 1 | call(NovaUserSeeder::class); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/Unit/ExampleTest.php: -------------------------------------------------------------------------------- 1 | assertTrue(true); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /resources/sass/tabler/_breadcrumb.scss: -------------------------------------------------------------------------------- 1 | .page-breadcrumb { 2 | background: none; 3 | padding: 0; 4 | margin: 1rem 0 0; 5 | font-size: px2rem(14px); 6 | 7 | @include media-breakpoint-up(md) { 8 | margin: -.5rem 0 0; 9 | } 10 | 11 | .breadcrumb-item { 12 | color: $text-muted; 13 | 14 | &.active { 15 | color: $text-muted-dark; 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /app/Models/ChangeRequest.php: -------------------------------------------------------------------------------- 1 | belongsTo(Device::class); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /resources/sass/tabler/_stamp.scss: -------------------------------------------------------------------------------- 1 | .stamp { 2 | color: #fff; 3 | background: $gray-600; 4 | display: inline-block; 5 | min-width: 2rem; 6 | height: 2rem; 7 | padding: 0 .25rem; 8 | line-height: 2rem; 9 | text-align: center; 10 | border-radius: 3px; 11 | font-weight: 600; 12 | } 13 | 14 | .stamp-md { 15 | min-width: 2.5rem; 16 | height: 2.5rem; 17 | line-height: 2.5rem; 18 | } -------------------------------------------------------------------------------- /app/Http/Middleware/EncryptCookies.php: -------------------------------------------------------------------------------- 1 | i { 9 | color: inherit !important; 10 | font-size: 1rem; 11 | position: absolute; 12 | top: 1rem; 13 | left: 1rem; 14 | } 15 | } 16 | 17 | .alert-avatar { 18 | padding-left: 3.75rem; 19 | 20 | .avatar { 21 | position: absolute; 22 | top: .5rem; 23 | left: .75rem; 24 | } 25 | } -------------------------------------------------------------------------------- /resources/views/mapping/member.blade.php: -------------------------------------------------------------------------------- 1 | @extends('mapping.base') 2 | @section('title', 'Mapping Member -') 3 | @push('js') 4 | 11 | @endpush 12 | -------------------------------------------------------------------------------- /app/Http/Controllers/Controller.php: -------------------------------------------------------------------------------- 1 | get('/'); 18 | 19 | $response->assertStatus(200); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /resources/sass/tabler/_sparkline.scss: -------------------------------------------------------------------------------- 1 | .sparkline { 2 | display: inline-block; 3 | height: 2rem; 4 | } 5 | 6 | .jqstooltip { 7 | box-sizing: content-box; 8 | font-family: inherit !important; 9 | background: #333 !important; 10 | border: none !important; 11 | border-radius: 3px; 12 | font-size: 11px !important; 13 | font-weight: 700 !important; 14 | line-height: 1 !important; 15 | padding: 6px !important; 16 | 17 | .jqsfield { 18 | font: inherit !important; 19 | } 20 | } -------------------------------------------------------------------------------- /resources/sass/tabler/_link.scss: -------------------------------------------------------------------------------- 1 | .link-overlay { 2 | position: relative; 3 | 4 | &:hover { 5 | .link-overlay-bg { 6 | opacity: 1; 7 | } 8 | } 9 | } 10 | 11 | .link-overlay-bg { 12 | position: absolute; 13 | top: 0; 14 | left: 0; 15 | right: 0; 16 | bottom: 0; 17 | background: rgba($blue, .8); 18 | display: flex; 19 | color: #fff; 20 | align-items: center; 21 | justify-content: center; 22 | font-size: px2rem(20px); 23 | opacity: 0; 24 | transition: .3s opacity; 25 | } -------------------------------------------------------------------------------- /resources/sass/tabler/_colors.scss: -------------------------------------------------------------------------------- 1 | @each $color, $value in $colors { 2 | @include bg-variant(".bg-#{$color}-lightest", mix($value, #fff, 10%)); 3 | @include bg-variant(".bg-#{$color}-lighter", mix($value, #fff, 30%)); 4 | @include bg-variant(".bg-#{$color}-light", mix($value, #fff, 70%)); 5 | @include bg-variant(".bg-#{$color}-dark", mix($value, #000, 80%)); 6 | @include bg-variant(".bg-#{$color}-darker", mix($value, #000, 40%)); 7 | @include bg-variant(".bg-#{$color}-darkest", mix($value, #000, 20%)); 8 | } -------------------------------------------------------------------------------- /tests/CreatesApplication.php: -------------------------------------------------------------------------------- 1 | make(Kernel::class)->bootstrap(); 19 | 20 | return $app; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /app/Providers/BroadcastServiceProvider.php: -------------------------------------------------------------------------------- 1 | belongsTo(Device::class); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /app/Traits/UuidIndex.php: -------------------------------------------------------------------------------- 1 | getKeyName()] = $uuid->getHex(); 16 | }); 17 | } 18 | 19 | public function getIncrementing() 20 | { 21 | return false; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /app/Http/Middleware/PartnerMiddleware.php: -------------------------------------------------------------------------------- 1 | getHost() !== env('APP_DOMAIN','sekitarkita.id') && $request->getHost() !== 'localhost') { 13 | return parent::handle($request, $next, ...$guards); 14 | } 15 | 16 | return $next($request); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /resources/sass/tabler/_list.scss: -------------------------------------------------------------------------------- 1 | .list-inline-dots { 2 | .list-inline-item { 3 | 4 | + .list-inline-item { 5 | &:before { 6 | content: '· '; 7 | margin-left: -2px; 8 | margin-right: 3px; 9 | } 10 | } 11 | } 12 | } 13 | 14 | 15 | .list-separated { 16 | 17 | } 18 | 19 | .list-separated-item { 20 | padding: 1rem 0; 21 | 22 | &:first-child { 23 | padding-top: 0; 24 | } 25 | 26 | &:last-child { 27 | padding-bottom: 0; 28 | } 29 | 30 | & + & { 31 | border-top: 1px solid $border-color; 32 | } 33 | } 34 | 35 | -------------------------------------------------------------------------------- /resources/sass/tabler/_icon.scss: -------------------------------------------------------------------------------- 1 | .icons-list { 2 | list-style: none; 3 | margin: 0 -1px -1px 0; 4 | padding: 0; 5 | display: flex; 6 | flex-wrap: wrap; 7 | 8 | >li { 9 | flex: 1 0 4rem; 10 | } 11 | } 12 | 13 | .icons-list-wrap { 14 | overflow: hidden; 15 | } 16 | 17 | .icons-list-item { 18 | text-align: center; 19 | height: 4rem; 20 | display: flex; 21 | align-items: center; 22 | justify-content: center; 23 | border-right: 1px solid $border-color; 24 | border-bottom: 1px solid $border-color; 25 | 26 | i { 27 | font-size: 1.25rem; 28 | } 29 | } -------------------------------------------------------------------------------- /app/Http/Middleware/TrustProxies.php: -------------------------------------------------------------------------------- 1 | expectsJson()) { 18 | return route('login'); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /app/Models/Kelurahan.php: -------------------------------------------------------------------------------- 1 | belongsTo(Kecamatan::class, 'district_id'); 14 | } 15 | 16 | public function hospitals() 17 | { 18 | return $this->morphMany(Hospital::class, 'area'); 19 | } 20 | 21 | public function call_centers() 22 | { 23 | return $this->morphMany(CallCenter::class, 'area'); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /app/Enums/SIKMCategory.php: -------------------------------------------------------------------------------- 1 | where('name', $name)->latest('number')->first(); 16 | if (!$sequence) { 17 | $newSequence = Sequence::create(['name' => $name, 'number' => 1]); 18 | return $newSequence['number']; 19 | } 20 | 21 | return $sequence->increment('number'); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /resources/lang/en/pagination.php: -------------------------------------------------------------------------------- 1 | '« Previous', 17 | 'next' => 'Next »', 18 | 19 | ]; 20 | -------------------------------------------------------------------------------- /routes/channels.php: -------------------------------------------------------------------------------- 1 | id === (int) $id; 18 | }); 19 | -------------------------------------------------------------------------------- /server.php: -------------------------------------------------------------------------------- 1 | 8 | */ 9 | 10 | $uri = urldecode( 11 | parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) 12 | ); 13 | 14 | // This file allows us to emulate Apache's "mod_rewrite" functionality from the 15 | // built-in PHP web server. This provides a convenient way to test a Laravel 16 | // application without having installed a "real" web server software here. 17 | if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) { 18 | return false; 19 | } 20 | 21 | require_once __DIR__.'/public/index.php'; 22 | -------------------------------------------------------------------------------- /webpack.mix.js: -------------------------------------------------------------------------------- 1 | const mix = require('laravel-mix'); 2 | 3 | /* 4 | |-------------------------------------------------------------------------- 5 | | Mix Asset Management 6 | |-------------------------------------------------------------------------- 7 | | 8 | | Mix provides a clean, fluent API for defining some Webpack build steps 9 | | for your Laravel application. By default, we are compiling the Sass 10 | | file for the application as well as bundling up all the JS files. 11 | | 12 | */ 13 | 14 | mix.js('resources/js/app.js', 'public/js') 15 | .sass('resources/sass/app.scss', 'public/css'); 16 | 17 | if (mix.inProduction()) { 18 | mix.version(); 19 | } 20 | -------------------------------------------------------------------------------- /app/Providers/AppServiceProvider.php: -------------------------------------------------------------------------------- 1 | comment(Inspiring::quote()); 19 | })->describe('Display an inspiring quote'); 20 | -------------------------------------------------------------------------------- /app/Models/Provinsi.php: -------------------------------------------------------------------------------- 1 | hasMany(Kabupaten::class, 'province_id'); 18 | } 19 | 20 | public function hospitals() 21 | { 22 | return $this->morphMany(Hospital::class, 'area'); 23 | } 24 | 25 | public function call_centers() 26 | { 27 | return $this->morphMany(CallCenter::class, 'area'); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /resources/sass/tabler/_utilities.scss: -------------------------------------------------------------------------------- 1 | @each $color, $value in $colors { 2 | @include bg-variant(".bg-#{$color}", $value); 3 | 4 | .text-#{$color} { 5 | color: $value !important; 6 | } 7 | } 8 | 9 | 10 | .icon { 11 | color: $text-muted !important; 12 | 13 | i { 14 | vertical-align: -1px; 15 | } 16 | 17 | @at-root a#{&} { 18 | text-decoration: none; 19 | cursor: pointer; 20 | 21 | &:hover { 22 | color: $body-color !important; 23 | } 24 | } 25 | } 26 | 27 | .o-auto { overflow: auto !important; } 28 | .o-hidden { overflow: hidden !important; } 29 | 30 | .shadow { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important; } 31 | .shadow-none { box-shadow: none !important; } -------------------------------------------------------------------------------- /public/.htaccess: -------------------------------------------------------------------------------- 1 |
26 |
27 |
40 | 