├── .env.example
├── .gitattributes
├── .gitignore
├── README.md
├── app
├── Category.php
├── Console
│ └── Kernel.php
├── Contact.php
├── Exceptions
│ └── Handler.php
├── Http
│ ├── Controllers
│ │ ├── Admin
│ │ │ ├── CategoryController.php
│ │ │ ├── ContactController.php
│ │ │ ├── DashboardController.php
│ │ │ ├── ItemController.php
│ │ │ ├── ReservationController.php
│ │ │ └── SliderController.php
│ │ ├── Auth
│ │ │ ├── ForgotPasswordController.php
│ │ │ ├── LoginController.php
│ │ │ ├── RegisterController.php
│ │ │ └── ResetPasswordController.php
│ │ ├── ContactController.php
│ │ ├── Controller.php
│ │ ├── HomeController.php
│ │ └── ReservationController.php
│ ├── Kernel.php
│ └── Middleware
│ │ ├── EncryptCookies.php
│ │ ├── RedirectIfAuthenticated.php
│ │ ├── TrimStrings.php
│ │ ├── TrustProxies.php
│ │ └── VerifyCsrfToken.php
├── Item.php
├── Notifications
│ └── ReservationConfirmed.php
├── Providers
│ ├── AppServiceProvider.php
│ ├── AuthServiceProvider.php
│ ├── BroadcastServiceProvider.php
│ ├── EventServiceProvider.php
│ └── RouteServiceProvider.php
├── Reservation.php
├── Slider.php
└── User.php
├── artisan
├── bootstrap
├── app.php
└── cache
│ └── .gitignore
├── composer.json
├── composer.lock
├── config
├── app.php
├── auth.php
├── broadcasting.php
├── cache.php
├── database.php
├── filesystems.php
├── hashing.php
├── logging.php
├── mail.php
├── queue.php
├── services.php
├── session.php
├── toastr.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
│ ├── 2018_02_14_154912_create_sliders_table.php
│ ├── 2018_02_18_143201_create_categories_table.php
│ ├── 2018_02_19_144026_create_items_table.php
│ ├── 2018_03_06_113535_create_reservations_table.php
│ └── 2018_03_06_151601_create_contacts_table.php
└── seeds
│ └── DatabaseSeeder.php
├── package.json
├── phpunit.xml
├── public
├── .htaccess
├── backend
│ ├── css
│ │ ├── bootstrap.min.css
│ │ ├── demo.css
│ │ └── material-dashboard.css
│ ├── fonts
│ │ ├── glyphicons-halflings-regular.ttf
│ │ ├── glyphicons-halflings-regular.woff
│ │ └── glyphicons-halflings-regular.woff2
│ ├── img
│ │ ├── apple-icon.png
│ │ ├── cover.jpeg
│ │ ├── faces
│ │ │ └── marc.jpg
│ │ ├── favicon.png
│ │ ├── mask.png
│ │ ├── new_logo.png
│ │ ├── sidebar-1.jpg
│ │ ├── sidebar-2.jpg
│ │ ├── sidebar-3.jpg
│ │ ├── sidebar-4.jpg
│ │ └── tim_80x80.png
│ ├── js
│ │ ├── arrive.min.js
│ │ ├── bootstrap-notify.js
│ │ ├── bootstrap.min.js
│ │ ├── chartist.min.js
│ │ ├── demo.js
│ │ ├── jquery-3.2.1.min.js
│ │ ├── material-dashboard.js
│ │ ├── material.min.js
│ │ └── perfect-scrollbar.jquery.min.js
│ └── sass
│ │ ├── material-dashboard.scss
│ │ └── md
│ │ ├── _alerts.scss
│ │ ├── _buttons.scss
│ │ ├── _cards.scss
│ │ ├── _chartist.scss
│ │ ├── _checkboxes.scss
│ │ ├── _colors.scss
│ │ ├── _dialogs.scss
│ │ ├── _dropdown.scss
│ │ ├── _footers.scss
│ │ ├── _forms.scss
│ │ ├── _inputs-size.scss
│ │ ├── _inputs.scss
│ │ ├── _misc.scss
│ │ ├── _mixins.scss
│ │ ├── _navbars.scss
│ │ ├── _pagination.scss
│ │ ├── _pills.scss
│ │ ├── _popups.scss
│ │ ├── _radios.scss
│ │ ├── _responsive.scss
│ │ ├── _ripples.scss
│ │ ├── _shadows.scss
│ │ ├── _sidebar-and-main-panel.scss
│ │ ├── _tables.scss
│ │ ├── _tabs.scss
│ │ ├── _togglebutton.scss
│ │ ├── _typography.scss
│ │ ├── _variables.scss
│ │ ├── mixins
│ │ ├── _chartist.scss
│ │ ├── _transparency.scss
│ │ └── _vendor-prefixes.scss
│ │ └── plugins
│ │ ├── _animate.scss
│ │ ├── _perfect-scrollbar.scss
│ │ └── _plugin-nouislider.scss
├── favicon.ico
├── frontend
│ ├── css
│ │ ├── animate.css
│ │ ├── bootstrap-datetimepicker.min.css
│ │ ├── bootstrap.min.css
│ │ ├── flexslider.css
│ │ ├── font-awesome.min.css
│ │ ├── main.css
│ │ ├── owl.carousel.css
│ │ ├── owl.theme.css
│ │ └── pricing.css
│ ├── fonts
│ │ ├── FontAwesome.otf
│ │ ├── fontawesome-webfont.eot
│ │ ├── fontawesome-webfont.svg
│ │ ├── fontawesome-webfont.ttf
│ │ ├── fontawesome-webfont.woff
│ │ ├── fontawesome-webfont.woff2
│ │ ├── glyphicons-halflings-regular.eot
│ │ ├── glyphicons-halflings-regular.svg
│ │ ├── glyphicons-halflings-regular.ttf
│ │ └── glyphicons-halflings-regular.woff
│ ├── images
│ │ ├── 1.jpg
│ │ ├── 2.jpg
│ │ ├── 3.jpg
│ │ ├── 4.jpg
│ │ ├── About-C-bg.jpg
│ │ ├── GPtE-bg.jpg
│ │ ├── Logo_main.png
│ │ ├── Logo_stick.png
│ │ ├── OBM-bg.jpg
│ │ ├── OFDM-bg.jpg
│ │ ├── RaT-bg.jpg
│ │ ├── Thumbs.db
│ │ ├── a17.png
│ │ ├── beer-bg1.png
│ │ ├── beer-bg2.png
│ │ ├── bread-bg1.png
│ │ ├── bread-bg2.png
│ │ ├── cercle1.png
│ │ ├── cercle2.png
│ │ ├── cercle3.png
│ │ ├── cercle4.png
│ │ ├── food1.jpg
│ │ ├── food10.jpg
│ │ ├── food2.jpg
│ │ ├── food3.jpg
│ │ ├── food4.jpg
│ │ ├── food5.jpg
│ │ ├── food6.jpg
│ │ ├── food7.jpg
│ │ ├── food8.jpg
│ │ ├── food9.jpg
│ │ ├── icons
│ │ │ ├── about_color.png
│ │ │ ├── beer_black.png
│ │ │ ├── beer_color.png
│ │ │ ├── bread_black.png
│ │ │ ├── bread_color.png
│ │ │ ├── food_black.png
│ │ │ ├── food_color.png
│ │ │ ├── reserve_black.png
│ │ │ └── reserve_color.png
│ │ ├── loading.gif
│ │ ├── menu-gallery
│ │ │ ├── menu1-thumb.png
│ │ │ ├── menu1.png
│ │ │ ├── menu10-thumb.jpg
│ │ │ ├── menu10.jpg
│ │ │ ├── menu11-thumb.jpg
│ │ │ ├── menu11.jpg
│ │ │ ├── menu12-thumb.jpg
│ │ │ ├── menu12.jpg
│ │ │ ├── menu2-thumb.jpg
│ │ │ ├── menu2.jpg
│ │ │ ├── menu3-thumb.png
│ │ │ ├── menu3.png
│ │ │ ├── menu4-thumb.jpg
│ │ │ ├── menu4.jpg
│ │ │ ├── menu5-thumb.jpg
│ │ │ ├── menu5.jpg
│ │ │ ├── menu6-thumb.jpg
│ │ │ ├── menu6.jpg
│ │ │ ├── menu7-thumb.jpg
│ │ │ ├── menu7.jpg
│ │ │ ├── menu8-thumb.jpg
│ │ │ ├── menu8.jpg
│ │ │ ├── menu9-thumb.jpg
│ │ │ └── menu9.jpg
│ │ ├── pricing_bg.jpg
│ │ ├── social
│ │ │ ├── facebook_black.png
│ │ │ ├── facebook_color.png
│ │ │ ├── g-plus_black.png
│ │ │ ├── g-plus_color.png
│ │ │ ├── linkedin_black.png
│ │ │ ├── linkedin_color.png
│ │ │ ├── twitter_black.png
│ │ │ └── twitter_color.png
│ │ └── t01.png
│ └── js
│ │ ├── bootstrap-datetimepicker.min.js
│ │ ├── bootstrap.min.js
│ │ ├── jQuery.scrollSpeed.js
│ │ ├── jquery-1.11.2.min.js
│ │ ├── jquery.flexslider.min.js
│ │ ├── jquery.hoverdir.js
│ │ ├── jquery.mixitup.min.js
│ │ ├── jquery.validate.js
│ │ ├── jssor.core.js
│ │ ├── jssor.slider.js
│ │ ├── jssor.utils.js
│ │ ├── owl.carousel.min.js
│ │ ├── script.js
│ │ └── wow.min.js
├── index.php
└── robots.txt
├── resources
├── assets
│ ├── js
│ │ ├── app.js
│ │ ├── bootstrap.js
│ │ └── components
│ │ │ └── ExampleComponent.vue
│ └── sass
│ │ ├── _variables.scss
│ │ └── app.scss
├── lang
│ └── en
│ │ ├── auth.php
│ │ ├── pagination.php
│ │ ├── passwords.php
│ │ └── validation.php
└── views
│ ├── admin
│ ├── category
│ │ ├── create.blade.php
│ │ ├── edit.blade.php
│ │ └── index.blade.php
│ ├── contact
│ │ ├── index.blade.php
│ │ └── show.blade.php
│ ├── dashboard.blade.php
│ ├── item
│ │ ├── create.blade.php
│ │ ├── edit.blade.php
│ │ └── index.blade.php
│ ├── reservation
│ │ └── index.blade.php
│ └── slider
│ │ ├── create.blade.php
│ │ ├── edit.blade.php
│ │ └── index.blade.php
│ ├── auth
│ ├── login.blade.php
│ ├── passwords
│ │ ├── email.blade.php
│ │ └── reset.blade.php
│ └── register.blade.php
│ ├── home.blade.php
│ ├── layouts
│ ├── app.blade.php
│ └── partial
│ │ ├── footer.blade.php
│ │ ├── msg.blade.php
│ │ ├── sidebar.blade.php
│ │ └── topbar.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
│ ├── sessions
│ │ └── .gitignore
│ ├── testing
│ │ └── .gitignore
│ └── views
│ │ └── .gitignore
└── logs
│ └── .gitignore
├── tests
├── CreatesApplication.php
├── Feature
│ └── ExampleTest.php
├── TestCase.php
└── Unit
│ └── ExampleTest.php
├── webpack.mix.js
└── yarn.lock
/.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 | SESSION_DRIVER=file
19 | SESSION_LIFETIME=120
20 | QUEUE_DRIVER=sync
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 | PUSHER_APP_ID=
34 | PUSHER_APP_KEY=
35 | PUSHER_APP_SECRET=
36 | PUSHER_APP_CLUSTER=mt1
37 |
38 | MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
39 | MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
40 |
--------------------------------------------------------------------------------
/.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 | /.idea
7 | /.vscode
8 | /.vagrant
9 | Homestead.json
10 | Homestead.yaml
11 | npm-debug.log
12 | yarn-error.log
13 | .env
14 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | "# mammaskitchen"
2 |
--------------------------------------------------------------------------------
/app/Category.php:
--------------------------------------------------------------------------------
1 | hasMany('App\Item');
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/app/Console/Kernel.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/Contact.php:
--------------------------------------------------------------------------------
1 | validate($request,[
41 | 'name' => 'required'
42 | ]);
43 | $category = new Category();
44 | $category->name = $request->name;
45 | $category->slug = str_slug($request->name);
46 | $category->save();
47 | return redirect()->route('category.index')->with('successMsg','Category Successfully Saved');
48 | }
49 |
50 | /**
51 | * Display the specified resource.
52 | *
53 | * @param int $id
54 | * @return \Illuminate\Http\Response
55 | */
56 | public function show($id)
57 | {
58 | //
59 | }
60 |
61 | /**
62 | * Show the form for editing the specified resource.
63 | *
64 | * @param int $id
65 | * @return \Illuminate\Http\Response
66 | */
67 | public function edit($id)
68 | {
69 | $category = Category::find($id);
70 | return view('admin.category.edit',compact('category'));
71 | }
72 |
73 | /**
74 | * Update the specified resource in storage.
75 | *
76 | * @param \Illuminate\Http\Request $request
77 | * @param int $id
78 | * @return \Illuminate\Http\Response
79 | */
80 | public function update(Request $request, $id)
81 | {
82 | $this->validate($request,[
83 | 'name'=>'required'
84 | ]);
85 |
86 | $category = Category::find($id);
87 | $category->name = $request->name;
88 | $category->slug = str_slug($request->name);
89 | $category->save();
90 | return redirect()->route('category.index')->with('successMsg','Category Successfully Updated');
91 | }
92 |
93 | /**
94 | * Remove the specified resource from storage.
95 | *
96 | * @param int $id
97 | * @return \Illuminate\Http\Response
98 | */
99 | public function destroy($id)
100 | {
101 | Category::find($id)->delete();
102 | return redirect()->back()->with('successMsg','Category Successfully Delete');
103 | }
104 | }
105 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Admin/ContactController.php:
--------------------------------------------------------------------------------
1 | delete();
26 | Toastr::success('Contact Message successfully deleted','Success',["positionClass" => "toast-top-right"]);
27 | return redirect()->back();
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Admin/DashboardController.php:
--------------------------------------------------------------------------------
1 | get();
21 | $contactCount = Contact::count();
22 | return view('admin.dashboard',compact('categoryCount','itemCount','sliderCount','reservations','contactCount'));
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Admin/ReservationController.php:
--------------------------------------------------------------------------------
1 | status = true;
22 | $reservation->save();
23 | Notification::route('mail',$reservation->email )
24 | ->notify(new ReservationConfirmed());
25 | Toastr::success('Reservation successfully confirmed.','Success',["positionClass" => "toast-top-right"]);
26 | return redirect()->back();
27 | }
28 | public function destory($id){
29 | Reservation::find($id)->delete();
30 | Toastr::success('Reservation successfully deleted.','Success',["positionClass" => "toast-top-right"]);
31 | return redirect()->back();
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/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:6|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/ContactController.php:
--------------------------------------------------------------------------------
1 | validate($request,[
14 | 'name' => 'required',
15 | 'email' => 'required',
16 | 'subject' => 'required',
17 | 'message' => 'required',
18 | ]);
19 |
20 | $contact = new Contact();
21 | $contact->name = $request->name;
22 | $contact->email = $request->email;
23 | $contact->subject = $request->subject;
24 | $contact->message = $request->message;
25 | $contact->save();
26 |
27 | Toastr::success('Your message successfully send.','Success',["positionClass" => "toast-top-right"]);
28 | return redirect()->back();
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Controller.php:
--------------------------------------------------------------------------------
1 | validate($request,[
14 | 'name' => 'required',
15 | 'phone' => 'required',
16 | 'email' => 'required|email',
17 | 'dateandtime' => 'required'
18 | ]);
19 | $reservation = new Reservation();
20 | $reservation->name = $request->name;
21 | $reservation->phone = $request->phone;
22 | $reservation->email = $request->email;
23 | $reservation->date_and_time = $request->dateandtime;
24 | $reservation->message = $request->message;
25 | $reservation->status = false;
26 | $reservation->save();
27 | Toastr::success('Reservation request sent successfully. we will confirm to you shortly','Success',["positionClass" => "toast-top-right"]);
28 | return redirect()->back();
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/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' => \Illuminate\Auth\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 | 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
61 | ];
62 | }
63 |
--------------------------------------------------------------------------------
/app/Http/Middleware/EncryptCookies.php:
--------------------------------------------------------------------------------
1 | check()) {
21 | return redirect('/admin/dashboard');
22 | }
23 |
24 | return $next($request);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/app/Http/Middleware/TrimStrings.php:
--------------------------------------------------------------------------------
1 | belongsTo('App\Category');
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/app/Notifications/ReservationConfirmed.php:
--------------------------------------------------------------------------------
1 | line('Your reservation has been confirmed.')
45 | ->line('Thank you for using our application!');
46 | }
47 |
48 | /**
49 | * Get the array representation of the notification.
50 | *
51 | * @param mixed $notifiable
52 | * @return array
53 | */
54 | public function toArray($notifiable)
55 | {
56 | return [
57 | //
58 | ];
59 | }
60 | }
61 |
--------------------------------------------------------------------------------
/app/Providers/AppServiceProvider.php:
--------------------------------------------------------------------------------
1 | 'App\Policies\ModelPolicy',
17 | ];
18 |
19 | /**
20 | * Register any authentication / authorization services.
21 | *
22 | * @return void
23 | */
24 | public function boot()
25 | {
26 | $this->registerPolicies();
27 |
28 | //
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/app/Providers/BroadcastServiceProvider.php:
--------------------------------------------------------------------------------
1 | [
17 | 'App\Listeners\EventListener',
18 | ],
19 | ];
20 |
21 | /**
22 | * Register any events for your application.
23 | *
24 | * @return void
25 | */
26 | public function boot()
27 | {
28 | parent::boot();
29 |
30 | //
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/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 | 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 | "description": "The Laravel Framework.",
4 | "keywords": ["framework", "laravel"],
5 | "license": "MIT",
6 | "type": "project",
7 | "require": {
8 | "php": ">=7.1.3",
9 | "brian2694/laravel-toastr": "^5.5",
10 | "fideloper/proxy": "~4.0",
11 | "laravel/framework": "5.6.*",
12 | "laravel/tinker": "~1.0"
13 | },
14 | "require-dev": {
15 | "filp/whoops": "~2.0",
16 | "nunomaduro/collision": "~1.1",
17 | "fzaninotto/faker": "~1.4",
18 | "mockery/mockery": "~1.0",
19 | "phpunit/phpunit": "~7.0",
20 | "symfony/thanks": "^1.0"
21 | },
22 | "autoload": {
23 | "classmap": [
24 | "database/seeds",
25 | "database/factories"
26 | ],
27 | "psr-4": {
28 | "App\\": "app/"
29 | }
30 | },
31 | "autoload-dev": {
32 | "psr-4": {
33 | "Tests\\": "tests/"
34 | }
35 | },
36 | "extra": {
37 | "laravel": {
38 | "dont-discover": [
39 | ]
40 | }
41 | },
42 | "scripts": {
43 | "post-root-package-install": [
44 | "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
45 | ],
46 | "post-create-project-cmd": [
47 | "@php artisan key:generate"
48 | ],
49 | "post-autoload-dump": [
50 | "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
51 | "@php artisan package:discover"
52 | ]
53 | },
54 | "config": {
55 | "preferred-install": "dist",
56 | "sort-packages": true,
57 | "optimize-autoloader": true
58 | },
59 | "minimum-stability": "dev",
60 | "prefer-stable": true
61 | }
62 |
--------------------------------------------------------------------------------
/config/auth.php:
--------------------------------------------------------------------------------
1 | [
17 | 'guard' => 'web',
18 | 'passwords' => 'users',
19 | ],
20 |
21 | /*
22 | |--------------------------------------------------------------------------
23 | | Authentication Guards
24 | |--------------------------------------------------------------------------
25 | |
26 | | Next, you may define every authentication guard for your application.
27 | | Of course, a great default configuration has been defined for you
28 | | here which uses session storage and the Eloquent user provider.
29 | |
30 | | All authentication drivers have a user provider. This defines how the
31 | | users are actually retrieved out of your database or other storage
32 | | mechanisms used by this application to persist your user's data.
33 | |
34 | | Supported: "session", "token"
35 | |
36 | */
37 |
38 | 'guards' => [
39 | 'web' => [
40 | 'driver' => 'session',
41 | 'provider' => 'users',
42 | ],
43 |
44 | 'api' => [
45 | 'driver' => 'token',
46 | 'provider' => 'users',
47 | ],
48 | ],
49 |
50 | /*
51 | |--------------------------------------------------------------------------
52 | | User Providers
53 | |--------------------------------------------------------------------------
54 | |
55 | | All authentication drivers have a user provider. This defines how the
56 | | users are actually retrieved out of your database or other storage
57 | | mechanisms used by this application to persist your user's data.
58 | |
59 | | If you have multiple user tables or models you may configure multiple
60 | | sources which represent each model / table. These sources may then
61 | | be assigned to any extra authentication guards you have defined.
62 | |
63 | | Supported: "database", "eloquent"
64 | |
65 | */
66 |
67 | 'providers' => [
68 | 'users' => [
69 | 'driver' => 'eloquent',
70 | 'model' => App\User::class,
71 | ],
72 |
73 | // 'users' => [
74 | // 'driver' => 'database',
75 | // 'table' => 'users',
76 | // ],
77 | ],
78 |
79 | /*
80 | |--------------------------------------------------------------------------
81 | | Resetting Passwords
82 | |--------------------------------------------------------------------------
83 | |
84 | | You may specify multiple password reset configurations if you have more
85 | | than one user table or model in the application and you want to have
86 | | separate password reset settings based on the specific user types.
87 | |
88 | | The expire time is the number of minutes that the reset token should be
89 | | considered valid. This security feature keeps tokens short-lived so
90 | | they have less time to be guessed. You may change this as needed.
91 | |
92 | */
93 |
94 | 'passwords' => [
95 | 'users' => [
96 | 'provider' => 'users',
97 | 'table' => 'password_resets',
98 | 'expire' => 60,
99 | ],
100 | ],
101 |
102 | ];
103 |
--------------------------------------------------------------------------------
/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'),
19 |
20 | /*
21 | |--------------------------------------------------------------------------
22 | | Cache Stores
23 | |--------------------------------------------------------------------------
24 | |
25 | | Here you may define all of the cache "stores" for your application as
26 | | well as their drivers. You may even define multiple stores for the
27 | | same cache driver to group types of items stored in your caches.
28 | |
29 | */
30 |
31 | 'stores' => [
32 |
33 | 'apc' => [
34 | 'driver' => 'apc',
35 | ],
36 |
37 | 'array' => [
38 | 'driver' => 'array',
39 | ],
40 |
41 | 'database' => [
42 | 'driver' => 'database',
43 | 'table' => 'cache',
44 | 'connection' => null,
45 | ],
46 |
47 | 'file' => [
48 | 'driver' => 'file',
49 | 'path' => storage_path('framework/cache/data'),
50 | ],
51 |
52 | 'memcached' => [
53 | 'driver' => 'memcached',
54 | 'persistent_id' => env('MEMCACHED_PERSISTENT_ID'),
55 | 'sasl' => [
56 | env('MEMCACHED_USERNAME'),
57 | env('MEMCACHED_PASSWORD'),
58 | ],
59 | 'options' => [
60 | // Memcached::OPT_CONNECT_TIMEOUT => 2000,
61 | ],
62 | 'servers' => [
63 | [
64 | 'host' => env('MEMCACHED_HOST', '127.0.0.1'),
65 | 'port' => env('MEMCACHED_PORT', 11211),
66 | 'weight' => 100,
67 | ],
68 | ],
69 | ],
70 |
71 | 'redis' => [
72 | 'driver' => 'redis',
73 | 'connection' => 'default',
74 | ],
75 |
76 | ],
77 |
78 | /*
79 | |--------------------------------------------------------------------------
80 | | Cache Key Prefix
81 | |--------------------------------------------------------------------------
82 | |
83 | | When utilizing a RAM based store such as APC or Memcached, there might
84 | | be other applications utilizing the same cache. So, we'll specify a
85 | | value to get prefixed to all our keys so we can avoid collisions.
86 | |
87 | */
88 |
89 | 'prefix' => env(
90 | 'CACHE_PREFIX',
91 | str_slug(env('APP_NAME', 'laravel'), '_').'_cache'
92 | ),
93 |
94 | ];
95 |
--------------------------------------------------------------------------------
/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", "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 |
--------------------------------------------------------------------------------
/config/logging.php:
--------------------------------------------------------------------------------
1 | env('LOG_CHANNEL', 'stack'),
17 |
18 | /*
19 | |--------------------------------------------------------------------------
20 | | Log Channels
21 | |--------------------------------------------------------------------------
22 | |
23 | | Here you may configure the log channels for your application. Out of
24 | | the box, Laravel uses the Monolog PHP logging library. This gives
25 | | you a variety of powerful log handlers / formatters to utilize.
26 | |
27 | | Available Drivers: "single", "daily", "slack", "syslog",
28 | | "errorlog", "custom", "stack"
29 | |
30 | */
31 |
32 | 'channels' => [
33 | 'stack' => [
34 | 'driver' => 'stack',
35 | 'channels' => ['single'],
36 | ],
37 |
38 | 'single' => [
39 | 'driver' => 'single',
40 | 'path' => storage_path('logs/laravel.log'),
41 | 'level' => 'debug',
42 | ],
43 |
44 | 'daily' => [
45 | 'driver' => 'daily',
46 | 'path' => storage_path('logs/laravel.log'),
47 | 'level' => 'debug',
48 | 'days' => 7,
49 | ],
50 |
51 | 'slack' => [
52 | 'driver' => 'slack',
53 | 'url' => env('LOG_SLACK_WEBHOOK_URL'),
54 | 'username' => 'Laravel Log',
55 | 'emoji' => ':boom:',
56 | 'level' => 'critical',
57 | ],
58 |
59 | 'syslog' => [
60 | 'driver' => 'syslog',
61 | 'level' => 'debug',
62 | ],
63 |
64 | 'errorlog' => [
65 | 'driver' => 'errorlog',
66 | 'level' => 'debug',
67 | ],
68 | ],
69 |
70 | ];
71 |
--------------------------------------------------------------------------------
/config/queue.php:
--------------------------------------------------------------------------------
1 | env('QUEUE_DRIVER', 'sync'),
19 |
20 | /*
21 | |--------------------------------------------------------------------------
22 | | Queue Connections
23 | |--------------------------------------------------------------------------
24 | |
25 | | Here you may configure the connection information for each server that
26 | | is used by your application. A default configuration has been added
27 | | for each back-end shipped with Laravel. You are free to add more.
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 | ],
50 |
51 | 'sqs' => [
52 | 'driver' => 'sqs',
53 | 'key' => env('SQS_KEY', 'your-public-key'),
54 | 'secret' => env('SQS_SECRET', 'your-secret-key'),
55 | 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'),
56 | 'queue' => env('SQS_QUEUE', 'your-queue-name'),
57 | 'region' => env('SQS_REGION', 'us-east-1'),
58 | ],
59 |
60 | 'redis' => [
61 | 'driver' => 'redis',
62 | 'connection' => 'default',
63 | 'queue' => 'default',
64 | 'retry_after' => 90,
65 | 'block_for' => null,
66 | ],
67 |
68 | ],
69 |
70 | /*
71 | |--------------------------------------------------------------------------
72 | | Failed Queue Jobs
73 | |--------------------------------------------------------------------------
74 | |
75 | | These options configure the behavior of failed queue job logging so you
76 | | can control which database and table are used to store the jobs that
77 | | have failed. You may change them to any database / table you wish.
78 | |
79 | */
80 |
81 | 'failed' => [
82 | 'database' => env('DB_CONNECTION', 'mysql'),
83 | 'table' => 'failed_jobs',
84 | ],
85 |
86 | ];
87 |
--------------------------------------------------------------------------------
/config/services.php:
--------------------------------------------------------------------------------
1 | [
18 | 'domain' => env('MAILGUN_DOMAIN'),
19 | 'secret' => env('MAILGUN_SECRET'),
20 | ],
21 |
22 | 'ses' => [
23 | 'key' => env('SES_KEY'),
24 | 'secret' => env('SES_SECRET'),
25 | 'region' => 'us-east-1',
26 | ],
27 |
28 | 'sparkpost' => [
29 | 'secret' => env('SPARKPOST_SECRET'),
30 | ],
31 |
32 | 'stripe' => [
33 | 'model' => App\User::class,
34 | 'key' => env('STRIPE_KEY'),
35 | 'secret' => env('STRIPE_SECRET'),
36 | ],
37 |
38 | ];
39 |
--------------------------------------------------------------------------------
/config/toastr.php:
--------------------------------------------------------------------------------
1 | [
5 | "closeButton" => true,
6 | "debug" => false,
7 | "newestOnTop" => false,
8 | "progressBar" => true,
9 | "positionClass" => "toast-top-right",
10 | "preventDuplicates" => false,
11 | "onclick" => null,
12 | "showDuration" => "300",
13 | "hideDuration" => "1000",
14 | "timeOut" => "5000",
15 | "extendedTimeOut" => "1000",
16 | "showEasing" => "swing",
17 | "hideEasing" => "linear",
18 | "showMethod" => "fadeIn",
19 | "hideMethod" => "fadeOut"
20 | ],
21 | ];
22 |
--------------------------------------------------------------------------------
/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' => realpath(storage_path('framework/views')),
32 |
33 | ];
34 |
--------------------------------------------------------------------------------
/database/.gitignore:
--------------------------------------------------------------------------------
1 | *.sqlite
2 |
--------------------------------------------------------------------------------
/database/factories/UserFactory.php:
--------------------------------------------------------------------------------
1 | define(App\User::class, function (Faker $faker) {
17 | return [
18 | 'name' => $faker->name,
19 | 'email' => $faker->unique()->safeEmail,
20 | 'password' => '$2y$10$TKh8H1.PfQx37YgCzwiKb.KjNyWgaHb9cbcoQgdIVFlYg7B77UdFm', // secret
21 | 'remember_token' => str_random(10),
22 | ];
23 | });
24 |
--------------------------------------------------------------------------------
/database/migrations/2014_10_12_000000_create_users_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
18 | $table->string('name');
19 | $table->string('email')->unique();
20 | $table->string('password');
21 | $table->rememberToken();
22 | $table->timestamps();
23 | });
24 | }
25 |
26 | /**
27 | * Reverse the migrations.
28 | *
29 | * @return void
30 | */
31 | public function down()
32 | {
33 | Schema::dropIfExists('users');
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/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/migrations/2018_02_14_154912_create_sliders_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
18 | $table->string('title');
19 | $table->string('sub_title');
20 | $table->string('image')->default('default.png');
21 | $table->timestamps();
22 | });
23 | }
24 |
25 | /**
26 | * Reverse the migrations.
27 | *
28 | * @return void
29 | */
30 | public function down()
31 | {
32 | Schema::dropIfExists('sliders');
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/database/migrations/2018_02_18_143201_create_categories_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
18 | $table->string('name');
19 | $table->string('slug');
20 | $table->timestamps();
21 | });
22 | }
23 |
24 | /**
25 | * Reverse the migrations.
26 | *
27 | * @return void
28 | */
29 | public function down()
30 | {
31 | Schema::dropIfExists('categories');
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/database/migrations/2018_02_19_144026_create_items_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
18 | $table->integer('category_id')->unsigned();
19 | $table->string('name');
20 | $table->text('description');
21 | $table->integer('price');
22 | $table->string('image');
23 | $table->foreign('category_id')
24 | ->references('id')->on('categories')
25 | ->onDelete('cascade');
26 | $table->timestamps();
27 | });
28 | }
29 |
30 | /**
31 | * Reverse the migrations.
32 | *
33 | * @return void
34 | */
35 | public function down()
36 | {
37 | Schema::dropIfExists('items');
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/database/migrations/2018_03_06_113535_create_reservations_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
18 | $table->string('name');
19 | $table->string('phone');
20 | $table->string('email');
21 | $table->string('date_and_time');
22 | $table->string('message');
23 | $table->boolean('status');
24 | $table->timestamps();
25 | });
26 | }
27 |
28 | /**
29 | * Reverse the migrations.
30 | *
31 | * @return void
32 | */
33 | public function down()
34 | {
35 | Schema::dropIfExists('reservations');
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/database/migrations/2018_03_06_151601_create_contacts_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
18 | $table->string('name');
19 | $table->string('email');
20 | $table->string('subject');
21 | $table->text('message');
22 | $table->timestamps();
23 | });
24 | }
25 |
26 | /**
27 | * Reverse the migrations.
28 | *
29 | * @return void
30 | */
31 | public function down()
32 | {
33 | Schema::dropIfExists('contacts');
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/database/seeds/DatabaseSeeder.php:
--------------------------------------------------------------------------------
1 | name = 'Admin';
17 | $user->email = 'admin@programmingkit.net';
18 | $user->password = bcrypt('password');
19 | $user->save();
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/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": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
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.17",
14 | "bootstrap": "^4.0.0",
15 | "popper.js": "^1.12",
16 | "cross-env": "^5.1",
17 | "jquery": "^3.2",
18 | "laravel-mix": "^2.0",
19 | "lodash": "^4.17.4",
20 | "vue": "^2.5.7"
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/phpunit.xml:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
13 | ./tests/Feature
14 |
15 |
16 |
17 | ./tests/Unit
18 |
19 |
20 |
21 |
22 | ./app
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/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/backend/css/demo.css:
--------------------------------------------------------------------------------
1 | @media (min-width: 992px) {
2 | .typo-line {
3 | padding-left: 140px;
4 | margin-bottom: 40px;
5 | position: relative;
6 | }
7 | .typo-line .category {
8 | transform: translateY(-50%);
9 | top: 50%;
10 | left: 0px;
11 | position: absolute;
12 | }
13 | .sidebar .nav>li.active-pro {
14 | position: absolute;
15 | width: 100%;
16 | bottom: 10px;
17 | }
18 | }
19 |
20 | #map {
21 | position: relative;
22 | width: 100%;
23 | height: calc(100% - 60px);
24 | margin-top: 70px;
25 | }
26 |
27 | .places-buttons .btn {
28 | margin-bottom: 30px
29 | }
30 |
31 | .space-70 {
32 | height: 70px;
33 | display: block;
34 | }
35 |
36 | .tim-row {
37 | margin-bottom: 20px;
38 | }
39 |
40 | .tim-typo {
41 | padding-left: 25%;
42 | margin-bottom: 40px;
43 | position: relative;
44 | }
45 |
46 | .tim-typo .tim-note {
47 | bottom: 10px;
48 | color: #c0c1c2;
49 | display: block;
50 | font-weight: 400;
51 | font-size: 13px;
52 | line-height: 13px;
53 | left: 0;
54 | margin-left: 20px;
55 | position: absolute;
56 | width: 260px;
57 | }
58 |
59 | .tim-row {
60 | padding-top: 50px;
61 | }
62 |
63 | .tim-row h3 {
64 | margin-top: 0;
65 | }
--------------------------------------------------------------------------------
/public/backend/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/backend/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/public/backend/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/backend/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/public/backend/fonts/glyphicons-halflings-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/backend/fonts/glyphicons-halflings-regular.woff2
--------------------------------------------------------------------------------
/public/backend/img/apple-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/backend/img/apple-icon.png
--------------------------------------------------------------------------------
/public/backend/img/cover.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/backend/img/cover.jpeg
--------------------------------------------------------------------------------
/public/backend/img/faces/marc.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/backend/img/faces/marc.jpg
--------------------------------------------------------------------------------
/public/backend/img/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/backend/img/favicon.png
--------------------------------------------------------------------------------
/public/backend/img/mask.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/backend/img/mask.png
--------------------------------------------------------------------------------
/public/backend/img/new_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/backend/img/new_logo.png
--------------------------------------------------------------------------------
/public/backend/img/sidebar-1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/backend/img/sidebar-1.jpg
--------------------------------------------------------------------------------
/public/backend/img/sidebar-2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/backend/img/sidebar-2.jpg
--------------------------------------------------------------------------------
/public/backend/img/sidebar-3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/backend/img/sidebar-3.jpg
--------------------------------------------------------------------------------
/public/backend/img/sidebar-4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/backend/img/sidebar-4.jpg
--------------------------------------------------------------------------------
/public/backend/img/tim_80x80.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/backend/img/tim_80x80.png
--------------------------------------------------------------------------------
/public/backend/sass/material-dashboard.scss:
--------------------------------------------------------------------------------
1 | ---
2 | # Front matter comment to ensure Jekyll properly reads file.
3 | ---
4 |
5 | /*!
6 |
7 | =========================================================
8 | * Material Dashboard - v1.2.0
9 | =========================================================
10 |
11 | * Product Page: http://www.creative-tim.com/product/material-dashboard
12 | * Copyright 2017 Creative Tim (http://www.creative-tim.com)
13 | * Licensed under MIT (https://github.com/creativetimofficial/material-dashboard/blob/master/LICENSE.md)
14 |
15 | =========================================================
16 |
17 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
18 |
19 | */
20 |
21 |
22 | //variables and mixins
23 | @import "../_scss/md/variables";
24 | @import "../_scss/md/mixins";
25 | @import "../_scss/md/shadows";
26 |
27 | //plugin css
28 | @import "../_scss/md/plugins/_plugin-nouislider";
29 | @import "../_scss/md/plugins/_animate";
30 | @import "../_scss/md/plugins/_perfect-scrollbar";
31 |
32 | // Core CSS
33 | @import "../_scss/md/typography";
34 | @import "../_scss/md/sidebar-and-main-panel";
35 | @import "../_scss/md/buttons";
36 | @import "../_scss/md/misc";
37 | @import "../_scss/md/inputs";
38 | @import "../_scss/md/forms";
39 | @import "../_scss/md/alerts";
40 | @import "../_scss/md/tables";
41 | @import "../_scss/md/checkboxes";
42 | @import "../_scss/md/radios";
43 | @import "../_scss/md/togglebutton";
44 | @import "../_scss/md/ripples";
45 | @import "../_scss/md/pagination";
46 | @import "../_scss/md/pills";
47 | @import "../_scss/md/dialogs";
48 | @import "../_scss/md/navbars";
49 | @import "../_scss/md/popups";
50 | @import "../_scss/md/footers";
51 |
52 | // Fancy Stuff
53 | @import "../_scss/md/dropdown";
54 | @import "../_scss/md/cards";
55 | @import "../_scss/md/tabs";
56 | @import "../_scss/md/chartist";
57 | @import "../_scss/md/responsive";
58 |
--------------------------------------------------------------------------------
/public/backend/sass/md/_alerts.scss:
--------------------------------------------------------------------------------
1 | // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2 |
3 | .alert {
4 | border: 0;
5 | border-radius: 0;
6 | position: relative;
7 | padding: 20px 15px;
8 | line-height: 20px;
9 |
10 | b{
11 | font-weight: $font-weight-bold;
12 | text-transform: uppercase;
13 | font-size: $font-size-small;
14 | }
15 | // SASS conversion note: please mirror any content change in _mixins-shared.scss alert-variations-content
16 | @include alert-variations(unquote(".alert"), unquote(""), $mdb-text-color-light);
17 |
18 | &-info, &-danger, &-warning, &-success {
19 | color: $mdb-text-color-light;
20 | }
21 |
22 | &-default {
23 | a, .alert-link {
24 | color: $mdb-text-color-primary;
25 | }
26 | }
27 |
28 | i[data-notify="icon"] {
29 | font-size: 30px;
30 | display: block;
31 | left: 15px;
32 | position: absolute;
33 | top: 50%;
34 | margin-top: -15px;
35 | }
36 |
37 | span{
38 | display: block;
39 | max-width: 89%;
40 | }
41 |
42 | .alert-icon{
43 | display: block;
44 | float: left;
45 | margin-right: $margin-base;
46 |
47 | i{
48 | margin-top: -7px;
49 | top: 5px;
50 | position: relative;
51 | }
52 | }
53 | }
54 |
55 | .alert.alert-with-icon {
56 | padding-left: 65px;
57 | }
58 |
--------------------------------------------------------------------------------
/public/backend/sass/md/_dialogs.scss:
--------------------------------------------------------------------------------
1 | // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2 |
3 | //
4 | // Modals
5 | // Material Design element Dialogs
6 | // --------------------------------------------------
7 | .modal-content {
8 | @include shadow-z-5();
9 | border-radius: $border-radius-large;
10 | border: none;
11 | // Modal header
12 | // Top section of the modal w/ title and dismiss
13 | .modal-header {
14 | border-bottom: none;
15 | padding-top: 24px;
16 | padding-right: 24px;
17 | padding-bottom: 0;
18 | padding-left: 24px;
19 | }
20 | // Modal body
21 | // Where all modal content resides (sibling of .modal-header and .modal-footer)
22 | .modal-body {
23 | padding-top: 24px;
24 | padding-right: 24px;
25 | padding-bottom: 16px;
26 | padding-left: 24px;
27 | }
28 | // Footer (for actions)
29 | .modal-footer {
30 | border-top: none;
31 | padding: 7px;
32 |
33 | &.text-center{
34 | text-align: center;
35 | }
36 |
37 | button {
38 | margin: 0;
39 | padding-left: 16px;
40 | padding-right: 16px;
41 | width: auto;
42 | &.pull-left {
43 | padding-left: 5px;
44 | padding-right: 5px;
45 | position: relative;
46 | left: -5px;
47 | }
48 | }
49 | button+button {
50 | margin-bottom: 16px;
51 | }
52 | }
53 | .modal-body + .modal-footer {
54 | padding-top: 0;
55 | }
56 | }
57 | .modal-backdrop {
58 | background: rgba(0,0,0,0.3);
59 | }
60 |
61 | .modal{
62 | .modal-dialog{
63 | margin-top: 100px;
64 | }
65 | .modal-header .close{
66 | color: $gray-light;
67 |
68 | &:hover,
69 | &:focus{
70 | opacity: 1;
71 | }
72 |
73 | i{
74 | font-size: 16px;
75 | }
76 | }
77 | }
78 |
79 | .modal-notice {
80 | .instruction{
81 | margin-bottom: 25px;
82 | }
83 | .picture{
84 | max-width: 150px;
85 | }
86 |
87 | .modal-content{
88 | .btn-raised{
89 | margin-bottom: 15px;
90 | }
91 | }
92 | }
93 |
94 | .modal-small{
95 | width: 300px;
96 | .modal-body{
97 | margin-top: 20px;
98 | }
99 | }
--------------------------------------------------------------------------------
/public/backend/sass/md/_dropdown.scss:
--------------------------------------------------------------------------------
1 | .dropdown-menu {
2 | border: 0;
3 | box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
4 |
5 | .divider {
6 | background-color: rgba(0, 0, 0, .12);
7 | }
8 |
9 |
10 | li > a{
11 | font-size: $mdb-dropdown-font-size;
12 | padding: 10px 20px;
13 | margin: 0 5px;
14 | border-radius: $border-radius-small;
15 | @include transition($fast-transition-time, $transition-linear);
16 |
17 | &:hover,
18 | &:focus {
19 | @include shadow-8dp();
20 |
21 | }
22 | }
23 |
24 | &.dropdown-with-icons{
25 | li > a{
26 | padding: 12px 20px 12px 12px;
27 |
28 | .material-icons{
29 | vertical-align: middle;
30 | font-size: 24px;
31 | position: relative;
32 | margin-top: -4px;
33 | top: 1px;
34 | margin-right: 12px;
35 | opacity: .5;
36 | }
37 | }
38 | }
39 |
40 | li {
41 | position: relative;
42 | a:hover,
43 | a:focus,
44 | a:active {
45 | background-color: $brand-primary;
46 | color: #FFFFFF;
47 | }
48 | }
49 |
50 | .divider{
51 | margin: 5px 0;
52 | }
53 |
54 | .navbar &,
55 | .navbar.navbar-default &{
56 | li{
57 | a:hover,
58 | a:focus,
59 | a:active {
60 | background-color: $brand-primary;
61 | color: #FFFFFF;
62 | @include shadow-big-color($brand-primary);
63 | }
64 | }
65 | }
66 |
67 | }
68 |
69 |
70 | .navbar-nav > li > .dropdown-menu,
71 | .dropdown .dropdown-menu,
72 | .dropdown-menu.bootstrap-datetimepicker-widget{
73 | @include transition($fast-transition-time, $transition-linear);
74 | margin-top: -20px;
75 | visibility: hidden;
76 | display: block;
77 | @include opacity(0);
78 | }
79 | .navbar-nav > li.open > .dropdown-menu,
80 | .dropdown.open .dropdown-menu,
81 | .dropdown-menu.bootstrap-datetimepicker-widget.open{
82 | @include opacity(1);
83 | visibility: visible;
84 | margin-top: 0px;
85 |
86 | }
87 |
--------------------------------------------------------------------------------
/public/backend/sass/md/_footers.scss:
--------------------------------------------------------------------------------
1 | footer{
2 | padding: $padding-base 0;
3 |
4 | ul{
5 | margin-bottom: 0;
6 | padding: 0;
7 | list-style: none;
8 |
9 | li{
10 | display: inline-block;
11 |
12 | a{
13 | color: inherit;
14 | padding: $padding-base;
15 | font-weight: $font-weight-bold;
16 | font-size: $mdb-btn-font-size-base;
17 | text-transform: uppercase;
18 | border-radius: $border-radius-base;
19 | text-decoration: none;
20 | position: relative;
21 | display: block;
22 |
23 | &:hover{
24 | text-decoration: none;
25 | }
26 | }
27 | }
28 | }
29 |
30 | .copyright{
31 | padding: 15px 0;
32 | margin: 0;
33 | .material-icons{
34 | font-size: 18px;
35 | position: relative;
36 | top: 3px;
37 | }
38 | }
39 |
40 | .btn{
41 | margin-top: 0;
42 | margin-bottom: 0;
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/public/backend/sass/md/_forms.scss:
--------------------------------------------------------------------------------
1 | // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2 |
3 | @mixin mdb-label-color-toggle-focus(){
4 | // override bootstrap focus and keep all the standard color (could be multiple radios in the form group)
5 | .form-group.is-focused & {
6 | color: $mdb-label-color;
7 |
8 | // on focus just darken the specific labels, do not turn them to the brand-primary
9 | &:hover,
10 | &:focus {
11 | color: $mdb-label-color-toggle-focus;
12 | }
13 |
14 | // correct the above focus color for disabled items
15 | fieldset[disabled] & {
16 | color: $mdb-label-color;
17 | }
18 | }
19 | }
20 |
21 | .form-horizontal {
22 |
23 | // Consistent vertical alignment of radios and checkboxes
24 | .radio,
25 | .checkbox,
26 | .radio-inline,
27 | .checkbox-inline {
28 | padding-top: 0;
29 | }
30 |
31 | .radio {
32 | margin-bottom: 10px;
33 | }
34 |
35 | label {
36 | text-align: right;
37 | }
38 |
39 | label.control-label {
40 | margin: 0;
41 | }
42 | }
43 |
44 | .form-newsletter{
45 | .input-group,
46 | .form-group{
47 | float: left;
48 | width: 78%;
49 | margin-right: 2%;
50 | margin-top: 9px;
51 | }
52 |
53 | .btn{
54 | float: left;
55 | width: 20%;
56 | margin: 9px 0 0;
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/public/backend/sass/md/_misc.scss:
--------------------------------------------------------------------------------
1 | body {
2 | background-color: #EEEEEE;
3 | // background: #fdfdfe;
4 | color: $black-color;
5 | &.inverse {
6 | background: #333333;
7 | &, .form-control {
8 | color: $mdb-text-color-light;
9 | }
10 | .modal,
11 | .panel-default,
12 | .card {
13 | &,
14 | .form-control {
15 | background-color: initial;
16 | color: initial;
17 | }
18 | }
19 |
20 | }
21 | }
22 |
23 | .wrapper{
24 |
25 | &.wrapper-full-page{
26 | height: auto;
27 | min-height: 100vh;
28 | }
29 | }
30 |
31 |
32 | blockquote{
33 | p{
34 | font-style: italic;
35 | }
36 | }
37 |
38 | .life-of-material-dashboard{
39 | background: #FFFFFF;
40 | }
41 |
42 | body, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 {
43 | font-family: $font-family-sans-serif;
44 | font-weight: 300;
45 | line-height: 1.5em;
46 | }
47 |
48 | .serif-font{
49 | font-family: $font-family-serif;
50 | }
51 |
52 | .page-header {
53 | height: 60vh;
54 | background-position: center center;
55 | background-size: cover;
56 | margin: 0;
57 | padding: 0;
58 | border: 0;
59 | border-bottom-left-radius: 6px;
60 | border-bottom-right-radius: 6px;
61 | }
62 |
63 | a{
64 | color: $link-color;
65 | &:hover,
66 | &:focus{
67 | color: darken($link-color, 5%);
68 | text-decoration: none;
69 | }
70 |
71 | &.text-info{
72 | &:hover, &:focus{
73 | color: darken($brand-info, 5%);
74 | }
75 | }
76 |
77 | & .material-icons {
78 | vertical-align: middle;
79 | }
80 | }
81 |
82 | a[data-toggle="collapse"][aria-expanded="true"] .caret{
83 | @include rotate-180();
84 | }
85 |
86 | .sidebar .nav a,
87 | .caret{
88 | @include transition($fast-transition-time, $transition-ease-in);
89 | }
90 |
91 | /* Animations */
92 | .animation-transition-general{
93 | @include transition($general-transition-time, $transition-linear);
94 | }
95 |
96 | .animation-transition-slow{
97 | @include transition($slow-transition-time, $transition-linear);
98 | }
99 |
100 | .animation-transition-fast{
101 | @include transition($fast-transition-time, $transition-ease);
102 | }
103 | legend {
104 | border-bottom: 0;
105 | }
106 |
107 | // Prevent highlight on mobile
108 | * {
109 | -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
110 | -webkit-tap-highlight-color: transparent;
111 | &:focus {
112 | outline: 0;
113 | }
114 | }
115 | a:focus, a:active,
116 | button:active, button:focus, button:hover,
117 | button::-moz-focus-inner,
118 | input[type="reset"]::-moz-focus-inner,
119 | input[type="button"]::-moz-focus-inner,
120 | input[type="submit"]::-moz-focus-inner,
121 | select::-moz-focus-inner,
122 | input[type="file"] > input[type="button"]::-moz-focus-inner {
123 | outline : 0 !important;
124 | }
125 |
--------------------------------------------------------------------------------
/public/backend/sass/md/_pagination.scss:
--------------------------------------------------------------------------------
1 | .pagination{
2 | > li > a,
3 | > li > span{
4 | border: 0;
5 | border-radius: 30px !important;
6 | transition: all .3s;
7 | padding: 0px 11px;
8 | margin: 0 3px;
9 | min-width: 30px;
10 | height: 30px;
11 | line-height: 30px;
12 | color: $gray-color;
13 | font-weight: $font-weight-default;
14 | font-size: $mdb-btn-font-size-base;
15 | text-transform: uppercase;
16 | background: transparent;
17 |
18 | &:hover,
19 | &:focus{
20 | color: $gray-color;
21 | }
22 | }
23 |
24 | > .active > a,
25 | > .active > span{
26 | color: $gray-color;
27 | text-align: center;
28 |
29 | &,
30 | &:focus,
31 | &:hover{
32 | background-color: $brand-primary;
33 | border-color: $brand-primary;
34 | color: $white-color;
35 | @include shadow-4dp-color($brand-primary);
36 | }
37 |
38 | }
39 |
40 | // Colors
41 | &.pagination-info{
42 | > .active > a,
43 | > .active > span{
44 | &,
45 | &:focus,
46 | &:hover{
47 | background-color: $brand-info;
48 | border-color: $brand-info;
49 | @include shadow-4dp-color($brand-info);
50 | }
51 | }
52 | }
53 |
54 | &.pagination-success{
55 | > .active > a,
56 | > .active > span{
57 | &,
58 | &:focus,
59 | &:hover{
60 | background-color: $brand-success;
61 | border-color: $brand-success;
62 | @include shadow-4dp-color($brand-success);
63 | }
64 | }
65 | }
66 |
67 | &.pagination-warning{
68 | > .active > a,
69 | > .active > span{
70 | &,
71 | &:focus,
72 | &:hover{
73 | background-color: $brand-warning;
74 | border-color: $brand-warning;
75 | @include shadow-4dp-color($brand-warning);
76 | }
77 | }
78 | }
79 |
80 | &.pagination-danger{
81 | > .active > a,
82 | > .active > span{
83 | &,
84 | &:focus,
85 | &:hover{
86 | background-color: $brand-danger;
87 | border-color: $brand-danger;
88 | @include shadow-4dp-color($brand-danger);
89 | }
90 | }
91 | }
92 | }
93 |
--------------------------------------------------------------------------------
/public/backend/sass/md/_pills.scss:
--------------------------------------------------------------------------------
1 | .nav-pills{
2 |
3 | .section-dark &,
4 | .section-image &{
5 | > li > a{
6 | color: $gray-color;
7 | }
8 | > li{
9 | > a:hover,
10 | > a:focus{
11 | background-color: #EEEEEE;
12 | }
13 | }
14 | }
15 |
16 | > li {
17 | > a{
18 | line-height: $mdb-btn-font-size-base * 2;
19 | text-transform: uppercase;
20 | font-size: $mdb-btn-font-size-base;
21 | font-weight: $font-weight-bold;
22 | min-width: 100px;
23 | text-align: center;
24 | color: $gray;
25 | transition: all .3s;
26 |
27 | &:hover{
28 | background-color: rgba(200, 200, 200, 0.2);
29 | }
30 | }
31 |
32 | i{
33 | display: block;
34 | font-size: 30px;
35 | padding: 15px 0;
36 | }
37 |
38 | &.active > a{
39 | &,
40 | &:focus,
41 | &:hover{
42 | background-color: $brand-primary;
43 | color: $white-color;
44 | @include shadow-big-color($brand-primary);
45 | }
46 | }
47 |
48 | }
49 |
50 | &:not(.nav-pills-icons){
51 | > li > a{
52 | border-radius: $border-radius-extreme;
53 | }
54 | }
55 |
56 | &.nav-stacked{
57 | > li + li{
58 | margin-top: 5px;
59 | }
60 | }
61 |
62 | &.nav-pills-info{
63 | > li {
64 | &.active > a{
65 | &,
66 | &:focus,
67 | &:hover{
68 | background-color: $brand-info;
69 | @include shadow-big-color($brand-info);
70 | }
71 | }
72 | }
73 | }
74 |
75 | &.nav-pills-success{
76 | > li {
77 | &.active > a{
78 | &,
79 | &:focus,
80 | &:hover{
81 | background-color: $brand-success;
82 | @include shadow-big-color($brand-success);
83 | }
84 | }
85 | }
86 | }
87 |
88 | &.nav-pills-warning{
89 | > li {
90 | &.active > a{
91 | &,
92 | &:focus,
93 | &:hover{
94 | background-color: $brand-warning;
95 | @include shadow-big-color($brand-warning);
96 | }
97 | }
98 | }
99 | }
100 |
101 | &.nav-pills-danger{
102 | > li {
103 | &.active > a{
104 | &,
105 | &:focus,
106 | &:hover{
107 | background-color: $brand-danger;
108 | @include shadow-big-color($brand-warning);
109 | }
110 | }
111 | }
112 | }
113 |
114 | }
115 | .tab-space{
116 | padding: 20px 0 50px 0px;
117 | }
118 |
--------------------------------------------------------------------------------
/public/backend/sass/md/_popups.scss:
--------------------------------------------------------------------------------
1 | // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2 |
3 | .popover, .tooltip-inner {
4 | color: $gray;
5 | line-height: 1.5em;
6 | background: $white-color;
7 | border: none;
8 | border-radius: $border-radius-base;
9 | @include shadow-8dp();
10 | }
11 |
12 | .popover{
13 | padding: 0;
14 | @include shadow-16dp();
15 |
16 | &.left,
17 | &.right,
18 | &.top,
19 | &.bottom{
20 | > .arrow{
21 | border: none;
22 | }
23 | }
24 | }
25 |
26 | .popover-title{
27 | background-color: $white-color;
28 | border: none;
29 | padding: 15px 15px 5px;
30 | font-size: $font-size-h4;
31 | }
32 |
33 | .popover-content{
34 | padding: 10px 15px 15px;
35 | line-height: 1.4;
36 | }
37 |
38 | .tooltip, .tooltip.in {
39 | //opacity: 1;
40 | }
41 | .tooltip.in{
42 | opacity: 1;
43 | @include transform-translate-y(0px);
44 |
45 |
46 | }
47 | .tooltip{
48 | opacity: 0;
49 | transition: opacity, transform .2s ease;
50 | @include transform-translate-y(5px);
51 |
52 | &.left{
53 | .tooltip-arrow{
54 | border-left-color: $white-color;
55 | }
56 | }
57 | &.right{
58 | .tooltip-arrow{
59 | border-right-color: $white-color;
60 | }
61 | }
62 | &.top{
63 | .tooltip-arrow{
64 | border-top-color: $white-color;
65 | }
66 | }
67 | &.bottom{
68 | .tooltip-arrow{
69 | border-bottom-color: $white-color;
70 | }
71 | }
72 | }
73 |
74 | .tooltip-inner{
75 | padding: 10px 15px;
76 | min-width: 130px;
77 | }
78 |
--------------------------------------------------------------------------------
/public/backend/sass/md/_radios.scss:
--------------------------------------------------------------------------------
1 | // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2 |
3 | @mixin radio-color($color, $opacity){
4 | & ~ .check,
5 | & ~ .circle {
6 | opacity: $opacity;
7 | }
8 |
9 | & ~ .check {
10 | background-color: $color;
11 | }
12 |
13 | & ~ .circle {
14 | border-color: $color;
15 | }
16 | }
17 |
18 | .radio {
19 | label {
20 | cursor: pointer;
21 | padding-left: 35px;
22 | position: relative;
23 | color: $mdb-radio-label-color;
24 | @include mdb-label-color-toggle-focus();
25 |
26 | span {
27 | display: block;
28 | position: absolute;
29 | left: 10px;
30 | top: 2px;
31 | transition-duration: 0.2s;
32 | }
33 | .circle {
34 | border: 1px solid $mdb-radio-color-off;
35 | height: 15px;
36 | width: 15px;
37 | border-radius: 100%;
38 | }
39 | .check {
40 | height: 15px;
41 | width: 15px;
42 | border-radius: 100%;
43 | background-color: $mdb-radio-color-on;
44 | transform: scale3d(0, 0, 0);
45 | }
46 | .check:after {
47 | display: block;
48 | position: absolute;
49 | content: "";
50 | background-color: $mdb-text-color-primary;
51 | left: -18px;
52 | top: -18px;
53 | height: 50px;
54 | width: 50px;
55 | border-radius: 100%;
56 | z-index: 1;
57 | opacity: 0;
58 | margin: 0;
59 | transform: scale3d(1.5, 1.5, 1);
60 | }
61 | input[type=radio]:not(:checked) ~ .check:after {
62 | animation: rippleOff 500ms;
63 | }
64 | input[type=radio]:checked ~ .check:after {
65 | animation: rippleOn 500ms;
66 | }
67 |
68 | }
69 |
70 | input[type=radio] {
71 | opacity: 0;
72 | height: 0;
73 | width: 0;
74 | overflow: hidden;
75 |
76 | &:checked {
77 | @include radio-color($mdb-radio-color-on, 1);
78 | }
79 | &:checked ~ .check {
80 | transform: scale3d(0.65, 0.65, 1);
81 | }
82 | }
83 |
84 | input[type=radio][disabled] {
85 |
86 | // light theme spec: Disabled: #000000, Opacity 26%
87 | @include radio-color($black, 0.26);
88 |
89 | }
90 | }
91 |
92 | @keyframes rippleOn {
93 | 0% {
94 | opacity: 0;
95 | }
96 | 50% {
97 | opacity: 0.2;
98 | }
99 | 100% {
100 | opacity: 0;
101 | }
102 | }
103 |
104 | @keyframes rippleOff {
105 | 0% {
106 | opacity: 0;
107 | }
108 | 50% {
109 | opacity: 0.2;
110 | }
111 | 100% {
112 | opacity: 0;
113 | }
114 | }
115 |
--------------------------------------------------------------------------------
/public/backend/sass/md/_ripples.scss:
--------------------------------------------------------------------------------
1 | .withripple {
2 | position: relative;
3 | }
4 | .ripple-container {
5 | position: absolute;
6 | top: 0;
7 | left: 0;
8 | z-index: 1;
9 | width: 100%;
10 | height: 100%;
11 | overflow: hidden;
12 | border-radius: inherit;
13 | pointer-events: none;
14 |
15 | .disabled &{
16 | display: none;
17 | }
18 | }
19 | .ripple {
20 | position: absolute;
21 | width: 20px;
22 | height: 20px;
23 | margin-left: -10px;
24 | margin-top: -10px;
25 | border-radius: 100%;
26 | background-color: #000; // fallback color
27 | background-color: rgba(0,0,0,0.05);
28 | transform: scale(1);
29 | transform-origin: 50%;
30 | opacity: 0;
31 | pointer-events: none;
32 | }
33 | .ripple.ripple-on {
34 | transition: opacity 0.15s ease-in 0s, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
35 | opacity: 0.1;
36 | }
37 | .ripple.ripple-out {
38 | transition: opacity 0.1s linear 0s !important;
39 | opacity: 0;
40 | }
41 |
--------------------------------------------------------------------------------
/public/backend/sass/md/_tables.scss:
--------------------------------------------------------------------------------
1 | .table{
2 | > thead > tr > th{
3 | border-bottom-width: 1px;
4 | font-size: $font-size-h6;
5 | font-weight: $font-weight-light;
6 | }
7 |
8 | .radio,
9 | .checkbox{
10 | margin-top: 0;
11 | margin-bottom: 0;
12 | margin-left: 10px;
13 | padding: 0;
14 | width: 15px;
15 |
16 | .icons{
17 | position: relative;
18 | }
19 | }
20 | > thead > tr > th,
21 | > tbody > tr > th,
22 | > tfoot > tr > th,
23 | > thead > tr > td,
24 | > tbody > tr > td,
25 | > tfoot > tr > td{
26 | padding: 12px 8px;
27 | vertical-align: middle;
28 | }
29 |
30 | > thead > tr > th{
31 | padding-bottom: 4px;
32 | }
33 |
34 | .td-actions{
35 | display: flex;
36 |
37 | .btn{
38 | margin: 0px;
39 | padding: 5px;
40 | }
41 | }
42 | > tbody > tr{
43 | position: relative;
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/public/backend/sass/md/_tabs.scss:
--------------------------------------------------------------------------------
1 | // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2 |
3 | .nav-tabs {
4 | background: $brand-primary;
5 | border: 0;
6 | border-radius: $border-radius-base;
7 | padding: 0 $padding-base;
8 |
9 | > li {
10 | > a {
11 | color: #FFFFFF;
12 | border: 0;
13 | margin: 0;
14 |
15 | border-radius: $border-radius-base;
16 |
17 | line-height: $mdb-btn-font-size-base * 2;
18 | text-transform: uppercase;
19 | font-size: $mdb-btn-font-size-base;
20 |
21 | &:hover {
22 | background-color: transparent;
23 | border: 0;
24 | }
25 | }
26 | & > a,
27 | & > a:hover,
28 | & > a:focus {
29 | background-color: transparent;
30 | border: 0 !important;
31 | color: #FFFFFF !important;
32 | font-weight: $font-weight-bold;
33 | }
34 | &.disabled > a,
35 | &.disabled > a:hover {
36 | color: rgba(255,255,255,0.5);
37 | }
38 |
39 | .material-icons{
40 | margin: -1px 5px 0 0;
41 | }
42 | }
43 |
44 | >li.active{
45 | & > a,
46 | & > a:hover,
47 | & > a:focus {
48 | background-color: rgba(255,255,255, .2);
49 | transition: background-color .1s .2s;
50 | }
51 | }
52 |
53 | }
54 |
--------------------------------------------------------------------------------
/public/backend/sass/md/_togglebutton.scss:
--------------------------------------------------------------------------------
1 | // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2 |
3 | .togglebutton {
4 | vertical-align: middle;
5 | &, label, input, .toggle {
6 | user-select: none;
7 | }
8 | label {
9 | cursor: pointer;
10 | color: $mdb-toggle-label-color;
11 | @include mdb-label-color-toggle-focus();
12 |
13 | // Hide original checkbox
14 | input[type=checkbox] {
15 | opacity: 0;
16 | width: 0;
17 | height: 0;
18 | }
19 |
20 | .toggle {
21 | text-align: left; // Issue #737 horizontal form
22 | margin-left: 5px;
23 | }
24 | // Switch bg off and disabled
25 | .toggle,
26 | input[type=checkbox][disabled] + .toggle {
27 | content: "";
28 | display: inline-block;
29 | width: 30px;
30 | height: 15px;
31 | background-color: rgba(80, 80, 80, 0.7);
32 | border-radius: 15px;
33 | margin-right: 15px;
34 | transition: background 0.3s ease;
35 | vertical-align: middle;
36 | }
37 | // Handle off
38 | .toggle:after {
39 | content: "";
40 | display: inline-block;
41 | width: 20px;
42 | height: 20px;
43 | background-color: #FFFFFF;
44 | border-radius: 20px;
45 | position: relative;
46 | box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4);
47 | left: -5px;
48 | top: -3px;
49 | border: 1px solid $mdb-checkbox-border-color;
50 | transition: left 0.3s ease, background 0.3s ease, box-shadow 0.1s ease;
51 | }
52 | input[type=checkbox] {
53 | // Handle disabled
54 | &[disabled] {
55 | & + .toggle:after,
56 | &:checked + .toggle:after {
57 | background-color: #BDBDBD;
58 | }
59 | }
60 |
61 | & + .toggle:active:after,
62 | &[disabled] + .toggle:active:after {
63 | box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(0, 0, 0, 0.1);
64 | }
65 |
66 | // Ripple off and disabled
67 | &:checked + .toggle:after {
68 | left: 15px;
69 | }
70 | }
71 |
72 | // set bg when checked
73 | input[type=checkbox]:checked {
74 | + .toggle {
75 | background-color: rgba($brand-primary, (70/100)); // Switch bg on
76 | }
77 |
78 | + .toggle:after {
79 | border-color: $brand-primary; // Handle on
80 | }
81 |
82 | + .toggle:active:after {
83 | box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba($brand-primary, (10/100)); // Ripple on
84 | }
85 | }
86 | }
87 | }
88 |
--------------------------------------------------------------------------------
/public/backend/sass/md/_typography.scss:
--------------------------------------------------------------------------------
1 | h1, .h1 {
2 | font-size: $font-size-h1;
3 | line-height: 1.15em;
4 | }
5 | h2, .h2{
6 | font-size: $font-size-h2;
7 | }
8 | h3, .h3{
9 | font-size: $font-size-h3;
10 | line-height: 1.4em;
11 | margin: 20px 0 10px;
12 | }
13 | h4, .h4{
14 | font-size: $font-size-h4;
15 | line-height: 1.4em;
16 | }
17 | h5, .h5 {
18 | font-size: $font-size-h5;
19 | line-height: 1.4em;
20 | margin-bottom: 15px;
21 | }
22 | h6, .h6{
23 | font-size: $font-size-h6;
24 | text-transform: uppercase;
25 | font-weight: $font-weight-bold;
26 | }
27 |
28 | /*.title,
29 | .card-title,
30 | .info-title,
31 | .footer-brand,
32 | .footer-big h5,
33 | .footer-big h4,
34 | .media .media-heading{
35 | font-weight: $font-weight-extra-bold;
36 | font-family: $font-family-serif;
37 |
38 | &,
39 | a{
40 | color: $black-color;
41 | text-decoration: none;
42 | }
43 | }*/
44 |
45 | h2.title{
46 | margin-bottom: $margin-base * 2;
47 | }
48 |
49 | .description,
50 | .card-description,
51 | .footer-big p{
52 | color: $gray-light;
53 | }
54 |
55 | .text-warning {
56 | color: $brand-warning;
57 | }
58 | .text-primary {
59 | color: $brand-primary;
60 | }
61 | .text-danger {
62 | color: $brand-danger;
63 | }
64 | .text-success {
65 | color: $brand-success;
66 | }
67 | .text-info {
68 | color: $brand-info;
69 | }
70 | .text-rose{
71 | color: $brand-rose;
72 | }
73 | .text-gray{
74 | color: $gray-color;
75 | }
76 |
--------------------------------------------------------------------------------
/public/backend/sass/md/mixins/_chartist.scss:
--------------------------------------------------------------------------------
1 | // Scales for responsive SVG containers
2 | $ct-scales: ((1), (15/16), (8/9), (5/6), (4/5), (3/4), (2/3), (5/8), (1/1.618), (3/5), (9/16), (8/15), (1/2), (2/5), (3/8), (1/3), (1/4)) !default;
3 | $ct-scales-names: (ct-square, ct-minor-second, ct-major-second, ct-minor-third, ct-major-third, ct-perfect-fourth, ct-perfect-fifth, ct-minor-sixth, ct-golden-section, ct-major-sixth, ct-minor-seventh, ct-major-seventh, ct-octave, ct-major-tenth, ct-major-eleventh, ct-major-twelfth, ct-double-octave) !default;
4 |
5 | // Class names to be used when generating CSS
6 | $ct-class-chart: ct-chart !default;
7 | $ct-class-chart-line: ct-chart-line !default;
8 | $ct-class-chart-bar: ct-chart-bar !default;
9 | $ct-class-horizontal-bars: ct-horizontal-bars !default;
10 | $ct-class-chart-pie: ct-chart-pie !default;
11 | $ct-class-chart-donut: ct-chart-donut !default;
12 | $ct-class-label: ct-label !default;
13 | $ct-class-series: ct-series !default;
14 | $ct-class-line: ct-line !default;
15 | $ct-class-point: ct-point !default;
16 | $ct-class-area: ct-area !default;
17 | $ct-class-bar: ct-bar !default;
18 | $ct-class-slice-pie: ct-slice-pie !default;
19 | $ct-class-slice-donut: ct-slice-donut !default;
20 | $ct-class-grid: ct-grid !default;
21 | $ct-class-vertical: ct-vertical !default;
22 | $ct-class-horizontal: ct-horizontal !default;
23 | $ct-class-start: ct-start !default;
24 | $ct-class-end: ct-end !default;
25 |
26 | // Container ratio
27 | $ct-container-ratio: (1/1.618) !default;
28 |
29 | // Text styles for labels
30 | $ct-text-color: rgba(0, 0, 0, 0.4) !default;
31 | $ct-text-size: 1.3rem !default;
32 | $ct-text-align: flex-start !default;
33 | $ct-text-justify: flex-start !default;
34 | $ct-text-line-height: 1;
35 |
36 | .ct-big-chart-white{
37 | $ct-grid-color: rgba(250, 250, 250, 0.7) !default;
38 | }
39 | // Grid styles
40 | $ct-grid-color: rgba(0, 0, 0, 0.2) !default;
41 | $ct-grid-dasharray: 2px !default;
42 | $ct-grid-width: 1px !default;
43 |
44 | // Line chart properties
45 | $ct-line-width: 3px !default;
46 | $ct-line-dasharray: false !default;
47 | $ct-point-size: 8px !default;
48 | // Line chart point, can be either round or square
49 | $ct-point-shape: round !default;
50 | // Area fill transparency between 0 and 1
51 | $ct-area-opacity: 0.8 !default;
52 |
53 | // Bar chart bar width
54 | $ct-bar-width: 10px !default;
55 |
56 | // Donut width (If donut width is to big it can cause issues where the shape gets distorted)
57 | $ct-donut-width: 60px !default;
58 |
59 | // If set to true it will include the default classes and generate CSS output. If you're planning to use the mixins you
60 | // should set this property to false
61 | $ct-include-classes: true !default;
62 |
63 | // If this is set to true the CSS will contain colored series. You can extend or change the color with the
64 | // properties below
65 | $ct-include-colored-series: $ct-include-classes !default;
66 |
67 | // If set to true this will include all responsive container variations using the scales defined at the top of the script
68 | $ct-include-alternative-responsive-containers: $ct-include-classes !default;
69 |
70 | // Series names and colors. This can be extended or customized as desired. Just add more series and colors.
71 | $ct-series-names: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !default;
72 | $ct-series-colors: (
73 |
74 | $brand-info,
75 | $brand-danger,
76 | $brand-warning,
77 | $brand-primary,
78 | $brand-success,
79 | $font-background-light-grey,
80 | $gray-color,
81 | $social-google,
82 | $social-tumblr,
83 | $social-youtube,
84 | $social-twitter,
85 | $social-pinterest,
86 | $social-behance,
87 | #6188e2,
88 | #a748ca
89 | ) !default;
90 |
--------------------------------------------------------------------------------
/public/backend/sass/md/mixins/_transparency.scss:
--------------------------------------------------------------------------------
1 | // Opacity
2 |
3 | @mixin opacity($opacity) {
4 | opacity: $opacity;
5 | // IE8 filter
6 | $opacity-ie: ($opacity * 100);
7 | filter: #{alpha(opacity=$opacity-ie)};
8 | }
9 |
10 | @mixin black-filter($opacity){
11 | top: 0;
12 | left: 0;
13 | height: 100%;
14 | width: 100%;
15 | position: absolute;
16 | background-color: rgba(17,17,17,$opacity);
17 | display: block;
18 | content: "";
19 | z-index: 1;
20 | }
--------------------------------------------------------------------------------
/public/backend/sass/md/plugins/_plugin-nouislider.scss:
--------------------------------------------------------------------------------
1 | // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2 |
3 | .noUi-target,
4 | .noUi-target * {
5 | -webkit-touch-callout: none;
6 | -ms-touch-action: none;
7 | user-select: none;
8 | box-sizing: border-box;
9 | }
10 | .noUi-base {
11 | width: 100%;
12 | height: 100%;
13 | position: relative;
14 | }
15 | .noUi-origin {
16 | position: absolute;
17 | right: 0;
18 | top: 0;
19 | left: 0;
20 | bottom: 0;
21 | }
22 | .noUi-handle {
23 | position: relative;
24 | z-index: 1;
25 | box-sizing: border-box;
26 | }
27 | .noUi-stacking .noUi-handle {
28 | z-index: 10;
29 | }
30 | //.noUi-stacking + .noUi-origin {
31 | // *z-index: -1;
32 | //} WARNING: Property with star prefix found. Checks for the star property hack (targets IE6/7) (star-property-hack) Browsers: All
33 | .noUi-state-tap .noUi-origin {
34 | transition: left 0.3s, top 0.3s;
35 | }
36 | .noUi-state-drag * {
37 | cursor: inherit !important;
38 | }
39 | .noUi-horizontal {
40 | height: 10px;
41 | }
42 | .noUi-handle {
43 | box-sizing: border-box;
44 | width: 14px;
45 | height: 14px;
46 | left: -10px;
47 | top: -6px;
48 | cursor: pointer;
49 | border-radius: 100%;
50 | transition: all 0.2s ease-out;
51 | border: 1px solid;
52 | background: $white-color;
53 |
54 | @include shadow-2dp();
55 | }
56 | .noUi-vertical .noUi-handle {
57 | margin-left: 5px;
58 | cursor: ns-resize;
59 | }
60 | .noUi-horizontal.noUi-extended {
61 | padding: 0 15px;
62 | }
63 | .noUi-horizontal.noUi-extended .noUi-origin {
64 | right: -15px;
65 | }
66 | .noUi-background {
67 | height: 2px;
68 | margin: 20px 0;
69 | }
70 | .noUi-origin {
71 | margin: 0;
72 | border-radius: 0;
73 | height: 2px;
74 | background: #c8c8c8;
75 | &[style^="left: 0"] .noUi-handle {
76 | background-color: #fff;
77 | border: 2px solid #c8c8c8;
78 | &.noUi-active {
79 | border-width: 1px;
80 | }
81 | }
82 | }
83 | .noUi-target {
84 | border-radius: $border-radius-base;
85 | }
86 | .noUi-horizontal {
87 | height: 2px;
88 | margin: 15px 0;
89 | }
90 | .noUi-vertical {
91 | height: 100%;
92 | width: 2px;
93 | margin: 0 15px;
94 | display: inline-block;
95 | }
96 | .noUi-handle.noUi-active {
97 | transform: scale3d(2, 2, 1);
98 | }
99 | [disabled].noUi-slider{
100 | opacity: 0.5;
101 | }
102 | [disabled] .noUi-handle {
103 | cursor: not-allowed;
104 | }
105 |
106 | .slider {
107 | background: #c8c8c8;
108 | }
109 |
110 | .slider {
111 |
112 | &.noUi-connect{
113 | background-color: $brand-primary;
114 | }
115 |
116 | .noUi-handle{
117 | border-color: $brand-primary;
118 | }
119 |
120 | &.slider-info{
121 | & .noUi-connect,
122 | &.noUi-connect{
123 | background-color: $brand-info;
124 | }
125 |
126 | .noUi-handle{
127 | border-color: $brand-info;
128 | }
129 | }
130 | &.slider-success{
131 | & .noUi-connect,
132 | &.noUi-connect{
133 | background-color: $brand-success;
134 | }
135 |
136 | .noUi-handle{
137 | border-color: $brand-success;
138 | }
139 | }
140 | &.slider-warning{
141 | & .noUi-connect,
142 | &.noUi-connect{
143 | background-color: $brand-warning;
144 | }
145 |
146 | .noUi-handle{
147 | border-color: $brand-warning;
148 | }
149 | }
150 | &.slider-danger{
151 | & .noUi-connect,
152 | &.noUi-connect{
153 | background-color: $brand-danger;
154 | }
155 |
156 | .noUi-handle{
157 | border-color: $brand-danger;
158 | }
159 | }
160 |
161 | }
162 |
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/favicon.ico
--------------------------------------------------------------------------------
/public/frontend/css/flexslider.css:
--------------------------------------------------------------------------------
1 | /*
2 | * jQuery FlexSlider v1.7
3 | * http://flex.madebymufffin.com
4 | *
5 | * Copyright 2011, Tyler Smith
6 | * Free to use under the MIT license.
7 | * http://www.opensource.org/licenses/mit-license.php
8 | */
9 |
10 | /* Browser Resets */
11 | .flex-container a:active,
12 | .flexslider a:active {outline: none;}
13 | .slides,
14 | .flex-control-nav,
15 | .flex-direction-nav {margin: 0; padding: 0; list-style: none;}
16 |
17 | /* FlexSlider Necessary Styles
18 | *********************************/
19 | .flexslider {width: 100%; margin: 0; padding: 0;}
20 | .flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
21 | .flexslider .slides img {width: 100%; display: block; height: 689px;}
22 | .flex-pauseplay span {text-transform: capitalize;}
23 |
24 | /* Clearfix for the .slides element */
25 | .slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
26 | html[xmlns] .slides {display: block;}
27 | * html .slides {height: 1%;}
28 |
29 | /* No JavaScript Fallback */
30 | /* If you are not using another script, such as Modernizr, make sure you
31 | * include js that eliminates this class on page load */
32 | .no-js .slides > li:first-child {display: block;}
33 |
34 |
35 | /* FlexSlider Default Theme
36 | *********************************/
37 | .flexslider {background: #fff; border: 4px solid #fff; position: relative; -webkit-border-radius: 5px; -moz-border-radius: 5px; -o-border-radius: 5px; border-radius: 5px; zoom: 1;}
38 | .flexslider .slides {zoom: 1;}
39 | .flexslider .slides > li {position: relative;}
40 | /* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
41 | .flex-container {zoom: 1; position: relative;}
42 |
43 | /* Caption style */
44 | /* IE rgba() hack */
45 | .flex-caption {background:none; -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
46 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); zoom: 1;}
47 | .flex-caption {width: 96%; padding: 2%; position: absolute; left: 0; bottom: 0; background: rgba(0,0,0,.3); color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.3); font-size: 14px; line-height: 18px;}
48 |
49 | /* Direction Nav */
50 | .flex-direction-nav {*height: 0;} /*fix for IE 7 */
51 | .flex-direction-nav li a {width: 52px; height: 52px; margin: -13px 0 0; display: block; background: url(../images/a17.png) no-repeat 0 0; position: absolute; top: 50%; cursor: pointer; text-indent: -9999px;}
52 | .flex-direction-nav li .next {background-position: -52px 0; right: -24px;}
53 | .flex-direction-nav li .prev {left: -17px;}
54 | .flex-direction-nav li .disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}
55 |
56 | /* Control Nav */
57 | .flex-control-nav {width: 50%; position: absolute; margin-top: -35px; text-align: center;}
58 | .flex-control-nav li {margin: 0 0 0 5px; display: inline-block; zoom: 1; *display: inline;}
59 | .flex-control-nav li:first-child {margin: 0;}
60 | .flex-control-nav li a {width: 13px; height: 13px; border-radius: 50%; display: block; background-color: #fff; margin-right: 10px; cursor: pointer; text-indent: -9999px;}
61 | .flex-control-nav li a:hover {/*background-position: 0 -13px;*/ background-color: #8bc34a;}
62 | .flex-control-nav li a.active {background-color: #5c9233;/*background-position: 0 -26px; */cursor: default;}
--------------------------------------------------------------------------------
/public/frontend/css/owl.carousel.css:
--------------------------------------------------------------------------------
1 | /*
2 | * Core Owl Carousel CSS File
3 | * v1.3.3
4 | */
5 |
6 | /* clearfix */
7 | .owl-carousel .owl-wrapper:after {
8 | content: ".";
9 | display: block;
10 | clear: both;
11 | visibility: hidden;
12 | line-height: 0;
13 | height: 0;
14 | }
15 | /* display none until init */
16 | .owl-carousel{
17 | display: none;
18 | position: relative;
19 | width: 100%;
20 | -ms-touch-action: pan-y;
21 | }
22 | .owl-carousel .owl-wrapper{
23 | display: none;
24 | position: relative;
25 | -webkit-transform: translate3d(0px, 0px, 0px);
26 | }
27 | .owl-carousel .owl-wrapper-outer{
28 | overflow: hidden;
29 | position: relative;
30 | width: 100%;
31 | }
32 | .owl-carousel .owl-wrapper-outer.autoHeight{
33 | -webkit-transition: height 500ms ease-in-out;
34 | -moz-transition: height 500ms ease-in-out;
35 | -ms-transition: height 500ms ease-in-out;
36 | -o-transition: height 500ms ease-in-out;
37 | transition: height 500ms ease-in-out;
38 | }
39 |
40 | .owl-carousel .owl-item{
41 | float: left;
42 | }
43 | .owl-controls .owl-page,
44 | .owl-controls .owl-buttons div{
45 | cursor: pointer;
46 | }
47 | .owl-controls {
48 | -webkit-user-select: none;
49 | -khtml-user-select: none;
50 | -moz-user-select: none;
51 | -ms-user-select: none;
52 | user-select: none;
53 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
54 | }
55 |
56 | /* mouse grab icon */
57 | .grabbing {
58 | cursor:url(grabbing.png) 8 8, move;
59 | }
60 |
61 | /* fix */
62 | .owl-carousel .owl-wrapper,
63 | .owl-carousel .owl-item{
64 | -webkit-backface-visibility: hidden;
65 | -moz-backface-visibility: hidden;
66 | -ms-backface-visibility: hidden;
67 | -webkit-transform: translate3d(0,0,0);
68 | -moz-transform: translate3d(0,0,0);
69 | -ms-transform: translate3d(0,0,0);
70 | }
71 |
72 |
--------------------------------------------------------------------------------
/public/frontend/css/owl.theme.css:
--------------------------------------------------------------------------------
1 | /*
2 | * Owl Carousel Owl Demo Theme
3 | * v1.3.3
4 | */
5 |
6 | .owl-theme .owl-controls{
7 | margin-top: 10px;
8 | text-align: center;
9 | }
10 |
11 | /* Styling Next and Prev buttons */
12 |
13 | .owl-theme .owl-controls .owl-buttons div{
14 | color: #FFF;
15 | display: inline-block;
16 | zoom: 1;
17 | *display: inline;/*IE7 life-saver */
18 | margin: 5px;
19 | padding: 3px 10px;
20 | font-size: 12px;
21 | -webkit-border-radius: 30px;
22 | -moz-border-radius: 30px;
23 | border-radius: 30px;
24 | background: #869791;
25 | filter: Alpha(Opacity=50);/*IE7 fix*/
26 | opacity: 0.5;
27 | }
28 | /* Clickable class fix problem with hover on touch devices */
29 | /* Use it for non-touch hover action */
30 | .owl-theme .owl-controls.clickable .owl-buttons div:hover{
31 | filter: Alpha(Opacity=100);/*IE7 fix*/
32 | opacity: 1;
33 | text-decoration: none;
34 | }
35 |
36 | /* Styling Pagination*/
37 |
38 | .owl-theme .owl-controls .owl-page{
39 | display: inline-block;
40 | zoom: 1;
41 | *display: inline;/*IE7 life-saver */
42 | }
43 | .owl-theme .owl-controls .owl-page span{
44 | display: block;
45 | width: 12px;
46 | height: 12px;
47 | margin: 5px 7px;
48 | filter: Alpha(Opacity=50);/*IE7 fix*/
49 | opacity: 0.5;
50 | -webkit-border-radius: 20px;
51 | -moz-border-radius: 20px;
52 | border-radius: 20px;
53 | background: #869791;
54 | }
55 |
56 | .owl-theme .owl-controls .owl-page.active span,
57 | .owl-theme .owl-controls.clickable .owl-page:hover span{
58 | filter: Alpha(Opacity=100);/*IE7 fix*/
59 | opacity: 1;
60 | }
61 |
62 | /* If PaginationNumbers is true */
63 |
64 | .owl-theme .owl-controls .owl-page span.owl-numbers{
65 | height: auto;
66 | width: auto;
67 | color: #FFF;
68 | padding: 2px 10px;
69 | font-size: 12px;
70 | -webkit-border-radius: 30px;
71 | -moz-border-radius: 30px;
72 | border-radius: 30px;
73 | }
74 |
75 | /* preloading images */
76 | .owl-item.loading{
77 | min-height: 150px;
78 | background: url(AjaxLoader.gif) no-repeat center center
79 | }
--------------------------------------------------------------------------------
/public/frontend/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/public/frontend/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/public/frontend/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/public/frontend/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/public/frontend/fonts/fontawesome-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/fonts/fontawesome-webfont.woff2
--------------------------------------------------------------------------------
/public/frontend/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/public/frontend/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/public/frontend/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/public/frontend/images/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/1.jpg
--------------------------------------------------------------------------------
/public/frontend/images/2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/2.jpg
--------------------------------------------------------------------------------
/public/frontend/images/3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/3.jpg
--------------------------------------------------------------------------------
/public/frontend/images/4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/4.jpg
--------------------------------------------------------------------------------
/public/frontend/images/About-C-bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/About-C-bg.jpg
--------------------------------------------------------------------------------
/public/frontend/images/GPtE-bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/GPtE-bg.jpg
--------------------------------------------------------------------------------
/public/frontend/images/Logo_main.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/Logo_main.png
--------------------------------------------------------------------------------
/public/frontend/images/Logo_stick.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/Logo_stick.png
--------------------------------------------------------------------------------
/public/frontend/images/OBM-bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/OBM-bg.jpg
--------------------------------------------------------------------------------
/public/frontend/images/OFDM-bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/OFDM-bg.jpg
--------------------------------------------------------------------------------
/public/frontend/images/RaT-bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/RaT-bg.jpg
--------------------------------------------------------------------------------
/public/frontend/images/Thumbs.db:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/Thumbs.db
--------------------------------------------------------------------------------
/public/frontend/images/a17.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/a17.png
--------------------------------------------------------------------------------
/public/frontend/images/beer-bg1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/beer-bg1.png
--------------------------------------------------------------------------------
/public/frontend/images/beer-bg2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/beer-bg2.png
--------------------------------------------------------------------------------
/public/frontend/images/bread-bg1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/bread-bg1.png
--------------------------------------------------------------------------------
/public/frontend/images/bread-bg2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/bread-bg2.png
--------------------------------------------------------------------------------
/public/frontend/images/cercle1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/cercle1.png
--------------------------------------------------------------------------------
/public/frontend/images/cercle2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/cercle2.png
--------------------------------------------------------------------------------
/public/frontend/images/cercle3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/cercle3.png
--------------------------------------------------------------------------------
/public/frontend/images/cercle4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/cercle4.png
--------------------------------------------------------------------------------
/public/frontend/images/food1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/food1.jpg
--------------------------------------------------------------------------------
/public/frontend/images/food10.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/food10.jpg
--------------------------------------------------------------------------------
/public/frontend/images/food2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/food2.jpg
--------------------------------------------------------------------------------
/public/frontend/images/food3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/food3.jpg
--------------------------------------------------------------------------------
/public/frontend/images/food4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/food4.jpg
--------------------------------------------------------------------------------
/public/frontend/images/food5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/food5.jpg
--------------------------------------------------------------------------------
/public/frontend/images/food6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/food6.jpg
--------------------------------------------------------------------------------
/public/frontend/images/food7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/food7.jpg
--------------------------------------------------------------------------------
/public/frontend/images/food8.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/food8.jpg
--------------------------------------------------------------------------------
/public/frontend/images/food9.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/food9.jpg
--------------------------------------------------------------------------------
/public/frontend/images/icons/about_color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/icons/about_color.png
--------------------------------------------------------------------------------
/public/frontend/images/icons/beer_black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/icons/beer_black.png
--------------------------------------------------------------------------------
/public/frontend/images/icons/beer_color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/icons/beer_color.png
--------------------------------------------------------------------------------
/public/frontend/images/icons/bread_black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/icons/bread_black.png
--------------------------------------------------------------------------------
/public/frontend/images/icons/bread_color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/icons/bread_color.png
--------------------------------------------------------------------------------
/public/frontend/images/icons/food_black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/icons/food_black.png
--------------------------------------------------------------------------------
/public/frontend/images/icons/food_color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/icons/food_color.png
--------------------------------------------------------------------------------
/public/frontend/images/icons/reserve_black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/icons/reserve_black.png
--------------------------------------------------------------------------------
/public/frontend/images/icons/reserve_color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/icons/reserve_color.png
--------------------------------------------------------------------------------
/public/frontend/images/loading.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/loading.gif
--------------------------------------------------------------------------------
/public/frontend/images/menu-gallery/menu1-thumb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/menu-gallery/menu1-thumb.png
--------------------------------------------------------------------------------
/public/frontend/images/menu-gallery/menu1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/menu-gallery/menu1.png
--------------------------------------------------------------------------------
/public/frontend/images/menu-gallery/menu10-thumb.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/menu-gallery/menu10-thumb.jpg
--------------------------------------------------------------------------------
/public/frontend/images/menu-gallery/menu10.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/menu-gallery/menu10.jpg
--------------------------------------------------------------------------------
/public/frontend/images/menu-gallery/menu11-thumb.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/menu-gallery/menu11-thumb.jpg
--------------------------------------------------------------------------------
/public/frontend/images/menu-gallery/menu11.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/menu-gallery/menu11.jpg
--------------------------------------------------------------------------------
/public/frontend/images/menu-gallery/menu12-thumb.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/menu-gallery/menu12-thumb.jpg
--------------------------------------------------------------------------------
/public/frontend/images/menu-gallery/menu12.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/menu-gallery/menu12.jpg
--------------------------------------------------------------------------------
/public/frontend/images/menu-gallery/menu2-thumb.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/menu-gallery/menu2-thumb.jpg
--------------------------------------------------------------------------------
/public/frontend/images/menu-gallery/menu2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/menu-gallery/menu2.jpg
--------------------------------------------------------------------------------
/public/frontend/images/menu-gallery/menu3-thumb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/menu-gallery/menu3-thumb.png
--------------------------------------------------------------------------------
/public/frontend/images/menu-gallery/menu3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/menu-gallery/menu3.png
--------------------------------------------------------------------------------
/public/frontend/images/menu-gallery/menu4-thumb.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/menu-gallery/menu4-thumb.jpg
--------------------------------------------------------------------------------
/public/frontend/images/menu-gallery/menu4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/menu-gallery/menu4.jpg
--------------------------------------------------------------------------------
/public/frontend/images/menu-gallery/menu5-thumb.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/menu-gallery/menu5-thumb.jpg
--------------------------------------------------------------------------------
/public/frontend/images/menu-gallery/menu5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/menu-gallery/menu5.jpg
--------------------------------------------------------------------------------
/public/frontend/images/menu-gallery/menu6-thumb.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/menu-gallery/menu6-thumb.jpg
--------------------------------------------------------------------------------
/public/frontend/images/menu-gallery/menu6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/menu-gallery/menu6.jpg
--------------------------------------------------------------------------------
/public/frontend/images/menu-gallery/menu7-thumb.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/menu-gallery/menu7-thumb.jpg
--------------------------------------------------------------------------------
/public/frontend/images/menu-gallery/menu7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/menu-gallery/menu7.jpg
--------------------------------------------------------------------------------
/public/frontend/images/menu-gallery/menu8-thumb.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/menu-gallery/menu8-thumb.jpg
--------------------------------------------------------------------------------
/public/frontend/images/menu-gallery/menu8.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/menu-gallery/menu8.jpg
--------------------------------------------------------------------------------
/public/frontend/images/menu-gallery/menu9-thumb.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/menu-gallery/menu9-thumb.jpg
--------------------------------------------------------------------------------
/public/frontend/images/menu-gallery/menu9.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/menu-gallery/menu9.jpg
--------------------------------------------------------------------------------
/public/frontend/images/pricing_bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/pricing_bg.jpg
--------------------------------------------------------------------------------
/public/frontend/images/social/facebook_black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/social/facebook_black.png
--------------------------------------------------------------------------------
/public/frontend/images/social/facebook_color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/social/facebook_color.png
--------------------------------------------------------------------------------
/public/frontend/images/social/g-plus_black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/social/g-plus_black.png
--------------------------------------------------------------------------------
/public/frontend/images/social/g-plus_color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/social/g-plus_color.png
--------------------------------------------------------------------------------
/public/frontend/images/social/linkedin_black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/social/linkedin_black.png
--------------------------------------------------------------------------------
/public/frontend/images/social/linkedin_color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/social/linkedin_color.png
--------------------------------------------------------------------------------
/public/frontend/images/social/twitter_black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/social/twitter_black.png
--------------------------------------------------------------------------------
/public/frontend/images/social/twitter_color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/social/twitter_color.png
--------------------------------------------------------------------------------
/public/frontend/images/t01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Cipfahim/mammaskitchen/a855bd8294192db3496f7d2c391753449f27897e/public/frontend/images/t01.png
--------------------------------------------------------------------------------
/public/frontend/js/jQuery.scrollSpeed.js:
--------------------------------------------------------------------------------
1 | // Custom scrolling speed with jQuery
2 | // Source: github.com/ByNathan/jQuery.scrollSpeed
3 | // Version: 1.0
4 |
5 | (function($) {
6 |
7 | jQuery.scrollSpeed = function(step, speed) {
8 |
9 | var $document = $(document),
10 |
11 | $window = $(window),
12 |
13 | $body = $('html, body'),
14 |
15 | viewport = $window.height(),
16 |
17 | top = 0,
18 |
19 | scroll = false;
20 |
21 | if (window.navigator.msPointerEnabled)
22 |
23 | return false;
24 |
25 | $window.on('mousewheel DOMMouseScroll', function(e) {
26 |
27 | scroll = true;
28 |
29 | if (e.originalEvent.wheelDeltaY < 0 || e.originalEvent.detail > 0)
30 |
31 | top = (top + viewport) >= $document.height() ? top : top += step;
32 |
33 | if (e.originalEvent.wheelDeltaY > 0 || e.originalEvent.detail < 0)
34 |
35 | top = top <= 0 ? 0 : top -= step;
36 |
37 | $body.stop().animate({
38 |
39 | scrollTop: top
40 |
41 | }, speed, 'default', function() {
42 |
43 | scroll = false;
44 |
45 | });
46 |
47 | return false;
48 |
49 | }).on('scroll', function() {
50 |
51 | if (!scroll) top = $window.scrollTop();
52 |
53 | }).on('resize', function() {
54 |
55 | viewport = $window.height();
56 |
57 | });
58 | };
59 |
60 | jQuery.easing.default = function (x,t,b,c,d) {
61 |
62 | return -c * ((t=t/d-1)*t*t*t - 1) + b;
63 | };
64 |
65 | })(jQuery);
--------------------------------------------------------------------------------
/public/frontend/js/script.js:
--------------------------------------------------------------------------------
1 |
2 | /*=================================
3 | || Owl Carousel
4 | ==================================*/
5 | $("#header-slider").owlCarousel({
6 |
7 | navigation : true, // Show next and prev buttons
8 | slideSpeed : 100,
9 | paginationSpeed : 400,
10 | singleItem: true,
11 | autoPlay: true,
12 | pagination: false,
13 |
14 | // "singleItem:true" is a shortcut for:
15 | // items : 1,
16 | // itemsDesktop : false,
17 | // itemsDesktopSmall : false,
18 | // itemsTablet: false,
19 | // itemsMobile : false
20 |
21 | });
22 |
23 | /*=================================
24 | || WOW
25 | ==================================*/
26 | wow = new WOW(
27 | {
28 | boxClass: 'wow', // default
29 | animateClass: 'animated', // default
30 | offset: 0, // default
31 | mobile: true, // default
32 | live: true // default
33 | }
34 | )
35 | wow.init();
36 |
37 | /*=================================
38 | || Smooth Scrooling
39 | ==================================*/
40 | $(function() {
41 | $('a[href*=#]:not([href=#])').click(function() {
42 | if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
43 | var target = $(this.hash);
44 | target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
45 | if (target.length) {
46 | $('html,body').animate({
47 | scrollTop: (target.offset().top - 9)//top navigation height
48 | }, 1000);
49 | return false;
50 | }
51 | }
52 | });
53 | });
54 |
55 |
56 | /*====================================================================
57 | Navbar shrink script
58 | ======================================================================*/
59 | $(document).ready(function() {
60 | $(window).scroll(function() {
61 | if ($(document).scrollTop() > 50) {
62 | $('nav').addClass('shrink');
63 | }
64 | else {
65 | $('nav').removeClass('shrink');
66 | }
67 | });
68 | });
69 |
70 |
71 | $(document).ready(function(){
72 | $(window).scroll(function() {
73 | if ($(document).scrollTop() > 50) {
74 | $("#logo").attr("src", "frontend/images/Logo_stick.png")
75 | }
76 | else {
77 | $("#logo").attr("src", "frontend/images/Logo_main.png")
78 | }
79 | });
80 | });
81 | /*=================================================================
82 | Load more button
83 | ===================================================================*/
84 |
85 | $(document).ready(function () {
86 | $("#loadMenuContent").click(function(event) {
87 |
88 | $.get("php/ajax_menu.html", function(data){
89 | $('#moreMenuContent').append(data);
90 | });
91 | event.preventDefault();
92 | $(this).hide();
93 | }) ;
94 | });
95 |
96 | $(document).ready(function () {
97 |
98 | var $menuPricing = $('#menu-pricing');
99 | $menuPricing.mixItUp({
100 | selectors: {
101 | target: 'li'
102 | }
103 | });
104 |
105 | });
106 |
107 |
108 | /*=================================================
109 | Showing Icon in placeholder
110 | =====================================================*/
111 |
112 | $('.iconified').on('keyup', function() {
113 | var input = $(this);
114 | if(input.val().length === 0) {
115 | input.addClass('empty');
116 | } else {
117 | input.removeClass('empty');
118 | }
119 | });
120 |
121 | /*=========================================================
122 | Scroll Speed
123 | =======================================================*/
124 |
125 | $(function() {
126 | jQuery.scrollSpeed(100, 1000);
127 | });
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/resources/assets/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 | * Next, we will create a fresh Vue application instance and attach it to
14 | * the page. Then, you may begin adding components to this application
15 | * or customize the JavaScript scaffolding to fit your unique needs.
16 | */
17 |
18 | Vue.component('example-component', require('./components/ExampleComponent.vue'));
19 |
20 | const app = new Vue({
21 | el: '#app'
22 | });
23 |
--------------------------------------------------------------------------------
/resources/assets/js/bootstrap.js:
--------------------------------------------------------------------------------
1 |
2 | window._ = require('lodash');
3 | window.Popper = require('popper.js').default;
4 |
5 | /**
6 | * We'll load jQuery and the Bootstrap jQuery plugin which provides support
7 | * for JavaScript based Bootstrap features such as modals and tabs. This
8 | * code may be modified to fit the specific needs of your application.
9 | */
10 |
11 | try {
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/assets/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/assets/sass/_variables.scss:
--------------------------------------------------------------------------------
1 |
2 | // Body
3 | $body-bg: #f5f8fa;
4 |
5 | // Typography
6 | $font-family-sans-serif: "Raleway", sans-serif;
7 | $font-size-base: 0.9rem;
8 | $line-height-base: 1.6;
9 | $text-color: #636b6f;
10 |
11 | // Navbar
12 | $navbar-default-bg: #fff;
13 |
14 | // Buttons
15 | $btn-default-color: $text-color;
16 |
17 | // Panels
18 | $panel-default-heading-bg: #fff;
19 |
--------------------------------------------------------------------------------
/resources/assets/sass/app.scss:
--------------------------------------------------------------------------------
1 |
2 | // Fonts
3 | @import url("https://fonts.googleapis.com/css?family=Raleway:300,400,600");
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/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 six 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/views/admin/category/create.blade.php:
--------------------------------------------------------------------------------
1 | @extends('layouts.app')
2 |
3 | @section('title','Create')
4 |
5 | @push('css')
6 |
7 | @endpush
8 |
9 | @section('content')
10 |
11 |
12 |
13 |
14 | @include('layouts.partial.msg')
15 |
35 |
36 |
37 |
38 |
39 | @endsection
40 |
41 | @push('scripts')
42 |
43 | @endpush
--------------------------------------------------------------------------------
/resources/views/admin/category/edit.blade.php:
--------------------------------------------------------------------------------
1 | @extends('layouts.app')
2 |
3 | @section('title','Edit')
4 |
5 | @push('css')
6 |
7 | @endpush
8 |
9 | @section('content')
10 |
11 |
12 |
13 |
14 | @include('layouts.partial.msg')
15 |
37 |
38 |
39 |
40 |
41 | @endsection
42 |
43 | @push('scripts')
44 |
45 | @endpush
--------------------------------------------------------------------------------
/resources/views/admin/category/index.blade.php:
--------------------------------------------------------------------------------
1 | @extends('layouts.app')
2 |
3 | @section('title','Category')
4 |
5 | @push('css')
6 |
7 | @endpush
8 |
9 | @section('content')
10 |
11 |
12 |
13 |
14 |
Add New
15 | @include('layouts.partial.msg')
16 |
17 |
20 |
21 |
22 |
23 | ID |
24 | Name |
25 | Slug |
26 | Created At |
27 | Updated At |
28 | Action |
29 |
30 |
31 | @foreach($categories as $key=>$category)
32 |
33 | {{ $key + 1 }} |
34 | {{ $category->name }} |
35 | {{ $category->slug }} |
36 | {{ $category->created_at }} |
37 | {{ $category->updated_at }} |
38 |
39 | mode_edit
40 |
41 |
45 |
51 | |
52 |
53 | @endforeach
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 | @endsection
63 |
64 | @push('scripts')
65 |
66 |
67 |
72 | @endpush
--------------------------------------------------------------------------------
/resources/views/admin/contact/index.blade.php:
--------------------------------------------------------------------------------
1 | @extends('layouts.app')
2 |
3 | @section('title','Contact')
4 |
5 | @push('css')
6 |
7 | @endpush
8 |
9 | @section('content')
10 |
11 |
12 |
13 |
14 |
15 |
18 |
19 |
20 |
21 | ID |
22 | Name |
23 | Subject |
24 | Sent At |
25 | Action |
26 |
27 |
28 | @foreach($contacts as $key=>$contact)
29 |
30 | {{ $key + 1 }} |
31 | {{ $contact->name }} |
32 | {{ $contact->subject }} |
33 | {{ $contact->created_at }} |
34 |
35 | details
36 |
37 |
41 |
47 | |
48 |
49 | @endforeach
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 | @endsection
59 |
60 | @push('scripts')
61 |
62 |
63 |
68 | @endpush
--------------------------------------------------------------------------------
/resources/views/admin/contact/show.blade.php:
--------------------------------------------------------------------------------
1 | @extends('layouts.app')
2 |
3 | @section('title','Contact')
4 |
5 | @push('css')
6 |
7 | @endpush
8 |
9 | @section('content')
10 |
11 |
12 |
13 |
14 |
15 |
18 |
19 |
20 |
21 |
Name: {{ $contact->name }}
22 |
Email: {{ $contact->email }}
23 |
Message:
24 |
25 |
{{ $contact->message }}
26 |
27 |
28 |
29 |
Back
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 | @endsection
38 |
39 | @push('scripts')
40 |
41 | @endpush
--------------------------------------------------------------------------------
/resources/views/admin/item/create.blade.php:
--------------------------------------------------------------------------------
1 | @extends('layouts.app')
2 |
3 | @section('title','Create')
4 |
5 | @push('css')
6 |
7 | @endpush
8 |
9 | @section('content')
10 |
11 |
12 |
13 |
14 | @include('layouts.partial.msg')
15 |
69 |
70 |
71 |
72 |
73 | @endsection
74 |
75 | @push('scripts')
76 |
77 | @endpush
--------------------------------------------------------------------------------
/resources/views/admin/slider/create.blade.php:
--------------------------------------------------------------------------------
1 | @extends('layouts.app')
2 |
3 | @section('title','Slider')
4 |
5 | @push('css')
6 |
7 | @endpush
8 |
9 | @section('content')
10 |
11 |
12 |
13 |
14 | @include('layouts.partial.msg')
15 |
16 |
19 |
20 |
47 |
48 |
49 |
50 |
51 |
52 |
53 | @endsection
54 |
55 | @push('scripts')
56 |
57 | @endpush
--------------------------------------------------------------------------------
/resources/views/admin/slider/edit.blade.php:
--------------------------------------------------------------------------------
1 | @extends('layouts.app')
2 |
3 | @section('title','Slider')
4 |
5 | @push('css')
6 |
7 | @endpush
8 |
9 | @section('content')
10 |
11 |
12 |
13 |
14 | @include('layouts.partial.msg')
15 |
16 |
19 |
20 |
48 |
49 |
50 |
51 |
52 |
53 |
54 | @endsection
55 |
56 | @push('scripts')
57 |
58 | @endpush
--------------------------------------------------------------------------------
/resources/views/admin/slider/index.blade.php:
--------------------------------------------------------------------------------
1 | @extends('layouts.app')
2 |
3 | @section('title','Slider')
4 |
5 | @push('css')
6 |
7 | @endpush
8 |
9 | @section('content')
10 |
11 |
12 |
13 |
14 |
Add New
15 | @include('layouts.partial.msg')
16 |
17 |
20 |
21 |
22 |
23 | ID |
24 | Title |
25 | Sub Title |
26 | Image |
27 | Created At |
28 | Updated At |
29 | Action |
30 |
31 |
32 | @foreach($sliders as $key=>$slider)
33 |
34 | {{ $key + 1 }} |
35 | {{ $slider->title }} |
36 | {{ $slider->sub_title }} |
37 | {{ $slider->image }} |
38 | {{ $slider->created_at }} |
39 | {{ $slider->updated_at }} |
40 |
41 | mode_edit
42 |
43 |
47 |
53 | |
54 |
55 | @endforeach
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 | @endsection
65 |
66 | @push('scripts')
67 |
68 |
69 |
74 | @endpush
--------------------------------------------------------------------------------
/resources/views/auth/login.blade.php:
--------------------------------------------------------------------------------
1 | @extends('layouts.app')
2 |
3 | @section('title','Login')
4 |
5 | @push('css')
6 |
7 | @endpush
8 |
9 | @section('content')
10 |
11 |
12 |
13 |
14 | @include('layouts.partial.msg')
15 |
16 |
19 |
20 |
41 |
42 |
43 |
44 |
45 |
46 |
47 | @endsection
48 |
49 | @push('scripts')
50 |
51 | @endpush
--------------------------------------------------------------------------------
/resources/views/auth/passwords/email.blade.php:
--------------------------------------------------------------------------------
1 | @extends('layouts.app')
2 |
3 | @section('content')
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | @if (session('status'))
12 |
13 | {{ session('status') }}
14 |
15 | @endif
16 |
17 |
42 |
43 |
44 |
45 |
46 |
47 | @endsection
48 |
--------------------------------------------------------------------------------
/resources/views/auth/passwords/reset.blade.php:
--------------------------------------------------------------------------------
1 | @extends('layouts.app')
2 |
3 | @section('content')
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
65 |
66 |
67 |
68 |
69 |
70 | @endsection
71 |
--------------------------------------------------------------------------------
/resources/views/auth/register.blade.php:
--------------------------------------------------------------------------------
1 | @extends('layouts.app')
2 |
3 | @section('content')
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
72 |
73 |
74 |
75 |
76 |
77 | @endsection
78 |
--------------------------------------------------------------------------------
/resources/views/home.blade.php:
--------------------------------------------------------------------------------
1 | @extends('layouts.app')
2 |
3 | @section('content')
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | @if (session('status'))
12 |
13 | {{ session('status') }}
14 |
15 | @endif
16 |
17 | You are logged in!
18 |
19 |
20 |
21 |
22 |
23 | @endsection
24 |
--------------------------------------------------------------------------------
/resources/views/layouts/app.blade.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | @yield('title')
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 | @stack('css')
25 |
26 |
27 |
28 |
29 | @if(Request::is('admin*'))
30 | @include('layouts.partial.sidebar')
31 | @endif
32 |
33 | @if(Request::is('admin*'))
34 | @include('layouts.partial.topbar')
35 | @endif
36 | @yield('content')
37 | @if(Request::is('admin*'))
38 | @include('layouts.partial.footer')
39 | @endif
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
72 | {!! Toastr::message() !!}
73 | @stack('scripts')
74 |
75 |
76 |
--------------------------------------------------------------------------------
/resources/views/layouts/partial/footer.blade.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/resources/views/layouts/partial/msg.blade.php:
--------------------------------------------------------------------------------
1 | @if ($errors->any())
2 | @foreach ($errors->all() as $error)
3 |
4 |
5 |
6 | Danger - {{ $error }}
7 |
8 | @endforeach
9 | @endif
10 |
11 | @if(session('successMsg'))
12 |
13 |
14 |
15 | Success - {{ session('successMsg') }}
16 |
17 | @endif
--------------------------------------------------------------------------------
/resources/views/layouts/partial/sidebar.blade.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/resources/views/layouts/partial/topbar.blade.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/routes/api.php:
--------------------------------------------------------------------------------
1 | get('/user', function (Request $request) {
17 | return $request->user();
18 | });
19 |
--------------------------------------------------------------------------------
/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('welcome');
15 | Route::post('/reservation','ReservationController@reserve')->name('reservation.reserve');
16 | Route::post('/contact','ContactController@sendMessage')->name('contact.send');
17 |
18 | Auth::routes();
19 |
20 | Route::group(['prefix'=>'admin','middleware'=>'auth','namespace'=>'Admin'], function (){
21 | Route::get('dashboard', 'DashboardController@index')->name('admin.dashboard');
22 | Route::resource('slider','SliderController');
23 | Route::resource('category','CategoryController');
24 | Route::resource('item','ItemController');
25 | Route::get('reservation','ReservationController@index')->name('reservation.index');
26 | Route::post('reservation/{id}','ReservationController@status')->name('reservation.status');
27 | Route::delete('reservation/{id}','ReservationController@destory')->name('reservation.destory');
28 |
29 | Route::get('contact','ContactController@index')->name('contact.index');
30 | Route::get('contact/{id}','ContactController@show')->name('contact.show');
31 | Route::delete('contact/{id}','ContactController@destroy')->name('contact.destroy');
32 | });
--------------------------------------------------------------------------------
/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 | !.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();
20 |
21 | Hash::driver('bcrypt')->setRounds(4);
22 |
23 | return $app;
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/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 | let 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/assets/js/app.js', 'public/js')
15 | .sass('resources/assets/sass/app.scss', 'public/css');
16 |
--------------------------------------------------------------------------------