├── .editorconfig
├── .env.example
├── .gitattributes
├── .gitignore
├── README.md
├── airport.sql
├── app
├── Admin.php
├── Airline.php
├── Airport.php
├── Console
│ └── Kernel.php
├── Customer.php
├── Exceptions
│ └── Handler.php
├── Gender.php
├── Http
│ ├── Controllers
│ │ ├── API
│ │ │ ├── AirportController.php
│ │ │ ├── CustomerController.php
│ │ │ ├── ReservationController.php
│ │ │ ├── RouteController.php
│ │ │ └── UserController.php
│ │ ├── AdminController.php
│ │ ├── AirlineController.php
│ │ ├── AirportController.php
│ │ ├── Auth
│ │ │ ├── ForgotPasswordController.php
│ │ │ ├── LoginController.php
│ │ │ ├── RegisterController.php
│ │ │ ├── ResetPasswordController.php
│ │ │ └── VerificationController.php
│ │ ├── Controller.php
│ │ ├── CustomerController.php
│ │ ├── HomeController.php
│ │ ├── PlaneController.php
│ │ ├── ReservationController.php
│ │ ├── RouteController.php
│ │ ├── StaffController.php
│ │ └── UserController.php
│ ├── Kernel.php
│ └── Middleware
│ │ ├── Authenticate.php
│ │ ├── CheckForMaintenanceMode.php
│ │ ├── EncryptCookies.php
│ │ ├── RedirectIfAuthenticated.php
│ │ ├── TrimStrings.php
│ │ ├── TrustProxies.php
│ │ └── VerifyCsrfToken.php
├── Level.php
├── Plane.php
├── Providers
│ ├── Admin.php
│ ├── AppServiceProvider.php
│ ├── AuthServiceProvider.php
│ ├── BroadcastServiceProvider.php
│ ├── EventServiceProvider.php
│ └── RouteServiceProvider.php
├── Reservation.php
├── Route.php
├── Status.php
└── User.php
├── artisan
├── bootstrap
├── app.php
└── cache
│ └── .gitignore
├── composer.json
├── composer.lock
├── config
├── adminlte.php
├── app.php
├── auth.php
├── broadcasting.php
├── cache.php
├── database.php
├── filesystems.php
├── hashing.php
├── logging.php
├── mail.php
├── queue.php
├── services.php
├── session.php
└── view.php
├── database
├── .gitignore
├── factories
│ └── UserFactory.php
├── migrations
│ ├── 2014_10_12_000000_create_users_table.php
│ └── 2014_10_12_100000_create_password_resets_table.php
└── seeds
│ └── DatabaseSeeder.php
├── package.json
├── phpunit.xml
├── public
├── .htaccess
├── css
│ ├── app.css
│ ├── bootstrap-datepicker.min.css
│ └── style.css
├── favicon.ico
├── index.php
├── js
│ ├── app.js
│ ├── bootstrap-datepicker.min.js
│ ├── moment.min.js
│ └── transition.min.js
├── robots.txt
├── upload
│ ├── 1555489784.png
│ ├── 1555490237.png
│ ├── 1555490260.png
│ ├── 1555490389.jpg
│ ├── 1555490592.png
│ ├── 1555490701.png
│ ├── 1555507207.png
│ ├── 1555507494.png
│ ├── 1555508571.jpg
│ ├── 1555508639.jpg
│ ├── 1555515517.jpg
│ ├── 1555515930.jpg
│ ├── 1555519571.jpg
│ ├── 1555549643.jpg
│ ├── 1555549709.jpg
│ ├── 1555550559.jpg
│ ├── 1555552072.jpg
│ ├── 1555555574.jpg
│ ├── 1555555799.jpg
│ ├── 1555556048.jpg
│ ├── 1555556060.jpg
│ ├── 1555556092.jpg
│ ├── 1555556114.jpg
│ ├── 1555556277.jpg
│ ├── 1555556484.jpg
│ ├── 1555556539.jpg
│ ├── 1555556545.jpg
│ ├── 1555556585.jpg
│ ├── 1555556663.jpg
│ ├── 1555556674.jpg
│ ├── 1555556730.jpg
│ ├── 1555556740.jpg
│ ├── 1555556744.jpg
│ ├── 1555556767.jpg
│ ├── 1555557528.jpg
│ ├── 1555557726.jpg
│ ├── 1555557828.jpg
│ ├── 1555557869.jpg
│ ├── 1555557895.jpg
│ ├── 1555664143.jpg
│ ├── 1555665140.jpg
│ └── garuda.png
└── vendor
│ └── adminlte
│ ├── css
│ └── auth.css
│ ├── dist
│ ├── css
│ │ ├── AdminLTE.css
│ │ ├── AdminLTE.min.css
│ │ └── skins
│ │ │ ├── skin-black-light.css
│ │ │ ├── skin-black-light.min.css
│ │ │ ├── skin-black.css
│ │ │ ├── skin-black.min.css
│ │ │ ├── skin-blue-light.css
│ │ │ ├── skin-blue-light.min.css
│ │ │ ├── skin-blue.css
│ │ │ ├── skin-blue.min.css
│ │ │ ├── skin-green-light.css
│ │ │ ├── skin-green-light.min.css
│ │ │ ├── skin-green.css
│ │ │ ├── skin-green.min.css
│ │ │ ├── skin-purple-light.css
│ │ │ ├── skin-purple-light.min.css
│ │ │ ├── skin-purple.css
│ │ │ ├── skin-purple.min.css
│ │ │ ├── skin-red-light.css
│ │ │ ├── skin-red-light.min.css
│ │ │ ├── skin-red.css
│ │ │ ├── skin-red.min.css
│ │ │ ├── skin-yellow-light.css
│ │ │ ├── skin-yellow-light.min.css
│ │ │ ├── skin-yellow.css
│ │ │ └── skin-yellow.min.css
│ └── js
│ │ ├── adminlte.js
│ │ └── adminlte.min.js
│ ├── plugins
│ └── iCheck
│ │ ├── icheck.js
│ │ ├── icheck.min.js
│ │ └── square
│ │ ├── blue.css
│ │ ├── blue.png
│ │ └── blue@2x.png
│ └── vendor
│ ├── Ionicons
│ ├── css
│ │ ├── ionicons.css
│ │ └── ionicons.min.css
│ └── fonts
│ │ ├── ionicons.eot
│ │ ├── ionicons.svg
│ │ ├── ionicons.ttf
│ │ └── ionicons.woff
│ ├── bootstrap
│ └── dist
│ │ ├── css
│ │ ├── bootstrap.css
│ │ ├── bootstrap.css.map
│ │ ├── bootstrap.min.css
│ │ └── bootstrap.min.css.map
│ │ ├── fonts
│ │ ├── glyphicons-halflings-regular.eot
│ │ ├── glyphicons-halflings-regular.svg
│ │ ├── glyphicons-halflings-regular.ttf
│ │ ├── glyphicons-halflings-regular.woff
│ │ └── glyphicons-halflings-regular.woff2
│ │ └── js
│ │ ├── bootstrap.js
│ │ └── bootstrap.min.js
│ ├── font-awesome
│ ├── css
│ │ ├── font-awesome.css
│ │ ├── font-awesome.css.map
│ │ └── font-awesome.min.css
│ └── fonts
│ │ ├── FontAwesome.otf
│ │ ├── fontawesome-webfont.eot
│ │ ├── fontawesome-webfont.svg
│ │ ├── fontawesome-webfont.ttf
│ │ ├── fontawesome-webfont.woff
│ │ └── fontawesome-webfont.woff2
│ └── jquery
│ └── dist
│ ├── jquery.js
│ ├── jquery.min.js
│ ├── jquery.min.map
│ └── jquery.slimscroll.min.js
├── resources
├── js
│ ├── app.js
│ ├── bootstrap.js
│ └── components
│ │ └── ExampleComponent.vue
├── lang
│ └── en
│ │ ├── auth.php
│ │ ├── pagination.php
│ │ ├── passwords.php
│ │ └── validation.php
├── sass
│ ├── _variables.scss
│ └── app.scss
└── views
│ ├── airline.blade.php
│ ├── airline_detail.blade.php
│ ├── airport.blade.php
│ ├── airport_edit.blade.php
│ ├── auth
│ ├── login.blade.php
│ ├── passwords
│ │ ├── email.blade.php
│ │ └── reset.blade.php
│ ├── register.blade.php
│ └── verify.blade.php
│ ├── customer.blade.php
│ ├── customer_detail.blade.php
│ ├── home.blade.php
│ ├── layouts
│ └── app.blade.php
│ ├── plane.blade.php
│ ├── plane_detail.blade.php
│ ├── reservation.blade.php
│ ├── reservation_detail.blade.php
│ ├── reservation_pending.blade.php
│ ├── route.blade.php
│ ├── route_detail.blade.php
│ ├── staff.blade.php
│ ├── staff_detail.blade.php
│ ├── vendor
│ └── adminlte
│ │ ├── login.blade.php
│ │ ├── master.blade.php
│ │ ├── page.blade.php
│ │ ├── partials
│ │ ├── menu-item-top-nav.blade.php
│ │ └── menu-item.blade.php
│ │ ├── passwords
│ │ ├── email.blade.php
│ │ └── reset.blade.php
│ │ └── register.blade.php
│ └── welcome.blade.php
├── routes
├── api.php
├── channels.php
├── console.php
└── web.php
├── server.php
├── storage
├── app
│ ├── .gitignore
│ └── public
│ │ └── .gitignore
├── framework
│ ├── .gitignore
│ ├── cache
│ │ ├── .gitignore
│ │ └── data
│ │ │ └── .gitignore
│ ├── sessions
│ │ └── .gitignore
│ ├── testing
│ │ └── .gitignore
│ └── views
│ │ └── .gitignore
└── logs
│ └── .gitignore
├── tests
├── CreatesApplication.php
├── Feature
│ └── ExampleTest.php
├── TestCase.php
└── Unit
│ └── ExampleTest.php
├── webpack.mix.js
└── yarn.lock
/.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]
15 | indent_size = 2
16 |
--------------------------------------------------------------------------------
/.env.example:
--------------------------------------------------------------------------------
1 | APP_NAME=Laravel
2 | APP_ENV=local
3 | APP_KEY=
4 | APP_DEBUG=true
5 | APP_URL=http://localhost
6 |
7 | LOG_CHANNEL=stack
8 |
9 | DB_CONNECTION=mysql
10 | DB_HOST=127.0.0.1
11 | DB_PORT=3306
12 | DB_DATABASE=homestead
13 | DB_USERNAME=homestead
14 | DB_PASSWORD=secret
15 |
16 | BROADCAST_DRIVER=log
17 | CACHE_DRIVER=file
18 | QUEUE_CONNECTION=sync
19 | SESSION_DRIVER=file
20 | SESSION_LIFETIME=120
21 |
22 | REDIS_HOST=127.0.0.1
23 | REDIS_PASSWORD=null
24 | REDIS_PORT=6379
25 |
26 | MAIL_DRIVER=smtp
27 | MAIL_HOST=smtp.mailtrap.io
28 | MAIL_PORT=2525
29 | MAIL_USERNAME=null
30 | MAIL_PASSWORD=null
31 | MAIL_ENCRYPTION=null
32 |
33 | AWS_ACCESS_KEY_ID=
34 | AWS_SECRET_ACCESS_KEY=
35 | AWS_DEFAULT_REGION=us-east-1
36 | AWS_BUCKET=
37 |
38 | PUSHER_APP_ID=
39 | PUSHER_APP_KEY=
40 | PUSHER_APP_SECRET=
41 | PUSHER_APP_CLUSTER=mt1
42 |
43 | MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
44 | MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
45 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | * text=auto
2 | *.css linguist-vendored
3 | *.scss linguist-vendored
4 | *.js linguist-vendored
5 | CHANGELOG.md export-ignore
6 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | /node_modules
2 | /public/hot
3 | /public/storage
4 | /storage/*.key
5 | /vendor
6 | .env
7 | .phpunit.result.cache
8 | Homestead.json
9 | Homestead.yaml
10 | npm-debug.log
11 | yarn-error.log
12 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # flicker-flight-api
2 | An API For Flicker Flight
3 |
4 | How to install :
5 | 1. Put this folder project to your public www folder (e.g xampp/htdocs)
6 | 2. Rename .env.example to .env
7 | 3. Open .env and edit it to match your database configuration
8 | 4. Open cmd/terminal
9 | 5. Go to you folder (e.g xampp/htdocs/flicker-api)
10 | 6. Get passport by typing this command :
11 | composer require laravel/passport
12 | 5. Install passport by typing this command :
13 | php artisan passport:install
14 | 6. Generate app key by typing this command :
15 | php artisan key:generate
16 | 7. Run this by using this command :
17 | php artisan serve --host your.ip.address --port your port (e.g php aritsan serve --host 192.168.1.4 --port 80)
18 | or
19 | php artisan serve (to run in your 127.0.0.1:8000)
20 | 9. Open in the browser by typing your ipaddress
21 | 10. Finish
22 |
23 | ## Login Cridentials
24 | Username : djakajaya89@gmail.com
25 | Password : 2001
26 |
27 | WARNING : This Source code is not production ready beacuse I haven't implement any securities
28 |
--------------------------------------------------------------------------------
/app/Admin.php:
--------------------------------------------------------------------------------
1 | belongsTo('App\Level');
29 | }
30 | }
--------------------------------------------------------------------------------
/app/Airline.php:
--------------------------------------------------------------------------------
1 | command('inspire')
28 | // ->hourly();
29 | }
30 |
31 | /**
32 | * Register the commands for the application.
33 | *
34 | * @return void
35 | */
36 | protected function commands()
37 | {
38 | $this->load(__DIR__.'/Commands');
39 |
40 | require base_path('routes/console.php');
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/app/Customer.php:
--------------------------------------------------------------------------------
1 | belongsTo('App\Gender');
30 | }
31 |
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/app/Exceptions/Handler.php:
--------------------------------------------------------------------------------
1 | json($result, $this-> successStatus);
14 | }
15 |
16 | function search(Request $request){
17 | $result = Airport::where('name', 'like', "%$request->q%")
18 | ->orWhere('code', 'like', "%$request->q%")
19 | ->orWhere('city', 'like', "%$request->q%")
20 | ->orWhere('address', 'like', "%$request->q%")
21 | ->get();
22 |
23 | return response()->json($result, $this-> successStatus);
24 | }
25 | }
--------------------------------------------------------------------------------
/app/Http/Controllers/API/CustomerController.php:
--------------------------------------------------------------------------------
1 | request('email'), 'password' => request('password')])){
14 | $user = Auth::user();
15 | $success['token'] = $user->createToken('MyApp')-> accessToken;
16 | return response()->json(['success' => $success], $this-> successStatus);
17 | }
18 | else{
19 | return response()->json(['error'=>'Unauthorised'], 401);
20 | }
21 | }
22 |
23 | public function register(Request $request) {
24 | $validator = Validator::make($request->all(), [
25 | 'name' => 'required',
26 | 'email' => 'required|email',
27 | 'password' => 'required',
28 | ]);
29 | if ($validator->fails()) {
30 | return response()->json(['error'=>$validator->errors()], 401);
31 | }
32 |
33 | $input = $request->all();
34 | $input['password'] = bcrypt($input['password']);
35 | $user = User::create($input);
36 | $success['token'] = $user->createToken('MyApp')-> accessToken;
37 | $success['name'] = $user->name;
38 |
39 | return response()->json(['success'=>$success], $this-> successStatus);
40 | }
41 |
42 | public function details() {
43 | $user = Auth::user();
44 | return response()->json(['success' => $user], $this-> successStatus);
45 | }
46 |
47 | public function update(Request $q){
48 | $customer = Customer::find($q->id);
49 | $customer->name = $q->name;
50 | $customer->address = $q->address;
51 | $customer->birthdate = $q->birthdate;
52 | $customer->gender_id = $q->gender_id;
53 | $customer->phone = $q->phone;
54 |
55 | $customer->save();
56 |
57 | return response()->json($customer, $this-> successStatus);
58 | }
59 | }
--------------------------------------------------------------------------------
/app/Http/Controllers/API/RouteController.php:
--------------------------------------------------------------------------------
1 | json($result, $this-> successStatus);
14 | }
15 |
16 | function routeFromTo(Request $q){
17 | return Route::where('airport_from_id', $q->from)
18 | ->where('airport_to_id', $q->to)
19 | ->where('depart_at', 'LIKE', "%$q->depart%")
20 | ->with('plane', 'plane.airline', 'airportTo', 'airportFrom')
21 | ->get();
22 | }
23 |
24 | function search(Request $request){
25 | $result = Airport::where('name', 'like', "%$request->q%")
26 | ->orWhere('code', 'like', "%$request->q%")
27 | ->orWhere('city', 'like', "%$request->q%")
28 | ->orWhere('address', 'like', "%$request->q%")
29 | ->with('plane', 'plane.airline', 'airportTo', 'airportFrom')
30 | ->get();
31 |
32 | return response()->json($result, $this-> successStatus);
33 | }
34 | }
--------------------------------------------------------------------------------
/app/Http/Controllers/API/UserController.php:
--------------------------------------------------------------------------------
1 | request('email'), 'password' => request('password')])){
13 | $user = Auth::user();
14 | $success['token'] = $user->createToken('MyApp')-> accessToken;
15 | $user = User::where('email', request('email'))->with('gender')->first();
16 | $user->token = $success['token'];
17 | return response()->json($user, $this->successStatus);
18 | }
19 | else{
20 | return response()->json(['error'=>'Unauthorised'], 401);
21 | }
22 | }
23 |
24 | public function register(Request $request) {
25 | $validator = Validator::make($request->all(), [
26 | 'name' => 'required',
27 | 'email' => 'required|email',
28 | 'password' => 'required',
29 | ]);
30 | if ($validator->fails()) {
31 | return response()->json(['error'=>$validator->errors()], 401);
32 | }
33 |
34 | $input = $request->all();
35 | $input['password'] = bcrypt($input['password']);
36 | $user = User::create($input);
37 | $success['token'] = $user->createToken('MyApp')-> accessToken;
38 | $user = User::where('email', request('email'))->with('gender')->first();
39 | $user->token = $success['token'];
40 | return response()->json($user, $this->successStatus);
41 | }
42 |
43 | public function details() {
44 | $user = Auth::user();
45 | return response()->json(['success' => $user], $this-> successStatus);
46 | }
47 | }
--------------------------------------------------------------------------------
/app/Http/Controllers/AdminController.php:
--------------------------------------------------------------------------------
1 | send();
15 | }
16 |
17 | public function checkAdmin(){
18 | if(session("user")->level_id != 1)
19 | redirect('admin/airline')->send();
20 | }
21 |
22 | public function airline(){
23 | $this->checkLogin();
24 |
25 | return view('airline')->with('airline', Airline::all());
26 | }
27 |
28 | public function airlineDetail(Request $request){
29 | $this->checkLogin();
30 |
31 | $airline = $request->id == "new" ? new Airline() : Airline::find($request->id);
32 | if($request->id == "new") $airline->id = -1;
33 |
34 | return view('airline_detail')->with('airline', $airline);
35 | }
36 |
37 | public function airlineUpdate(Request $q){
38 | $this->checkLogin();
39 |
40 | $airline = $q->id == -1 ? new Airline() : Airline::find($q->id);
41 |
42 | $airline->name = $q->name;
43 | $airline->logo = $q->logo;
44 | $airline->description = $q->description;
45 |
46 | if($q->id == -1) $this->checkAdmin();
47 |
48 | $airline->save();
49 |
50 | return view('airline_detail')->with('airline', $airline);
51 | }
52 |
53 | public function airlineDelete(Request $q){
54 | $this->checkLogin();
55 | $airline = Airline::find($q->id);
56 | $airline->delete();
57 |
58 | return redirect('admin/airline');
59 | }
60 | }
61 |
--------------------------------------------------------------------------------
/app/Http/Controllers/AirportController.php:
--------------------------------------------------------------------------------
1 | send();
14 | }
15 |
16 | public function airport(){
17 | $this->checkLogin();
18 |
19 | return view('airport')->with('airport', Airport::all());
20 | }
21 |
22 | public function airportDetail(Request $request){
23 | $this->checkLogin();
24 |
25 | $airport = $request->id == "new" ? new Airport() : Airport::find($request->id);
26 | if($request->id == "new") $airport->id = -1;
27 |
28 | return view('airport_edit')->with('airport', $airport);
29 | }
30 |
31 | public function airportUpdate(Request $q){
32 | $this->checkLogin();
33 |
34 | $airport = $q->id == -1 ? new Airport() : Airport::find($q->id);
35 | $airport->name = $q->name;
36 | $airport->code = $q->code;
37 | $airport->address = $q->address;
38 | $airport->city = $q->city;
39 | $airport->save();
40 |
41 | return view('airport_edit')->with('airport', $airport);
42 | }
43 |
44 | public function airportDelete(Request $q){
45 | $this->checkLogin();
46 |
47 | $airport = Airport::find($q->id);
48 | $airport->delete();
49 |
50 | return redirect('admin/airport');
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Auth/ForgotPasswordController.php:
--------------------------------------------------------------------------------
1 | middleware('guest');
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Auth/LoginController.php:
--------------------------------------------------------------------------------
1 | middleware('guest')->except('logout');
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Auth/RegisterController.php:
--------------------------------------------------------------------------------
1 | middleware('guest');
41 | }
42 |
43 | /**
44 | * Get a validator for an incoming registration request.
45 | *
46 | * @param array $data
47 | * @return \Illuminate\Contracts\Validation\Validator
48 | */
49 | protected function validator(array $data)
50 | {
51 | return Validator::make($data, [
52 | 'name' => ['required', 'string', 'max:255'],
53 | 'email' => ['required', 'string', 'email', 'max:255', 'unique:users'],
54 | 'password' => ['required', 'string', 'min:8', 'confirmed'],
55 | ]);
56 | }
57 |
58 | /**
59 | * Create a new user instance after a valid registration.
60 | *
61 | * @param array $data
62 | * @return \App\User
63 | */
64 | protected function create(array $data)
65 | {
66 | return User::create([
67 | 'name' => $data['name'],
68 | 'email' => $data['email'],
69 | 'password' => Hash::make($data['password']),
70 | ]);
71 | }
72 | }
73 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Auth/ResetPasswordController.php:
--------------------------------------------------------------------------------
1 | middleware('guest');
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Auth/VerificationController.php:
--------------------------------------------------------------------------------
1 | middleware('auth');
38 | $this->middleware('signed')->only('verify');
39 | $this->middleware('throttle:6,1')->only('verify', 'resend');
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Controller.php:
--------------------------------------------------------------------------------
1 | send();
13 | }
14 |
15 | public function customer(){
16 | $this->checkLogin();
17 |
18 | return view('customer')->with('customer', Customer::with('gender')->get());
19 | }
20 |
21 | public function customerDetail(Request $request){
22 | $this->checkLogin();
23 |
24 | $customer = $request->id == "new" ? new Customer() : Customer::find($request->id);
25 | if($request->id == "new"){
26 | $customer->id = -1;
27 | }
28 | return view('customer_detail')->with('customer', $customer)->with('gender', Gender::all());
29 | }
30 |
31 | public function customerSave(Request $q){
32 | $this->checkLogin();
33 |
34 | $customer = $q->id == -1 ? new Customer() : Customer::find($q->id);
35 |
36 | $customer->email = $q->email;
37 | $customer->name = $q->name;
38 | $customer->address = $q->address;
39 | $customer->phone = $q->phone;
40 | $customer->gender_id = $q->gender_id;
41 |
42 | $customer->save();
43 |
44 | return view('customer_detail')->with('customer', $customer)->with('gender', Gender::all());
45 | }
46 |
47 | public function customerDelete(Request $q){
48 | $this->checkLogin();
49 |
50 | $customer = Customer::find($q->id);
51 | $customer->delete();
52 |
53 | return redirect('admin/customer');
54 | }
55 | }
--------------------------------------------------------------------------------
/app/Http/Controllers/HomeController.php:
--------------------------------------------------------------------------------
1 | middleware('auth');
17 | }
18 |
19 | /**
20 | * Show the application dashboard.
21 | *
22 | * @return \Illuminate\Contracts\Support\Renderable
23 | */
24 | public function index()
25 | {
26 | return view('login');
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/app/Http/Controllers/PlaneController.php:
--------------------------------------------------------------------------------
1 | send();
14 | }
15 |
16 | public function plane(){
17 | $this->checkLogin();
18 |
19 | return view('plane')->with('plane', Plane::with('airline')->get());
20 | }
21 |
22 | public function planeDetail(Request $request){
23 | $this->checkLogin();
24 |
25 | $plane = $request->id == "new" ? new Plane() : Plane::find($request->id);
26 | if($request->id == "new"){
27 | $plane->id = -1;
28 | }
29 | return view('plane_detail')->with('plane', $plane)->with('airline', Airline::all());
30 | }
31 |
32 | public function planeSave(Request $q){
33 | $this->checkLogin();
34 |
35 | $plane = $q->id == -1 ? new Plane() : Plane::find($q->id);
36 |
37 | $plane->code = $q->code;
38 | $plane->seat_row = $q->seat_row;
39 | $plane->seat_column = $q->seat_column;
40 | $plane->airline_id = $q->airline_id;
41 |
42 | $plane->save();
43 |
44 | return view('plane_detail')->with('plane', $plane)->with('airline', Airline::all());;
45 | }
46 |
47 | public function planeDelete(Request $q){
48 | $this->checkLogin();
49 |
50 | $plane = Plane::find($q->id);
51 | $plane->delete();
52 |
53 | return redirect('admin/plane');
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/app/Http/Controllers/ReservationController.php:
--------------------------------------------------------------------------------
1 | send();
15 | }
16 |
17 | public function reservation(){
18 | $this->checkLogin();
19 |
20 | return view('reservation')->with('reservation', Reservation::with('customer', 'destination', 'status')->get());
21 | }
22 |
23 | public function reservationDetail(Request $request){
24 | $this->checkLogin();
25 |
26 | $reservation = $request->id == "new" ? new Reservation() : Reservation::where('id', $request->id)->with('customer', 'destination', 'status')->first();
27 | if($request->id == "new"){
28 | $reservation->id = -1;
29 | }
30 | return view('reservation_detail')->with('reservation', $reservation)->with('status', Status::all());
31 | }
32 |
33 | public function reservationSave(Request $q){
34 | $this->checkLogin();
35 |
36 | $reservation = Reservation::find($q->id);
37 |
38 | $reservation->res_loc = $q->res_loc;
39 | $reservation->status_id = $q->status_id;
40 | $reservation->seat_code = $q->seat_code;
41 | $reservation->staff_id = session('user')->id;
42 |
43 | $reservation->save();
44 |
45 | return view('reservation_detail')->with('reservation', $reservation)->with('status', Status::all());
46 | }
47 |
48 | public function reservationConfirm(Request $q){
49 | $this->checkLogin();
50 |
51 | $reservation = Reservation::find($q->id);
52 |
53 | $reservation->status_id = $q->status;
54 | $reservation->staff_id = session('user')->id;
55 |
56 | $reservation->save();
57 |
58 | return view('reservation_pending')->with('reservation', Reservation::with('customer', 'destination')->where('status_id', 1)->get());
59 | }
60 |
61 | public function reservationDelete(Request $q){
62 | $this->checkLogin();
63 |
64 | $reservation = Reservation::find($q->id);
65 | $reservation->delete();
66 |
67 | return redirect('admin/reservation');
68 | }
69 |
70 | public function reservationPending(){
71 | $this->checkLogin();
72 |
73 | return view('reservation_pending')->with('reservation', Reservation::with('customer', 'destination')->where('status_id', 1)->get());
74 | }
75 | }
76 |
--------------------------------------------------------------------------------
/app/Http/Controllers/RouteController.php:
--------------------------------------------------------------------------------
1 | with('route', Route::with('airportFrom', 'airportTo', 'plane', 'plane.airline')->get());
18 | }
19 |
20 | public function routeDetail(Request $request){
21 | $route = $request->id == "new" ? new Route() : Route::find($request->id);
22 | if($request->id == "new"){
23 | $route->id = -1;
24 | }
25 | return view('route_detail')->with('route', $route)->with('airport', Airport::all())->with('plane', Plane::with('airline')->get());
26 | }
27 |
28 | public function routeSave(Request $q){
29 | $route = $q->id == -1 ? new Route() : Route::find($q->id);
30 |
31 | $route->airport_from_id = $q->airport_from_id;
32 | $route->airport_to_id = $q->airport_to_id;
33 | $route->depart_at = $q->depart_at;
34 | $route->price = $q->price;
35 | $route->plane_id = $q->plane_id;
36 | $route->arrived_at = $q->arrived_at;
37 |
38 | $route->save();
39 |
40 | return view('route_detail')->with('route', $route)->with('airport', Airport::all())->with('plane', Plane::with('airline')->get());
41 | }
42 |
43 | public function routeDelete(Request $q){
44 | $route = Route::find($q->id);
45 | $route->delete();
46 |
47 | return redirect('admin/route');
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/app/Http/Controllers/StaffController.php:
--------------------------------------------------------------------------------
1 | send();
13 | }
14 |
15 | public function staff(){
16 | $this->checkLogin();
17 |
18 | return view('staff')->with('staff', Admin::with('level')->get());
19 | }
20 |
21 | public function staffDetail(Request $request){
22 | $staff = $request->id == "new" ? new Admin() : Admin::find($request->id);
23 | if($request->id == "new"){
24 | $staff->id = -1;
25 | }
26 | return view('staff_detail')->with('staff', $staff)->with('level', Level::all());
27 | }
28 |
29 | public function staffSave(Request $q){
30 | $this->checkLogin();
31 |
32 | $staff = $q->id == -1 ? new Admin() : Admin::find($q->id);
33 |
34 | $staff->email = $q->email;
35 | $staff->name = $q->name;
36 | if($q->id == -1) $staff->password = bcrypt($q->password);
37 | $staff->level_id = $q->level_id;
38 |
39 | $staff->save();
40 |
41 | return view('staff_detail')->with('staff', $staff)->with('level', Level::all());
42 | }
43 |
44 | public function staffDelete(Request $q){
45 | $this->checkLogin();
46 |
47 | $staff = Admin::find($q->id);
48 | $staff->delete();
49 |
50 | return redirect('admin/staff');
51 | }
52 | }
--------------------------------------------------------------------------------
/app/Http/Controllers/UserController.php:
--------------------------------------------------------------------------------
1 | attempt(['email' => request('email'), 'password' => request('password')])){
21 | $user = Auth::guard('admin')->user();;
22 | session(['user' => $user]);
23 | return view('home');
24 | }
25 | else{
26 | return view('auth\login');
27 | }
28 | }
29 |
30 | public function dashboard(){
31 |
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/app/Http/Kernel.php:
--------------------------------------------------------------------------------
1 | [
31 | \App\Http\Middleware\EncryptCookies::class,
32 | \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
33 | \Illuminate\Session\Middleware\StartSession::class,
34 | // \Illuminate\Session\Middleware\AuthenticateSession::class,
35 | \Illuminate\View\Middleware\ShareErrorsFromSession::class,
36 | \App\Http\Middleware\VerifyCsrfToken::class,
37 | \Illuminate\Routing\Middleware\SubstituteBindings::class,
38 | ],
39 |
40 | 'api' => [
41 | 'throttle:60,1',
42 | 'bindings',
43 | ],
44 | ];
45 |
46 | /**
47 | * The application's route middleware.
48 | *
49 | * These middleware may be assigned to groups or used individually.
50 | *
51 | * @var array
52 | */
53 | protected $routeMiddleware = [
54 | 'auth' => \App\Http\Middleware\Authenticate::class,
55 | 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
56 | 'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class,
57 | 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class,
58 | 'can' => \Illuminate\Auth\Middleware\Authorize::class,
59 | 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
60 | 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class,
61 | 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
62 | 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class,
63 | ];
64 |
65 | /**
66 | * The priority-sorted list of middleware.
67 | *
68 | * This forces non-global middleware to always be in the given order.
69 | *
70 | * @var array
71 | */
72 | protected $middlewarePriority = [
73 | \Illuminate\Session\Middleware\StartSession::class,
74 | \Illuminate\View\Middleware\ShareErrorsFromSession::class,
75 | \App\Http\Middleware\Authenticate::class,
76 | \Illuminate\Session\Middleware\AuthenticateSession::class,
77 | \Illuminate\Routing\Middleware\SubstituteBindings::class,
78 | \Illuminate\Auth\Middleware\Authorize::class,
79 | ];
80 | }
81 |
--------------------------------------------------------------------------------
/app/Http/Middleware/Authenticate.php:
--------------------------------------------------------------------------------
1 | expectsJson()) {
18 | return route('login');
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/app/Http/Middleware/CheckForMaintenanceMode.php:
--------------------------------------------------------------------------------
1 | check()) {
21 | return redirect('/home');
22 | }
23 |
24 | return $next($request);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/app/Http/Middleware/TrimStrings.php:
--------------------------------------------------------------------------------
1 | belongsTo('App\Airline');
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/app/Providers/Admin.php:
--------------------------------------------------------------------------------
1 | 'App\Policies\ModelPolicy',
15 | ];
16 | /**
17 | * Register any authentication / authorization services.
18 | *
19 | * @return void
20 | */
21 | public function boot()
22 | {
23 | $this->registerPolicies();
24 | Passport::routes();
25 | }
26 | }
--------------------------------------------------------------------------------
/app/Providers/BroadcastServiceProvider.php:
--------------------------------------------------------------------------------
1 | [
19 | SendEmailVerificationNotification::class,
20 | ],
21 | ];
22 |
23 | /**
24 | * Register any events for your application.
25 | *
26 | * @return void
27 | */
28 | public function boot()
29 | {
30 | parent::boot();
31 |
32 | //
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/app/Providers/RouteServiceProvider.php:
--------------------------------------------------------------------------------
1 | mapApiRoutes();
39 |
40 | $this->mapWebRoutes();
41 |
42 | //
43 | }
44 |
45 | /**
46 | * Define the "web" routes for the application.
47 | *
48 | * These routes all receive session state, CSRF protection, etc.
49 | *
50 | * @return void
51 | */
52 | protected function mapWebRoutes()
53 | {
54 | Route::middleware('web')
55 | ->namespace($this->namespace)
56 | ->group(base_path('routes/web.php'));
57 | }
58 |
59 | /**
60 | * Define the "api" routes for the application.
61 | *
62 | * These routes are typically stateless.
63 | *
64 | * @return void
65 | */
66 | protected function mapApiRoutes()
67 | {
68 | Route::prefix('api')
69 | ->middleware('api')
70 | ->namespace($this->namespace)
71 | ->group(base_path('routes/api.php'));
72 | }
73 | }
74 |
--------------------------------------------------------------------------------
/app/Reservation.php:
--------------------------------------------------------------------------------
1 | belongsTo('App\Customer');
10 | }
11 |
12 | public function destination(){
13 | return $this->belongsTo('App\Airport', 'destination_id');
14 | }
15 |
16 | public function route(){
17 | return $this->belongsTo('App\Route');
18 | }
19 |
20 | public function status(){
21 | return $this->belongsTo('App\Status');
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/app/Route.php:
--------------------------------------------------------------------------------
1 | belongsTo('App\Airport', 'airport_from_id');
13 | }
14 |
15 | public function airportTo(){
16 | return $this->belongsTo('App\Airport', 'airport_to_id');
17 | }
18 |
19 | public function plane(){
20 | return $this->belongsTo('App\Plane');
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/app/Status.php:
--------------------------------------------------------------------------------
1 | belongsTo('App\Gender');
29 | }
30 | }
--------------------------------------------------------------------------------
/artisan:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env php
2 | make(Illuminate\Contracts\Console\Kernel::class);
34 |
35 | $status = $kernel->handle(
36 | $input = new Symfony\Component\Console\Input\ArgvInput,
37 | new Symfony\Component\Console\Output\ConsoleOutput
38 | );
39 |
40 | /*
41 | |--------------------------------------------------------------------------
42 | | Shutdown The Application
43 | |--------------------------------------------------------------------------
44 | |
45 | | Once Artisan has finished running, we will fire off the shutdown events
46 | | so that any final work may be done by the application before we shut
47 | | down the process. This is the last thing to happen to the request.
48 | |
49 | */
50 |
51 | $kernel->terminate($input, $status);
52 |
53 | exit($status);
54 |
--------------------------------------------------------------------------------
/bootstrap/app.php:
--------------------------------------------------------------------------------
1 | singleton(
30 | Illuminate\Contracts\Http\Kernel::class,
31 | App\Http\Kernel::class
32 | );
33 |
34 | $app->singleton(
35 | Illuminate\Contracts\Console\Kernel::class,
36 | App\Console\Kernel::class
37 | );
38 |
39 | $app->singleton(
40 | Illuminate\Contracts\Debug\ExceptionHandler::class,
41 | App\Exceptions\Handler::class
42 | );
43 |
44 | /*
45 | |--------------------------------------------------------------------------
46 | | Return The Application
47 | |--------------------------------------------------------------------------
48 | |
49 | | This script returns the application instance. The instance is given to
50 | | the calling script so we can separate the building of the instances
51 | | from the actual running of the application and sending responses.
52 | |
53 | */
54 |
55 | return $app;
56 |
--------------------------------------------------------------------------------
/bootstrap/cache/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "laravel/laravel",
3 | "type": "project",
4 | "description": "The Laravel Framework.",
5 | "keywords": [
6 | "framework",
7 | "laravel"
8 | ],
9 | "license": "MIT",
10 | "require": {
11 | "php": "^7.1.3",
12 | "fideloper/proxy": "^4.0",
13 | "jeroennoten/laravel-adminlte": "^1.25",
14 | "laravel/framework": "5.8.*",
15 | "laravel/passport": "^7.2",
16 | "laravel/tinker": "^1.0"
17 | },
18 | "require-dev": {
19 | "beyondcode/laravel-dump-server": "^1.0",
20 | "filp/whoops": "^2.0",
21 | "fzaninotto/faker": "^1.4",
22 | "mockery/mockery": "^1.0",
23 | "nunomaduro/collision": "^3.0",
24 | "phpunit/phpunit": "^7.5"
25 | },
26 | "config": {
27 | "optimize-autoloader": true,
28 | "preferred-install": "dist",
29 | "sort-packages": true
30 | },
31 | "extra": {
32 | "laravel": {
33 | "dont-discover": []
34 | }
35 | },
36 | "autoload": {
37 | "psr-4": {
38 | "App\\": "app/"
39 | },
40 | "classmap": [
41 | "database/seeds",
42 | "database/factories"
43 | ]
44 | },
45 | "autoload-dev": {
46 | "psr-4": {
47 | "Tests\\": "tests/"
48 | }
49 | },
50 | "minimum-stability": "dev",
51 | "prefer-stable": true,
52 | "scripts": {
53 | "post-autoload-dump": [
54 | "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
55 | "@php artisan package:discover --ansi"
56 | ],
57 | "post-root-package-install": [
58 | "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
59 | ],
60 | "post-create-project-cmd": [
61 | "@php artisan key:generate --ansi"
62 | ]
63 | }
64 | }
65 |
--------------------------------------------------------------------------------
/config/broadcasting.php:
--------------------------------------------------------------------------------
1 | env('BROADCAST_DRIVER', 'null'),
19 |
20 | /*
21 | |--------------------------------------------------------------------------
22 | | Broadcast Connections
23 | |--------------------------------------------------------------------------
24 | |
25 | | Here you may define all of the broadcast connections that will be used
26 | | to broadcast events to other systems or over websockets. Samples of
27 | | each available type of connection are provided inside this array.
28 | |
29 | */
30 |
31 | 'connections' => [
32 |
33 | 'pusher' => [
34 | 'driver' => 'pusher',
35 | 'key' => env('PUSHER_APP_KEY'),
36 | 'secret' => env('PUSHER_APP_SECRET'),
37 | 'app_id' => env('PUSHER_APP_ID'),
38 | 'options' => [
39 | 'cluster' => env('PUSHER_APP_CLUSTER'),
40 | 'encrypted' => true,
41 | ],
42 | ],
43 |
44 | 'redis' => [
45 | 'driver' => 'redis',
46 | 'connection' => 'default',
47 | ],
48 |
49 | 'log' => [
50 | 'driver' => 'log',
51 | ],
52 |
53 | 'null' => [
54 | 'driver' => 'null',
55 | ],
56 |
57 | ],
58 |
59 | ];
60 |
--------------------------------------------------------------------------------
/config/cache.php:
--------------------------------------------------------------------------------
1 | env('CACHE_DRIVER', 'file'),
22 |
23 | /*
24 | |--------------------------------------------------------------------------
25 | | Cache Stores
26 | |--------------------------------------------------------------------------
27 | |
28 | | Here you may define all of the cache "stores" for your application as
29 | | well as their drivers. You may even define multiple stores for the
30 | | same cache driver to group types of items stored in your caches.
31 | |
32 | */
33 |
34 | 'stores' => [
35 |
36 | 'apc' => [
37 | 'driver' => 'apc',
38 | ],
39 |
40 | 'array' => [
41 | 'driver' => 'array',
42 | ],
43 |
44 | 'database' => [
45 | 'driver' => 'database',
46 | 'table' => 'cache',
47 | 'connection' => null,
48 | ],
49 |
50 | 'file' => [
51 | 'driver' => 'file',
52 | 'path' => storage_path('framework/cache/data'),
53 | ],
54 |
55 | 'memcached' => [
56 | 'driver' => 'memcached',
57 | 'persistent_id' => env('MEMCACHED_PERSISTENT_ID'),
58 | 'sasl' => [
59 | env('MEMCACHED_USERNAME'),
60 | env('MEMCACHED_PASSWORD'),
61 | ],
62 | 'options' => [
63 | // Memcached::OPT_CONNECT_TIMEOUT => 2000,
64 | ],
65 | 'servers' => [
66 | [
67 | 'host' => env('MEMCACHED_HOST', '127.0.0.1'),
68 | 'port' => env('MEMCACHED_PORT', 11211),
69 | 'weight' => 100,
70 | ],
71 | ],
72 | ],
73 |
74 | 'redis' => [
75 | 'driver' => 'redis',
76 | 'connection' => 'cache',
77 | ],
78 |
79 | 'dynamodb' => [
80 | 'driver' => 'dynamodb',
81 | 'key' => env('AWS_ACCESS_KEY_ID'),
82 | 'secret' => env('AWS_SECRET_ACCESS_KEY'),
83 | 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
84 | 'table' => env('DYNAMODB_CACHE_TABLE', 'cache'),
85 | ],
86 |
87 | ],
88 |
89 | /*
90 | |--------------------------------------------------------------------------
91 | | Cache Key Prefix
92 | |--------------------------------------------------------------------------
93 | |
94 | | When utilizing a RAM based store such as APC or Memcached, there might
95 | | be other applications utilizing the same cache. So, we'll specify a
96 | | value to get prefixed to all our keys so we can avoid collisions.
97 | |
98 | */
99 |
100 | 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache'),
101 |
102 | ];
103 |
--------------------------------------------------------------------------------
/config/filesystems.php:
--------------------------------------------------------------------------------
1 | env('FILESYSTEM_DRIVER', 'local'),
17 |
18 | /*
19 | |--------------------------------------------------------------------------
20 | | Default Cloud Filesystem Disk
21 | |--------------------------------------------------------------------------
22 | |
23 | | Many applications store files both locally and in the cloud. For this
24 | | reason, you may specify a default "cloud" driver here. This driver
25 | | will be bound as the Cloud disk implementation in the container.
26 | |
27 | */
28 |
29 | 'cloud' => env('FILESYSTEM_CLOUD', 's3'),
30 |
31 | /*
32 | |--------------------------------------------------------------------------
33 | | Filesystem Disks
34 | |--------------------------------------------------------------------------
35 | |
36 | | Here you may configure as many filesystem "disks" as you wish, and you
37 | | may even configure multiple disks of the same driver. Defaults have
38 | | been setup for each driver as an example of the required options.
39 | |
40 | | Supported Drivers: "local", "ftp", "sftp", "s3", "rackspace"
41 | |
42 | */
43 |
44 | 'disks' => [
45 |
46 | 'local' => [
47 | 'driver' => 'local',
48 | 'root' => storage_path('app'),
49 | ],
50 |
51 | 'public' => [
52 | 'driver' => 'local',
53 | 'root' => storage_path('app/public'),
54 | 'url' => env('APP_URL').'/storage',
55 | 'visibility' => 'public',
56 | ],
57 |
58 | 's3' => [
59 | 'driver' => 's3',
60 | 'key' => env('AWS_ACCESS_KEY_ID'),
61 | 'secret' => env('AWS_SECRET_ACCESS_KEY'),
62 | 'region' => env('AWS_DEFAULT_REGION'),
63 | 'bucket' => env('AWS_BUCKET'),
64 | 'url' => env('AWS_URL'),
65 | ],
66 |
67 | ],
68 |
69 | ];
70 |
--------------------------------------------------------------------------------
/config/hashing.php:
--------------------------------------------------------------------------------
1 | 'bcrypt',
19 |
20 | /*
21 | |--------------------------------------------------------------------------
22 | | Bcrypt Options
23 | |--------------------------------------------------------------------------
24 | |
25 | | Here you may specify the configuration options that should be used when
26 | | passwords are hashed using the Bcrypt algorithm. This will allow you
27 | | to control the amount of time it takes to hash the given password.
28 | |
29 | */
30 |
31 | 'bcrypt' => [
32 | 'rounds' => env('BCRYPT_ROUNDS', 10),
33 | ],
34 |
35 | /*
36 | |--------------------------------------------------------------------------
37 | | Argon Options
38 | |--------------------------------------------------------------------------
39 | |
40 | | Here you may specify the configuration options that should be used when
41 | | passwords are hashed using the Argon algorithm. These will allow you
42 | | to control the amount of time it takes to hash the given password.
43 | |
44 | */
45 |
46 | 'argon' => [
47 | 'memory' => 1024,
48 | 'threads' => 2,
49 | 'time' => 2,
50 | ],
51 |
52 | ];
53 |
--------------------------------------------------------------------------------
/config/logging.php:
--------------------------------------------------------------------------------
1 | env('LOG_CHANNEL', 'stack'),
20 |
21 | /*
22 | |--------------------------------------------------------------------------
23 | | Log Channels
24 | |--------------------------------------------------------------------------
25 | |
26 | | Here you may configure the log channels for your application. Out of
27 | | the box, Laravel uses the Monolog PHP logging library. This gives
28 | | you a variety of powerful log handlers / formatters to utilize.
29 | |
30 | | Available Drivers: "single", "daily", "slack", "syslog",
31 | | "errorlog", "monolog",
32 | | "custom", "stack"
33 | |
34 | */
35 |
36 | 'channels' => [
37 | 'stack' => [
38 | 'driver' => 'stack',
39 | 'channels' => ['daily'],
40 | 'ignore_exceptions' => false,
41 | ],
42 |
43 | 'single' => [
44 | 'driver' => 'single',
45 | 'path' => storage_path('logs/laravel.log'),
46 | 'level' => 'debug',
47 | ],
48 |
49 | 'daily' => [
50 | 'driver' => 'daily',
51 | 'path' => storage_path('logs/laravel.log'),
52 | 'level' => 'debug',
53 | 'days' => 14,
54 | ],
55 |
56 | 'slack' => [
57 | 'driver' => 'slack',
58 | 'url' => env('LOG_SLACK_WEBHOOK_URL'),
59 | 'username' => 'Laravel Log',
60 | 'emoji' => ':boom:',
61 | 'level' => 'critical',
62 | ],
63 |
64 | 'papertrail' => [
65 | 'driver' => 'monolog',
66 | 'level' => 'debug',
67 | 'handler' => SyslogUdpHandler::class,
68 | 'handler_with' => [
69 | 'host' => env('PAPERTRAIL_URL'),
70 | 'port' => env('PAPERTRAIL_PORT'),
71 | ],
72 | ],
73 |
74 | 'stderr' => [
75 | 'driver' => 'monolog',
76 | 'handler' => StreamHandler::class,
77 | 'formatter' => env('LOG_STDERR_FORMATTER'),
78 | 'with' => [
79 | 'stream' => 'php://stderr',
80 | ],
81 | ],
82 |
83 | 'syslog' => [
84 | 'driver' => 'syslog',
85 | 'level' => 'debug',
86 | ],
87 |
88 | 'errorlog' => [
89 | 'driver' => 'errorlog',
90 | 'level' => 'debug',
91 | ],
92 | ],
93 |
94 | ];
95 |
--------------------------------------------------------------------------------
/config/queue.php:
--------------------------------------------------------------------------------
1 | env('QUEUE_CONNECTION', 'sync'),
17 |
18 | /*
19 | |--------------------------------------------------------------------------
20 | | Queue Connections
21 | |--------------------------------------------------------------------------
22 | |
23 | | Here you may configure the connection information for each server that
24 | | is used by your application. A default configuration has been added
25 | | for each back-end shipped with Laravel. You are free to add more.
26 | |
27 | | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null"
28 | |
29 | */
30 |
31 | 'connections' => [
32 |
33 | 'sync' => [
34 | 'driver' => 'sync',
35 | ],
36 |
37 | 'database' => [
38 | 'driver' => 'database',
39 | 'table' => 'jobs',
40 | 'queue' => 'default',
41 | 'retry_after' => 90,
42 | ],
43 |
44 | 'beanstalkd' => [
45 | 'driver' => 'beanstalkd',
46 | 'host' => 'localhost',
47 | 'queue' => 'default',
48 | 'retry_after' => 90,
49 | 'block_for' => 0,
50 | ],
51 |
52 | 'sqs' => [
53 | 'driver' => 'sqs',
54 | 'key' => env('AWS_ACCESS_KEY_ID'),
55 | 'secret' => env('AWS_SECRET_ACCESS_KEY'),
56 | 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'),
57 | 'queue' => env('SQS_QUEUE', 'your-queue-name'),
58 | 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
59 | ],
60 |
61 | 'redis' => [
62 | 'driver' => 'redis',
63 | 'connection' => 'default',
64 | 'queue' => env('REDIS_QUEUE', 'default'),
65 | 'retry_after' => 90,
66 | 'block_for' => null,
67 | ],
68 |
69 | ],
70 |
71 | /*
72 | |--------------------------------------------------------------------------
73 | | Failed Queue Jobs
74 | |--------------------------------------------------------------------------
75 | |
76 | | These options configure the behavior of failed queue job logging so you
77 | | can control which database and table are used to store the jobs that
78 | | have failed. You may change them to any database / table you wish.
79 | |
80 | */
81 |
82 | 'failed' => [
83 | 'database' => env('DB_CONNECTION', 'mysql'),
84 | 'table' => 'failed_jobs',
85 | ],
86 |
87 | ];
88 |
--------------------------------------------------------------------------------
/config/services.php:
--------------------------------------------------------------------------------
1 | [
18 | 'domain' => env('MAILGUN_DOMAIN'),
19 | 'secret' => env('MAILGUN_SECRET'),
20 | 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
21 | ],
22 |
23 | 'postmark' => [
24 | 'token' => env('POSTMARK_TOKEN'),
25 | ],
26 |
27 | 'ses' => [
28 | 'key' => env('AWS_ACCESS_KEY_ID'),
29 | 'secret' => env('AWS_SECRET_ACCESS_KEY'),
30 | 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
31 | ],
32 |
33 | 'sparkpost' => [
34 | 'secret' => env('SPARKPOST_SECRET'),
35 | ],
36 |
37 | 'stripe' => [
38 | 'model' => App\User::class,
39 | 'key' => env('STRIPE_KEY'),
40 | 'secret' => env('STRIPE_SECRET'),
41 | 'webhook' => [
42 | 'secret' => env('STRIPE_WEBHOOK_SECRET'),
43 | 'tolerance' => env('STRIPE_WEBHOOK_TOLERANCE', 300),
44 | ],
45 | ],
46 |
47 | ];
48 |
--------------------------------------------------------------------------------
/config/view.php:
--------------------------------------------------------------------------------
1 | [
17 | resource_path('views'),
18 | ],
19 |
20 | /*
21 | |--------------------------------------------------------------------------
22 | | Compiled View Path
23 | |--------------------------------------------------------------------------
24 | |
25 | | This option determines where all the compiled Blade templates will be
26 | | stored for your application. Typically, this is within the storage
27 | | directory. However, as usual, you are free to change this value.
28 | |
29 | */
30 |
31 | 'compiled' => env(
32 | 'VIEW_COMPILED_PATH',
33 | realpath(storage_path('framework/views'))
34 | ),
35 |
36 | ];
37 |
--------------------------------------------------------------------------------
/database/.gitignore:
--------------------------------------------------------------------------------
1 | *.sqlite
2 | *.sqlite-journal
3 |
--------------------------------------------------------------------------------
/database/factories/UserFactory.php:
--------------------------------------------------------------------------------
1 | define(User::class, function (Faker $faker) {
19 | return [
20 | 'name' => $faker->name,
21 | 'email' => $faker->unique()->safeEmail,
22 | 'email_verified_at' => now(),
23 | 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
24 | 'remember_token' => Str::random(10),
25 | ];
26 | });
27 |
--------------------------------------------------------------------------------
/database/migrations/2014_10_12_000000_create_users_table.php:
--------------------------------------------------------------------------------
1 | bigIncrements('id');
18 | $table->string('name');
19 | $table->string('email')->unique();
20 | $table->timestamp('email_verified_at')->nullable();
21 | $table->string('password');
22 | $table->rememberToken();
23 | $table->timestamps();
24 | });
25 | }
26 |
27 | /**
28 | * Reverse the migrations.
29 | *
30 | * @return void
31 | */
32 | public function down()
33 | {
34 | Schema::dropIfExists('users');
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/database/migrations/2014_10_12_100000_create_password_resets_table.php:
--------------------------------------------------------------------------------
1 | string('email')->index();
18 | $table->string('token');
19 | $table->timestamp('created_at')->nullable();
20 | });
21 | }
22 |
23 | /**
24 | * Reverse the migrations.
25 | *
26 | * @return void
27 | */
28 | public function down()
29 | {
30 | Schema::dropIfExists('password_resets');
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/database/seeds/DatabaseSeeder.php:
--------------------------------------------------------------------------------
1 | call(UsersTableSeeder::class);
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "private": true,
3 | "scripts": {
4 | "dev": "npm run development",
5 | "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
6 | "watch": "npm run development -- --watch",
7 | "watch-poll": "npm run watch -- --watch-poll",
8 | "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
9 | "prod": "npm run production",
10 | "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
11 | },
12 | "devDependencies": {
13 | "axios": "^0.18",
14 | "bootstrap": "^4.0.0",
15 | "cross-env": "^5.1",
16 | "jquery": "^3.2",
17 | "laravel-mix": "^4.0.7",
18 | "lodash": "^4.17.5",
19 | "popper.js": "^1.12",
20 | "resolve-url-loader": "^2.3.1",
21 | "sass": "^1.15.2",
22 | "sass-loader": "^7.1.0",
23 | "vue": "^2.5.17"
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/phpunit.xml:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
13 | ./tests/Unit
14 |
15 |
16 |
17 | ./tests/Feature
18 |
19 |
20 |
21 |
22 | ./app
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/public/.htaccess:
--------------------------------------------------------------------------------
1 |
2 |
3 | Options -MultiViews -Indexes
4 |
5 |
6 | RewriteEngine On
7 |
8 | # Handle Authorization Header
9 | RewriteCond %{HTTP:Authorization} .
10 | RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
11 |
12 | # Redirect Trailing Slashes If Not A Folder...
13 | RewriteCond %{REQUEST_FILENAME} !-d
14 | RewriteCond %{REQUEST_URI} (.+)/$
15 | RewriteRule ^ %1 [L,R=301]
16 |
17 | # Handle Front Controller...
18 | RewriteCond %{REQUEST_FILENAME} !-d
19 | RewriteCond %{REQUEST_FILENAME} !-f
20 | RewriteRule ^ index.php [L]
21 |
22 |
--------------------------------------------------------------------------------
/public/css/style.css:
--------------------------------------------------------------------------------
1 | .circle {
2 | background: black;
3 | width: 24px;
4 | height: 24px;
5 | }
6 |
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/favicon.ico
--------------------------------------------------------------------------------
/public/index.php:
--------------------------------------------------------------------------------
1 |
8 | */
9 |
10 | define('LARAVEL_START', microtime(true));
11 |
12 | /*
13 | |--------------------------------------------------------------------------
14 | | Register The Auto Loader
15 | |--------------------------------------------------------------------------
16 | |
17 | | Composer provides a convenient, automatically generated class loader for
18 | | our application. We just need to utilize it! We'll simply require it
19 | | into the script here so that we don't have to worry about manual
20 | | loading any of our classes later on. It feels great to relax.
21 | |
22 | */
23 |
24 | require __DIR__.'/../vendor/autoload.php';
25 |
26 | /*
27 | |--------------------------------------------------------------------------
28 | | Turn On The Lights
29 | |--------------------------------------------------------------------------
30 | |
31 | | We need to illuminate PHP development, so let us turn on the lights.
32 | | This bootstraps the framework and gets it ready for use, then it
33 | | will load up this application so that we can run it and send
34 | | the responses back to the browser and delight our users.
35 | |
36 | */
37 |
38 | $app = require_once __DIR__.'/../bootstrap/app.php';
39 |
40 | /*
41 | |--------------------------------------------------------------------------
42 | | Run The Application
43 | |--------------------------------------------------------------------------
44 | |
45 | | Once we have the application, we can handle the incoming request
46 | | through the kernel, and send the associated response back to
47 | | the client's browser allowing them to enjoy the creative
48 | | and wonderful application we have prepared for them.
49 | |
50 | */
51 |
52 | $kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
53 |
54 | $response = $kernel->handle(
55 | $request = Illuminate\Http\Request::capture()
56 | );
57 |
58 | $response->send();
59 |
60 | $kernel->terminate($request, $response);
61 |
--------------------------------------------------------------------------------
/public/robots.txt:
--------------------------------------------------------------------------------
1 | User-agent: *
2 | Disallow:
3 |
--------------------------------------------------------------------------------
/public/upload/1555489784.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555489784.png
--------------------------------------------------------------------------------
/public/upload/1555490237.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555490237.png
--------------------------------------------------------------------------------
/public/upload/1555490260.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555490260.png
--------------------------------------------------------------------------------
/public/upload/1555490389.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555490389.jpg
--------------------------------------------------------------------------------
/public/upload/1555490592.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555490592.png
--------------------------------------------------------------------------------
/public/upload/1555490701.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555490701.png
--------------------------------------------------------------------------------
/public/upload/1555507207.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555507207.png
--------------------------------------------------------------------------------
/public/upload/1555507494.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555507494.png
--------------------------------------------------------------------------------
/public/upload/1555508571.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555508571.jpg
--------------------------------------------------------------------------------
/public/upload/1555508639.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555508639.jpg
--------------------------------------------------------------------------------
/public/upload/1555515517.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555515517.jpg
--------------------------------------------------------------------------------
/public/upload/1555515930.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555515930.jpg
--------------------------------------------------------------------------------
/public/upload/1555519571.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555519571.jpg
--------------------------------------------------------------------------------
/public/upload/1555549643.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555549643.jpg
--------------------------------------------------------------------------------
/public/upload/1555549709.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555549709.jpg
--------------------------------------------------------------------------------
/public/upload/1555550559.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555550559.jpg
--------------------------------------------------------------------------------
/public/upload/1555552072.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555552072.jpg
--------------------------------------------------------------------------------
/public/upload/1555555574.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555555574.jpg
--------------------------------------------------------------------------------
/public/upload/1555555799.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555555799.jpg
--------------------------------------------------------------------------------
/public/upload/1555556048.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555556048.jpg
--------------------------------------------------------------------------------
/public/upload/1555556060.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555556060.jpg
--------------------------------------------------------------------------------
/public/upload/1555556092.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555556092.jpg
--------------------------------------------------------------------------------
/public/upload/1555556114.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555556114.jpg
--------------------------------------------------------------------------------
/public/upload/1555556277.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555556277.jpg
--------------------------------------------------------------------------------
/public/upload/1555556484.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555556484.jpg
--------------------------------------------------------------------------------
/public/upload/1555556539.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555556539.jpg
--------------------------------------------------------------------------------
/public/upload/1555556545.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555556545.jpg
--------------------------------------------------------------------------------
/public/upload/1555556585.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555556585.jpg
--------------------------------------------------------------------------------
/public/upload/1555556663.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555556663.jpg
--------------------------------------------------------------------------------
/public/upload/1555556674.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555556674.jpg
--------------------------------------------------------------------------------
/public/upload/1555556730.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555556730.jpg
--------------------------------------------------------------------------------
/public/upload/1555556740.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555556740.jpg
--------------------------------------------------------------------------------
/public/upload/1555556744.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555556744.jpg
--------------------------------------------------------------------------------
/public/upload/1555556767.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555556767.jpg
--------------------------------------------------------------------------------
/public/upload/1555557528.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555557528.jpg
--------------------------------------------------------------------------------
/public/upload/1555557726.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555557726.jpg
--------------------------------------------------------------------------------
/public/upload/1555557828.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555557828.jpg
--------------------------------------------------------------------------------
/public/upload/1555557869.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555557869.jpg
--------------------------------------------------------------------------------
/public/upload/1555557895.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555557895.jpg
--------------------------------------------------------------------------------
/public/upload/1555664143.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555664143.jpg
--------------------------------------------------------------------------------
/public/upload/1555665140.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/1555665140.jpg
--------------------------------------------------------------------------------
/public/upload/garuda.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/upload/garuda.png
--------------------------------------------------------------------------------
/public/vendor/adminlte/css/auth.css:
--------------------------------------------------------------------------------
1 | .auth-links {
2 | margin-top: 10px;
3 | }
--------------------------------------------------------------------------------
/public/vendor/adminlte/dist/css/skins/skin-black-light.min.css:
--------------------------------------------------------------------------------
1 | .skin-black-light .main-header{border-bottom:1px solid #d2d6de}.skin-black-light .main-header .navbar-toggle{color:#333}.skin-black-light .main-header .navbar-brand{color:#333;border-right:1px solid #d2d6de}.skin-black-light .main-header .navbar{background-color:#fff}.skin-black-light .main-header .navbar .nav>li>a{color:#333}.skin-black-light .main-header .navbar .nav>li>a:hover,.skin-black-light .main-header .navbar .nav>li>a:active,.skin-black-light .main-header .navbar .nav>li>a:focus,.skin-black-light .main-header .navbar .nav .open>a,.skin-black-light .main-header .navbar .nav .open>a:hover,.skin-black-light .main-header .navbar .nav .open>a:focus,.skin-black-light .main-header .navbar .nav>.active>a{background:#fff;color:#999}.skin-black-light .main-header .navbar .sidebar-toggle{color:#333}.skin-black-light .main-header .navbar .sidebar-toggle:hover{color:#999;background:#fff}.skin-black-light .main-header .navbar>.sidebar-toggle{color:#333;border-right:1px solid #d2d6de}.skin-black-light .main-header .navbar .navbar-nav>li>a{border-right:1px solid #d2d6de}.skin-black-light .main-header .navbar .navbar-custom-menu .navbar-nav>li>a,.skin-black-light .main-header .navbar .navbar-right>li>a{border-left:1px solid #d2d6de;border-right-width:0}.skin-black-light .main-header>.logo{background-color:#fff;color:#333;border-bottom:0 solid transparent;border-right:1px solid #d2d6de}.skin-black-light .main-header>.logo:hover{background-color:#fcfcfc}@media (max-width:767px){.skin-black-light .main-header>.logo{background-color:#222;color:#fff;border-bottom:0 solid transparent;border-right:none}.skin-black-light .main-header>.logo:hover{background-color:#1f1f1f}}.skin-black-light .main-header li.user-header{background-color:#222}.skin-black-light .content-header{background:transparent;box-shadow:none}.skin-black-light .wrapper,.skin-black-light .main-sidebar,.skin-black-light .left-side{background-color:#f9fafc}.skin-black-light .main-sidebar{border-right:1px solid #d2d6de}.skin-black-light .user-panel>.info,.skin-black-light .user-panel>.info>a{color:#444}.skin-black-light .sidebar-menu>li{-webkit-transition:border-left-color .3s ease;-o-transition:border-left-color .3s ease;transition:border-left-color .3s ease}.skin-black-light .sidebar-menu>li.header{color:#848484;background:#f9fafc}.skin-black-light .sidebar-menu>li>a{border-left:3px solid transparent;font-weight:600}.skin-black-light .sidebar-menu>li:hover>a,.skin-black-light .sidebar-menu>li.active>a{color:#000;background:#f4f4f5}.skin-black-light .sidebar-menu>li.active{border-left-color:#fff}.skin-black-light .sidebar-menu>li.active>a{font-weight:600}.skin-black-light .sidebar-menu>li>.treeview-menu{background:#f4f4f5}.skin-black-light .sidebar a{color:#444}.skin-black-light .sidebar a:hover{text-decoration:none}.skin-black-light .sidebar-menu .treeview-menu>li>a{color:#777}.skin-black-light .sidebar-menu .treeview-menu>li.active>a,.skin-black-light .sidebar-menu .treeview-menu>li>a:hover{color:#000}.skin-black-light .sidebar-menu .treeview-menu>li.active>a{font-weight:600}.skin-black-light .sidebar-form{border-radius:3px;border:1px solid #d2d6de;margin:10px 10px}.skin-black-light .sidebar-form input[type="text"],.skin-black-light .sidebar-form .btn{box-shadow:none;background-color:#fff;border:1px solid transparent;height:35px}.skin-black-light .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-black-light .sidebar-form input[type="text"]:focus,.skin-black-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-black-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-black-light .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}@media (min-width:768px){.skin-black-light.sidebar-mini.sidebar-collapse .sidebar-menu>li>.treeview-menu{border-left:1px solid #d2d6de}}
--------------------------------------------------------------------------------
/public/vendor/adminlte/dist/css/skins/skin-black.min.css:
--------------------------------------------------------------------------------
1 | .skin-black .main-header{-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.05);box-shadow:0 1px 1px rgba(0,0,0,0.05)}.skin-black .main-header .navbar-toggle{color:#333}.skin-black .main-header .navbar-brand{color:#333;border-right:1px solid #eee}.skin-black .main-header .navbar{background-color:#fff}.skin-black .main-header .navbar .nav>li>a{color:#333}.skin-black .main-header .navbar .nav>li>a:hover,.skin-black .main-header .navbar .nav>li>a:active,.skin-black .main-header .navbar .nav>li>a:focus,.skin-black .main-header .navbar .nav .open>a,.skin-black .main-header .navbar .nav .open>a:hover,.skin-black .main-header .navbar .nav .open>a:focus,.skin-black .main-header .navbar .nav>.active>a{background:#fff;color:#999}.skin-black .main-header .navbar .sidebar-toggle{color:#333}.skin-black .main-header .navbar .sidebar-toggle:hover{color:#999;background:#fff}.skin-black .main-header .navbar>.sidebar-toggle{color:#333;border-right:1px solid #eee}.skin-black .main-header .navbar .navbar-nav>li>a{border-right:1px solid #eee}.skin-black .main-header .navbar .navbar-custom-menu .navbar-nav>li>a,.skin-black .main-header .navbar .navbar-right>li>a{border-left:1px solid #eee;border-right-width:0}.skin-black .main-header>.logo{background-color:#fff;color:#333;border-bottom:0 solid transparent;border-right:1px solid #eee}.skin-black .main-header>.logo:hover{background-color:#fcfcfc}@media (max-width:767px){.skin-black .main-header>.logo{background-color:#222;color:#fff;border-bottom:0 solid transparent;border-right:none}.skin-black .main-header>.logo:hover{background-color:#1f1f1f}}.skin-black .main-header li.user-header{background-color:#222}.skin-black .content-header{background:transparent;box-shadow:none}.skin-black .wrapper,.skin-black .main-sidebar,.skin-black .left-side{background-color:#222d32}.skin-black .user-panel>.info,.skin-black .user-panel>.info>a{color:#fff}.skin-black .sidebar-menu>li.header{color:#4b646f;background:#1a2226}.skin-black .sidebar-menu>li>a{border-left:3px solid transparent}.skin-black .sidebar-menu>li:hover>a,.skin-black .sidebar-menu>li.active>a,.skin-black .sidebar-menu>li.menu-open>a{color:#fff;background:#1e282c}.skin-black .sidebar-menu>li.active>a{border-left-color:#fff}.skin-black .sidebar-menu>li>.treeview-menu{margin:0 1px;background:#2c3b41}.skin-black .sidebar a{color:#b8c7ce}.skin-black .sidebar a:hover{text-decoration:none}.skin-black .sidebar-menu .treeview-menu>li>a{color:#8aa4af}.skin-black .sidebar-menu .treeview-menu>li.active>a,.skin-black .sidebar-menu .treeview-menu>li>a:hover{color:#fff}.skin-black .sidebar-form{border-radius:3px;border:1px solid #374850;margin:10px 10px}.skin-black .sidebar-form input[type="text"],.skin-black .sidebar-form .btn{box-shadow:none;background-color:#374850;border:1px solid transparent;height:35px}.skin-black .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-black .sidebar-form input[type="text"]:focus,.skin-black .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-black .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-black .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}.skin-black .pace .pace-progress{background:#222}.skin-black .pace .pace-activity{border-top-color:#222;border-left-color:#222}
--------------------------------------------------------------------------------
/public/vendor/adminlte/dist/css/skins/skin-blue-light.min.css:
--------------------------------------------------------------------------------
1 | .skin-blue-light .main-header .navbar{background-color:#3c8dbc}.skin-blue-light .main-header .navbar .nav>li>a{color:#fff}.skin-blue-light .main-header .navbar .nav>li>a:hover,.skin-blue-light .main-header .navbar .nav>li>a:active,.skin-blue-light .main-header .navbar .nav>li>a:focus,.skin-blue-light .main-header .navbar .nav .open>a,.skin-blue-light .main-header .navbar .nav .open>a:hover,.skin-blue-light .main-header .navbar .nav .open>a:focus,.skin-blue-light .main-header .navbar .nav>.active>a{background:rgba(0,0,0,0.1);color:#f6f6f6}.skin-blue-light .main-header .navbar .sidebar-toggle{color:#fff}.skin-blue-light .main-header .navbar .sidebar-toggle:hover{color:#f6f6f6;background:rgba(0,0,0,0.1)}.skin-blue-light .main-header .navbar .sidebar-toggle{color:#fff}.skin-blue-light .main-header .navbar .sidebar-toggle:hover{background-color:#367fa9}@media (max-width:767px){.skin-blue-light .main-header .navbar .dropdown-menu li.divider{background-color:rgba(255,255,255,0.1)}.skin-blue-light .main-header .navbar .dropdown-menu li a{color:#fff}.skin-blue-light .main-header .navbar .dropdown-menu li a:hover{background:#367fa9}}.skin-blue-light .main-header .logo{background-color:#3c8dbc;color:#fff;border-bottom:0 solid transparent}.skin-blue-light .main-header .logo:hover{background-color:#3b8ab8}.skin-blue-light .main-header li.user-header{background-color:#3c8dbc}.skin-blue-light .content-header{background:transparent}.skin-blue-light .wrapper,.skin-blue-light .main-sidebar,.skin-blue-light .left-side{background-color:#f9fafc}.skin-blue-light .main-sidebar{border-right:1px solid #d2d6de}.skin-blue-light .user-panel>.info,.skin-blue-light .user-panel>.info>a{color:#444}.skin-blue-light .sidebar-menu>li{-webkit-transition:border-left-color .3s ease;-o-transition:border-left-color .3s ease;transition:border-left-color .3s ease}.skin-blue-light .sidebar-menu>li.header{color:#848484;background:#f9fafc}.skin-blue-light .sidebar-menu>li>a{border-left:3px solid transparent;font-weight:600}.skin-blue-light .sidebar-menu>li:hover>a,.skin-blue-light .sidebar-menu>li.active>a{color:#000;background:#f4f4f5}.skin-blue-light .sidebar-menu>li.active{border-left-color:#3c8dbc}.skin-blue-light .sidebar-menu>li.active>a{font-weight:600}.skin-blue-light .sidebar-menu>li>.treeview-menu{background:#f4f4f5}.skin-blue-light .sidebar a{color:#444}.skin-blue-light .sidebar a:hover{text-decoration:none}.skin-blue-light .sidebar-menu .treeview-menu>li>a{color:#777}.skin-blue-light .sidebar-menu .treeview-menu>li.active>a,.skin-blue-light .sidebar-menu .treeview-menu>li>a:hover{color:#000}.skin-blue-light .sidebar-menu .treeview-menu>li.active>a{font-weight:600}.skin-blue-light .sidebar-form{border-radius:3px;border:1px solid #d2d6de;margin:10px 10px}.skin-blue-light .sidebar-form input[type="text"],.skin-blue-light .sidebar-form .btn{box-shadow:none;background-color:#fff;border:1px solid transparent;height:35px}.skin-blue-light .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-blue-light .sidebar-form input[type="text"]:focus,.skin-blue-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-blue-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-blue-light .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}@media (min-width:768px){.skin-blue-light.sidebar-mini.sidebar-collapse .sidebar-menu>li>.treeview-menu{border-left:1px solid #d2d6de}}.skin-blue-light .main-footer{border-top-color:#d2d6de}.skin-blue.layout-top-nav .main-header>.logo{background-color:#3c8dbc;color:#fff;border-bottom:0 solid transparent}.skin-blue.layout-top-nav .main-header>.logo:hover{background-color:#3b8ab8}
--------------------------------------------------------------------------------
/public/vendor/adminlte/dist/css/skins/skin-blue.min.css:
--------------------------------------------------------------------------------
1 | .skin-blue .main-header .navbar{background-color:#3c8dbc}.skin-blue .main-header .navbar .nav>li>a{color:#fff}.skin-blue .main-header .navbar .nav>li>a:hover,.skin-blue .main-header .navbar .nav>li>a:active,.skin-blue .main-header .navbar .nav>li>a:focus,.skin-blue .main-header .navbar .nav .open>a,.skin-blue .main-header .navbar .nav .open>a:hover,.skin-blue .main-header .navbar .nav .open>a:focus,.skin-blue .main-header .navbar .nav>.active>a{background:rgba(0,0,0,0.1);color:#f6f6f6}.skin-blue .main-header .navbar .sidebar-toggle{color:#fff}.skin-blue .main-header .navbar .sidebar-toggle:hover{color:#f6f6f6;background:rgba(0,0,0,0.1)}.skin-blue .main-header .navbar .sidebar-toggle{color:#fff}.skin-blue .main-header .navbar .sidebar-toggle:hover{background-color:#367fa9}@media (max-width:767px){.skin-blue .main-header .navbar .dropdown-menu li.divider{background-color:rgba(255,255,255,0.1)}.skin-blue .main-header .navbar .dropdown-menu li a{color:#fff}.skin-blue .main-header .navbar .dropdown-menu li a:hover{background:#367fa9}}.skin-blue .main-header .logo{background-color:#367fa9;color:#fff;border-bottom:0 solid transparent}.skin-blue .main-header .logo:hover{background-color:#357ca5}.skin-blue .main-header li.user-header{background-color:#3c8dbc}.skin-blue .content-header{background:transparent}.skin-blue .wrapper,.skin-blue .main-sidebar,.skin-blue .left-side{background-color:#222d32}.skin-blue .user-panel>.info,.skin-blue .user-panel>.info>a{color:#fff}.skin-blue .sidebar-menu>li.header{color:#4b646f;background:#1a2226}.skin-blue .sidebar-menu>li>a{border-left:3px solid transparent}.skin-blue .sidebar-menu>li:hover>a,.skin-blue .sidebar-menu>li.active>a,.skin-blue .sidebar-menu>li.menu-open>a{color:#fff;background:#1e282c}.skin-blue .sidebar-menu>li.active>a{border-left-color:#3c8dbc}.skin-blue .sidebar-menu>li>.treeview-menu{margin:0 1px;background:#2c3b41}.skin-blue .sidebar a{color:#b8c7ce}.skin-blue .sidebar a:hover{text-decoration:none}.skin-blue .sidebar-menu .treeview-menu>li>a{color:#8aa4af}.skin-blue .sidebar-menu .treeview-menu>li.active>a,.skin-blue .sidebar-menu .treeview-menu>li>a:hover{color:#fff}.skin-blue .sidebar-form{border-radius:3px;border:1px solid #374850;margin:10px 10px}.skin-blue .sidebar-form input[type="text"],.skin-blue .sidebar-form .btn{box-shadow:none;background-color:#374850;border:1px solid transparent;height:35px}.skin-blue .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-blue .sidebar-form input[type="text"]:focus,.skin-blue .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-blue .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-blue .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}.skin-blue.layout-top-nav .main-header>.logo{background-color:#3c8dbc;color:#fff;border-bottom:0 solid transparent}.skin-blue.layout-top-nav .main-header>.logo:hover{background-color:#3b8ab8}
--------------------------------------------------------------------------------
/public/vendor/adminlte/dist/css/skins/skin-green-light.min.css:
--------------------------------------------------------------------------------
1 | .skin-green-light .main-header .navbar{background-color:#00a65a}.skin-green-light .main-header .navbar .nav>li>a{color:#fff}.skin-green-light .main-header .navbar .nav>li>a:hover,.skin-green-light .main-header .navbar .nav>li>a:active,.skin-green-light .main-header .navbar .nav>li>a:focus,.skin-green-light .main-header .navbar .nav .open>a,.skin-green-light .main-header .navbar .nav .open>a:hover,.skin-green-light .main-header .navbar .nav .open>a:focus,.skin-green-light .main-header .navbar .nav>.active>a{background:rgba(0,0,0,0.1);color:#f6f6f6}.skin-green-light .main-header .navbar .sidebar-toggle{color:#fff}.skin-green-light .main-header .navbar .sidebar-toggle:hover{color:#f6f6f6;background:rgba(0,0,0,0.1)}.skin-green-light .main-header .navbar .sidebar-toggle{color:#fff}.skin-green-light .main-header .navbar .sidebar-toggle:hover{background-color:#008d4c}@media (max-width:767px){.skin-green-light .main-header .navbar .dropdown-menu li.divider{background-color:rgba(255,255,255,0.1)}.skin-green-light .main-header .navbar .dropdown-menu li a{color:#fff}.skin-green-light .main-header .navbar .dropdown-menu li a:hover{background:#008d4c}}.skin-green-light .main-header .logo{background-color:#00a65a;color:#fff;border-bottom:0 solid transparent}.skin-green-light .main-header .logo:hover{background-color:#00a157}.skin-green-light .main-header li.user-header{background-color:#00a65a}.skin-green-light .content-header{background:transparent}.skin-green-light .wrapper,.skin-green-light .main-sidebar,.skin-green-light .left-side{background-color:#f9fafc}.skin-green-light .main-sidebar{border-right:1px solid #d2d6de}.skin-green-light .user-panel>.info,.skin-green-light .user-panel>.info>a{color:#444}.skin-green-light .sidebar-menu>li{-webkit-transition:border-left-color .3s ease;-o-transition:border-left-color .3s ease;transition:border-left-color .3s ease}.skin-green-light .sidebar-menu>li.header{color:#848484;background:#f9fafc}.skin-green-light .sidebar-menu>li>a{border-left:3px solid transparent;font-weight:600}.skin-green-light .sidebar-menu>li:hover>a,.skin-green-light .sidebar-menu>li.active>a{color:#000;background:#f4f4f5}.skin-green-light .sidebar-menu>li.active{border-left-color:#00a65a}.skin-green-light .sidebar-menu>li.active>a{font-weight:600}.skin-green-light .sidebar-menu>li>.treeview-menu{background:#f4f4f5}.skin-green-light .sidebar a{color:#444}.skin-green-light .sidebar a:hover{text-decoration:none}.skin-green-light .sidebar-menu .treeview-menu>li>a{color:#777}.skin-green-light .sidebar-menu .treeview-menu>li.active>a,.skin-green-light .sidebar-menu .treeview-menu>li>a:hover{color:#000}.skin-green-light .sidebar-menu .treeview-menu>li.active>a{font-weight:600}.skin-green-light .sidebar-form{border-radius:3px;border:1px solid #d2d6de;margin:10px 10px}.skin-green-light .sidebar-form input[type="text"],.skin-green-light .sidebar-form .btn{box-shadow:none;background-color:#fff;border:1px solid transparent;height:35px}.skin-green-light .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-green-light .sidebar-form input[type="text"]:focus,.skin-green-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-green-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-green-light .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}@media (min-width:768px){.skin-green-light.sidebar-mini.sidebar-collapse .sidebar-menu>li>.treeview-menu{border-left:1px solid #d2d6de}}
--------------------------------------------------------------------------------
/public/vendor/adminlte/dist/css/skins/skin-green.min.css:
--------------------------------------------------------------------------------
1 | .skin-green .main-header .navbar{background-color:#00a65a}.skin-green .main-header .navbar .nav>li>a{color:#fff}.skin-green .main-header .navbar .nav>li>a:hover,.skin-green .main-header .navbar .nav>li>a:active,.skin-green .main-header .navbar .nav>li>a:focus,.skin-green .main-header .navbar .nav .open>a,.skin-green .main-header .navbar .nav .open>a:hover,.skin-green .main-header .navbar .nav .open>a:focus,.skin-green .main-header .navbar .nav>.active>a{background:rgba(0,0,0,0.1);color:#f6f6f6}.skin-green .main-header .navbar .sidebar-toggle{color:#fff}.skin-green .main-header .navbar .sidebar-toggle:hover{color:#f6f6f6;background:rgba(0,0,0,0.1)}.skin-green .main-header .navbar .sidebar-toggle{color:#fff}.skin-green .main-header .navbar .sidebar-toggle:hover{background-color:#008d4c}@media (max-width:767px){.skin-green .main-header .navbar .dropdown-menu li.divider{background-color:rgba(255,255,255,0.1)}.skin-green .main-header .navbar .dropdown-menu li a{color:#fff}.skin-green .main-header .navbar .dropdown-menu li a:hover{background:#008d4c}}.skin-green .main-header .logo{background-color:#008d4c;color:#fff;border-bottom:0 solid transparent}.skin-green .main-header .logo:hover{background-color:#008749}.skin-green .main-header li.user-header{background-color:#00a65a}.skin-green .content-header{background:transparent}.skin-green .wrapper,.skin-green .main-sidebar,.skin-green .left-side{background-color:#222d32}.skin-green .user-panel>.info,.skin-green .user-panel>.info>a{color:#fff}.skin-green .sidebar-menu>li.header{color:#4b646f;background:#1a2226}.skin-green .sidebar-menu>li>a{border-left:3px solid transparent}.skin-green .sidebar-menu>li:hover>a,.skin-green .sidebar-menu>li.active>a,.skin-green .sidebar-menu>li.menu-open>a{color:#fff;background:#1e282c}.skin-green .sidebar-menu>li.active>a{border-left-color:#00a65a}.skin-green .sidebar-menu>li>.treeview-menu{margin:0 1px;background:#2c3b41}.skin-green .sidebar a{color:#b8c7ce}.skin-green .sidebar a:hover{text-decoration:none}.skin-green .sidebar-menu .treeview-menu>li>a{color:#8aa4af}.skin-green .sidebar-menu .treeview-menu>li.active>a,.skin-green .sidebar-menu .treeview-menu>li>a:hover{color:#fff}.skin-green .sidebar-form{border-radius:3px;border:1px solid #374850;margin:10px 10px}.skin-green .sidebar-form input[type="text"],.skin-green .sidebar-form .btn{box-shadow:none;background-color:#374850;border:1px solid transparent;height:35px}.skin-green .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-green .sidebar-form input[type="text"]:focus,.skin-green .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-green .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-green .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}
--------------------------------------------------------------------------------
/public/vendor/adminlte/dist/css/skins/skin-purple-light.min.css:
--------------------------------------------------------------------------------
1 | .skin-purple-light .main-header .navbar{background-color:#605ca8}.skin-purple-light .main-header .navbar .nav>li>a{color:#fff}.skin-purple-light .main-header .navbar .nav>li>a:hover,.skin-purple-light .main-header .navbar .nav>li>a:active,.skin-purple-light .main-header .navbar .nav>li>a:focus,.skin-purple-light .main-header .navbar .nav .open>a,.skin-purple-light .main-header .navbar .nav .open>a:hover,.skin-purple-light .main-header .navbar .nav .open>a:focus,.skin-purple-light .main-header .navbar .nav>.active>a{background:rgba(0,0,0,0.1);color:#f6f6f6}.skin-purple-light .main-header .navbar .sidebar-toggle{color:#fff}.skin-purple-light .main-header .navbar .sidebar-toggle:hover{color:#f6f6f6;background:rgba(0,0,0,0.1)}.skin-purple-light .main-header .navbar .sidebar-toggle{color:#fff}.skin-purple-light .main-header .navbar .sidebar-toggle:hover{background-color:#555299}@media (max-width:767px){.skin-purple-light .main-header .navbar .dropdown-menu li.divider{background-color:rgba(255,255,255,0.1)}.skin-purple-light .main-header .navbar .dropdown-menu li a{color:#fff}.skin-purple-light .main-header .navbar .dropdown-menu li a:hover{background:#555299}}.skin-purple-light .main-header .logo{background-color:#605ca8;color:#fff;border-bottom:0 solid transparent}.skin-purple-light .main-header .logo:hover{background-color:#5d59a6}.skin-purple-light .main-header li.user-header{background-color:#605ca8}.skin-purple-light .content-header{background:transparent}.skin-purple-light .wrapper,.skin-purple-light .main-sidebar,.skin-purple-light .left-side{background-color:#f9fafc}.skin-purple-light .main-sidebar{border-right:1px solid #d2d6de}.skin-purple-light .user-panel>.info,.skin-purple-light .user-panel>.info>a{color:#444}.skin-purple-light .sidebar-menu>li{-webkit-transition:border-left-color .3s ease;-o-transition:border-left-color .3s ease;transition:border-left-color .3s ease}.skin-purple-light .sidebar-menu>li.header{color:#848484;background:#f9fafc}.skin-purple-light .sidebar-menu>li>a{border-left:3px solid transparent;font-weight:600}.skin-purple-light .sidebar-menu>li:hover>a,.skin-purple-light .sidebar-menu>li.active>a{color:#000;background:#f4f4f5}.skin-purple-light .sidebar-menu>li.active{border-left-color:#605ca8}.skin-purple-light .sidebar-menu>li.active>a{font-weight:600}.skin-purple-light .sidebar-menu>li>.treeview-menu{background:#f4f4f5}.skin-purple-light .sidebar a{color:#444}.skin-purple-light .sidebar a:hover{text-decoration:none}.skin-purple-light .sidebar-menu .treeview-menu>li>a{color:#777}.skin-purple-light .sidebar-menu .treeview-menu>li.active>a,.skin-purple-light .sidebar-menu .treeview-menu>li>a:hover{color:#000}.skin-purple-light .sidebar-menu .treeview-menu>li.active>a{font-weight:600}.skin-purple-light .sidebar-form{border-radius:3px;border:1px solid #d2d6de;margin:10px 10px}.skin-purple-light .sidebar-form input[type="text"],.skin-purple-light .sidebar-form .btn{box-shadow:none;background-color:#fff;border:1px solid transparent;height:35px}.skin-purple-light .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-purple-light .sidebar-form input[type="text"]:focus,.skin-purple-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-purple-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-purple-light .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}@media (min-width:768px){.skin-purple-light.sidebar-mini.sidebar-collapse .sidebar-menu>li>.treeview-menu{border-left:1px solid #d2d6de}}
--------------------------------------------------------------------------------
/public/vendor/adminlte/dist/css/skins/skin-purple.min.css:
--------------------------------------------------------------------------------
1 | .skin-purple .main-header .navbar{background-color:#605ca8}.skin-purple .main-header .navbar .nav>li>a{color:#fff}.skin-purple .main-header .navbar .nav>li>a:hover,.skin-purple .main-header .navbar .nav>li>a:active,.skin-purple .main-header .navbar .nav>li>a:focus,.skin-purple .main-header .navbar .nav .open>a,.skin-purple .main-header .navbar .nav .open>a:hover,.skin-purple .main-header .navbar .nav .open>a:focus,.skin-purple .main-header .navbar .nav>.active>a{background:rgba(0,0,0,0.1);color:#f6f6f6}.skin-purple .main-header .navbar .sidebar-toggle{color:#fff}.skin-purple .main-header .navbar .sidebar-toggle:hover{color:#f6f6f6;background:rgba(0,0,0,0.1)}.skin-purple .main-header .navbar .sidebar-toggle{color:#fff}.skin-purple .main-header .navbar .sidebar-toggle:hover{background-color:#555299}@media (max-width:767px){.skin-purple .main-header .navbar .dropdown-menu li.divider{background-color:rgba(255,255,255,0.1)}.skin-purple .main-header .navbar .dropdown-menu li a{color:#fff}.skin-purple .main-header .navbar .dropdown-menu li a:hover{background:#555299}}.skin-purple .main-header .logo{background-color:#555299;color:#fff;border-bottom:0 solid transparent}.skin-purple .main-header .logo:hover{background-color:#545096}.skin-purple .main-header li.user-header{background-color:#605ca8}.skin-purple .content-header{background:transparent}.skin-purple .wrapper,.skin-purple .main-sidebar,.skin-purple .left-side{background-color:#222d32}.skin-purple .user-panel>.info,.skin-purple .user-panel>.info>a{color:#fff}.skin-purple .sidebar-menu>li.header{color:#4b646f;background:#1a2226}.skin-purple .sidebar-menu>li>a{border-left:3px solid transparent}.skin-purple .sidebar-menu>li:hover>a,.skin-purple .sidebar-menu>li.active>a,.skin-purple .sidebar-menu>li.menu-open>a{color:#fff;background:#1e282c}.skin-purple .sidebar-menu>li.active>a{border-left-color:#605ca8}.skin-purple .sidebar-menu>li>.treeview-menu{margin:0 1px;background:#2c3b41}.skin-purple .sidebar a{color:#b8c7ce}.skin-purple .sidebar a:hover{text-decoration:none}.skin-purple .sidebar-menu .treeview-menu>li>a{color:#8aa4af}.skin-purple .sidebar-menu .treeview-menu>li.active>a,.skin-purple .sidebar-menu .treeview-menu>li>a:hover{color:#fff}.skin-purple .sidebar-form{border-radius:3px;border:1px solid #374850;margin:10px 10px}.skin-purple .sidebar-form input[type="text"],.skin-purple .sidebar-form .btn{box-shadow:none;background-color:#374850;border:1px solid transparent;height:35px}.skin-purple .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-purple .sidebar-form input[type="text"]:focus,.skin-purple .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-purple .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-purple .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}
--------------------------------------------------------------------------------
/public/vendor/adminlte/dist/css/skins/skin-red-light.min.css:
--------------------------------------------------------------------------------
1 | .skin-red-light .main-header .navbar{background-color:#dd4b39}.skin-red-light .main-header .navbar .nav>li>a{color:#fff}.skin-red-light .main-header .navbar .nav>li>a:hover,.skin-red-light .main-header .navbar .nav>li>a:active,.skin-red-light .main-header .navbar .nav>li>a:focus,.skin-red-light .main-header .navbar .nav .open>a,.skin-red-light .main-header .navbar .nav .open>a:hover,.skin-red-light .main-header .navbar .nav .open>a:focus,.skin-red-light .main-header .navbar .nav>.active>a{background:rgba(0,0,0,0.1);color:#f6f6f6}.skin-red-light .main-header .navbar .sidebar-toggle{color:#fff}.skin-red-light .main-header .navbar .sidebar-toggle:hover{color:#f6f6f6;background:rgba(0,0,0,0.1)}.skin-red-light .main-header .navbar .sidebar-toggle{color:#fff}.skin-red-light .main-header .navbar .sidebar-toggle:hover{background-color:#d73925}@media (max-width:767px){.skin-red-light .main-header .navbar .dropdown-menu li.divider{background-color:rgba(255,255,255,0.1)}.skin-red-light .main-header .navbar .dropdown-menu li a{color:#fff}.skin-red-light .main-header .navbar .dropdown-menu li a:hover{background:#d73925}}.skin-red-light .main-header .logo{background-color:#dd4b39;color:#fff;border-bottom:0 solid transparent}.skin-red-light .main-header .logo:hover{background-color:#dc4735}.skin-red-light .main-header li.user-header{background-color:#dd4b39}.skin-red-light .content-header{background:transparent}.skin-red-light .wrapper,.skin-red-light .main-sidebar,.skin-red-light .left-side{background-color:#f9fafc}.skin-red-light .main-sidebar{border-right:1px solid #d2d6de}.skin-red-light .user-panel>.info,.skin-red-light .user-panel>.info>a{color:#444}.skin-red-light .sidebar-menu>li{-webkit-transition:border-left-color .3s ease;-o-transition:border-left-color .3s ease;transition:border-left-color .3s ease}.skin-red-light .sidebar-menu>li.header{color:#848484;background:#f9fafc}.skin-red-light .sidebar-menu>li>a{border-left:3px solid transparent;font-weight:600}.skin-red-light .sidebar-menu>li:hover>a,.skin-red-light .sidebar-menu>li.active>a{color:#000;background:#f4f4f5}.skin-red-light .sidebar-menu>li.active{border-left-color:#dd4b39}.skin-red-light .sidebar-menu>li.active>a{font-weight:600}.skin-red-light .sidebar-menu>li>.treeview-menu{background:#f4f4f5}.skin-red-light .sidebar a{color:#444}.skin-red-light .sidebar a:hover{text-decoration:none}.skin-red-light .sidebar-menu .treeview-menu>li>a{color:#777}.skin-red-light .sidebar-menu .treeview-menu>li.active>a,.skin-red-light .sidebar-menu .treeview-menu>li>a:hover{color:#000}.skin-red-light .sidebar-menu .treeview-menu>li.active>a{font-weight:600}.skin-red-light .sidebar-form{border-radius:3px;border:1px solid #d2d6de;margin:10px 10px}.skin-red-light .sidebar-form input[type="text"],.skin-red-light .sidebar-form .btn{box-shadow:none;background-color:#fff;border:1px solid transparent;height:35px}.skin-red-light .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-red-light .sidebar-form input[type="text"]:focus,.skin-red-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-red-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-red-light .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}@media (min-width:768px){.skin-red-light.sidebar-mini.sidebar-collapse .sidebar-menu>li>.treeview-menu{border-left:1px solid #d2d6de}}
--------------------------------------------------------------------------------
/public/vendor/adminlte/dist/css/skins/skin-red.min.css:
--------------------------------------------------------------------------------
1 | .skin-red .main-header .navbar{background-color:#dd4b39}.skin-red .main-header .navbar .nav>li>a{color:#fff}.skin-red .main-header .navbar .nav>li>a:hover,.skin-red .main-header .navbar .nav>li>a:active,.skin-red .main-header .navbar .nav>li>a:focus,.skin-red .main-header .navbar .nav .open>a,.skin-red .main-header .navbar .nav .open>a:hover,.skin-red .main-header .navbar .nav .open>a:focus,.skin-red .main-header .navbar .nav>.active>a{background:rgba(0,0,0,0.1);color:#f6f6f6}.skin-red .main-header .navbar .sidebar-toggle{color:#fff}.skin-red .main-header .navbar .sidebar-toggle:hover{color:#f6f6f6;background:rgba(0,0,0,0.1)}.skin-red .main-header .navbar .sidebar-toggle{color:#fff}.skin-red .main-header .navbar .sidebar-toggle:hover{background-color:#d73925}@media (max-width:767px){.skin-red .main-header .navbar .dropdown-menu li.divider{background-color:rgba(255,255,255,0.1)}.skin-red .main-header .navbar .dropdown-menu li a{color:#fff}.skin-red .main-header .navbar .dropdown-menu li a:hover{background:#d73925}}.skin-red .main-header .logo{background-color:#d73925;color:#fff;border-bottom:0 solid transparent}.skin-red .main-header .logo:hover{background-color:#d33724}.skin-red .main-header li.user-header{background-color:#dd4b39}.skin-red .content-header{background:transparent}.skin-red .wrapper,.skin-red .main-sidebar,.skin-red .left-side{background-color:#222d32}.skin-red .user-panel>.info,.skin-red .user-panel>.info>a{color:#fff}.skin-red .sidebar-menu>li.header{color:#4b646f;background:#1a2226}.skin-red .sidebar-menu>li>a{border-left:3px solid transparent}.skin-red .sidebar-menu>li:hover>a,.skin-red .sidebar-menu>li.active>a,.skin-red .sidebar-menu>li.menu-open>a{color:#fff;background:#1e282c}.skin-red .sidebar-menu>li.active>a{border-left-color:#dd4b39}.skin-red .sidebar-menu>li>.treeview-menu{margin:0 1px;background:#2c3b41}.skin-red .sidebar a{color:#b8c7ce}.skin-red .sidebar a:hover{text-decoration:none}.skin-red .sidebar-menu .treeview-menu>li>a{color:#8aa4af}.skin-red .sidebar-menu .treeview-menu>li.active>a,.skin-red .sidebar-menu .treeview-menu>li>a:hover{color:#fff}.skin-red .sidebar-form{border-radius:3px;border:1px solid #374850;margin:10px 10px}.skin-red .sidebar-form input[type="text"],.skin-red .sidebar-form .btn{box-shadow:none;background-color:#374850;border:1px solid transparent;height:35px}.skin-red .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-red .sidebar-form input[type="text"]:focus,.skin-red .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-red .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-red .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}
--------------------------------------------------------------------------------
/public/vendor/adminlte/dist/css/skins/skin-yellow-light.min.css:
--------------------------------------------------------------------------------
1 | .skin-yellow-light .main-header .navbar{background-color:#f39c12}.skin-yellow-light .main-header .navbar .nav>li>a{color:#fff}.skin-yellow-light .main-header .navbar .nav>li>a:hover,.skin-yellow-light .main-header .navbar .nav>li>a:active,.skin-yellow-light .main-header .navbar .nav>li>a:focus,.skin-yellow-light .main-header .navbar .nav .open>a,.skin-yellow-light .main-header .navbar .nav .open>a:hover,.skin-yellow-light .main-header .navbar .nav .open>a:focus,.skin-yellow-light .main-header .navbar .nav>.active>a{background:rgba(0,0,0,0.1);color:#f6f6f6}.skin-yellow-light .main-header .navbar .sidebar-toggle{color:#fff}.skin-yellow-light .main-header .navbar .sidebar-toggle:hover{color:#f6f6f6;background:rgba(0,0,0,0.1)}.skin-yellow-light .main-header .navbar .sidebar-toggle{color:#fff}.skin-yellow-light .main-header .navbar .sidebar-toggle:hover{background-color:#e08e0b}@media (max-width:767px){.skin-yellow-light .main-header .navbar .dropdown-menu li.divider{background-color:rgba(255,255,255,0.1)}.skin-yellow-light .main-header .navbar .dropdown-menu li a{color:#fff}.skin-yellow-light .main-header .navbar .dropdown-menu li a:hover{background:#e08e0b}}.skin-yellow-light .main-header .logo{background-color:#f39c12;color:#fff;border-bottom:0 solid transparent}.skin-yellow-light .main-header .logo:hover{background-color:#f39a0d}.skin-yellow-light .main-header li.user-header{background-color:#f39c12}.skin-yellow-light .content-header{background:transparent}.skin-yellow-light .wrapper,.skin-yellow-light .main-sidebar,.skin-yellow-light .left-side{background-color:#f9fafc}.skin-yellow-light .main-sidebar{border-right:1px solid #d2d6de}.skin-yellow-light .user-panel>.info,.skin-yellow-light .user-panel>.info>a{color:#444}.skin-yellow-light .sidebar-menu>li{-webkit-transition:border-left-color .3s ease;-o-transition:border-left-color .3s ease;transition:border-left-color .3s ease}.skin-yellow-light .sidebar-menu>li.header{color:#848484;background:#f9fafc}.skin-yellow-light .sidebar-menu>li>a{border-left:3px solid transparent;font-weight:600}.skin-yellow-light .sidebar-menu>li:hover>a,.skin-yellow-light .sidebar-menu>li.active>a{color:#000;background:#f4f4f5}.skin-yellow-light .sidebar-menu>li.active{border-left-color:#f39c12}.skin-yellow-light .sidebar-menu>li.active>a{font-weight:600}.skin-yellow-light .sidebar-menu>li>.treeview-menu{background:#f4f4f5}.skin-yellow-light .sidebar a{color:#444}.skin-yellow-light .sidebar a:hover{text-decoration:none}.skin-yellow-light .sidebar-menu .treeview-menu>li>a{color:#777}.skin-yellow-light .sidebar-menu .treeview-menu>li.active>a,.skin-yellow-light .sidebar-menu .treeview-menu>li>a:hover{color:#000}.skin-yellow-light .sidebar-menu .treeview-menu>li.active>a{font-weight:600}.skin-yellow-light .sidebar-form{border-radius:3px;border:1px solid #d2d6de;margin:10px 10px}.skin-yellow-light .sidebar-form input[type="text"],.skin-yellow-light .sidebar-form .btn{box-shadow:none;background-color:#fff;border:1px solid transparent;height:35px}.skin-yellow-light .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-yellow-light .sidebar-form input[type="text"]:focus,.skin-yellow-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-yellow-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-yellow-light .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}@media (min-width:768px){.skin-yellow-light.sidebar-mini.sidebar-collapse .sidebar-menu>li>.treeview-menu{border-left:1px solid #d2d6de}}
--------------------------------------------------------------------------------
/public/vendor/adminlte/dist/css/skins/skin-yellow.min.css:
--------------------------------------------------------------------------------
1 | .skin-yellow .main-header .navbar{background-color:#f39c12}.skin-yellow .main-header .navbar .nav>li>a{color:#fff}.skin-yellow .main-header .navbar .nav>li>a:hover,.skin-yellow .main-header .navbar .nav>li>a:active,.skin-yellow .main-header .navbar .nav>li>a:focus,.skin-yellow .main-header .navbar .nav .open>a,.skin-yellow .main-header .navbar .nav .open>a:hover,.skin-yellow .main-header .navbar .nav .open>a:focus,.skin-yellow .main-header .navbar .nav>.active>a{background:rgba(0,0,0,0.1);color:#f6f6f6}.skin-yellow .main-header .navbar .sidebar-toggle{color:#fff}.skin-yellow .main-header .navbar .sidebar-toggle:hover{color:#f6f6f6;background:rgba(0,0,0,0.1)}.skin-yellow .main-header .navbar .sidebar-toggle{color:#fff}.skin-yellow .main-header .navbar .sidebar-toggle:hover{background-color:#e08e0b}@media (max-width:767px){.skin-yellow .main-header .navbar .dropdown-menu li.divider{background-color:rgba(255,255,255,0.1)}.skin-yellow .main-header .navbar .dropdown-menu li a{color:#fff}.skin-yellow .main-header .navbar .dropdown-menu li a:hover{background:#e08e0b}}.skin-yellow .main-header .logo{background-color:#e08e0b;color:#fff;border-bottom:0 solid transparent}.skin-yellow .main-header .logo:hover{background-color:#db8b0b}.skin-yellow .main-header li.user-header{background-color:#f39c12}.skin-yellow .content-header{background:transparent}.skin-yellow .wrapper,.skin-yellow .main-sidebar,.skin-yellow .left-side{background-color:#222d32}.skin-yellow .user-panel>.info,.skin-yellow .user-panel>.info>a{color:#fff}.skin-yellow .sidebar-menu>li.header{color:#4b646f;background:#1a2226}.skin-yellow .sidebar-menu>li>a{border-left:3px solid transparent}.skin-yellow .sidebar-menu>li:hover>a,.skin-yellow .sidebar-menu>li.active>a,.skin-yellow .sidebar-menu>li.menu-open>a{color:#fff;background:#1e282c}.skin-yellow .sidebar-menu>li.active>a{border-left-color:#f39c12}.skin-yellow .sidebar-menu>li>.treeview-menu{margin:0 1px;background:#2c3b41}.skin-yellow .sidebar a{color:#b8c7ce}.skin-yellow .sidebar a:hover{text-decoration:none}.skin-yellow .sidebar-menu .treeview-menu>li>a{color:#8aa4af}.skin-yellow .sidebar-menu .treeview-menu>li.active>a,.skin-yellow .sidebar-menu .treeview-menu>li>a:hover{color:#fff}.skin-yellow .sidebar-form{border-radius:3px;border:1px solid #374850;margin:10px 10px}.skin-yellow .sidebar-form input[type="text"],.skin-yellow .sidebar-form .btn{box-shadow:none;background-color:#374850;border:1px solid transparent;height:35px}.skin-yellow .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-yellow .sidebar-form input[type="text"]:focus,.skin-yellow .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-yellow .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-yellow .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}
--------------------------------------------------------------------------------
/public/vendor/adminlte/plugins/iCheck/square/blue.css:
--------------------------------------------------------------------------------
1 | /* iCheck plugin Square skin, blue
2 | ----------------------------------- */
3 | .icheckbox_square-blue,
4 | .iradio_square-blue {
5 | display: inline-block;
6 | *display: inline;
7 | vertical-align: middle;
8 | margin: 0;
9 | padding: 0;
10 | width: 22px;
11 | height: 22px;
12 | background: url(blue.png) no-repeat;
13 | border: none;
14 | cursor: pointer;
15 | }
16 |
17 | .icheckbox_square-blue {
18 | background-position: 0 0;
19 | }
20 | .icheckbox_square-blue.hover {
21 | background-position: -24px 0;
22 | }
23 | .icheckbox_square-blue.checked {
24 | background-position: -48px 0;
25 | }
26 | .icheckbox_square-blue.disabled {
27 | background-position: -72px 0;
28 | cursor: default;
29 | }
30 | .icheckbox_square-blue.checked.disabled {
31 | background-position: -96px 0;
32 | }
33 |
34 | .iradio_square-blue {
35 | background-position: -120px 0;
36 | }
37 | .iradio_square-blue.hover {
38 | background-position: -144px 0;
39 | }
40 | .iradio_square-blue.checked {
41 | background-position: -168px 0;
42 | }
43 | .iradio_square-blue.disabled {
44 | background-position: -192px 0;
45 | cursor: default;
46 | }
47 | .iradio_square-blue.checked.disabled {
48 | background-position: -216px 0;
49 | }
50 |
51 | /* Retina support */
52 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
53 | only screen and (-moz-min-device-pixel-ratio: 1.5),
54 | only screen and (-o-min-device-pixel-ratio: 3/2),
55 | only screen and (min-device-pixel-ratio: 1.5) {
56 | .icheckbox_square-blue,
57 | .iradio_square-blue {
58 | background-image: url(blue@2x.png);
59 | -webkit-background-size: 240px 24px;
60 | background-size: 240px 24px;
61 | }
62 | }
--------------------------------------------------------------------------------
/public/vendor/adminlte/plugins/iCheck/square/blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/vendor/adminlte/plugins/iCheck/square/blue.png
--------------------------------------------------------------------------------
/public/vendor/adminlte/plugins/iCheck/square/blue@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/vendor/adminlte/plugins/iCheck/square/blue@2x.png
--------------------------------------------------------------------------------
/public/vendor/adminlte/vendor/Ionicons/fonts/ionicons.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/vendor/adminlte/vendor/Ionicons/fonts/ionicons.eot
--------------------------------------------------------------------------------
/public/vendor/adminlte/vendor/Ionicons/fonts/ionicons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/vendor/adminlte/vendor/Ionicons/fonts/ionicons.ttf
--------------------------------------------------------------------------------
/public/vendor/adminlte/vendor/Ionicons/fonts/ionicons.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/vendor/adminlte/vendor/Ionicons/fonts/ionicons.woff
--------------------------------------------------------------------------------
/public/vendor/adminlte/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/vendor/adminlte/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/public/vendor/adminlte/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/vendor/adminlte/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/public/vendor/adminlte/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/vendor/adminlte/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/public/vendor/adminlte/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/vendor/adminlte/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2
--------------------------------------------------------------------------------
/public/vendor/adminlte/vendor/font-awesome/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/vendor/adminlte/vendor/font-awesome/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/public/vendor/adminlte/vendor/font-awesome/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/vendor/adminlte/vendor/font-awesome/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/public/vendor/adminlte/vendor/font-awesome/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/vendor/adminlte/vendor/font-awesome/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/public/vendor/adminlte/vendor/font-awesome/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/vendor/adminlte/vendor/font-awesome/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/public/vendor/adminlte/vendor/font-awesome/fonts/fontawesome-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DjakaTechnology/flicker-flight-api/c5958f1cb20ccfcdd9768ca13feb93071c5c0613/public/vendor/adminlte/vendor/font-awesome/fonts/fontawesome-webfont.woff2
--------------------------------------------------------------------------------
/resources/js/app.js:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * First we will load all of this project's JavaScript dependencies which
4 | * includes Vue and other libraries. It is a great starting point when
5 | * building robust, powerful web applications using Vue and Laravel.
6 | */
7 |
8 | require('./bootstrap');
9 |
10 | window.Vue = require('vue');
11 |
12 | /**
13 | * The following block of code may be used to automatically register your
14 | * Vue components. It will recursively scan this directory for the Vue
15 | * components and automatically register them with their "basename".
16 | *
17 | * Eg. ./components/ExampleComponent.vue ->
18 | */
19 |
20 | // const files = require.context('./', true, /\.vue$/i);
21 | // files.keys().map(key => Vue.component(key.split('/').pop().split('.')[0], files(key).default));
22 |
23 | Vue.component('example-component', require('./components/ExampleComponent.vue').default);
24 |
25 | /**
26 | * Next, we will create a fresh Vue application instance and attach it to
27 | * the page. Then, you may begin adding components to this application
28 | * or customize the JavaScript scaffolding to fit your unique needs.
29 | */
30 |
31 | const app = new Vue({
32 | el: '#app'
33 | });
34 |
--------------------------------------------------------------------------------
/resources/js/bootstrap.js:
--------------------------------------------------------------------------------
1 |
2 | window._ = require('lodash');
3 |
4 | /**
5 | * We'll load jQuery and the Bootstrap jQuery plugin which provides support
6 | * for JavaScript based Bootstrap features such as modals and tabs. This
7 | * code may be modified to fit the specific needs of your application.
8 | */
9 |
10 | try {
11 | window.Popper = require('popper.js').default;
12 | window.$ = window.jQuery = require('jquery');
13 |
14 | require('bootstrap');
15 | } catch (e) {}
16 |
17 | /**
18 | * We'll load the axios HTTP library which allows us to easily issue requests
19 | * to our Laravel back-end. This library automatically handles sending the
20 | * CSRF token as a header based on the value of the "XSRF" token cookie.
21 | */
22 |
23 | window.axios = require('axios');
24 |
25 | window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
26 |
27 | /**
28 | * Next we will register the CSRF Token as a common header with Axios so that
29 | * all outgoing HTTP requests automatically have it attached. This is just
30 | * a simple convenience so we don't have to attach every token manually.
31 | */
32 |
33 | let token = document.head.querySelector('meta[name="csrf-token"]');
34 |
35 | if (token) {
36 | window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content;
37 | } else {
38 | console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');
39 | }
40 |
41 | /**
42 | * Echo exposes an expressive API for subscribing to channels and listening
43 | * for events that are broadcast by Laravel. Echo and event broadcasting
44 | * allows your team to easily build robust real-time web applications.
45 | */
46 |
47 | // import Echo from 'laravel-echo'
48 |
49 | // window.Pusher = require('pusher-js');
50 |
51 | // window.Echo = new Echo({
52 | // broadcaster: 'pusher',
53 | // key: process.env.MIX_PUSHER_APP_KEY,
54 | // cluster: process.env.MIX_PUSHER_APP_CLUSTER,
55 | // encrypted: true
56 | // });
57 |
--------------------------------------------------------------------------------
/resources/js/components/ExampleComponent.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | I'm an example component.
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
24 |
--------------------------------------------------------------------------------
/resources/lang/en/auth.php:
--------------------------------------------------------------------------------
1 | 'These credentials do not match our records.',
17 | 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
18 |
19 | ];
20 |
--------------------------------------------------------------------------------
/resources/lang/en/pagination.php:
--------------------------------------------------------------------------------
1 | '« Previous',
17 | 'next' => 'Next »',
18 |
19 | ];
20 |
--------------------------------------------------------------------------------
/resources/lang/en/passwords.php:
--------------------------------------------------------------------------------
1 | 'Passwords must be at least eight characters and match the confirmation.',
17 | 'reset' => 'Your password has been reset!',
18 | 'sent' => 'We have e-mailed your password reset link!',
19 | 'token' => 'This password reset token is invalid.',
20 | 'user' => "We can't find a user with that e-mail address.",
21 |
22 | ];
23 |
--------------------------------------------------------------------------------
/resources/sass/_variables.scss:
--------------------------------------------------------------------------------
1 |
2 | // Body
3 | $body-bg: #f8fafc;
4 |
5 | // Typography
6 | $font-family-sans-serif: "Nunito", sans-serif;
7 | $font-size-base: 0.9rem;
8 | $line-height-base: 1.6;
9 |
10 | // Colors
11 | $blue: #3490dc;
12 | $indigo: #6574cd;
13 | $purple: #9561e2;
14 | $pink: #f66D9b;
15 | $red: #e3342f;
16 | $orange: #f6993f;
17 | $yellow: #ffed4a;
18 | $green: #38c172;
19 | $teal: #4dc0b5;
20 | $cyan: #6cb2eb;
21 |
--------------------------------------------------------------------------------
/resources/sass/app.scss:
--------------------------------------------------------------------------------
1 |
2 | // Fonts
3 | @import url('https://fonts.googleapis.com/css?family=Nunito');
4 |
5 | // Variables
6 | @import 'variables';
7 |
8 | // Bootstrap
9 | @import '~bootstrap/scss/bootstrap';
10 |
11 | .navbar-laravel {
12 | background-color: #fff;
13 | box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
14 | }
15 |
--------------------------------------------------------------------------------
/resources/views/airline.blade.php:
--------------------------------------------------------------------------------
1 | @extends('adminlte::page')
2 |
3 | @section('title', 'Maskapai | Flicker')
4 |
5 | @section('content_header')
6 |
Bandara
7 | @stop
8 |
9 | @section('content')
10 |
11 |
19 |
20 |
21 |
22 |
23 | Id
24 | Nama
25 | Logo
26 | Deskripsi
27 | Action
28 |
29 |
30 |
31 | @foreach($airline as $a)
32 |
33 | {{$a->id}}
34 | {{$a->name}}
35 |
36 | {{$a->description}}
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 | @endforeach
48 |
49 |
50 |
51 |
54 |
55 | @stop
56 |
57 | @section('js')
58 |
64 | @stop
65 |
--------------------------------------------------------------------------------
/resources/views/airline_detail.blade.php:
--------------------------------------------------------------------------------
1 | @extends('adminlte::page')
2 |
3 | @section('title', 'Maskapai | Flicker')
4 |
5 | @section('content_header')
6 | Bandara
7 | @stop
8 |
9 | @section('content')
10 |
11 |
12 |
39 |
40 | @stop
41 |
42 | @section('js')
43 |
49 | @stop
50 |
--------------------------------------------------------------------------------
/resources/views/airport.blade.php:
--------------------------------------------------------------------------------
1 | @extends('adminlte::page')
2 |
3 | @section('title', 'Bandara | Flicker')
4 |
5 | @section('content_header')
6 |
Bandara
7 | @stop
8 |
9 | @section('content')
10 |
11 |
19 |
20 |
21 |
22 |
23 | Id
24 | Nama
25 | Kode
26 | Kota
27 | Alamat
28 | Action
29 |
30 |
31 |
32 | @foreach($airport as $a)
33 |
34 | {{$a->id}}
35 | {{$a->name}}
36 | {{$a->code}}
37 | {{$a->city}}
38 | {{$a->address}}
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 | @endforeach
50 |
51 |
52 |
53 |
56 |
57 | @stop
58 |
59 | @section('js')
60 |
66 | @stop
67 |
--------------------------------------------------------------------------------
/resources/views/airport_edit.blade.php:
--------------------------------------------------------------------------------
1 | @extends('adminlte::page')
2 |
3 | @section('title', 'Bandara | Flicker')
4 |
5 | @section('content_header')
6 |
Bandara
7 | @stop
8 |
9 | @section('content')
10 |
11 |
12 |
43 |
44 | @stop
45 |
46 | @section('js')
47 |
53 | @stop
54 |
--------------------------------------------------------------------------------
/resources/views/auth/login.blade.php:
--------------------------------------------------------------------------------
1 | @extends('adminlte::login')
--------------------------------------------------------------------------------
/resources/views/auth/passwords/email.blade.php:
--------------------------------------------------------------------------------
1 | @extends('adminlte::passwords.email')
--------------------------------------------------------------------------------
/resources/views/auth/passwords/reset.blade.php:
--------------------------------------------------------------------------------
1 | @extends('adminlte::passwords.reset')
--------------------------------------------------------------------------------
/resources/views/auth/register.blade.php:
--------------------------------------------------------------------------------
1 | @extends('adminlte::register')
--------------------------------------------------------------------------------
/resources/views/auth/verify.blade.php:
--------------------------------------------------------------------------------
1 | @extends('layouts.app')
2 |
3 | @section('content')
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | @if (session('resent'))
12 |
13 | {{ __('A fresh verification link has been sent to your email address.') }}
14 |
15 | @endif
16 |
17 | {{ __('Before proceeding, please check your email for a verification link.') }}
18 | {{ __('If you did not receive the email') }},
{{ __('click here to request another') }} .
19 |
20 |
21 |
22 |
23 |
24 | @endsection
25 |
--------------------------------------------------------------------------------
/resources/views/customer.blade.php:
--------------------------------------------------------------------------------
1 | @extends('adminlte::page')
2 |
3 | @section('title', 'Pelanggan | Flicker')
4 |
5 | @section('content_header')
6 |
Pelanggan
7 | @stop
8 |
9 | @section('content')
10 |
11 |
17 |
18 |
19 |
20 |
21 | Id
22 | Email
23 | Name
24 | Alamat
25 | Gender
26 | No Hp
27 | Action
28 |
29 |
30 |
31 | @foreach($customer as $a)
32 |
33 | {{$a->id}}
34 | {{$a->email}}
35 | {{$a->name}}
36 | {{$a->address}}
37 | {{$a->gender->name}}
38 | {{$a->phone}}
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 | @endforeach
50 |
51 |
52 |
53 |
56 |
57 | @stop
58 |
59 | @section('js')
60 |
66 | @stop
67 |
--------------------------------------------------------------------------------
/resources/views/customer_detail.blade.php:
--------------------------------------------------------------------------------
1 | @extends('adminlte::page')
2 |
3 | @section('title', 'Pelanggan | Flicker')
4 |
5 | @section('content_header')
6 |
Pelanggan
7 | @stop
8 |
9 | @section('content')
10 |
11 |
12 |
13 |
16 |
17 |
18 |
52 |
53 |
54 |
57 |
58 |
59 |
60 | @stop
61 |
62 | @section('js')
63 |
69 | @stop
70 |
--------------------------------------------------------------------------------
/resources/views/home.blade.php:
--------------------------------------------------------------------------------
1 | @extends('adminlte::page')
2 |
3 | @section('title', 'AdminLTE')
4 |
5 | @section('content_header')
6 |
Dashboard
7 | @stop
8 |
9 | @section('content')
10 |
You are logged in!
11 | @stop
--------------------------------------------------------------------------------
/resources/views/layouts/app.blade.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
{{ config('app.name', 'Laravel') }}
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
73 |
74 |
75 |
76 | @yield('content')
77 |
78 |
79 |
80 |
81 |
--------------------------------------------------------------------------------
/resources/views/plane.blade.php:
--------------------------------------------------------------------------------
1 | @extends('adminlte::page')
2 |
3 | @section('title', 'Pesawat | Flicker')
4 |
5 | @section('content_header')
6 |
Pesawat
7 | @stop
8 |
9 | @section('content')
10 |
11 |
19 |
20 |
21 |
22 |
23 | Id
24 | Kode
25 | Baris
26 | Kolom
27 | Maskapai
28 | Action
29 |
30 |
31 |
32 | @foreach($plane as $a)
33 |
34 | {{$a->id}}
35 | {{$a->code}}
36 | {{$a->seat_row}}
37 | {{$a->seat_column}}
38 | {{$a->airline->name}}
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 | @endforeach
50 |
51 |
52 |
53 |
56 |
57 | @stop
58 |
59 | @section('js')
60 |
66 | @stop
67 |
--------------------------------------------------------------------------------
/resources/views/plane_detail.blade.php:
--------------------------------------------------------------------------------
1 | @extends('adminlte::page')
2 |
3 | @section('title', 'AdminLTE')
4 |
5 | @section('content_header')
6 |
Pesawat
7 | @stop
8 |
9 | @section('content')
10 |
11 |
12 |
13 |
16 |
17 |
18 |
19 |
20 | Code
21 |
23 |
24 |
25 | Baris Tempat Duduk
26 |
28 |
29 |
30 | Kolom tempat duduk
31 |
33 |
34 |
35 | Select
36 |
37 | @foreach($airline as $a)
38 | @if($a->id == $plane->airline_id)
39 | {{$a->name}}
40 | @else
41 | {{$a->name}}
42 | @endif
43 | @endforeach
44 |
45 |
46 |
47 |
48 |
49 |
52 |
53 |
54 |
55 | @stop
56 |
57 | @section('js')
58 |
64 | @stop
65 |
--------------------------------------------------------------------------------
/resources/views/reservation.blade.php:
--------------------------------------------------------------------------------
1 | @extends('adminlte::page')
2 |
3 | @section('title', 'Pemesanan | Flicker')
4 |
5 | @section('content_header')
6 |
Pesanan
7 | @stop
8 |
9 | @section('content')
10 |
11 |
17 |
18 |
19 |
20 |
21 | Id
22 | Kode Pemesanan
23 | Tanggal Pemesanan
24 | Rute
25 | Nama Pemesan
26 | Harga
27 | Status
28 | Action
29 |
30 |
31 |
32 | @foreach($reservation as $a)
33 |
34 | {{$a->id}}
35 | {{$a->res_code}}
36 | {{$a->res_date}}
37 | {{$a->res_loc}} - {{$a->destination->name}}
38 | {{$a->customer->name}} ({{$a->name}})
39 | {{$a->cost}}
40 | {{$a->status->name}}
41 |
42 |
43 |
44 |
45 |
46 |
49 |
50 |
51 | @endforeach
52 |
53 |
54 |
55 |
58 |
59 | @stop
60 |
61 | @section('js')
62 |
68 | @stop
69 |
--------------------------------------------------------------------------------
/resources/views/reservation_pending.blade.php:
--------------------------------------------------------------------------------
1 | @extends('adminlte::page')
2 |
3 | @section('title', 'Pemesanan | Flicker')
4 |
5 | @section('content_header')
6 |
Pesanan
7 | @stop
8 |
9 | @section('content')
10 |
11 |
17 |
18 |
19 |
20 |
21 | Id
22 | Kode Pemesanan
23 | Tanggal Pemesanan
24 | Rute
25 | Nama Pemesan
26 | Bukti Pembayaran
27 | Status
28 | Action
29 |
30 |
31 |
32 | @foreach($reservation as $a)
33 |
34 | {{$a->id}}
35 | {{$a->res_code}}
36 | {{$a->res_date}}
37 | {{$a->res_loc}} - {{$a->destination->name}}
38 | {{$a->customer->name}} ({{$a->name}})
39 |
40 | {{$a->status->name}}
41 |
42 |
43 | Terima
44 |
45 |
46 |
47 | Tolak
48 |
49 |
50 |
51 | @endforeach
52 |
53 |
54 |
55 |
58 |
59 | @stop
60 |
61 | @section('js')
62 |
68 | @stop
69 |
--------------------------------------------------------------------------------
/resources/views/route.blade.php:
--------------------------------------------------------------------------------
1 | @extends('adminlte::page')
2 |
3 | @section('title', 'Rute | Flicker')
4 |
5 | @section('content_header')
6 |
Pesawat
7 | @stop
8 |
9 | @section('content')
10 |
11 |
19 |
20 |
21 |
22 |
23 | Id
24 | Dari
25 | Ke
26 | Harga
27 | Pesawat
28 | Berangkat Pada
29 | Action
30 |
31 |
32 |
33 | @foreach($route as $a)
34 |
35 | {{$a->id}}
36 | {{$a->airportFrom->code}} ({{$a->airportFrom->city}})
37 | {{$a->airportTo->code}} ({{$a->airportTo->city}})
38 | {{$a->price}}
39 | {{$a->plane->code}} ({{$a->plane->airline->name}})
40 | {{$a->depart_at}}
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 | @endforeach
52 |
53 |
54 |
55 |
58 |
59 | @stop
60 |
61 | @section('js')
62 |
68 | @stop
69 |
--------------------------------------------------------------------------------
/resources/views/staff.blade.php:
--------------------------------------------------------------------------------
1 | @extends('adminlte::page')
2 |
3 | @section('title', 'Pelanggan | Flicker')
4 |
5 | @section('content_header')
6 |
Pelanggan
7 | @stop
8 |
9 | @section('content')
10 |
11 |
19 |
20 |
21 |
22 |
23 | Id
24 | Email
25 | Name
26 | Level
27 | Action
28 |
29 |
30 |
31 | @foreach($staff as $a)
32 |
33 | {{$a->id}}
34 | {{$a->email}}
35 | {{$a->name}}
36 | {{$a->level->name}}
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 | @endforeach
48 |
49 |
50 |
51 |
54 |
55 | @stop
56 |
57 | @section('js')
58 |
64 | @stop
65 |
--------------------------------------------------------------------------------
/resources/views/staff_detail.blade.php:
--------------------------------------------------------------------------------
1 | @extends('adminlte::page')
2 |
3 | @section('title', 'Pelanggan | Flicker')
4 |
5 | @section('content_header')
6 |
Staff | Flicker
7 | @stop
8 |
9 | @section('content')
10 |
11 |
12 |
13 |
16 |
17 |
18 |
19 |
20 | Email
21 |
23 |
24 |
25 | Nama
26 |
28 |
29 | @if($staff->id == -1)
30 |
31 | Password
32 |
34 |
35 | @endif
36 |
37 | Level
38 |
39 | @foreach($level as $a)
40 | @if($a->id == $staff->level_id)
41 | {{$a->name}}
42 | @else
43 | {{$a->name}}
44 | @endif
45 | @endforeach
46 |
47 |
48 |
49 |
50 |
51 |
54 |
55 |
56 |
57 | @stop
58 |
59 | @section('js')
60 |
66 | @stop
67 |
--------------------------------------------------------------------------------
/resources/views/vendor/adminlte/master.blade.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
@yield('title_prefix', config('adminlte.title_prefix', ''))
7 | @yield('title', config('adminlte.title', 'AdminLTE 2'))
8 | @yield('title_postfix', config('adminlte.title_postfix', ''))
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 | @if(config('adminlte.plugins.select2'))
22 |
23 |
24 | @endif
25 |
26 |
27 |
28 |
29 | @if(config('adminlte.plugins.datatables'))
30 |
31 |
32 | @endif
33 |
34 | @yield('adminlte_css')
35 |
36 |
40 |
41 |
42 |
43 |
44 |
45 |
46 | @yield('body')
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 | @if(config('adminlte.plugins.select2'))
55 |
56 |
57 | @endif
58 |
59 | @if(config('adminlte.plugins.datatables'))
60 |
61 |
62 | @endif
63 |
64 | @if(config('adminlte.plugins.chartjs'))
65 |
66 |
67 | @endif
68 |
69 | @yield('adminlte_js')
70 |
71 |
72 |
73 |
--------------------------------------------------------------------------------
/resources/views/vendor/adminlte/partials/menu-item-top-nav.blade.php:
--------------------------------------------------------------------------------
1 | @if (is_array($item))
2 |
3 |
7 |
8 | {{ $item['text'] }}
9 | @if (isset($item['label']))
10 | {{ $item['label'] }}
11 | @elseif (isset($item['submenu']))
12 |
13 | @endif
14 |
15 | @if (isset($item['submenu']))
16 |
37 | @endif
38 |
39 | @endif
40 |
--------------------------------------------------------------------------------
/resources/views/vendor/adminlte/partials/menu-item.blade.php:
--------------------------------------------------------------------------------
1 | @if (is_string($item))
2 |
3 | @else
4 |
5 |
8 |
9 | {{ $item['text'] }}
10 | @if (isset($item['label']))
11 |
12 | {{ $item['label'] }}
13 |
14 | @elseif (isset($item['submenu']))
15 |
16 |
17 |
18 | @endif
19 |
20 | @if (isset($item['submenu']))
21 |
24 | @endif
25 |
26 | @endif
27 |
--------------------------------------------------------------------------------
/resources/views/vendor/adminlte/passwords/email.blade.php:
--------------------------------------------------------------------------------
1 | @extends('adminlte::master')
2 |
3 | @section('adminlte_css')
4 |
5 | @yield('css')
6 | @stop
7 |
8 | @section('body_class', 'login-page')
9 |
10 | @section('body')
11 |
12 |
15 |
16 |
17 |
{{ trans('adminlte::adminlte.password_reset_message') }}
18 | @if (session('status'))
19 |
20 | {{ session('status') }}
21 |
22 | @endif
23 |
24 | {!! csrf_field() !!}
25 |
26 |
27 |
29 |
30 | @if ($errors->has('email'))
31 |
32 | {{ $errors->first('email') }}
33 |
34 | @endif
35 |
36 | {{ trans('adminlte::adminlte.send_password_reset_link') }}
39 |
40 |
41 |
42 |
43 | @stop
44 |
45 | @section('adminlte_js')
46 | @yield('js')
47 | @stop
48 |
--------------------------------------------------------------------------------
/resources/views/vendor/adminlte/passwords/reset.blade.php:
--------------------------------------------------------------------------------
1 | @extends('adminlte::master')
2 |
3 | @section('adminlte_css')
4 |
5 | @yield('css')
6 | @stop
7 |
8 | @section('body_class', 'login-page')
9 |
10 | @section('body')
11 |
60 | @stop
61 |
62 | @section('adminlte_js')
63 | @yield('js')
64 | @stop
65 |
--------------------------------------------------------------------------------
/resources/views/welcome.blade.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
Laravel
8 |
9 |
10 |
11 |
12 |
13 |
65 |
66 |
67 |
68 | @if (Route::has('login'))
69 |
70 | @auth
71 |
Home
72 | @else
73 |
Login
74 |
75 | @if (Route::has('register'))
76 |
Register
77 | @endif
78 | @endauth
79 |
80 | @endif
81 |
82 |
83 |
84 | Laravel
85 |
86 |
87 |
96 |
97 |
98 |
99 |
100 |
--------------------------------------------------------------------------------
/routes/api.php:
--------------------------------------------------------------------------------
1 | 'auth:api'], function(){
31 | Route::post('details', 'API\UserController@details');
32 | });
33 | Route::get('seat/{id}/taken', 'API\ReservationController@seatTaken');
--------------------------------------------------------------------------------
/routes/channels.php:
--------------------------------------------------------------------------------
1 | id === (int) $id;
16 | });
17 |
--------------------------------------------------------------------------------
/routes/console.php:
--------------------------------------------------------------------------------
1 | comment(Inspiring::quote());
18 | })->describe('Display an inspiring quote');
19 |
--------------------------------------------------------------------------------
/routes/web.php:
--------------------------------------------------------------------------------
1 | name('home');
19 |
20 | Route::post('/login', 'UserController@login');
21 |
22 | Route::get('admin/airport', 'AirportController@airport');
23 | Route::get('admin/airport/{id}', 'AirportController@airportDetail');
24 | Route::get('admin/airport/{id}/update', 'AirportController@airportUpdate');
25 | Route::get('admin/airport/{id}/delete', 'AirportController@airportDelete');
26 |
27 | Route::get('admin/airline', 'AirlineController@airline');
28 | Route::get('admin/airline/{id}', 'AirlineController@airlineDetail');
29 | Route::get('admin/airline/{id}/update', 'AirlineController@airlineUpdate');
30 | Route::get('admin/airline/{id}/delete', 'AirlineController@airlineDelete');
31 |
32 | Route::get('admin/plane', 'PlaneController@plane');
33 | Route::get('admin/plane/{id}', 'PlaneController@planeDetail');
34 | Route::get('admin/plane/{id}/save', 'PlaneController@planeSave');
35 | Route::get('admin/plane/{id}/delete', 'PlaneController@planeDelete');
36 |
37 | Route::get('admin/route', 'RouteController@route');
38 | Route::get('admin/route/{id}', 'RouteController@routeDetail');
39 | Route::get('admin/route/{id}/save', 'RouteController@routeSave');
40 | Route::get('admin/route/{id}/delete', 'RouteController@routeDelete');
41 |
42 | Route::get('admin/reservation', 'ReservationController@reservation');
43 | Route::get('admin/reservation/pending', 'ReservationController@reservationPending');
44 | Route::get('admin/reservation/{id}', 'ReservationController@reservationDetail');
45 | Route::get('admin/reservation/{id}/save', 'ReservationController@reservationSave');
46 | Route::get('admin/reservation/{id}/delete', 'ReservationController@reservationDelete');
47 | Route::get('admin/reservation/{id}/{status}', 'ReservationController@reservationConfirm');
48 |
49 | Route::get('admin/customer', 'CustomerController@customer');
50 | Route::get('admin/customer/{id}', 'CustomerController@customerDetail');
51 | Route::get('admin/customer/{id}/save', 'CustomerController@customerSave');
52 | Route::get('admin/customer/{id}/delete', 'CustomerController@customerDelete');
53 |
54 | Route::get('admin/staff', 'StaffController@staff');
55 | Route::get('admin/staff/{id}', 'StaffController@staffDetail');
56 | Route::get('admin/staff/{id}/save', 'StaffController@staffSave');
57 | Route::get('admin/staff/{id}/delete', 'StaffController@staffDelete');
58 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/storage/app/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !public/
3 | !.gitignore
4 |
--------------------------------------------------------------------------------
/storage/app/public/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/storage/framework/cache/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !data/
3 | !.gitignore
4 |
--------------------------------------------------------------------------------
/storage/framework/cache/data/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/framework/sessions/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/framework/testing/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/framework/views/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/logs/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/tests/CreatesApplication.php:
--------------------------------------------------------------------------------
1 | make(Kernel::class)->bootstrap();
19 |
20 | return $app;
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/tests/Feature/ExampleTest.php:
--------------------------------------------------------------------------------
1 | get('/');
18 |
19 | $response->assertStatus(200);
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/tests/TestCase.php:
--------------------------------------------------------------------------------
1 | assertTrue(true);
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------