diff --git a/app/Http/Controllers/Admin/RefundController.php b/app/Http/Controllers/Admin/AdminRefundController.php similarity index 96% rename from app/Http/Controllers/Admin/RefundController.php rename to app/Http/Controllers/Admin/AdminRefundController.php index d12e1570..8819aa48 100644 --- a/app/Http/Controllers/Admin/RefundController.php +++ b/app/Http/Controllers/Admin/AdminRefundController.php @@ -7,7 +7,7 @@ use App\Models\Refunds; use App\Http\Controllers\Controller; use Illuminate\Http\Request; -class RefundController extends Controller +class AdminRefundController extends Controller { /** * Display a listing of the resource. diff --git a/app/Http/Controllers/Admin/AdminSettingController.php b/app/Http/Controllers/Admin/AdminSettingController.php new file mode 100644 index 00000000..8ccc71cd --- /dev/null +++ b/app/Http/Controllers/Admin/AdminSettingController.php @@ -0,0 +1,110 @@ + 'Jilhan Haura', + 'settings' => $settings, + ]); + } + + /** + * Show the form for creating a new resource. + */ + public function create() + { + // + } + + /** + * Store a newly created resource in storage. + */ + public function store(Request $request) + { + // dd($request->persentase); + [$tahun, $bulan] = explode('-', $request->bulan_tahun); + Setting::create([ + 'bulan' => $bulan, + 'tahun' => $tahun, + 'persentase' => $request->persentase, + 'status' => 'Active', + ]); + return redirect()->route('admin-setting.index'); + } + + /** + * Display the specified resource. + */ + public function show(Setting $setting) + { + // + } + + /** + * Show the form for editing the specified resource. + */ + public function edit(Setting $setting) + { + // + } + + /** + * Update the specified resource in storage. + */ + public function update(Request $request, $id) + { + // dd($setting['status'] ); + $setting = Setting::findOrFail($id); + if ($setting->status == 'Active') { + $setting->status = 'Nonactive'; + $result = $setting->save(); + if ($result) { + return response()->json([ + 'message' => "Berhasil update kebijakan", + 'status' => true, + ]); + } else { + return response()->json([ + 'message' => "Gagal update kebijakan", + 'status' => true, + ]); + } + } else { + $setting->status = 'Active'; + $result = $setting->save(); + if ($result) { + return response()->json([ + 'message' => "Berhasil update kebijakan", + 'status' => true, + ]); + } else { + return response()->json([ + 'message' => "Gagal update kebijakan", + 'status' => true, + ]); + } + } + + // return response()->json($id); + } + + /** + * Remove the specified resource from storage. + */ + public function destroy(Setting $setting) + { + // + } +} diff --git a/app/Http/Controllers/Admin/TransactionController.php b/app/Http/Controllers/Admin/AdminTransactionController.php similarity index 96% rename from app/Http/Controllers/Admin/TransactionController.php rename to app/Http/Controllers/Admin/AdminTransactionController.php index adcbc445..783eb262 100644 --- a/app/Http/Controllers/Admin/TransactionController.php +++ b/app/Http/Controllers/Admin/AdminTransactionController.php @@ -7,7 +7,7 @@ use App\Models\Transactions; use App\Http\Controllers\Controller; use Illuminate\Http\Request; -class TransactionController extends Controller +class AdminTransactionController extends Controller { /** * Display a listing of the resource. diff --git a/app/Http/Controllers/Admin/AdminUserController.php b/app/Http/Controllers/Admin/AdminUserController.php new file mode 100644 index 00000000..6fcbe0fa --- /dev/null +++ b/app/Http/Controllers/Admin/AdminUserController.php @@ -0,0 +1,118 @@ +get(); + return view('admin.users.list-user', ['name' => 'Muhammad Raihan Surya', 'list_users' => $list_users]); + } + + /** + * Show the form for creating a new resource. + */ + public function create() + { + // + } + + /** + * Store a newly created resource in storage. + */ + public function store(Request $request) + { + // + } + + /** + * Display the specified resource. + */ + public function show($id) + { + $user = User::find($id); + return view('admin.users.detail-user',['name'=>"Muhammad Raihan Surya", 'detail_user'=>$user]); + } + + /** + * Show the form for editing the specified resource. + */ + public function edit(User $user) + { + // + } + + /** + * Update the specified resource in storage. + */ + public function update(Request $request, $id) + { + return response()->json([ + 'user' => $request, + 'id' => $id, + ]); + } + + /** + * Remove the specified resource from storage. + */ + public function destroy($id) + { + try{ + $result = User::destroy($id); + if($result){ + return response()->json([ + 'message' => 'Berhasil hapus data', + 'status' => true + ]); + } + }catch(\Exception $e){ + return response()->json([ + 'message' => 'Gagal hapus data, karena '.$e, + 'status' => false + ]); + } + } + + public function approveUser($id){ + $user = User::findOrFail($id); + $user->status = 'Finished'; + $result = $user->save(); + if($result){ + return response()->json([ + 'message' => "Akun telah disetujui dan dapat digunakan", + 'status' => true, + ]); + }else{ + return response()->json([ + 'message' => "Akun gagal disetujui karena "+$result, + 'status' => false, + ]); + } + } + + public function denyUser($id){ + $user = User::findOrFail($id); + $user->status = 'Rejected'; + $result = $user->save(); + if($result){ + return response()->json([ + 'message' => "Akun telah ditolak dan tidak dapat digunakan", + 'status' => true, + ]); + }else{ + return response()->json([ + 'message' => "Akun gagal ditolak karena "+$result, + 'status' => false, + ]); + } + } +} diff --git a/app/Http/Controllers/Admin/SettingController.php b/app/Http/Controllers/Admin/SettingController.php deleted file mode 100644 index 83196f3a..00000000 --- a/app/Http/Controllers/Admin/SettingController.php +++ /dev/null @@ -1,70 +0,0 @@ -"Jilhan Haura", - "setting" => Settings:: HistorySetting() - ]); - } - - /** - * Show the form for creating a new resource. - */ - public function create() - { - // - } - - /** - * Store a newly created resource in storage. - */ - public function store(Request $request) - { - // - } - - /** - * Display the specified resource. - */ - public function show(Setting $setting) - { - // - } - - /** - * Show the form for editing the specified resource. - */ - public function edit(Setting $setting) - { - // - } - - /** - * Update the specified resource in storage. - */ - public function update(Request $request, Setting $setting) - { - // - } - - /** - * Remove the specified resource from storage. - */ - public function destroy(Setting $setting) - { - // - } -} diff --git a/app/Http/Controllers/Admin/UserController.php b/app/Http/Controllers/Admin/UserController.php deleted file mode 100644 index e832c7d3..00000000 --- a/app/Http/Controllers/Admin/UserController.php +++ /dev/null @@ -1,79 +0,0 @@ -get(); - return view('admin.users.list-user', ['name' => 'Muhammad Raihan Surya', 'list_users' => $list_users]); - } - - /** - * Show the form for creating a new resource. - */ - public function create() - { - // - } - - /** - * Store a newly created resource in storage. - */ - public function store(Request $request) - { - // - } - - /** - * Display the specified resource. - */ - public function show(User $user) - { - // dd($user); - return view('admin.users.detail-user',['name'=>"Muhammad Raihan Surya", 'detail_user'=>$user]); - } - - /** - * Show the form for editing the specified resource. - */ - public function edit(User $user) - { - // - } - - /** - * Update the specified resource in storage. - */ - public function update(Request $request, User $users) - { - // - } - - /** - * Remove the specified resource from storage. - */ - public function destroy(User $user) - { - try{ - User::destroy($user->id); - return response()->json([ - 'message' => 'Berhasil hapus data', - 'status' => true - ]); - }catch(\Exception $e){ - return response()->json([ - 'message' => 'Gagal hapus data, karena '.$e, - 'status' => false - ]); - } - } -} diff --git a/app/Http/Controllers/Login/LoginController.php b/app/Http/Controllers/Login/LoginController.php index adae6629..82eb181e 100644 --- a/app/Http/Controllers/Login/LoginController.php +++ b/app/Http/Controllers/Login/LoginController.php @@ -52,7 +52,7 @@ class LoginController extends Controller return redirect()->intended('/'); } } else { - Session::flash('message', 'Akun Tidak Ditemukan'); + Session::flash('message', 'Akun tidak ditemukan atau sedang dalam pengajuan'); return redirect()->back(); } } @@ -102,26 +102,26 @@ class LoginController extends Controller // $validatedData['email_verified_at'] = now(); - $fotoKTP = ''; - $fotoWajah = ''; - $fotoProfil =''; + $validatedData['foto-ktp'] = ''; + $validatedData['foto-wajah'] = ''; + $validatedData['foto-profil'] =''; if ($request->hasFile('foto_ktp') && $request->hasFile('foto_wajah')) { // $namaGambarOri = $request->file('foto-gambar')->getClientOriginalName(); // $namaGambar = round(microtime(true) * 1000) . '-' . str_replace(' ', '-', $namaGambarOri); $tipeFotoKtp = $request->file('foto_ktp')->getClientMimeType(); $tipeFotoWajah = $request->file('foto_wajah')->getClientMimeType(); - $fotoKTP = 'Foto-KTP-' . $request->nama . '.' . $tipeFotoKtp; - $fotoWajah = 'Foto-Wajah' . $request->nama . '.' . $tipeFotoWajah; + $validatedData['foto-ktp'] = 'Foto-KTP-' . $request->nama . '.' . $tipeFotoKtp; + $validatedData['foto-wajah'] = 'Foto-Wajah' . $request->nama . '.' . $tipeFotoWajah; // Simpan foto - $request->file('foto-ktp')->storeAs('public/foto-ktp', $fotoKTP); - $request->file('foto-wajah')->storeAs('public/foto-wajah', $fotoWajah); + $request->file('foto-ktp')->storeAs('public/foto-ktp', $validatedData['foto-ktp']); + $request->file('foto-wajah')->storeAs('public/foto-wajah', $validatedData['foto-wajah']); } if($request->hasFile('foto_profil')){ $tipeFotoProfil = $request->file('foto_profil')->getClientMimeType(); - $fotoProfil = 'Foto-Profil-' . $request->nama . '.' . $tipeFotoProfil; + $validatedData['foto-profil'] = 'Foto-Profil-' . $request->nama . '.' . $tipeFotoProfil; // Simpan foto - $request->file('foto-profil')->storeAs('public/foto-profil', $fotoProfil); + $request->file('foto-profil')->storeAs('public/foto-profil', $validatedData['foto-profil']); } //OCR @@ -185,8 +185,9 @@ class LoginController extends Controller 'nohp' => $validatedData['nohp'], 'nik' => $validatedData['nik'], 'alamat' => $validatedData['alamat'], - 'foto_ktp' => $fotoKTP, - 'foto_wajah' => $fotoWajah, + 'foto_ktp' => $validatedData['foto-ktp'], + 'foto_wajah' => $validatedData['foto-wajah'], + 'foto_profil' => $validatedData['foto-profil'], 'status' => $validatedData['status'], 'gender' => $validatedData['gender'], 'remember_token' => Str::random(10), diff --git a/app/Http/Controllers/User/ContactController.php b/app/Http/Controllers/User/UserContactController.php similarity index 70% rename from app/Http/Controllers/User/ContactController.php rename to app/Http/Controllers/User/UserContactController.php index e9cc1d6c..423b2236 100644 --- a/app/Http/Controllers/User/ContactController.php +++ b/app/Http/Controllers/User/UserContactController.php @@ -59,8 +59,19 @@ class ContactController extends Controller /** * Remove the specified resource from storage. */ - public function destroy(Contact $contact) + public function destroy(Contact $contact, $id) { - // + try{ + Contact::destroy($id); + return response()->json([ + 'message' => 'Berhasil hapus data', + 'status' => true + ]); + }catch(\Exception $e){ + return response()->json([ + 'message' => 'Gagal hapus data, karena '.$e, + 'status' => false + ]); + } } } diff --git a/app/Models/Setting.php b/app/Models/Setting.php index 914ce0c7..99d25256 100644 --- a/app/Models/Setting.php +++ b/app/Models/Setting.php @@ -17,7 +17,7 @@ class Setting extends Model protected $fillable = [ 'bulan', 'tahun', - 'diskon', + 'persentase', 'status', ]; } diff --git a/app/Models/User.php b/app/Models/User.php index 6d5be269..d5b4382c 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -95,6 +95,10 @@ class User extends Authenticatable public function penjual(){ return $this->hasMany(Transaction::class, 'email', 'penjual'); } + + public function kelurahan(){ + return $this->belongsTo('Laravolt\Indonesia\Models\Village', 'code', 'kode_kelurahan'); + } //Relasi } diff --git a/composer.json b/composer.json index 25f541e7..c766dbbe 100644 --- a/composer.json +++ b/composer.json @@ -10,14 +10,16 @@ "require": { "php": "^8.1", "guzzlehttp/guzzle": "^7.2", + "intervention/image": "^2.7", "laravel/framework": "^10.10", "laravel/sanctum": "^3.2", "laravel/tinker": "^2.8", + "laravolt/indonesia": "^0.34.0", + "nesbot/carbon": "^2.69", "pusher/pusher-php-server": "^7.2", "ramsey/uuid": "^4.7", "thiagoalessio/tesseract_ocr": "^2.12", - "tymon/jwt-auth": "^2.0", - "intervention/image": "^2.7" + "tymon/jwt-auth": "^2.0" }, "require-dev": { "fakerphp/faker": "^1.9.1", diff --git a/composer.lock b/composer.lock index c70835a9..1bd6e237 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "051f567ac5cf2db555525f2a0ee59015", + "content-hash": "eb6424bf82942b6b939788b88ee6586b", "packages": [ { "name": "brick/math", @@ -1497,6 +1497,88 @@ }, "time": "2023-08-15T14:27:00+00:00" }, + { + "name": "laravolt/indonesia", + "version": "v0.34", + "source": { + "type": "git", + "url": "https://github.com/laravolt/indonesia.git", + "reference": "dfb584207f277e38c7706412d7414c8753dc78d5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravolt/indonesia/zipball/dfb584207f277e38c7706412d7414c8753dc78d5", + "reference": "dfb584207f277e38c7706412d7414c8753dc78d5", + "shasum": "" + }, + "require": { + "illuminate/support": "^8.0|^9.0|^10.0", + "php": "^7.3|^8.0" + }, + "require-dev": { + "orchestra/testbench": "^6.0|^7.0|^8.0", + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "^9.0" + }, + "suggest": { + "laravolt/suitable": "Required if you want to access editor panel", + "spatie/geocoder": "Synchronize latitude longitude data directly using Google's Geocoding Service" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + }, + "laravel": { + "providers": [ + "Laravolt\\Indonesia\\ServiceProvider" + ], + "aliases": { + "Indonesia": "Laravolt\\Indonesia\\Facade" + } + } + }, + "autoload": { + "psr-4": { + "Laravolt\\Indonesia\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bayu Hendra Winata", + "email": "bayu.hendra@javan.co.id" + }, + { + "name": "Akbar Adhatama", + "email": "am.adhatama@gmail.com" + }, + { + "name": "Deri Ramdani", + "email": "deri.ramdani1@gmail.com" + } + ], + "description": "Package Laravel yang berisi data Provinsi, Kabupaten/Kota, Kecamatan, dan Keluarahan/Desa di seluruh Indonesia.", + "keywords": [ + "desa", + "indonesia", + "kabupaten", + "kecamatan", + "kelurahan", + "kota", + "laravel", + "laravolt", + "provinsi" + ], + "support": { + "issues": "https://github.com/laravolt/indonesia/issues", + "source": "https://github.com/laravolt/indonesia/tree/v0.34" + }, + "time": "2023-03-05T15:16:54+00:00" + }, { "name": "lcobucci/clock", "version": "2.3.0", diff --git a/config/laravolt/indonesia.php b/config/laravolt/indonesia.php new file mode 100644 index 00000000..10e98e48 --- /dev/null +++ b/config/laravolt/indonesia.php @@ -0,0 +1,16 @@ + 'indonesia_', + 'route' => [ + 'enabled' => false, + 'middleware' => ['web', 'auth'], + 'prefix' => 'indonesia', + ], + 'view' => [ + 'layout' => 'ui::layouts.app', + ], + 'menu' => [ + 'enabled' => false, + ], +]; diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php index 919963de..58d90177 100644 --- a/database/factories/UserFactory.php +++ b/database/factories/UserFactory.php @@ -30,6 +30,7 @@ class UserFactory extends Factory 'nohp'=> $this->faker->phoneNumber(), 'status'=> $this->faker->randomElement(['Progress', 'Finished']), 'gender' => $this->faker->randomElement(['Laki-laki', 'Perempuan']), + 'kode_kelurahan' => '1101012002', ]; } diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php index 4d16b72b..93f84376 100644 --- a/database/migrations/2014_10_12_000000_create_users_table.php +++ b/database/migrations/2014_10_12_000000_create_users_table.php @@ -24,10 +24,13 @@ return new class extends Migration $table->string('foto_ktp')->nullable(); $table->string('foto_wajah')->nullable(); $table->string('foto_profil')->nullable(); - $table->string('status',10); + $table->enum('status',['Finished','Progress','Rejected'])->default('Progress'); $table->string('gender',15); + $table->char('kode_kelurahan',10); $table->rememberToken(); $table->timestamps(); + + // $table->foreign('kode_kelurahan')->on('villages')->references('code'); }); } diff --git a/database/migrations/2016_08_03_072729_create_provinces_table.php b/database/migrations/2016_08_03_072729_create_provinces_table.php new file mode 100644 index 00000000..2379b086 --- /dev/null +++ b/database/migrations/2016_08_03_072729_create_provinces_table.php @@ -0,0 +1,34 @@ +bigIncrements('id'); + $table->char('code', 2)->unique(); + $table->string('name', 255); + $table->text('meta')->nullable(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::drop(config('laravolt.indonesia.table_prefix').'provinces'); + } +} diff --git a/database/migrations/2016_08_03_072750_create_cities_table.php b/database/migrations/2016_08_03_072750_create_cities_table.php new file mode 100644 index 00000000..6a917a5d --- /dev/null +++ b/database/migrations/2016_08_03_072750_create_cities_table.php @@ -0,0 +1,40 @@ +bigIncrements('id'); + $table->char('code', 4)->unique(); + $table->char('province_code', 2); + $table->string('name', 255); + $table->text('meta')->nullable(); + $table->timestamps(); + + $table->foreign('province_code') + ->references('code') + ->on(config('laravolt.indonesia.table_prefix').'provinces') + ->onUpdate('cascade')->onDelete('restrict'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::drop(config('laravolt.indonesia.table_prefix').'cities'); + } +} diff --git a/database/migrations/2016_08_03_072804_create_districts_table.php b/database/migrations/2016_08_03_072804_create_districts_table.php new file mode 100644 index 00000000..f5b466ed --- /dev/null +++ b/database/migrations/2016_08_03_072804_create_districts_table.php @@ -0,0 +1,40 @@ +bigIncrements('id'); + $table->char('code', 7)->unique(); + $table->char('city_code', 4); + $table->string('name', 255); + $table->text('meta')->nullable(); + $table->timestamps(); + + $table->foreign('city_code') + ->references('code') + ->on(config('laravolt.indonesia.table_prefix').'cities') + ->onUpdate('cascade')->onDelete('restrict'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::drop(config('laravolt.indonesia.table_prefix').'districts'); + } +} diff --git a/database/migrations/2016_08_03_072819_create_villages_table.php b/database/migrations/2016_08_03_072819_create_villages_table.php new file mode 100644 index 00000000..9501bca9 --- /dev/null +++ b/database/migrations/2016_08_03_072819_create_villages_table.php @@ -0,0 +1,40 @@ +bigIncrements('id'); + $table->char('code', 10)->unique(); + $table->char('district_code', 7); + $table->string('name', 255); + $table->text('meta')->nullable(); + $table->timestamps(); + + $table->foreign('district_code') + ->references('code') + ->on(config('laravolt.indonesia.table_prefix').'districts') + ->onUpdate('cascade')->onDelete('restrict'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::drop(config('laravolt.indonesia.table_prefix').'villages'); + } +} diff --git a/database/migrations/2023_08_01_073859_create_transactions_table.php b/database/migrations/2023_08_01_073859_create_transactions_table.php index 498d4eca..e99efd09 100644 --- a/database/migrations/2023_08_01_073859_create_transactions_table.php +++ b/database/migrations/2023_08_01_073859_create_transactions_table.php @@ -24,7 +24,7 @@ return new class extends Migration $table->double('total_harga'); // gross amount $table->string('signature_key'); $table->string('metode_pembayaran'); - $table->string('status'); // transaction_status + $table->enum('status',['settlement','capture','pending','cancel','refund','expire','failure','progress','failed'])->default('pending'); // transaction_status $table->timestamp('batas_pembayaran'); $table->timestamp('batas_pengiriman_barang'); $table->timestamps(); diff --git a/database/migrations/2023_08_16_044527_create_refunds_table.php b/database/migrations/2023_08_16_044527_create_refunds_table.php index 80f1aad3..5bb685fd 100644 --- a/database/migrations/2023_08_16_044527_create_refunds_table.php +++ b/database/migrations/2023_08_16_044527_create_refunds_table.php @@ -16,7 +16,7 @@ return new class extends Migration $table->foreignUuid('order_id'); $table->double('total',10); $table->timestamp('due_date'); - $table->string('status',20); + $table->enum('status',['partial_refund','deny','pending'])->default('pending'); $table->foreign('order_id')->on('transactions')->references('order_id'); }); diff --git a/database/migrations/2023_08_27_074453_create_settings_table.php b/database/migrations/2023_08_27_074453_create_settings_table.php index adbd1db1..ea5a15d8 100644 --- a/database/migrations/2023_08_27_074453_create_settings_table.php +++ b/database/migrations/2023_08_27_074453_create_settings_table.php @@ -15,7 +15,7 @@ return new class extends Migration $table->id(); $table->string('bulan',20); $table->string('tahun',5); - $table->double('diskon',5); + $table->string('persentase',5); $table->string('status',15); $table->timestamps(); }); diff --git a/database/migrations/2023_09_04_022513_create_transaction_descriptions_table.php b/database/migrations/2023_09_04_022513_create_transaction_descriptions_table.php index a5822f72..961f41ff 100644 --- a/database/migrations/2023_09_04_022513_create_transaction_descriptions_table.php +++ b/database/migrations/2023_09_04_022513_create_transaction_descriptions_table.php @@ -14,6 +14,7 @@ return new class extends Migration Schema::create('transaction_descriptions', function (Blueprint $table) { $table->id(); $table->foreignUuid('order_id'); + $table->string('status',15); $table->string('user'); $table->string('judul'); $table->string('deskripsi'); diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php index 9bc2e502..14df10fa 100644 --- a/database/seeders/DatabaseSeeder.php +++ b/database/seeders/DatabaseSeeder.php @@ -8,6 +8,10 @@ use App\Models\User; use Illuminate\Support\Str; use Faker\Factory as FakerFactory; use Faker\Provider\id_ID\Person as Person; +use Laravolt\Indonesia\Seeds\CitiesSeeder; +use Laravolt\Indonesia\Seeds\VillagesSeeder; +use Laravolt\Indonesia\Seeds\DistrictsSeeder; +use Laravolt\Indonesia\Seeds\ProvincesSeeder; class DatabaseSeeder extends Seeder { @@ -30,10 +34,18 @@ class DatabaseSeeder extends Seeder 'nik' => $faker->nik($faker->randomElement(['male','female']), $faker->dateTimeBetween('-65 years', '-18 years')), 'alamat'=> $faker->address, 'nohp'=> $faker->phoneNumber(), - 'status'=> $faker->randomElement(['Progress', 'Finished']), + 'status'=> 'Finished', 'gender' => $faker->randomElement(['Laki-laki', 'Perempuan']), + 'kode_kelurahan' => '1101012002', + ]); + User::factory(20)->create(); + + $this->call([ + ProvincesSeeder::class, + CitiesSeeder::class, + DistrictsSeeder::class, + VillagesSeeder::class, ]); - User::factory(100)->create(); } } diff --git a/public/assets/js/page/modules-datatables.js b/public/assets/js/page/modules-datatables.js index 5f91805a..e01729d5 100644 --- a/public/assets/js/page/modules-datatables.js +++ b/public/assets/js/page/modules-datatables.js @@ -1,40 +1,49 @@ "use strict"; -$("[data-checkboxes]").each(function() { - var me = $(this), - group = me.data('checkboxes'), - role = me.data('checkbox-role'); +$("[data-checkboxes]").each(function () { + var me = $(this), + 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"]'), - total = all.length, - checked_length = checked.length; + 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"]' + ), + total = all.length, + checked_length = checked.length; - if(role == 'dad') { - if(me.is(':checked')) { - all.prop('checked', true); - }else{ - all.prop('checked', false); - } - }else{ - if(checked_length >= total) { - dad.prop('checked', true); - }else{ - dad.prop('checked', false); - } - } - }); + if (role == "dad") { + if (me.is(":checked")) { + all.prop("checked", true); + } else { + all.prop("checked", false); + } + } else { + if (checked_length >= total) { + dad.prop("checked", true); + } else { + dad.prop("checked", false); + } + } + }); }); +// User $("#table-1").dataTable({ - "columnDefs": [ - { "sortable": false, "targets": [2,3] } - ] + columnDefs: [{ sortable: false, targets: [2, 7] }], }); + +// Refund, Setting, Transaction $("#table-2").dataTable({ - "columnDefs": [ - { "sortable": false, "targets": [0,2,3] } - ] + ordering: true, }); diff --git a/public/assets/modules/datatables/datatables.min.css b/public/assets/modules/datatables/datatables.min.css index e39a5020..b9eddc58 100644 --- a/public/assets/modules/datatables/datatables.min.css +++ b/public/assets/modules/datatables/datatables.min.css @@ -10,107 +10,929 @@ * JSZip 2.5.0, pdfmake 0.1.32, DataTables 1.10.16, AutoFill 2.2.2, Buttons 1.5.1, Column visibility 1.5.1, HTML5 export 1.5.1, Print view 1.5.1, ColReorder 1.4.1, FixedColumns 3.2.4, FixedHeader 3.1.3, Responsive 2.2.1, Select 1.2.4 */ -table.dataTable{clear:both;margin-top:6px !important;margin-bottom:6px !important;max-width:none !important;border-collapse:separate !important}table.dataTable td,table.dataTable th{-webkit-box-sizing:content-box;box-sizing:content-box}table.dataTable td.dataTables_empty,table.dataTable th.dataTables_empty{text-align:center}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}div.dataTables_wrapper div.dataTables_length label{font-weight:normal;text-align:left;white-space:nowrap}div.dataTables_wrapper div.dataTables_length select{width:75px;display:inline-block}div.dataTables_wrapper div.dataTables_filter{text-align:right}div.dataTables_wrapper div.dataTables_filter label{font-weight:normal;white-space:nowrap;text-align:left}div.dataTables_wrapper div.dataTables_filter input{margin-left:0.5em;display:inline-block;width:auto}div.dataTables_wrapper div.dataTables_info{padding-top:0.85em;white-space:nowrap}div.dataTables_wrapper div.dataTables_paginate{margin:0;white-space:nowrap;text-align:right}div.dataTables_wrapper div.dataTables_paginate ul.pagination{margin:2px 0;white-space:nowrap;justify-content:flex-end}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:1em 0}table.dataTable thead>tr>th.sorting_asc,table.dataTable thead>tr>th.sorting_desc,table.dataTable thead>tr>th.sorting,table.dataTable thead>tr>td.sorting_asc,table.dataTable thead>tr>td.sorting_desc,table.dataTable thead>tr>td.sorting{padding-right:30px}table.dataTable thead>tr>th:active,table.dataTable thead>tr>td:active{outline:none}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{cursor:pointer;position:relative}table.dataTable thead .sorting:before,table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_desc:before,table.dataTable thead .sorting_desc:after,table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:before,table.dataTable thead .sorting_desc_disabled:after{position:absolute;bottom:0.9em;display:block;opacity:0.3}table.dataTable thead .sorting:before,table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_desc:before,table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_desc_disabled:before{right:1em;content:"\2191"}table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_desc:after,table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:after{right:0.5em;content:"\2193"}table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_desc:after{opacity:1}table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_desc_disabled:after{opacity:0}div.dataTables_scrollHead table.dataTable{margin-bottom:0 !important}div.dataTables_scrollBody table{border-top:none;margin-top:0 !important;margin-bottom:0 !important}div.dataTables_scrollBody table thead .sorting:after,div.dataTables_scrollBody table thead .sorting_asc:after,div.dataTables_scrollBody table thead .sorting_desc:after{display:none}div.dataTables_scrollBody table tbody tr:first-child th,div.dataTables_scrollBody table tbody tr:first-child td{border-top:none}div.dataTables_scrollFoot>.dataTables_scrollFootInner{box-sizing:content-box}div.dataTables_scrollFoot>.dataTables_scrollFootInner>table{margin-top:0 !important;border-top:none}@media screen and (max-width: 767px){div.dataTables_wrapper div.dataTables_length,div.dataTables_wrapper div.dataTables_filter,div.dataTables_wrapper div.dataTables_info,div.dataTables_wrapper div.dataTables_paginate{text-align:center}}table.dataTable.table-sm>thead>tr>th{padding-right:20px}table.dataTable.table-sm .sorting:before,table.dataTable.table-sm .sorting_asc:before,table.dataTable.table-sm .sorting_desc:before{top:5px;right:0.85em}table.dataTable.table-sm .sorting:after,table.dataTable.table-sm .sorting_asc:after,table.dataTable.table-sm .sorting_desc:after{top:5px}table.table-bordered.dataTable th,table.table-bordered.dataTable td{border-left-width:0}table.table-bordered.dataTable th:last-child,table.table-bordered.dataTable th:last-child,table.table-bordered.dataTable td:last-child,table.table-bordered.dataTable td:last-child{border-right-width:0}table.table-bordered.dataTable tbody th,table.table-bordered.dataTable tbody td{border-bottom-width:0}div.dataTables_scrollHead table.table-bordered{border-bottom-width:0}div.table-responsive>div.dataTables_wrapper>div.row{margin:0}div.table-responsive>div.dataTables_wrapper>div.row>div[class^="col-"]:first-child{padding-left:0}div.table-responsive>div.dataTables_wrapper>div.row>div[class^="col-"]:last-child{padding-right:0} - +table.dataTable { + clear: both; + margin-top: 6px !important; + margin-bottom: 6px !important; + max-width: none !important; + border-collapse: separate !important; +} +table.dataTable td, +table.dataTable th { + -webkit-box-sizing: content-box; + box-sizing: content-box; +} +table.dataTable td.dataTables_empty, +table.dataTable th.dataTables_empty { + text-align: center; +} +table.dataTable.nowrap th, +table.dataTable.nowrap td { + white-space: nowrap; +} +div.dataTables_wrapper div.dataTables_length label { + font-weight: normal; + text-align: left; + white-space: nowrap; +} +div.dataTables_wrapper div.dataTables_length select { + width: 75px; + display: inline-block; +} +div.dataTables_wrapper div.dataTables_filter { + text-align: right; +} +div.dataTables_wrapper div.dataTables_filter label { + font-weight: normal; + white-space: nowrap; + text-align: left; +} +div.dataTables_wrapper div.dataTables_filter input { + margin-left: 0.5em; + display: inline-block; + width: auto; +} +div.dataTables_wrapper div.dataTables_info { + padding-top: 0.85em; + white-space: nowrap; +} +div.dataTables_wrapper div.dataTables_paginate { + margin: 0; + white-space: nowrap; + text-align: right; +} +div.dataTables_wrapper div.dataTables_paginate ul.pagination { + margin: 2px 0; + white-space: nowrap; + justify-content: flex-end; +} +div.dataTables_wrapper div.dataTables_processing { + position: absolute; + top: 50%; + left: 50%; + width: 200px; + margin-left: -100px; + margin-top: -26px; + text-align: center; + padding: 1em 0; +} +table.dataTable thead > tr > th.sorting_asc, +table.dataTable thead > tr > th.sorting_desc, +table.dataTable thead > tr > th.sorting, +table.dataTable thead > tr > td.sorting_asc, +table.dataTable thead > tr > td.sorting_desc, +table.dataTable thead > tr > td.sorting { + padding-right: 30px; +} +table.dataTable thead > tr > th:active, +table.dataTable thead > tr > td:active { + outline: none; +} +table.dataTable thead .sorting, +table.dataTable thead .sorting_asc, +table.dataTable thead .sorting_desc, +table.dataTable thead .sorting_asc_disabled, +table.dataTable thead .sorting_desc_disabled { + cursor: pointer; + position: relative; +} +table.dataTable thead .sorting:before, +table.dataTable thead .sorting:after, +table.dataTable thead .sorting_asc:before, +table.dataTable thead .sorting_asc:after, +table.dataTable thead .sorting_desc:before, +table.dataTable thead .sorting_desc:after, +table.dataTable thead .sorting_asc_disabled:before, +table.dataTable thead .sorting_asc_disabled:after, +table.dataTable thead .sorting_desc_disabled:before, +table.dataTable thead .sorting_desc_disabled:after { + position: absolute; + bottom: 0.9em; + display: block; + opacity: 0.3; +} +table.dataTable thead .sorting:before, +table.dataTable thead .sorting_asc:before, +table.dataTable thead .sorting_desc:before, +table.dataTable thead .sorting_asc_disabled:before, +table.dataTable thead .sorting_desc_disabled:before { + right: 1em; + content: "\2191"; +} +table.dataTable thead .sorting:after, +table.dataTable thead .sorting_asc:after, +table.dataTable thead .sorting_desc:after, +table.dataTable thead .sorting_asc_disabled:after, +table.dataTable thead .sorting_desc_disabled:after { + right: 0.5em; + content: "\2193"; +} +table.dataTable thead .sorting_asc:before, +table.dataTable thead .sorting_desc:after { + opacity: 1; +} +table.dataTable thead .sorting_asc_disabled:before, +table.dataTable thead .sorting_desc_disabled:after { + opacity: 0; +} +div.dataTables_scrollHead table.dataTable { + margin-bottom: 0 !important; +} +div.dataTables_scrollBody table { + border-top: none; + margin-top: 0 !important; + margin-bottom: 0 !important; +} +div.dataTables_scrollBody table thead .sorting:after, +div.dataTables_scrollBody table thead .sorting_asc:after, +div.dataTables_scrollBody table thead .sorting_desc:after { + display: none; +} +div.dataTables_scrollBody table tbody tr:first-child th, +div.dataTables_scrollBody table tbody tr:first-child td { + border-top: none; +} +div.dataTables_scrollFoot > .dataTables_scrollFootInner { + box-sizing: content-box; +} +div.dataTables_scrollFoot > .dataTables_scrollFootInner > table { + margin-top: 0 !important; + border-top: none; +} +@media screen and (max-width: 767px) { + div.dataTables_wrapper div.dataTables_length, + div.dataTables_wrapper div.dataTables_filter, + div.dataTables_wrapper div.dataTables_info, + div.dataTables_wrapper div.dataTables_paginate { + text-align: center; + } +} +table.dataTable.table-sm > thead > tr > th { + padding-right: 20px; +} +table.dataTable.table-sm .sorting:before, +table.dataTable.table-sm .sorting_asc:before, +table.dataTable.table-sm .sorting_desc:before { + top: 5px; + right: 0.85em; +} +table.dataTable.table-sm .sorting:after, +table.dataTable.table-sm .sorting_asc:after, +table.dataTable.table-sm .sorting_desc:after { + top: 5px; +} +table.table-bordered.dataTable th, +table.table-bordered.dataTable td { + border-left-width: 0; +} +table.table-bordered.dataTable th:last-child, +table.table-bordered.dataTable th:last-child, +table.table-bordered.dataTable td:last-child, +table.table-bordered.dataTable td:last-child { + border-right-width: 0; +} +table.table-bordered.dataTable tbody th, +table.table-bordered.dataTable tbody td { + border-bottom-width: 0; +} +div.dataTables_scrollHead table.table-bordered { + border-bottom-width: 0; +} +div.table-responsive > div.dataTables_wrapper > div.row { + margin: 0; +} +div.table-responsive + > div.dataTables_wrapper + > div.row + > div[class^="col-"]:first-child { + padding-left: 0; +} +div.table-responsive + > div.dataTables_wrapper + > div.row + > div[class^="col-"]:last-child { + padding-right: 0; +} div.dt-autofill-handle { - position: absolute; - height: 8px; - width: 8px; - z-index: 102; - box-sizing: border-box; - border: 1px solid #0275d8; - background: #0275d8; + position: absolute; + height: 8px; + width: 8px; + z-index: 102; + box-sizing: border-box; + border: 1px solid #0275d8; + background: #0275d8; } div.dt-autofill-select { - position: absolute; - z-index: 1001; - background-color: #0275d8; - background-image: repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(255, 255, 255, 0.5) 5px, rgba(255, 255, 255, 0.5) 10px); + position: absolute; + z-index: 1001; + background-color: #0275d8; + background-image: repeating-linear-gradient( + 45deg, + transparent, + transparent 5px, + rgba(255, 255, 255, 0.5) 5px, + rgba(255, 255, 255, 0.5) 10px + ); } -div.dt-autofill-select.top, div.dt-autofill-select.bottom { - height: 3px; - margin-top: -1px; +div.dt-autofill-select.top, +div.dt-autofill-select.bottom { + height: 3px; + margin-top: -1px; } -div.dt-autofill-select.left, div.dt-autofill-select.right { - width: 3px; - margin-left: -1px; +div.dt-autofill-select.left, +div.dt-autofill-select.right { + width: 3px; + margin-left: -1px; } div.dt-autofill-list { - position: fixed; - top: 50%; - left: 50%; - width: 500px; - margin-left: -250px; - background-color: white; - border-radius: 6px; - box-shadow: 0 0 5px #555; - border: 2px solid #444; - z-index: 11; - box-sizing: border-box; - padding: 1.5em 2em; + position: fixed; + top: 50%; + left: 50%; + width: 500px; + margin-left: -250px; + background-color: white; + border-radius: 6px; + box-shadow: 0 0 5px #555; + border: 2px solid #444; + z-index: 11; + box-sizing: border-box; + padding: 1.5em 2em; } div.dt-autofill-list ul { - display: table; - margin: 0; - padding: 0; - list-style: none; - width: 100%; + display: table; + margin: 0; + padding: 0; + list-style: none; + width: 100%; } div.dt-autofill-list ul li { - display: table-row; + display: table-row; } -div.dt-autofill-list ul li:last-child div.dt-autofill-question, div.dt-autofill-list ul li:last-child div.dt-autofill-button { - border-bottom: none; +div.dt-autofill-list ul li:last-child div.dt-autofill-question, +div.dt-autofill-list ul li:last-child div.dt-autofill-button { + border-bottom: none; } div.dt-autofill-list ul li:hover { - background-color: #f6f6f6; + background-color: #f6f6f6; } div.dt-autofill-list div.dt-autofill-question { - display: table-cell; - padding: 0.5em 0; - border-bottom: 1px solid #ccc; + display: table-cell; + padding: 0.5em 0; + border-bottom: 1px solid #ccc; } -div.dt-autofill-list div.dt-autofill-question input[type=number] { - padding: 6px; - width: 30px; - margin: -2px 0; +div.dt-autofill-list div.dt-autofill-question input[type="number"] { + padding: 6px; + width: 30px; + margin: -2px 0; } div.dt-autofill-list div.dt-autofill-button { - display: table-cell; - padding: 0.5em 0; - border-bottom: 1px solid #ccc; + display: table-cell; + padding: 0.5em 0; + border-bottom: 1px solid #ccc; } div.dt-autofill-background { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: rgba(0, 0, 0, 0.7); - background: radial-gradient(ellipse farthest-corner at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%); - z-index: 10; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.7); + background: radial-gradient( + ellipse farthest-corner at center, + rgba(0, 0, 0, 0.3) 0%, + rgba(0, 0, 0, 0.7) 100% + ); + z-index: 10; } +@keyframes dtb-spinner { + 100% { + transform: rotate(360deg); + } +} +@-o-keyframes dtb-spinner { + 100% { + -o-transform: rotate(360deg); + transform: rotate(360deg); + } +} +@-ms-keyframes dtb-spinner { + 100% { + -ms-transform: rotate(360deg); + transform: rotate(360deg); + } +} +@-webkit-keyframes dtb-spinner { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +@-moz-keyframes dtb-spinner { + 100% { + -moz-transform: rotate(360deg); + transform: rotate(360deg); + } +} +div.dt-button-info { + position: fixed; + top: 50%; + left: 50%; + width: 400px; + margin-top: -100px; + margin-left: -200px; + background-color: white; + border: 2px solid #111; + box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3); + border-radius: 3px; + text-align: center; + z-index: 21; +} +div.dt-button-info h2 { + padding: 0.5em; + margin: 0; + font-weight: normal; + border-bottom: 1px solid #ddd; + background-color: #f3f3f3; +} +div.dt-button-info > div { + padding: 1em; +} +ul.dt-button-collection.dropdown-menu { + display: block; + z-index: 2002; + -webkit-column-gap: 8px; + -moz-column-gap: 8px; + -ms-column-gap: 8px; + -o-column-gap: 8px; + column-gap: 8px; +} +ul.dt-button-collection.dropdown-menu.fixed { + position: fixed; + top: 50%; + left: 50%; + margin-left: -75px; + border-radius: 0; +} +ul.dt-button-collection.dropdown-menu.fixed.two-column { + margin-left: -150px; +} +ul.dt-button-collection.dropdown-menu.fixed.three-column { + margin-left: -225px; +} +ul.dt-button-collection.dropdown-menu.fixed.four-column { + margin-left: -300px; +} +ul.dt-button-collection.dropdown-menu > * { + -webkit-column-break-inside: avoid; + break-inside: avoid; +} +ul.dt-button-collection.dropdown-menu.two-column { + width: 300px; + padding-bottom: 1px; + -webkit-column-count: 2; + -moz-column-count: 2; + -ms-column-count: 2; + -o-column-count: 2; + column-count: 2; +} +ul.dt-button-collection.dropdown-menu.three-column { + width: 450px; + padding-bottom: 1px; + -webkit-column-count: 3; + -moz-column-count: 3; + -ms-column-count: 3; + -o-column-count: 3; + column-count: 3; +} +ul.dt-button-collection.dropdown-menu.four-column { + width: 600px; + padding-bottom: 1px; + -webkit-column-count: 4; + -moz-column-count: 4; + -ms-column-count: 4; + -o-column-count: 4; + column-count: 4; +} +ul.dt-button-collection.dropdown-menu .dt-button { + border-radius: 0; +} +ul.dt-button-collection { + -webkit-column-gap: 8px; + -moz-column-gap: 8px; + -ms-column-gap: 8px; + -o-column-gap: 8px; + column-gap: 8px; +} +ul.dt-button-collection.fixed { + position: fixed; + top: 50%; + left: 50%; + margin-left: -75px; + border-radius: 0; +} +ul.dt-button-collection.fixed.two-column { + margin-left: -150px; +} +ul.dt-button-collection.fixed.three-column { + margin-left: -225px; +} +ul.dt-button-collection.fixed.four-column { + margin-left: -300px; +} +ul.dt-button-collection > * { + -webkit-column-break-inside: avoid; + break-inside: avoid; +} +ul.dt-button-collection.two-column { + width: 300px; + padding-bottom: 1px; + -webkit-column-count: 2; + -moz-column-count: 2; + -ms-column-count: 2; + -o-column-count: 2; + column-count: 2; +} +ul.dt-button-collection.three-column { + width: 450px; + padding-bottom: 1px; + -webkit-column-count: 3; + -moz-column-count: 3; + -ms-column-count: 3; + -o-column-count: 3; + column-count: 3; +} +ul.dt-button-collection.four-column { + width: 600px; + padding-bottom: 1px; + -webkit-column-count: 4; + -moz-column-count: 4; + -ms-column-count: 4; + -o-column-count: 4; + column-count: 4; +} +ul.dt-button-collection .dt-button { + border-radius: 0; +} +ul.dt-button-collection.fixed { + max-width: none; +} +ul.dt-button-collection.fixed:before, +ul.dt-button-collection.fixed:after { + display: none; +} +div.dt-button-background { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 999; +} +@media screen and (max-width: 767px) { + div.dt-buttons { + float: none; + width: 100%; + text-align: center; + margin-bottom: 0.5em; + } + div.dt-buttons a.btn { + float: none; + } +} +div.dt-buttons button.btn.processing, +div.dt-buttons div.btn.processing, +div.dt-buttons a.btn.processing { + color: rgba(0, 0, 0, 0.2); +} +div.dt-buttons button.btn.processing:after, +div.dt-buttons div.btn.processing:after, +div.dt-buttons a.btn.processing:after { + position: absolute; + top: 50%; + left: 50%; + width: 16px; + height: 16px; + margin: -8px 0 0 -8px; + box-sizing: border-box; + display: block; + content: " "; + border: 2px solid #282828; + border-radius: 50%; + border-left-color: transparent; + border-right-color: transparent; + animation: dtb-spinner 1500ms infinite linear; + -o-animation: dtb-spinner 1500ms infinite linear; + -ms-animation: dtb-spinner 1500ms infinite linear; + -webkit-animation: dtb-spinner 1500ms infinite linear; + -moz-animation: dtb-spinner 1500ms infinite linear; +} -@keyframes dtb-spinner{100%{transform:rotate(360deg)}}@-o-keyframes dtb-spinner{100%{-o-transform:rotate(360deg);transform:rotate(360deg)}}@-ms-keyframes dtb-spinner{100%{-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dtb-spinner{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes dtb-spinner{100%{-moz-transform:rotate(360deg);transform:rotate(360deg)}}div.dt-button-info{position:fixed;top:50%;left:50%;width:400px;margin-top:-100px;margin-left:-200px;background-color:white;border:2px solid #111;box-shadow:3px 3px 8px rgba(0,0,0,0.3);border-radius:3px;text-align:center;z-index:21}div.dt-button-info h2{padding:0.5em;margin:0;font-weight:normal;border-bottom:1px solid #ddd;background-color:#f3f3f3}div.dt-button-info>div{padding:1em}ul.dt-button-collection.dropdown-menu{display:block;z-index:2002;-webkit-column-gap:8px;-moz-column-gap:8px;-ms-column-gap:8px;-o-column-gap:8px;column-gap:8px}ul.dt-button-collection.dropdown-menu.fixed{position:fixed;top:50%;left:50%;margin-left:-75px;border-radius:0}ul.dt-button-collection.dropdown-menu.fixed.two-column{margin-left:-150px}ul.dt-button-collection.dropdown-menu.fixed.three-column{margin-left:-225px}ul.dt-button-collection.dropdown-menu.fixed.four-column{margin-left:-300px}ul.dt-button-collection.dropdown-menu>*{-webkit-column-break-inside:avoid;break-inside:avoid}ul.dt-button-collection.dropdown-menu.two-column{width:300px;padding-bottom:1px;-webkit-column-count:2;-moz-column-count:2;-ms-column-count:2;-o-column-count:2;column-count:2}ul.dt-button-collection.dropdown-menu.three-column{width:450px;padding-bottom:1px;-webkit-column-count:3;-moz-column-count:3;-ms-column-count:3;-o-column-count:3;column-count:3}ul.dt-button-collection.dropdown-menu.four-column{width:600px;padding-bottom:1px;-webkit-column-count:4;-moz-column-count:4;-ms-column-count:4;-o-column-count:4;column-count:4}ul.dt-button-collection.dropdown-menu .dt-button{border-radius:0}ul.dt-button-collection{-webkit-column-gap:8px;-moz-column-gap:8px;-ms-column-gap:8px;-o-column-gap:8px;column-gap:8px}ul.dt-button-collection.fixed{position:fixed;top:50%;left:50%;margin-left:-75px;border-radius:0}ul.dt-button-collection.fixed.two-column{margin-left:-150px}ul.dt-button-collection.fixed.three-column{margin-left:-225px}ul.dt-button-collection.fixed.four-column{margin-left:-300px}ul.dt-button-collection>*{-webkit-column-break-inside:avoid;break-inside:avoid}ul.dt-button-collection.two-column{width:300px;padding-bottom:1px;-webkit-column-count:2;-moz-column-count:2;-ms-column-count:2;-o-column-count:2;column-count:2}ul.dt-button-collection.three-column{width:450px;padding-bottom:1px;-webkit-column-count:3;-moz-column-count:3;-ms-column-count:3;-o-column-count:3;column-count:3}ul.dt-button-collection.four-column{width:600px;padding-bottom:1px;-webkit-column-count:4;-moz-column-count:4;-ms-column-count:4;-o-column-count:4;column-count:4}ul.dt-button-collection .dt-button{border-radius:0}ul.dt-button-collection.fixed{max-width:none}ul.dt-button-collection.fixed:before,ul.dt-button-collection.fixed:after{display:none}div.dt-button-background{position:fixed;top:0;left:0;width:100%;height:100%;z-index:999}@media screen and (max-width: 767px){div.dt-buttons{float:none;width:100%;text-align:center;margin-bottom:0.5em}div.dt-buttons a.btn{float:none}}div.dt-buttons button.btn.processing,div.dt-buttons div.btn.processing,div.dt-buttons a.btn.processing{color:rgba(0,0,0,0.2)}div.dt-buttons button.btn.processing:after,div.dt-buttons div.btn.processing:after,div.dt-buttons a.btn.processing:after{position:absolute;top:50%;left:50%;width:16px;height:16px;margin:-8px 0 0 -8px;box-sizing:border-box;display:block;content:' ';border:2px solid #282828;border-radius:50%;border-left-color:transparent;border-right-color:transparent;animation:dtb-spinner 1500ms infinite linear;-o-animation:dtb-spinner 1500ms infinite linear;-ms-animation:dtb-spinner 1500ms infinite linear;-webkit-animation:dtb-spinner 1500ms infinite linear;-moz-animation:dtb-spinner 1500ms infinite linear} +table.DTCR_clonedTable.dataTable { + position: absolute !important; + background-color: rgba(255, 255, 255, 0.7); + z-index: 202; +} +div.DTCR_pointer { + width: 1px; + background-color: #0275d8; + z-index: 201; +} +table.DTFC_Cloned tr { + background-color: white; + margin-bottom: 0; +} +div.DTFC_LeftHeadWrapper table, +div.DTFC_RightHeadWrapper table { + border-bottom: none !important; + margin-bottom: 0 !important; + background-color: white; +} +div.DTFC_LeftBodyWrapper table, +div.DTFC_RightBodyWrapper table { + border-top: none; + margin: 0 !important; +} +div.DTFC_LeftBodyWrapper table thead .sorting:after, +div.DTFC_LeftBodyWrapper table thead .sorting_asc:after, +div.DTFC_LeftBodyWrapper table thead .sorting_desc:after, +div.DTFC_LeftBodyWrapper table thead .sorting:after, +div.DTFC_LeftBodyWrapper table thead .sorting_asc:after, +div.DTFC_LeftBodyWrapper table thead .sorting_desc:after, +div.DTFC_RightBodyWrapper table thead .sorting:after, +div.DTFC_RightBodyWrapper table thead .sorting_asc:after, +div.DTFC_RightBodyWrapper table thead .sorting_desc:after, +div.DTFC_RightBodyWrapper table thead .sorting:after, +div.DTFC_RightBodyWrapper table thead .sorting_asc:after, +div.DTFC_RightBodyWrapper table thead .sorting_desc:after { + display: none; +} +div.DTFC_LeftBodyWrapper table tbody tr:first-child th, +div.DTFC_LeftBodyWrapper table tbody tr:first-child td, +div.DTFC_RightBodyWrapper table tbody tr:first-child th, +div.DTFC_RightBodyWrapper table tbody tr:first-child td { + border-top: none; +} +div.DTFC_LeftFootWrapper table, +div.DTFC_RightFootWrapper table { + border-top: none; + margin-top: 0 !important; + background-color: white; +} +div.DTFC_Blocker { + background-color: white; +} +table.dataTable.table-striped.DTFC_Cloned tbody { + background-color: white; +} -table.DTCR_clonedTable.dataTable{position:absolute !important;background-color:rgba(255,255,255,0.7);z-index:202}div.DTCR_pointer{width:1px;background-color:#0275d8;z-index:201} - - -table.DTFC_Cloned tr{background-color:white;margin-bottom:0}div.DTFC_LeftHeadWrapper table,div.DTFC_RightHeadWrapper table{border-bottom:none !important;margin-bottom:0 !important;background-color:white}div.DTFC_LeftBodyWrapper table,div.DTFC_RightBodyWrapper table{border-top:none;margin:0 !important}div.DTFC_LeftBodyWrapper table thead .sorting:after,div.DTFC_LeftBodyWrapper table thead .sorting_asc:after,div.DTFC_LeftBodyWrapper table thead .sorting_desc:after,div.DTFC_LeftBodyWrapper table thead .sorting:after,div.DTFC_LeftBodyWrapper table thead .sorting_asc:after,div.DTFC_LeftBodyWrapper table thead .sorting_desc:after,div.DTFC_RightBodyWrapper table thead .sorting:after,div.DTFC_RightBodyWrapper table thead .sorting_asc:after,div.DTFC_RightBodyWrapper table thead .sorting_desc:after,div.DTFC_RightBodyWrapper table thead .sorting:after,div.DTFC_RightBodyWrapper table thead .sorting_asc:after,div.DTFC_RightBodyWrapper table thead .sorting_desc:after{display:none}div.DTFC_LeftBodyWrapper table tbody tr:first-child th,div.DTFC_LeftBodyWrapper table tbody tr:first-child td,div.DTFC_RightBodyWrapper table tbody tr:first-child th,div.DTFC_RightBodyWrapper table tbody tr:first-child td{border-top:none}div.DTFC_LeftFootWrapper table,div.DTFC_RightFootWrapper table{border-top:none;margin-top:0 !important;background-color:white}div.DTFC_Blocker{background-color:white}table.dataTable.table-striped.DTFC_Cloned tbody{background-color:white} - - -table.dataTable.fixedHeader-floating,table.dataTable.fixedHeader-locked{background-color:white;margin-top:0 !important;margin-bottom:0 !important}table.dataTable.fixedHeader-floating{position:fixed !important}table.dataTable.fixedHeader-locked{position:absolute !important}@media print{table.fixedHeader-floating{display:none}} - - -table.dataTable.dtr-inline.collapsed>tbody>tr>td.child,table.dataTable.dtr-inline.collapsed>tbody>tr>th.child,table.dataTable.dtr-inline.collapsed>tbody>tr>td.dataTables_empty{cursor:default !important}table.dataTable.dtr-inline.collapsed>tbody>tr>td.child:before,table.dataTable.dtr-inline.collapsed>tbody>tr>th.child:before,table.dataTable.dtr-inline.collapsed>tbody>tr>td.dataTables_empty:before{display:none !important}table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child,table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th:first-child{position:relative;padding-left:30px;cursor:pointer}table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child:before,table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th:first-child:before{top:12px;left:4px;height:14px;width:14px;display:block;position:absolute;color:white;border:2px solid white;border-radius:14px;box-shadow:0 0 3px #444;box-sizing:content-box;text-align:center;text-indent:0 !important;font-family:'Courier New', Courier, monospace;line-height:14px;content:'+';background-color:#0275d8}table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td:first-child:before,table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th:first-child:before{content:'-';background-color:#d33333}table.dataTable.dtr-inline.collapsed.compact>tbody>tr>td:first-child,table.dataTable.dtr-inline.collapsed.compact>tbody>tr>th:first-child{padding-left:27px}table.dataTable.dtr-inline.collapsed.compact>tbody>tr>td:first-child:before,table.dataTable.dtr-inline.collapsed.compact>tbody>tr>th:first-child:before{top:5px;left:4px;height:14px;width:14px;border-radius:14px;line-height:14px;text-indent:3px}table.dataTable.dtr-column>tbody>tr>td.control,table.dataTable.dtr-column>tbody>tr>th.control{position:relative;cursor:pointer}table.dataTable.dtr-column>tbody>tr>td.control:before,table.dataTable.dtr-column>tbody>tr>th.control:before{top:50%;left:50%;height:16px;width:16px;margin-top:-10px;margin-left:-10px;display:block;position:absolute;color:white;border:2px solid white;border-radius:14px;box-shadow:0 0 3px #444;box-sizing:content-box;text-align:center;text-indent:0 !important;font-family:'Courier New', Courier, monospace;line-height:14px;content:'+';background-color:#0275d8}table.dataTable.dtr-column>tbody>tr.parent td.control:before,table.dataTable.dtr-column>tbody>tr.parent th.control:before{content:'-';background-color:#d33333}table.dataTable>tbody>tr.child{padding:0.5em 1em}table.dataTable>tbody>tr.child:hover{background:transparent !important}table.dataTable>tbody>tr.child ul.dtr-details{display:inline-block;list-style-type:none;margin:0;padding:0}table.dataTable>tbody>tr.child ul.dtr-details>li{border-bottom:1px solid #efefef;padding:0.5em 0}table.dataTable>tbody>tr.child ul.dtr-details>li:first-child{padding-top:0}table.dataTable>tbody>tr.child ul.dtr-details>li:last-child{border-bottom:none}table.dataTable>tbody>tr.child span.dtr-title{display:inline-block;min-width:75px;font-weight:bold}div.dtr-modal{position:fixed;box-sizing:border-box;top:0;left:0;height:100%;width:100%;z-index:100;padding:10em 1em}div.dtr-modal div.dtr-modal-display{position:absolute;top:0;left:0;bottom:0;right:0;width:50%;height:50%;overflow:auto;margin:auto;z-index:102;overflow:auto;background-color:#f5f5f7;border:1px solid black;border-radius:0.5em;box-shadow:0 12px 30px rgba(0,0,0,0.6)}div.dtr-modal div.dtr-modal-content{position:relative;padding:1em}div.dtr-modal div.dtr-modal-close{position:absolute;top:6px;right:6px;width:22px;height:22px;border:1px solid #eaeaea;background-color:#f9f9f9;text-align:center;border-radius:3px;cursor:pointer;z-index:12}div.dtr-modal div.dtr-modal-close:hover{background-color:#eaeaea}div.dtr-modal div.dtr-modal-background{position:fixed;top:0;left:0;right:0;bottom:0;z-index:101;background:rgba(0,0,0,0.6)}@media screen and (max-width: 767px){div.dtr-modal div.dtr-modal-display{width:95%}}div.dtr-bs-modal table.table tr:first-child td{border-top:none} - - -table.dataTable tbody>tr.selected,table.dataTable tbody>tr>.selected{background-color:#0275d8}table.dataTable.stripe tbody>tr.odd.selected,table.dataTable.stripe tbody>tr.odd>.selected,table.dataTable.display tbody>tr.odd.selected,table.dataTable.display tbody>tr.odd>.selected{background-color:#0272d3}table.dataTable.hover tbody>tr.selected:hover,table.dataTable.hover tbody>tr>.selected:hover,table.dataTable.display tbody>tr.selected:hover,table.dataTable.display tbody>tr>.selected:hover{background-color:#0271d0}table.dataTable.order-column tbody>tr.selected>.sorting_1,table.dataTable.order-column tbody>tr.selected>.sorting_2,table.dataTable.order-column tbody>tr.selected>.sorting_3,table.dataTable.order-column tbody>tr>.selected,table.dataTable.display tbody>tr.selected>.sorting_1,table.dataTable.display tbody>tr.selected>.sorting_2,table.dataTable.display tbody>tr.selected>.sorting_3,table.dataTable.display tbody>tr>.selected{background-color:#0273d4}table.dataTable.display tbody>tr.odd.selected>.sorting_1,table.dataTable.order-column.stripe tbody>tr.odd.selected>.sorting_1{background-color:#026fcc}table.dataTable.display tbody>tr.odd.selected>.sorting_2,table.dataTable.order-column.stripe tbody>tr.odd.selected>.sorting_2{background-color:#0270ce}table.dataTable.display tbody>tr.odd.selected>.sorting_3,table.dataTable.order-column.stripe tbody>tr.odd.selected>.sorting_3{background-color:#0270d0}table.dataTable.display tbody>tr.even.selected>.sorting_1,table.dataTable.order-column.stripe tbody>tr.even.selected>.sorting_1{background-color:#0273d4}table.dataTable.display tbody>tr.even.selected>.sorting_2,table.dataTable.order-column.stripe tbody>tr.even.selected>.sorting_2{background-color:#0274d5}table.dataTable.display tbody>tr.even.selected>.sorting_3,table.dataTable.order-column.stripe tbody>tr.even.selected>.sorting_3{background-color:#0275d7}table.dataTable.display tbody>tr.odd>.selected,table.dataTable.order-column.stripe tbody>tr.odd>.selected{background-color:#026fcc}table.dataTable.display tbody>tr.even>.selected,table.dataTable.order-column.stripe tbody>tr.even>.selected{background-color:#0273d4}table.dataTable.display tbody>tr.selected:hover>.sorting_1,table.dataTable.order-column.hover tbody>tr.selected:hover>.sorting_1{background-color:#026bc6}table.dataTable.display tbody>tr.selected:hover>.sorting_2,table.dataTable.order-column.hover tbody>tr.selected:hover>.sorting_2{background-color:#026cc8}table.dataTable.display tbody>tr.selected:hover>.sorting_3,table.dataTable.order-column.hover tbody>tr.selected:hover>.sorting_3{background-color:#026eca}table.dataTable.display tbody>tr:hover>.selected,table.dataTable.display tbody>tr>.selected:hover,table.dataTable.order-column.hover tbody>tr:hover>.selected,table.dataTable.order-column.hover tbody>tr>.selected:hover{background-color:#026bc6}table.dataTable tbody td.select-checkbox,table.dataTable tbody th.select-checkbox{position:relative}table.dataTable tbody td.select-checkbox:before,table.dataTable tbody td.select-checkbox:after,table.dataTable tbody th.select-checkbox:before,table.dataTable tbody th.select-checkbox:after{display:block;position:absolute;top:1.2em;left:50%;width:12px;height:12px;box-sizing:border-box}table.dataTable tbody td.select-checkbox:before,table.dataTable tbody th.select-checkbox:before{content:' ';margin-top:-6px;margin-left:-6px;border:1px solid black;border-radius:3px}table.dataTable tr.selected td.select-checkbox:after,table.dataTable tr.selected th.select-checkbox:after{content:'\2714';margin-top:-11px;margin-left:-4px;text-align:center;text-shadow:1px 1px #B0BED9, -1px -1px #B0BED9, 1px -1px #B0BED9, -1px 1px #B0BED9}div.dataTables_wrapper span.select-info,div.dataTables_wrapper span.select-item{margin-left:0.5em}@media screen and (max-width: 640px){div.dataTables_wrapper span.select-info,div.dataTables_wrapper span.select-item{margin-left:0;display:block}}table.dataTable tbody tr.selected,table.dataTable tbody th.selected,table.dataTable tbody td.selected{color:white}table.dataTable tbody tr.selected a,table.dataTable tbody th.selected a,table.dataTable tbody td.selected a{color:#a2d4ed} +table.dataTable.fixedHeader-floating, +table.dataTable.fixedHeader-locked { + background-color: white; + margin-top: 0 !important; + margin-bottom: 0 !important; +} +table.dataTable.fixedHeader-floating { + position: fixed !important; +} +table.dataTable.fixedHeader-locked { + position: absolute !important; +} +@media print { + table.fixedHeader-floating { + display: none; + } +} +table.dataTable.dtr-inline.collapsed > tbody > tr > td.child, +table.dataTable.dtr-inline.collapsed > tbody > tr > th.child, +table.dataTable.dtr-inline.collapsed > tbody > tr > td.dataTables_empty { + cursor: default !important; +} +table.dataTable.dtr-inline.collapsed > tbody > tr > td.child:before, +table.dataTable.dtr-inline.collapsed > tbody > tr > th.child:before, +table.dataTable.dtr-inline.collapsed > tbody > tr > td.dataTables_empty:before { + display: none !important; +} +table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child, +table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child { + position: relative; + padding-left: 30px; + cursor: pointer; +} +table.dataTable.dtr-inline.collapsed + > tbody + > tr[role="row"] + > td:first-child:before, +table.dataTable.dtr-inline.collapsed + > tbody + > tr[role="row"] + > th:first-child:before { + top: 12px; + left: 4px; + height: 14px; + width: 14px; + display: block; + position: absolute; + color: white; + border: 2px solid white; + border-radius: 14px; + box-shadow: 0 0 3px #444; + box-sizing: content-box; + text-align: center; + text-indent: 0 !important; + font-family: "Courier New", Courier, monospace; + line-height: 14px; + content: "+"; + background-color: #0275d8; +} +table.dataTable.dtr-inline.collapsed + > tbody + > tr.parent + > td:first-child:before, +table.dataTable.dtr-inline.collapsed + > tbody + > tr.parent + > th:first-child:before { + content: "-"; + background-color: #d33333; +} +table.dataTable.dtr-inline.collapsed.compact > tbody > tr > td:first-child, +table.dataTable.dtr-inline.collapsed.compact > tbody > tr > th:first-child { + padding-left: 27px; +} +table.dataTable.dtr-inline.collapsed.compact + > tbody + > tr + > td:first-child:before, +table.dataTable.dtr-inline.collapsed.compact + > tbody + > tr + > th:first-child:before { + top: 5px; + left: 4px; + height: 14px; + width: 14px; + border-radius: 14px; + line-height: 14px; + text-indent: 3px; +} +table.dataTable.dtr-column > tbody > tr > td.control, +table.dataTable.dtr-column > tbody > tr > th.control { + position: relative; + cursor: pointer; +} +table.dataTable.dtr-column > tbody > tr > td.control:before, +table.dataTable.dtr-column > tbody > tr > th.control:before { + top: 50%; + left: 50%; + height: 16px; + width: 16px; + margin-top: -10px; + margin-left: -10px; + display: block; + position: absolute; + color: white; + border: 2px solid white; + border-radius: 14px; + box-shadow: 0 0 3px #444; + box-sizing: content-box; + text-align: center; + text-indent: 0 !important; + font-family: "Courier New", Courier, monospace; + line-height: 14px; + content: "+"; + background-color: #0275d8; +} +table.dataTable.dtr-column > tbody > tr.parent td.control:before, +table.dataTable.dtr-column > tbody > tr.parent th.control:before { + content: "-"; + background-color: #d33333; +} +table.dataTable > tbody > tr.child { + padding: 0.5em 1em; +} +table.dataTable > tbody > tr.child:hover { + background: transparent !important; +} +table.dataTable > tbody > tr.child ul.dtr-details { + display: inline-block; + list-style-type: none; + margin: 0; + padding: 0; +} +table.dataTable > tbody > tr.child ul.dtr-details > li { + border-bottom: 1px solid #efefef; + padding: 0.5em 0; +} +table.dataTable > tbody > tr.child ul.dtr-details > li:first-child { + padding-top: 0; +} +table.dataTable > tbody > tr.child ul.dtr-details > li:last-child { + border-bottom: none; +} +table.dataTable > tbody > tr.child span.dtr-title { + display: inline-block; + min-width: 75px; + font-weight: bold; +} +div.dtr-modal { + position: fixed; + box-sizing: border-box; + top: 0; + left: 0; + height: 100%; + width: 100%; + z-index: 100; + padding: 10em 1em; +} +div.dtr-modal div.dtr-modal-display { + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + width: 50%; + height: 50%; + overflow: auto; + margin: auto; + z-index: 102; + overflow: auto; + background-color: #f5f5f7; + border: 1px solid black; + border-radius: 0.5em; + box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6); +} +div.dtr-modal div.dtr-modal-content { + position: relative; + padding: 1em; +} +div.dtr-modal div.dtr-modal-close { + position: absolute; + top: 6px; + right: 6px; + width: 22px; + height: 22px; + border: 1px solid #eaeaea; + background-color: #f9f9f9; + text-align: center; + border-radius: 3px; + cursor: pointer; + z-index: 12; +} +div.dtr-modal div.dtr-modal-close:hover { + background-color: #eaeaea; +} +div.dtr-modal div.dtr-modal-background { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + z-index: 101; + background: rgba(0, 0, 0, 0.6); +} +@media screen and (max-width: 767px) { + div.dtr-modal div.dtr-modal-display { + width: 95%; + } +} +div.dtr-bs-modal table.table tr:first-child td { + border-top: none; +} +table.dataTable tbody > tr.selected, +table.dataTable tbody > tr > .selected { + background-color: #0275d8; +} +table.dataTable.stripe tbody > tr.odd.selected, +table.dataTable.stripe tbody > tr.odd > .selected, +table.dataTable.display tbody > tr.odd.selected, +table.dataTable.display tbody > tr.odd > .selected { + background-color: #0272d3; +} +table.dataTable.hover tbody > tr.selected:hover, +table.dataTable.hover tbody > tr > .selected:hover, +table.dataTable.display tbody > tr.selected:hover, +table.dataTable.display tbody > tr > .selected:hover { + background-color: #0271d0; +} +table.dataTable.order-column tbody > tr.selected > .sorting_1, +table.dataTable.order-column tbody > tr.selected > .sorting_2, +table.dataTable.order-column tbody > tr.selected > .sorting_3, +table.dataTable.order-column tbody > tr > .selected, +table.dataTable.display tbody > tr.selected > .sorting_1, +table.dataTable.display tbody > tr.selected > .sorting_2, +table.dataTable.display tbody > tr.selected > .sorting_3, +table.dataTable.display tbody > tr > .selected { + background-color: #0273d4; +} +table.dataTable.display tbody > tr.odd.selected > .sorting_1, +table.dataTable.order-column.stripe tbody > tr.odd.selected > .sorting_1 { + background-color: #026fcc; +} +table.dataTable.display tbody > tr.odd.selected > .sorting_2, +table.dataTable.order-column.stripe tbody > tr.odd.selected > .sorting_2 { + background-color: #0270ce; +} +table.dataTable.display tbody > tr.odd.selected > .sorting_3, +table.dataTable.order-column.stripe tbody > tr.odd.selected > .sorting_3 { + background-color: #0270d0; +} +table.dataTable.display tbody > tr.even.selected > .sorting_1, +table.dataTable.order-column.stripe tbody > tr.even.selected > .sorting_1 { + background-color: #0273d4; +} +table.dataTable.display tbody > tr.even.selected > .sorting_2, +table.dataTable.order-column.stripe tbody > tr.even.selected > .sorting_2 { + background-color: #0274d5; +} +table.dataTable.display tbody > tr.even.selected > .sorting_3, +table.dataTable.order-column.stripe tbody > tr.even.selected > .sorting_3 { + background-color: #0275d7; +} +table.dataTable.display tbody > tr.odd > .selected, +table.dataTable.order-column.stripe tbody > tr.odd > .selected { + background-color: #026fcc; +} +table.dataTable.display tbody > tr.even > .selected, +table.dataTable.order-column.stripe tbody > tr.even > .selected { + background-color: #0273d4; +} +table.dataTable.display tbody > tr.selected:hover > .sorting_1, +table.dataTable.order-column.hover tbody > tr.selected:hover > .sorting_1 { + background-color: #026bc6; +} +table.dataTable.display tbody > tr.selected:hover > .sorting_2, +table.dataTable.order-column.hover tbody > tr.selected:hover > .sorting_2 { + background-color: #026cc8; +} +table.dataTable.display tbody > tr.selected:hover > .sorting_3, +table.dataTable.order-column.hover tbody > tr.selected:hover > .sorting_3 { + background-color: #026eca; +} +table.dataTable.display tbody > tr:hover > .selected, +table.dataTable.display tbody > tr > .selected:hover, +table.dataTable.order-column.hover tbody > tr:hover > .selected, +table.dataTable.order-column.hover tbody > tr > .selected:hover { + background-color: #026bc6; +} +table.dataTable tbody td.select-checkbox, +table.dataTable tbody th.select-checkbox { + position: relative; +} +table.dataTable tbody td.select-checkbox:before, +table.dataTable tbody td.select-checkbox:after, +table.dataTable tbody th.select-checkbox:before, +table.dataTable tbody th.select-checkbox:after { + display: block; + position: absolute; + top: 1.2em; + left: 50%; + width: 12px; + height: 12px; + box-sizing: border-box; +} +table.dataTable tbody td.select-checkbox:before, +table.dataTable tbody th.select-checkbox:before { + content: " "; + margin-top: -6px; + margin-left: -6px; + border: 1px solid black; + border-radius: 3px; +} +table.dataTable tr.selected td.select-checkbox:after, +table.dataTable tr.selected th.select-checkbox:after { + content: "\2714"; + margin-top: -11px; + margin-left: -4px; + text-align: center; + text-shadow: 1px 1px #b0bed9, -1px -1px #b0bed9, 1px -1px #b0bed9, + -1px 1px #b0bed9; +} +div.dataTables_wrapper span.select-info, +div.dataTables_wrapper span.select-item { + margin-left: 0.5em; +} +@media screen and (max-width: 640px) { + div.dataTables_wrapper span.select-info, + div.dataTables_wrapper span.select-item { + margin-left: 0; + display: block; + } +} +table.dataTable tbody tr.selected, +table.dataTable tbody th.selected, +table.dataTable tbody td.selected { + color: white; +} +table.dataTable tbody tr.selected a, +table.dataTable tbody th.selected a, +table.dataTable tbody td.selected a { + color: #a2d4ed; +} diff --git a/resources/views/Admin/index.blade.php b/resources/views/Admin/index.blade.php index 67587634..cee2718d 100644 --- a/resources/views/Admin/index.blade.php +++ b/resources/views/Admin/index.blade.php @@ -135,7 +135,7 @@