├── .gitattributes ├── .gitignore ├── .idea ├── Portal.iml ├── dataSources.local.xml ├── dataSources.xml ├── dataSources │ └── d390eb86-5397-47a6-82d1-b87fcd36eacc.xml ├── deployment.xml ├── modules.xml ├── php.xml ├── vcs.xml └── workspace.xml ├── LICENSE ├── README.md ├── app ├── Billable.php ├── Console │ └── Kernel.php ├── Exceptions │ └── Handler.php ├── Http │ ├── Controllers │ │ ├── AppController.php │ │ ├── Auth │ │ │ ├── ForgotPasswordController.php │ │ │ ├── LoginController.php │ │ │ ├── RegisterController.php │ │ │ └── ResetPasswordController.php │ │ ├── CheckoutController.php │ │ ├── Controller.php │ │ ├── EmailController.php │ │ └── HomeController.php │ ├── Kernel.php │ └── Middleware │ │ ├── EncryptCookies.php │ │ ├── RedirectIfAuthenticated.php │ │ ├── TrimStrings.php │ │ ├── TrustProxies.php │ │ └── VerifyCsrfToken.php ├── Notifications │ └── InvoicePaid.php ├── Providers │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ ├── BroadcastServiceProvider.php │ ├── EventServiceProvider.php │ └── RouteServiceProvider.php └── User.php ├── apple-developer-merchantid-domain-association ├── artisan ├── bootstrap ├── app.php └── cache │ └── .gitignore ├── composer.json ├── composer.lock ├── config ├── app.php ├── auth.php ├── broadcasting.php ├── cache.php ├── database.php ├── filesystems.php ├── mail.php ├── queue.php ├── services.php ├── session.php └── view.php ├── database ├── .gitignore ├── factories │ └── UserFactory.php ├── migrations │ ├── 2014_10_12_000000_create_users_table.php │ ├── 2014_10_12_100000_create_password_resets_table.php │ ├── 2018_01_29_225006_subscriptions.php │ └── 2018_02_01_203227_sp_apps.php └── seeds │ └── DatabaseSeeder.php ├── package.json ├── phpunit.xml ├── public ├── .htaccess ├── css │ ├── app.css │ ├── bootstrap.min.css │ ├── demo.css │ └── material-dashboard.css ├── favicon.ico ├── 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 ├── index.php ├── js │ ├── app.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 ├── robots.txt ├── 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 └── web.config ├── 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 │ ├── app.blade.php │ ├── auth │ ├── login.blade.php │ ├── passwords │ │ ├── email.blade.php │ │ └── reset.blade.php │ └── register.blade.php │ ├── data.blade.php │ ├── home.blade.php │ ├── invoices.blade.php │ ├── layouts │ └── app.blade.php │ └── welcome.blade.php ├── routes ├── api.php ├── channels.php ├── console.php └── web.php ├── screenshot └── ControlPanel-Dashboard.png ├── 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 /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.css linguist-vendored 3 | *.scss linguist-vendored 4 | *.js linguist-vendored 5 | CHANGELOG.md export-ignore 6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | node_modules/ 3 | npm-debug.log 4 | 5 | # Laravel 4 specific 6 | bootstrap/compiled.php 7 | app/storage/ 8 | 9 | # Laravel 5 & Lumen specific 10 | public/storage 11 | public/hot 12 | storage/*.key 13 | .env.*.php 14 | .env.php 15 | .env 16 | Homestead.yaml 17 | Homestead.json 18 | 19 | # Rocketeer PHP task runner and deployment package. https://github.com/rocketeers/rocketeer 20 | .rocketeer/ 21 | -------------------------------------------------------------------------------- /.idea/dataSources.local.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | #@ 7 | ` 8 | 9 | 10 | master_key 11 | portal37 12 | *:portal 13 | 14 | true 15 | 138.68.176.97 16 | 22 17 | master_key 18 | root 19 | true 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /.idea/dataSources.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | mysql 6 | true 7 | com.mysql.jdbc.Driver 8 | jdbc:mysql://localhost:3306/portal 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /.idea/dataSources/d390eb86-5397-47a6-82d1-b87fcd36eacc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 1 7 | 1 8 | 9 | 10 | 11 |
12 |
13 |
14 | 15 | 1 16 | int(10) unsigned|0 17 | 1 18 | 1 19 | 20 | 21 | 2 22 | varchar(255)|0 23 | 1 24 | 25 | 26 | 3 27 | int(11)|0 28 | 1 29 | 30 | 31 | 1 32 | id 33 | 1 34 | 35 | 36 | 1 37 | varchar(255)|0 38 | 1 39 | 40 | 41 | 2 42 | varchar(255)|0 43 | 1 44 | 45 | 46 | 3 47 | timestamp|0 48 | 49 | 50 | email 51 | 52 | 53 | 1 54 | int(10) unsigned|0 55 | 1 56 | 1 57 | 58 | 59 | 2 60 | int(11)|0 61 | 1 62 | 63 | 64 | 3 65 | varchar(255)|0 66 | 1 67 | 68 | 69 | 4 70 | varchar(255)|0 71 | 1 72 | 73 | 74 | 5 75 | varchar(255)|0 76 | 1 77 | 78 | 79 | 6 80 | int(11)|0 81 | 1 82 | 83 | 84 | 7 85 | timestamp|0 86 | 87 | 88 | 8 89 | timestamp|0 90 | 91 | 92 | 9 93 | timestamp|0 94 | 95 | 96 | 10 97 | timestamp|0 98 | 99 | 100 | 1 101 | id 102 | 1 103 | 104 | 105 | 1 106 | int(10) unsigned|0 107 | 1 108 | 1 109 | 110 | 111 | 2 112 | varchar(255)|0 113 | 1 114 | 115 | 116 | 3 117 | varchar(255)|0 118 | 1 119 | 120 | 121 | 4 122 | varchar(100)|0 123 | 124 | 125 | 5 126 | timestamp|0 127 | 128 | 129 | 6 130 | timestamp|0 131 | 132 | 133 | 7 134 | varchar(255)|0 135 | 136 | 137 | 8 138 | varchar(255)|0 139 | 140 | 141 | 9 142 | varchar(255)|0 143 | 144 | 145 | 10 146 | timestamp|0 147 | 148 | 149 | 11 150 | varchar(255)|0 151 | 152 | 153 | email 154 | 1 155 | 156 | 157 | 1 158 | id 159 | 1 160 | 161 | 162 | email 163 | users_email_unique 164 | 165 | 166 | -------------------------------------------------------------------------------- /.idea/deployment.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 15 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/php.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 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 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Control-Panel 2 | Control Panel for shared website hosting including email, DNS and invoicing/billing by connecting up to providers. The Control Panel is built with GDPR in mind. 3 | 4 | ![alt text](https://github.com/dwildman86/Control-Panel/blob/master/screenshot/ControlPanel-Dashboard.png) 5 | 6 | Control Panel to integrate with the following services: 7 | 8 | ServerPilot.io API - Fast, Easy, Secure website hosting. Hosting servers can be setup on Digital Ocean or any other VPS/Dedicated service provider. 9 | 10 | Digital Ocean - Use Digital Ocean for their DNS service which is free to use 11 | 12 | Qmailbox.com - A fully functional Email Server in Cloud managed via API, always available, fast, safe and reliable. 13 | 14 | Stripe - Integrate with Stripe for billing and invoicing -------------------------------------------------------------------------------- /app/Billable.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/Exceptions/Handler.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'); 40 | } 41 | 42 | /** 43 | * Get a validator for an incoming registration request. 44 | * 45 | * @param array $data 46 | * @return \Illuminate\Contracts\Validation\Validator 47 | */ 48 | protected function validator(array $data) 49 | { 50 | return Validator::make($data, [ 51 | 'email' => 'required|string|email|max:255|unique:users', 52 | 'password' => 'required|string|min:6|confirmed', 53 | ]); 54 | } 55 | 56 | /** 57 | * Create a new user instance after a valid registration. 58 | * 59 | * @param array $data 60 | * @return \App\User 61 | */ 62 | protected function create(array $data) 63 | { 64 | return User::create([ 65 | 'email' => $data['email'], 66 | 'password' => bcrypt($data['password']), 67 | ]); 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/ResetPasswordController.php: -------------------------------------------------------------------------------- 1 | middleware('guest'); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /app/Http/Controllers/CheckoutController.php: -------------------------------------------------------------------------------- 1 | middleware('auth'); 17 | $this->user = \Auth::user(); 18 | } 19 | 20 | public function charge(Request $request) 21 | { 22 | try { 23 | Stripe::setApiKey(env('STRIPE_SECRET_KEY')); 24 | 25 | $customer = Customer::create(array( 26 | 'email' => $request->stripeEmail, 27 | 'source' => $request->stripeToken 28 | )); 29 | 30 | $charge = Charge::create(array( 31 | 'customer' => $customer->id, 32 | 'amount' => 500, 33 | 'currency' => 'gbp' 34 | )); 35 | 36 | return 'Charge successful!'; 37 | 38 | //$this->$createAPP(); 39 | 40 | } catch (\Exception $ex) { 41 | return $ex->getMessage(); 42 | } 43 | } 44 | 45 | public function subscribe_process_app(Request $request) 46 | { 47 | 48 | try { 49 | Stripe::setApiKey(env('STRIPE_SECRET_KEY')); 50 | 51 | $user = User::find(1); 52 | $userID = $user->sp_id; 53 | $user->newSubscription('main', 'app')->create($request->stripeToken); 54 | 55 | $domain = $request['domain']; 56 | $appname = $request['domain']; 57 | $appname = str_replace(".", "", $appname); 58 | $domains = ''; 59 | 60 | \SP::app_create($appname, $userID, 'php7.1', $domains=array("$domain", "www.$domain")); 61 | 62 | return redirect('home')->with('status', 'Payment successful, you are subscribed to APP - £5.00 monthly. We emailed you details about your new website.'); 63 | } catch (\Exception $ex) { 64 | 65 | return redirect('home')->with('status', $ex->getMessage()); 66 | 67 | } 68 | 69 | } 70 | 71 | public function subscribe_email(Request $request) 72 | { 73 | try { 74 | Stripe::setApiKey(env('STRIPE_SECRET_KEY')); 75 | 76 | $user = User::find(1); 77 | $user->newSubscription('main', 'email')->create($request->stripeToken); 78 | 79 | return redirect('home')->with('status', 'Payment successful, you are subscribed to APP - £5.00 monthly'); 80 | } catch (\Exception $ex) { 81 | 82 | return redirect('home')->with('status', $ex->getMessage()); 83 | 84 | } 85 | 86 | } 87 | 88 | public function subscribe_dns(Request $request) 89 | { 90 | try { 91 | Stripe::setApiKey(env('STRIPE_SECRET_KEY')); 92 | 93 | $user = User::find(1); 94 | $user->newSubscription('main', 'dns')->create($request->stripeToken); 95 | 96 | return redirect('home')->with('status', 'Payment successful, you are subscribed to APP - £5.00 monthly'); 97 | } catch (\Exception $ex) { 98 | 99 | return redirect('home')->with('status', $ex->getMessage()); 100 | 101 | } 102 | 103 | } 104 | 105 | public function subscribe_cancel(Request $request) 106 | { 107 | try { 108 | Stripe::setApiKey(env('STRIPE_SECRET_KEY')); 109 | 110 | $user = User::find(1); 111 | $user->subscription('main', 'app')->cancel(); 112 | 113 | return 'You have cancelled your subscription for App!'; 114 | } catch (\Exception $ex) { 115 | return $ex->getMessage(); 116 | } 117 | 118 | } 119 | 120 | public function invoices() 121 | { 122 | try { 123 | Stripe::setApiKey(env('STRIPE_SECRET_KEY')); 124 | 125 | $user = User::find(1); 126 | 127 | $invoices = $user->invoices(); 128 | 129 | return view('invoices', compact('invoices')); 130 | 131 | } catch (\Exception $ex) { 132 | return $ex->getMessage(); 133 | } 134 | 135 | } 136 | 137 | public function invoice($invoice_id) 138 | { 139 | try { 140 | Stripe::setApiKey(env('STRIPE_SECRET_KEY')); 141 | 142 | $user = User::find(1); 143 | 144 | return $user->downloadInvoice($invoice_id, [ 145 | 'vendor' => 'Your Company', 146 | 'product' => 'Your Product', 147 | ]); 148 | 149 | } catch (\Exception $ex) { 150 | return $ex->getMessage(); 151 | } 152 | 153 | } 154 | 155 | 156 | 157 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Controller.php: -------------------------------------------------------------------------------- 1 | middleware('auth'); 16 | $this->user = \Auth::user(); 17 | } 18 | 19 | public function addEmailDomain(Request $request){ 20 | 21 | try{ 22 | 23 | Stripe::setApiKey(env('STRIPE_SECRET_KEY')); 24 | 25 | $user = User::find(1); 26 | $user->newSubscription('main', 'email')->create($request->stripeToken); 27 | 28 | $this->CreateConnection(); 29 | 30 | // add domain to qmailbox 31 | 32 | } catch (\Exception $ex) { 33 | 34 | return redirect('home')->with('status', $ex->getMessage()); 35 | 36 | } 37 | } 38 | 39 | public function CreateConnection(Request $request){ 40 | 41 | $url = 'https://api.qboxmail.com/api/'; 42 | $ch = curl_init(); 43 | curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); 44 | curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); 45 | curl_setopt($ch, CURLOPT_URL,$url); 46 | $ex=curl_exec($ch); 47 | curl_close($ch); 48 | var_dump(json_decode($ex, true)); 49 | 50 | } 51 | 52 | 53 | } 54 | -------------------------------------------------------------------------------- /app/Http/Controllers/HomeController.php: -------------------------------------------------------------------------------- 1 | middleware('auth'); 17 | } 18 | 19 | /** 20 | * Show the application dashboard. 21 | * 22 | * @return \Illuminate\Http\Response 23 | */ 24 | public function index() 25 | { 26 | return view('home'); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /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 | 'can' => \Illuminate\Auth\Middleware\Authorize::class, 58 | 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, 59 | 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, 60 | ]; 61 | } 62 | -------------------------------------------------------------------------------- /app/Http/Middleware/EncryptCookies.php: -------------------------------------------------------------------------------- 1 | check()) { 21 | return redirect('/home'); 22 | } 23 | 24 | return $next($request); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/Http/Middleware/TrimStrings.php: -------------------------------------------------------------------------------- 1 | 'FORWARDED', 24 | Request::HEADER_X_FORWARDED_FOR => 'X_FORWARDED_FOR', 25 | Request::HEADER_X_FORWARDED_HOST => 'X_FORWARDED_HOST', 26 | Request::HEADER_X_FORWARDED_PORT => 'X_FORWARDED_PORT', 27 | Request::HEADER_X_FORWARDED_PROTO => 'X_FORWARDED_PROTO', 28 | ]; 29 | } 30 | -------------------------------------------------------------------------------- /app/Http/Middleware/VerifyCsrfToken.php: -------------------------------------------------------------------------------- 1 | line('The introduction to the notification.') 45 | ->action('Notification Action', url('/')) 46 | ->line('Thank you for using our application!'); 47 | } 48 | 49 | /** 50 | * Get the array representation of the notification. 51 | * 52 | * @param mixed $notifiable 53 | * @return array 54 | */ 55 | public function toArray($notifiable) 56 | { 57 | return [ 58 | // 59 | ]; 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /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/User.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.0.0", 9 | "daverogers/serverpilot-php": "^1.0", 10 | "fideloper/proxy": "~3.3", 11 | "laravel/cashier": "~7.0", 12 | "laravel/framework": "5.5.*", 13 | "laravel/tinker": "~1.0", 14 | "lesaff/laravel-serverpilot": "^1.0", 15 | "stripe/stripe-php": "^5.9" 16 | }, 17 | "require-dev": { 18 | "filp/whoops": "~2.0", 19 | "fzaninotto/faker": "~1.4", 20 | "mockery/mockery": "~1.0", 21 | "phpunit/phpunit": "~6.0", 22 | "symfony/thanks": "^1.0" 23 | }, 24 | "autoload": { 25 | "classmap": [ 26 | "database/seeds", 27 | "database/factories" 28 | ], 29 | "psr-4": { 30 | "App\\": "app/" 31 | } 32 | }, 33 | "autoload-dev": { 34 | "psr-4": { 35 | "Tests\\": "tests/" 36 | } 37 | }, 38 | "extra": { 39 | "laravel": { 40 | "dont-discover": [ 41 | ] 42 | } 43 | }, 44 | "scripts": { 45 | "post-root-package-install": [ 46 | "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" 47 | ], 48 | "post-create-project-cmd": [ 49 | "@php artisan key:generate" 50 | ], 51 | "post-autoload-dump": [ 52 | "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", 53 | "@php artisan package:discover" 54 | ] 55 | }, 56 | "config": { 57 | "preferred-install": "dist", 58 | "sort-packages": true, 59 | "optimize-autoloader": true 60 | } 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/database.php: -------------------------------------------------------------------------------- 1 | env('DB_CONNECTION', 'mysql'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Database Connections 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here are each of the database connections setup for your application. 24 | | Of course, examples of configuring each database platform that is 25 | | supported by Laravel is shown below to make development simple. 26 | | 27 | | 28 | | All database work in Laravel is done through the PHP PDO facilities 29 | | so make sure you have the driver for your particular database of 30 | | choice installed on your machine before you begin development. 31 | | 32 | */ 33 | 34 | 'connections' => [ 35 | 36 | 'sqlite' => [ 37 | 'driver' => 'sqlite', 38 | 'database' => env('DB_DATABASE', database_path('database.sqlite')), 39 | 'prefix' => '', 40 | ], 41 | 42 | 'mysql' => [ 43 | 'driver' => 'mysql', 44 | 'host' => env('DB_HOST', 'localhost'), 45 | 'port' => env('DB_PORT', '3306'), 46 | 'database' => env('DB_DATABASE', 'portal'), 47 | 'username' => env('DB_USERNAME', 'portal37'), 48 | 'password' => env('DB_PASSWORD', 'D1ac3ete%'), 49 | 'unix_socket' => env('DB_SOCKET', ''), 50 | 'charset' => 'utf8mb4', 51 | 'collation' => 'utf8mb4_unicode_ci', 52 | 'prefix' => '', 53 | 'strict' => true, 54 | 'engine' => null, 55 | ], 56 | 57 | 'pgsql' => [ 58 | 'driver' => 'pgsql', 59 | 'host' => env('DB_HOST', '127.0.0.1'), 60 | 'port' => env('DB_PORT', '5432'), 61 | 'database' => env('DB_DATABASE', 'forge'), 62 | 'username' => env('DB_USERNAME', 'forge'), 63 | 'password' => env('DB_PASSWORD', ''), 64 | 'charset' => 'utf8', 65 | 'prefix' => '', 66 | 'schema' => 'public', 67 | 'sslmode' => 'prefer', 68 | ], 69 | 70 | 'sqlsrv' => [ 71 | 'driver' => 'sqlsrv', 72 | 'host' => env('DB_HOST', 'localhost'), 73 | 'port' => env('DB_PORT', '1433'), 74 | 'database' => env('DB_DATABASE', 'forge'), 75 | 'username' => env('DB_USERNAME', 'forge'), 76 | 'password' => env('DB_PASSWORD', ''), 77 | 'charset' => 'utf8', 78 | 'prefix' => '', 79 | ], 80 | 81 | ], 82 | 83 | /* 84 | |-------------------------------------------------------------------------- 85 | | Migration Repository Table 86 | |-------------------------------------------------------------------------- 87 | | 88 | | This table keeps track of all the migrations that have already run for 89 | | your application. Using this information, we can determine which of 90 | | the migrations on disk haven't actually been run in the database. 91 | | 92 | */ 93 | 94 | 'migrations' => 'migrations', 95 | 96 | /* 97 | |-------------------------------------------------------------------------- 98 | | Redis Databases 99 | |-------------------------------------------------------------------------- 100 | | 101 | | Redis is an open source, fast, and advanced key-value store that also 102 | | provides a richer set of commands than a typical key-value systems 103 | | such as APC or Memcached. Laravel makes it easy to dig right in. 104 | | 105 | */ 106 | 107 | 'redis' => [ 108 | 109 | 'client' => 'predis', 110 | 111 | 'default' => [ 112 | 'host' => env('REDIS_HOST', '127.0.0.1'), 113 | 'password' => env('REDIS_PASSWORD', null), 114 | 'port' => env('REDIS_PORT', 6379), 115 | 'database' => 0, 116 | ], 117 | 118 | ], 119 | 120 | ]; 121 | -------------------------------------------------------------------------------- /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 | ], 65 | 66 | ], 67 | 68 | ]; 69 | -------------------------------------------------------------------------------- /config/mail.php: -------------------------------------------------------------------------------- 1 | env('MAIL_DRIVER', 'smtp'), 20 | 21 | /* 22 | |-------------------------------------------------------------------------- 23 | | SMTP Host Address 24 | |-------------------------------------------------------------------------- 25 | | 26 | | Here you may provide the host address of the SMTP server used by your 27 | | applications. A default option is provided that is compatible with 28 | | the Mailgun mail service which will provide reliable deliveries. 29 | | 30 | */ 31 | 32 | 'host' => env('MAIL_HOST', 'smtp.mailgun.org'), 33 | 34 | /* 35 | |-------------------------------------------------------------------------- 36 | | SMTP Host Port 37 | |-------------------------------------------------------------------------- 38 | | 39 | | This is the SMTP port used by your application to deliver e-mails to 40 | | users of the application. Like the host we have set this value to 41 | | stay compatible with the Mailgun e-mail application by default. 42 | | 43 | */ 44 | 45 | 'port' => env('MAIL_PORT', 587), 46 | 47 | /* 48 | |-------------------------------------------------------------------------- 49 | | Global "From" Address 50 | |-------------------------------------------------------------------------- 51 | | 52 | | You may wish for all e-mails sent by your application to be sent from 53 | | the same address. Here, you may specify a name and address that is 54 | | used globally for all e-mails that are sent by your application. 55 | | 56 | */ 57 | 58 | 'from' => [ 59 | 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), 60 | 'name' => env('MAIL_FROM_NAME', 'Example'), 61 | ], 62 | 63 | /* 64 | |-------------------------------------------------------------------------- 65 | | E-Mail Encryption Protocol 66 | |-------------------------------------------------------------------------- 67 | | 68 | | Here you may specify the encryption protocol that should be used when 69 | | the application send e-mail messages. A sensible default using the 70 | | transport layer security protocol should provide great security. 71 | | 72 | */ 73 | 74 | 'encryption' => env('MAIL_ENCRYPTION', 'tls'), 75 | 76 | /* 77 | |-------------------------------------------------------------------------- 78 | | SMTP Server Username 79 | |-------------------------------------------------------------------------- 80 | | 81 | | If your SMTP server requires a username for authentication, you should 82 | | set it here. This will get used to authenticate with your server on 83 | | connection. You may also set the "password" value below this one. 84 | | 85 | */ 86 | 87 | 'username' => env('MAIL_USERNAME'), 88 | 89 | 'password' => env('MAIL_PASSWORD'), 90 | 91 | /* 92 | |-------------------------------------------------------------------------- 93 | | Sendmail System Path 94 | |-------------------------------------------------------------------------- 95 | | 96 | | When using the "sendmail" driver to send e-mails, we will need to know 97 | | the path to where Sendmail lives on this server. A default path has 98 | | been provided here, which will work well on most of your systems. 99 | | 100 | */ 101 | 102 | 'sendmail' => '/usr/sbin/sendmail -bs', 103 | 104 | /* 105 | |-------------------------------------------------------------------------- 106 | | Markdown Mail Settings 107 | |-------------------------------------------------------------------------- 108 | | 109 | | If you are using Markdown based email rendering, you may configure your 110 | | theme and component paths here, allowing you to customize the design 111 | | of the emails. Or, you may simply stick with the Laravel defaults! 112 | | 113 | */ 114 | 115 | 'markdown' => [ 116 | 'theme' => 'default', 117 | 118 | 'paths' => [ 119 | resource_path('views/vendor/mail'), 120 | ], 121 | ], 122 | 123 | ]; 124 | -------------------------------------------------------------------------------- /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 | ], 66 | 67 | ], 68 | 69 | /* 70 | |-------------------------------------------------------------------------- 71 | | Failed Queue Jobs 72 | |-------------------------------------------------------------------------- 73 | | 74 | | These options configure the behavior of failed queue job logging so you 75 | | can control which database and table are used to store the jobs that 76 | | have failed. You may change them to any database / table you wish. 77 | | 78 | */ 79 | 80 | 'failed' => [ 81 | 'database' => env('DB_CONNECTION', 'mysql'), 82 | 'table' => 'failed_jobs', 83 | ], 84 | 85 | ]; 86 | -------------------------------------------------------------------------------- /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/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('email')->unique(); 19 | $table->string('password'); 20 | $table->rememberToken(); 21 | $table->timestamps(); 22 | $table->string('stripe_id')->nullable(); 23 | $table->string('card_brand')->nullable(); 24 | $table->string('card_last_four')->nullable(); 25 | $table->timestamp('trial_ends_at')->nullable(); 26 | }); 27 | } 28 | 29 | /** 30 | * Reverse the migrations. 31 | * 32 | * @return void 33 | */ 34 | public function down() 35 | { 36 | Schema::dropIfExists('users'); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /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_01_29_225006_subscriptions.php: -------------------------------------------------------------------------------- 1 | increments('id'); 18 | $table->integer('user_id'); 19 | $table->string('name'); 20 | $table->string('stripe_id'); 21 | $table->string('stripe_plan'); 22 | $table->integer('quantity'); 23 | $table->timestamp('trial_ends_at')->nullable(); 24 | $table->timestamp('ends_at')->nullable(); 25 | $table->timestamps(); 26 | }); 27 | } 28 | 29 | /** 30 | * Reverse the migrations. 31 | * 32 | * @return void 33 | */ 34 | public function down() 35 | { 36 | Schema::dropIfExists('subscriptions'); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /database/migrations/2018_02_01_203227_sp_apps.php: -------------------------------------------------------------------------------- 1 | increments('id'); 18 | $table->integer('user_id'); 19 | $table->string('sp_id'); 20 | $table->string('app_id'); 21 | $table->timestamps(); 22 | }); 23 | } 24 | 25 | /** 26 | * Reverse the migrations. 27 | * 28 | * @return void 29 | */ 30 | public function down() 31 | { 32 | Schema::dropIfExists('sp_apps'); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /database/seeds/DatabaseSeeder.php: -------------------------------------------------------------------------------- 1 | call(UsersTableSeeder::class); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true, 3 | "scripts": { 4 | "dev": "npm run development", 5 | "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", 6 | "watch": "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-sass": "^3.3.7", 15 | "cross-env": "^5.1", 16 | "jquery": "^3.2", 17 | "laravel-mix": "^1.0", 18 | "lodash": "^4.17.4", 19 | "vue": "^2.5.7" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /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 | Options +FollowSymlinks 2 | RewriteEngine On 3 | 4 | RewriteCond %{REQUEST_FILENAME} !-d 5 | RewriteCond %{REQUEST_FILENAME} !-f 6 | RewriteRule ^ index.php [L] -------------------------------------------------------------------------------- /public/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/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwildman86/Control-Panel/3f896f94564bdfe48262dbe29acffc5c548a5d70/public/favicon.ico -------------------------------------------------------------------------------- /public/img/apple-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwildman86/Control-Panel/3f896f94564bdfe48262dbe29acffc5c548a5d70/public/img/apple-icon.png -------------------------------------------------------------------------------- /public/img/cover.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwildman86/Control-Panel/3f896f94564bdfe48262dbe29acffc5c548a5d70/public/img/cover.jpeg -------------------------------------------------------------------------------- /public/img/faces/marc.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwildman86/Control-Panel/3f896f94564bdfe48262dbe29acffc5c548a5d70/public/img/faces/marc.jpg -------------------------------------------------------------------------------- /public/img/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwildman86/Control-Panel/3f896f94564bdfe48262dbe29acffc5c548a5d70/public/img/favicon.png -------------------------------------------------------------------------------- /public/img/mask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwildman86/Control-Panel/3f896f94564bdfe48262dbe29acffc5c548a5d70/public/img/mask.png -------------------------------------------------------------------------------- /public/img/new_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwildman86/Control-Panel/3f896f94564bdfe48262dbe29acffc5c548a5d70/public/img/new_logo.png -------------------------------------------------------------------------------- /public/img/sidebar-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwildman86/Control-Panel/3f896f94564bdfe48262dbe29acffc5c548a5d70/public/img/sidebar-1.jpg -------------------------------------------------------------------------------- /public/img/sidebar-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwildman86/Control-Panel/3f896f94564bdfe48262dbe29acffc5c548a5d70/public/img/sidebar-2.jpg -------------------------------------------------------------------------------- /public/img/sidebar-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwildman86/Control-Panel/3f896f94564bdfe48262dbe29acffc5c548a5d70/public/img/sidebar-3.jpg -------------------------------------------------------------------------------- /public/img/sidebar-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwildman86/Control-Panel/3f896f94564bdfe48262dbe29acffc5c548a5d70/public/img/sidebar-4.jpg -------------------------------------------------------------------------------- /public/img/tim_80x80.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwildman86/Control-Panel/3f896f94564bdfe48262dbe29acffc5c548a5d70/public/img/tim_80x80.png -------------------------------------------------------------------------------- /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/js/arrive.min.js: -------------------------------------------------------------------------------- 1 | /* 2 | * arrive.js 3 | * v2.4.1 4 | * https://github.com/uzairfarooq/arrive 5 | * MIT licensed 6 | * 7 | * Copyright (c) 2014-2017 Uzair Farooq 8 | */ 9 | 10 | var Arrive=function(e,t,n){"use strict";function r(e,t,n){l.addMethod(t,n,e.unbindEvent),l.addMethod(t,n,e.unbindEventWithSelectorOrCallback),l.addMethod(t,n,e.unbindEventWithSelectorAndCallback)}function i(e){e.arrive=f.bindEvent,r(f,e,"unbindArrive"),e.leave=d.bindEvent,r(d,e,"unbindLeave")}if(e.MutationObserver&&"undefined"!=typeof HTMLElement){var o=0,l=function(){var t=HTMLElement.prototype.matches||HTMLElement.prototype.webkitMatchesSelector||HTMLElement.prototype.mozMatchesSelector||HTMLElement.prototype.msMatchesSelector;return{matchesSelector:function(e,n){return e instanceof HTMLElement&&t.call(e,n)},addMethod:function(e,t,r){var i=e[t];e[t]=function(){return r.length==arguments.length?r.apply(this,arguments):"function"==typeof i?i.apply(this,arguments):n}},callCallbacks:function(e,t){t&&t.options.onceOnly&&1==t.firedElems.length&&(e=[e[0]]);for(var n,r=0;n=e[r];r++)n&&n.callback&&n.callback.call(n.elem,n.elem);t&&t.options.onceOnly&&1==t.firedElems.length&&t.me.unbindEventWithSelectorAndCallback.call(t.target,t.selector,t.callback)},checkChildNodesRecursively:function(e,t,n,r){for(var i,o=0;i=e[o];o++)n(i,t,r)&&r.push({callback:t.callback,elem:i}),i.childNodes.length>0&&l.checkChildNodesRecursively(i.childNodes,t,n,r)},mergeArrays:function(e,t){var n,r={};for(n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);for(n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return r},toElementsArray:function(t){return n===t||"number"==typeof t.length&&t!==e||(t=[t]),t}}}(),c=function(){var e=function(){this._eventsBucket=[],this._beforeAdding=null,this._beforeRemoving=null};return e.prototype.addEvent=function(e,t,n,r){var i={target:e,selector:t,options:n,callback:r,firedElems:[]};return this._beforeAdding&&this._beforeAdding(i),this._eventsBucket.push(i),i},e.prototype.removeEvent=function(e){for(var t,n=this._eventsBucket.length-1;t=this._eventsBucket[n];n--)if(e(t)){this._beforeRemoving&&this._beforeRemoving(t);var r=this._eventsBucket.splice(n,1);r&&r.length&&(r[0].callback=null)}},e.prototype.beforeAdding=function(e){this._beforeAdding=e},e.prototype.beforeRemoving=function(e){this._beforeRemoving=e},e}(),a=function(t,r){var i=new c,o=this,a={fireOnAttributesModification:!1};return i.beforeAdding(function(n){var i,l=n.target;(l===e.document||l===e)&&(l=document.getElementsByTagName("html")[0]),i=new MutationObserver(function(e){r.call(this,e,n)});var c=t(n.options);i.observe(l,c),n.observer=i,n.me=o}),i.beforeRemoving(function(e){e.observer.disconnect()}),this.bindEvent=function(e,t,n){t=l.mergeArrays(a,t);for(var r=l.toElementsArray(this),o=0;o0?l.checkChildNodesRecursively(n,t,r,o):"attributes"===e.type&&r(i,t,o)&&o.push({callback:t.callback,elem:i}),l.callCallbacks(o,t)})}function r(e,t){return l.matchesSelector(e,t.selector)&&(e._id===n&&(e._id=o++),-1==t.firedElems.indexOf(e._id))?(t.firedElems.push(e._id),!0):!1}var i={fireOnAttributesModification:!1,onceOnly:!1,existing:!1};f=new a(e,t);var c=f.bindEvent;return f.bindEvent=function(e,t,r){n===r?(r=t,t=i):t=l.mergeArrays(i,t);var o=l.toElementsArray(this);if(t.existing){for(var a=[],s=0;s0&&l.checkChildNodesRecursively(n,t,r,i),l.callCallbacks(i,t)})}function r(e,t){return l.matchesSelector(e,t.selector)}var i={};d=new a(e,t);var o=d.bindEvent;return d.bindEvent=function(e,t,r){n===r?(r=t,t=i):t=l.mergeArrays(i,t),o.call(this,e,t,r)},d},f=new s,d=new u;t&&i(t.fn),i(HTMLElement.prototype),i(NodeList.prototype),i(HTMLCollection.prototype),i(HTMLDocument.prototype),i(Window.prototype);var h={};return r(f,h,"unbindAllArrive"),r(d,h,"unbindAllLeave"),h}}(window,"undefined"==typeof jQuery?null:jQuery,void 0); 11 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /public/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/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/sass/md/_buttons.scss: -------------------------------------------------------------------------------- 1 | .btn, 2 | .navbar .navbar-nav > li > a.btn{ 3 | border: none; 4 | border-radius: $border-radius-base; 5 | position: relative; 6 | padding: 12px 30px; 7 | margin: 10px 1px; 8 | 9 | font-size: $mdb-btn-font-size-base; 10 | font-weight: 400; 11 | text-transform: uppercase; 12 | letter-spacing: 0; 13 | 14 | will-change: box-shadow, transform; 15 | transition: box-shadow 0.2s $mdb-animation-curve-fast-out-linear-in, 16 | background-color 0.2s $mdb-animation-curve-default; 17 | 18 | &::-moz-focus-inner { 19 | border: 0; 20 | } 21 | 22 | &, 23 | &.btn-default{ 24 | @include btn-styles($gray-light); 25 | } 26 | 27 | &.btn-primary{ 28 | @include btn-styles($brand-primary); 29 | } 30 | &.btn-info{ 31 | @include btn-styles($brand-info); 32 | } 33 | &.btn-success{ 34 | @include btn-styles($brand-success); 35 | } 36 | &.btn-warning{ 37 | @include btn-styles($brand-warning); 38 | } 39 | &.btn-danger{ 40 | @include btn-styles($brand-danger); 41 | } 42 | &.btn-rose{ 43 | @include btn-styles($brand-rose); 44 | } 45 | &.btn-white{ 46 | &, 47 | &:focus, 48 | &:hover{ 49 | background-color: $white-color; 50 | color: $gray-light; 51 | } 52 | &.btn-simple{ 53 | color: #FFFFFF; 54 | background: transparent; 55 | box-shadow: none; 56 | } 57 | } 58 | 59 | // social buttons 60 | &.btn-facebook { 61 | @include social-buttons-color($social-facebook); 62 | } 63 | &.btn-twitter { 64 | @include social-buttons-color($social-twitter); 65 | } 66 | &.btn-pinterest { 67 | @include social-buttons-color($social-pinterest); 68 | } 69 | &.btn-google { 70 | @include social-buttons-color($social-google); 71 | } 72 | &.btn-linkedin { 73 | @include social-buttons-color($social-linkedin); 74 | } 75 | &.btn-dribbble { 76 | @include social-buttons-color($social-dribbble); 77 | } 78 | &.btn-github { 79 | @include social-buttons-color($social-github); 80 | } 81 | &.btn-youtube { 82 | @include social-buttons-color($social-youtube); 83 | } 84 | &.btn-instagram { 85 | @include social-buttons-color($social-instagram); 86 | } 87 | &.btn-reddit { 88 | @include social-buttons-color($social-reddit); 89 | } 90 | &.btn-tumblr { 91 | @include social-buttons-color($social-tumblr); 92 | } 93 | &.btn-behance { 94 | @include social-buttons-color($social-behance); 95 | } 96 | 97 | &:focus, 98 | &:active, 99 | &:active:focus{ 100 | outline: 0; 101 | } 102 | 103 | &.btn-round{ 104 | border-radius: $border-radius-extreme; 105 | } 106 | 107 | &:not(.btn-just-icon):not(.btn-fab){ 108 | .fa{ 109 | font-size: 18px; 110 | margin-top: -2px; 111 | position: relative; 112 | top: 2px; 113 | } 114 | } 115 | 116 | 117 | &.btn-fab { 118 | // see above for color variations 119 | border-radius: 50%; 120 | font-size: $mdb-btn-fab-font-size; 121 | height: $mdb-btn-fab-size; 122 | margin: auto; 123 | min-width: $mdb-btn-fab-size; 124 | width: $mdb-btn-fab-size; 125 | padding: 0; 126 | overflow: hidden; 127 | position: relative; 128 | line-height: normal; 129 | 130 | .ripple-container { 131 | border-radius: 50%; 132 | } 133 | 134 | &.btn-fab-mini, 135 | .btn-group-sm & { 136 | height: $mdb-btn-fab-size-mini; 137 | min-width: $mdb-btn-fab-size-mini; 138 | width: $mdb-btn-fab-size-mini; 139 | 140 | &.material-icons { 141 | top: ($mdb-btn-icon-size-mini - $mdb-btn-fab-font-size) / 2; 142 | left: ($mdb-btn-icon-size-mini - $mdb-btn-fab-font-size) / 2; 143 | } 144 | 145 | .material-icons{ 146 | font-size: $mdb-btn-icon-size-mini; 147 | } 148 | } 149 | 150 | i.material-icons { 151 | position: absolute; 152 | top: 50%; 153 | left: 50%; 154 | transform: translate(-($mdb-btn-fab-font-size / 2), -($mdb-btn-fab-font-size / 2)); 155 | line-height: $mdb-btn-fab-font-size; 156 | width: $mdb-btn-fab-font-size; 157 | font-size: $mdb-btn-fab-font-size; 158 | } 159 | } 160 | 161 | // Size variations 162 | &.btn-lg, 163 | .btn-group-lg & { 164 | font-size: $mdb-btn-font-size-lg; 165 | padding: 18px 36px; 166 | } 167 | &.btn-sm, 168 | .btn-group-sm & { 169 | padding: 5px 20px; 170 | font-size: $mdb-btn-font-size-sm; 171 | } 172 | &.btn-xs, 173 | .btn-group-xs & { 174 | padding: 4px 15px; 175 | font-size: $mdb-btn-font-size-xs; 176 | } 177 | 178 | &.btn-just-icon{ 179 | font-size: 20px; 180 | padding: 12px 12px; 181 | line-height: 1em; 182 | 183 | i{ 184 | width: 20px; 185 | } 186 | &.btn-lg{ 187 | font-size: 22px; 188 | padding: 13px 18px; 189 | } 190 | } 191 | } 192 | 193 | .btn{ 194 | // Align icons inside buttons with text 195 | .material-icons{ 196 | vertical-align: middle; 197 | font-size: $mdb-btn-icon-size-mini; 198 | top: -1px; 199 | position: relative; 200 | } 201 | 202 | } 203 | 204 | .navbar .navbar-nav > li > { 205 | a.btn{ 206 | margin-top: 2px; 207 | margin-bottom: 2px; 208 | 209 | &.btn-fab{ 210 | margin: 5px 2px; 211 | } 212 | } 213 | a:not(.btn){ 214 | .material-icons{ 215 | margin-top: -3px; 216 | top: 0px; 217 | position: relative; 218 | margin-right: 3px; 219 | } 220 | } 221 | .profile-photo{ 222 | margin: 5px 2px; 223 | } 224 | } 225 | 226 | .navbar-default:not(.navbar-transparent) .navbar-nav > li > { 227 | a.btn{ 228 | &.btn-white.btn-simple{ 229 | color: $gray; 230 | } 231 | } 232 | } 233 | 234 | // btn-group variations 235 | .btn-group, 236 | .btn-group-vertical { 237 | 238 | position: relative; 239 | //border-radius: 2px; 240 | margin: 10px 1px; 241 | 242 | &.open { 243 | .dropdown-toggle { 244 | //box-shadow: none; 245 | } 246 | 247 | & > .dropdown-toggle.btn { 248 | @include variations(unquote(".btn"), unquote(""), background-color, $mdb-btn-background-color); 249 | } 250 | } 251 | 252 | .dropdown-menu { 253 | border-radius: 0 0 $border-radius-base $border-radius-base; 254 | } 255 | 256 | &.btn-group-raised { 257 | @include shadow-2dp(); 258 | } 259 | 260 | & .btn + .btn, 261 | .btn, 262 | .btn:active, 263 | .btn-group { 264 | margin: 0; 265 | } 266 | } 267 | 268 | .close{ 269 | font-size: inherit; 270 | color: $white-color; 271 | opacity: .9; 272 | text-shadow: none; 273 | 274 | &:hover, 275 | &:focus{ 276 | opacity: 1; 277 | color: $white-color; 278 | } 279 | 280 | i{ 281 | font-size: 20px; 282 | } 283 | } 284 | -------------------------------------------------------------------------------- /public/sass/md/_checkboxes.scss: -------------------------------------------------------------------------------- 1 | .checkbox { 2 | label { 3 | cursor: pointer; 4 | padding-left: 0; // Reset for Bootstrap rule 5 | color: $mdb-checkbox-label-color; 6 | @include mdb-label-color-toggle-focus(); 7 | } 8 | 9 | // Hide native checkbox 10 | input[type=checkbox] { 11 | opacity: 0; 12 | position: absolute; 13 | margin: 0; 14 | z-index: -1; 15 | width: 0; 16 | height: 0; 17 | overflow: hidden; 18 | left: 0; 19 | pointer-events: none; 20 | } 21 | 22 | .checkbox-material { 23 | vertical-align: middle; 24 | position: relative; 25 | top: 3px; 26 | padding-right: 5px; 27 | 28 | &:before { 29 | display: block; 30 | position: absolute; 31 | left: 0; 32 | content: ""; 33 | background-color: rgba(0,0,0,.84); 34 | height: $mdb-checkbox-size; 35 | width: $mdb-checkbox-size; 36 | border-radius: 100%; 37 | z-index: 1; 38 | opacity: 0; 39 | margin: 0; 40 | @include transform-scale3d(unquote('2.3,2.3,1')); 41 | } 42 | 43 | .check { 44 | position: relative; 45 | display: inline-block; 46 | width: $mdb-checkbox-size; 47 | height: $mdb-checkbox-size; 48 | border: 1px solid $mdb-checkbox-border-color; 49 | overflow: hidden; 50 | z-index: 1; 51 | border-radius: $border-radius-base; 52 | } 53 | .check:before { 54 | position: absolute; 55 | content: ""; 56 | @include rotate(); 57 | display: block; 58 | margin-top: -3px; 59 | margin-left: 7px; 60 | width: 0; 61 | height: 0; 62 | background: red; 63 | box-shadow: 64 | 0 0 0 0, 65 | 0 0 0 0, 66 | 0 0 0 0, 67 | 0 0 0 0, 68 | 0 0 0 0, 69 | 0 0 0 0, 70 | 0 0 0 0 inset; 71 | @include animation(checkbox-off $mdb-checkbox-animation-check forwards); 72 | } 73 | } 74 | 75 | input[type=checkbox] { 76 | 77 | &:focus + .checkbox-material .check:after { 78 | opacity: 0.2; 79 | } 80 | 81 | &:checked { 82 | 83 | & + .checkbox-material .check { 84 | background: $mdb-checkbox-checked-color; 85 | } 86 | 87 | & + .checkbox-material .check:before { 88 | color: #FFFFFF; 89 | box-shadow: 0 0 0 10px, 90 | 10px -10px 0 10px, 91 | 32px 0 0 20px, 92 | 0px 32px 0 20px, 93 | -5px 5px 0 10px, 94 | 20px -12px 0 11px; 95 | @include animation(checkbox-on $mdb-checkbox-animation-check forwards); 96 | } 97 | 98 | & + .checkbox-material:before { 99 | @include animation(rippleOn $mdb-checkbox-animation-ripple); 100 | } 101 | 102 | & + .checkbox-material .check:after { 103 | //background-color: $brand-success; // FIXME: seems like tho wrong color, test and make sure it can be removed 104 | @include animation(rippleOn $mdb-checkbox-animation-ripple forwards); // Ripple effect on check 105 | } 106 | } 107 | 108 | &:not(:checked) { 109 | & + .checkbox-material:before { 110 | @include animation(rippleOff $mdb-checkbox-animation-ripple); 111 | } 112 | 113 | & + .checkbox-material .check:after { 114 | @include animation(rippleOff $mdb-checkbox-animation-ripple); // Ripple effect on uncheck 115 | 116 | } 117 | } 118 | } 119 | 120 | // Style for disabled inputs 121 | fieldset[disabled] &, 122 | fieldset[disabled] & input[type=checkbox], 123 | input[type=checkbox][disabled] ~ .checkbox-material .check, 124 | input[type=checkbox][disabled] + .circle { 125 | opacity: 0.5; 126 | } 127 | 128 | input[type=checkbox][disabled] ~ .checkbox-material .check{ 129 | border-color: #000000; 130 | opacity: .26; 131 | } 132 | 133 | input[type=checkbox][disabled] + .checkbox-material .check:after { 134 | background-color: $mdb-text-color-primary; 135 | transform: rotate(-45deg); 136 | } 137 | } 138 | 139 | @keyframes checkbox-on { 140 | 0% { 141 | box-shadow: 142 | 0 0 0 10px, 143 | 10px -10px 0 10px, 144 | 32px 0 0 20px, 145 | 0px 32px 0 20px, 146 | -5px 5px 0 10px, 147 | 15px 2px 0 11px; 148 | } 149 | 50% { 150 | box-shadow: 151 | 0 0 0 10px, 152 | 10px -10px 0 10px, 153 | 32px 0 0 20px, 154 | 0px 32px 0 20px, 155 | -5px 5px 0 10px, 156 | 20px 2px 0 11px; 157 | } 158 | 100% { 159 | box-shadow: 160 | 0 0 0 10px, 161 | 10px -10px 0 10px, 162 | 32px 0 0 20px, 163 | 0px 32px 0 20px, 164 | -5px 5px 0 10px, 165 | 20px -12px 0 11px; 166 | } 167 | } 168 | 169 | @keyframes rippleOn { 170 | 0% { 171 | opacity: 0; 172 | } 173 | 50% { 174 | opacity: 0.2; 175 | } 176 | 100% { 177 | opacity: 0; 178 | } 179 | } 180 | @keyframes rippleOff { 181 | 0% { 182 | opacity: 0; 183 | } 184 | 50% { 185 | opacity: 0.2; 186 | } 187 | 100% { 188 | opacity: 0; 189 | } 190 | } 191 | -------------------------------------------------------------------------------- /public/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/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/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/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/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/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/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/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/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/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/sass/md/_shadows.scss: -------------------------------------------------------------------------------- 1 | // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten. 2 | 3 | @mixin shadow-z-1(){ 4 | box-shadow: 5 | 0 1px 6px 0 rgba(0, 0, 0, 0.12), 6 | 0 1px 6px 0 rgba(0, 0, 0, 0.12); 7 | } 8 | 9 | @mixin shadow-z-1-hover(){ 10 | box-shadow: 11 | 0 5px 11px 0 rgba(0, 0, 0, 0.18), 12 | 0 4px 15px 0 rgba(0, 0, 0, 0.15); 13 | } 14 | 15 | @mixin shadow-z-2(){ 16 | box-shadow: 17 | 0 8px 17px 0 rgba(0, 0, 0, 0.2), 18 | 0 6px 20px 0 rgba(0, 0, 0, 0.19); 19 | } 20 | 21 | @mixin shadow-z-3(){ 22 | box-shadow: 23 | 0 12px 15px 0 rgba(0, 0, 0, 0.24), 24 | 0 17px 50px 0 rgba(0, 0, 0, 0.19); 25 | } 26 | 27 | @mixin shadow-z-4(){ 28 | box-shadow: 29 | 0 16px 28px 0 rgba(0, 0, 0, 0.22), 30 | 0 25px 55px 0 rgba(0, 0, 0, 0.21); 31 | } 32 | 33 | @mixin shadow-z-5(){ 34 | box-shadow: 35 | 0 27px 24px 0 rgba(0, 0, 0, 0.2), 36 | 0 40px 77px 0 rgba(0, 0, 0, 0.22); 37 | } 38 | 39 | 40 | /* Shadows (from mdl http://www.getmdl.io/) */ 41 | 42 | // Focus shadow mixin. 43 | @mixin big-shadow(){ 44 | box-shadow: 0 0 8px rgba(0, 0, 0,.18), 45 | 0 8px 16px rgba(0, 0, 0,.36); 46 | } 47 | 48 | @mixin button-shadow-color($color){ 49 | box-shadow: 0 14px 26px -12px rgba($color, $mdb-shadow-key-penumbra-opacity * 3), 50 | 0 4px 23px 0px rgba(0,0,0, $mdb-shadow-ambient-shadow-opacity), 51 | 0 8px 10px -5px rgba($color, $mdb-shadow-key-umbra-opacity); 52 | } 53 | 54 | @mixin shadow-2dp(){ 55 | box-shadow: 0 2px 2px 0 rgba(0, 0, 0, $mdb-shadow-key-penumbra-opacity), 56 | 0 3px 1px -2px rgba(0, 0, 0, $mdb-shadow-key-umbra-opacity), 57 | 0 1px 5px 0 rgba(0, 0, 0, $mdb-shadow-ambient-shadow-opacity); 58 | } 59 | @mixin shadow-2dp-color($color){ 60 | box-shadow: 0 2px 2px 0 rgba($color, $mdb-shadow-key-penumbra-opacity), 61 | 0 3px 1px -2px rgba($color, $mdb-shadow-key-umbra-opacity), 62 | 0 1px 5px 0 rgba($color, $mdb-shadow-ambient-shadow-opacity); 63 | } 64 | 65 | @mixin shadow-3dp(){ 66 | box-shadow: 0 3px 4px 0 rgba(0, 0, 0, $mdb-shadow-key-penumbra-opacity), 67 | 0 3px 3px -2px rgba(0, 0, 0, $mdb-shadow-key-umbra-opacity), 68 | 0 1px 8px 0 rgba(0, 0, 0, $mdb-shadow-ambient-shadow-opacity); 69 | } 70 | @mixin shadow-4dp(){ 71 | box-shadow: 0 4px 5px 0 rgba(0, 0, 0, $mdb-shadow-key-penumbra-opacity), 72 | 0 1px 10px 0 rgba(0, 0, 0, $mdb-shadow-ambient-shadow-opacity), 73 | 0 2px 4px -1px rgba(0, 0, 0, $mdb-shadow-key-umbra-opacity); 74 | } 75 | @mixin shadow-4dp-color($color){ 76 | box-shadow: 0 4px 5px 0 rgba($color, $mdb-shadow-key-penumbra-opacity), 77 | 0 1px 10px 0 rgba($color, $mdb-shadow-ambient-shadow-opacity), 78 | 0 2px 4px -1px rgba($color, $mdb-shadow-key-umbra-opacity); 79 | } 80 | @mixin shadow-6dp(){ 81 | box-shadow: 0 6px 10px 0 rgba(0, 0, 0, $mdb-shadow-key-penumbra-opacity), 82 | 0 1px 18px 0 rgba(0, 0, 0, $mdb-shadow-ambient-shadow-opacity), 83 | 0 3px 5px -1px rgba(0, 0, 0, $mdb-shadow-key-umbra-opacity); 84 | } 85 | @mixin shadow-8dp(){ 86 | box-shadow: 0 8px 10px 1px rgba(0, 0, 0, $mdb-shadow-key-penumbra-opacity), 87 | 0 3px 14px 2px rgba(0, 0, 0, $mdb-shadow-ambient-shadow-opacity), 88 | 0 5px 5px -3px rgba(0, 0, 0, $mdb-shadow-key-umbra-opacity); 89 | } 90 | @mixin shadow-8dp-color($color){ 91 | box-shadow: 0 8px 10px 1px rgba($color, $mdb-shadow-key-penumbra-opacity), 92 | 0 3px 14px 2px rgba(0, 0, 0, $mdb-shadow-ambient-shadow-opacity), 93 | 0 5px 5px -3px rgba($color, $mdb-shadow-key-umbra-opacity); 94 | } 95 | 96 | @mixin shadow-16dp(){ 97 | box-shadow: 0 16px 24px 2px rgba(0, 0, 0, $mdb-shadow-key-penumbra-opacity), 98 | 0 6px 30px 5px rgba(0, 0, 0, $mdb-shadow-ambient-shadow-opacity), 99 | 0 8px 10px -5px rgba(0, 0, 0, $mdb-shadow-key-umbra-opacity); 100 | } 101 | 102 | @mixin shadow-16dp-color($color){ 103 | box-shadow: 0 16px 24px 2px rgba($color, $mdb-shadow-key-penumbra-opacity), 104 | 0 6px 30px 5px rgba(0, 0, 0, $mdb-shadow-ambient-shadow-opacity), 105 | 0 8px 10px -5px rgba($color, $mdb-shadow-key-umbra-opacity); 106 | } 107 | 108 | @mixin shadow-24dp(){ 109 | box-shadow: 0 9px 46px 8px rgba(0, 0, 0, $mdb-shadow-key-penumbra-opacity), 110 | 0 11px 15px -7px rgba(0, 0, 0, $mdb-shadow-ambient-shadow-opacity), 111 | 0 24px 38px 3px rgba(0, 0, 0, $mdb-shadow-key-umbra-opacity); 112 | } 113 | 114 | @mixin shadow-big(){ 115 | box-shadow: 0 10px 30px -12px rgba(0, 0, 0, $mdb-shadow-key-penumbra-opacity * 3), 116 | 0 4px 25px 0px rgba(0, 0, 0, $mdb-shadow-ambient-shadow-opacity), 117 | 0 8px 10px -5px rgba(0, 0, 0, $mdb-shadow-key-umbra-opacity); 118 | } 119 | 120 | @mixin shadow-big-navbar(){ 121 | box-shadow: 0 10px 20px -12px rgba(0, 0, 0, $mdb-shadow-key-penumbra-opacity * 3), 122 | 0 3px 20px 0px rgba(0, 0, 0, $mdb-shadow-ambient-shadow-opacity), 123 | 0 8px 10px -5px rgba(0, 0, 0, $mdb-shadow-key-umbra-opacity); 124 | } 125 | 126 | @mixin shadow-big-color($color){ 127 | box-shadow: 0 12px 20px -10px rgba($color, $mdb-shadow-key-penumbra-opacity * 2), 128 | 0 4px 20px 0px rgba(0,0,0, $mdb-shadow-ambient-shadow-opacity), 129 | 0 7px 8px -5px rgba($color, $mdb-shadow-key-umbra-opacity); 130 | 131 | } 132 | 133 | // shadow backup for Sketch/Photoshop 134 | // @mixin shadow-big-color($color){ 135 | // box-shadow: 0 16px 38px -12px rgba($color, $mdb-shadow-key-penumbra-opacity * 4), 136 | // 0 4px 25px 0px rgba($color, $mdb-shadow-ambient-shadow-opacity), 137 | // 0 8px 10px -5px rgba($color, $mdb-shadow-key-umbra-opacity); 138 | // } 139 | -------------------------------------------------------------------------------- /public/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/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/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/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/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/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/sass/md/mixins/_vendor-prefixes.scss: -------------------------------------------------------------------------------- 1 | // User select 2 | // For selecting text on the page 3 | 4 | @mixin user-select($select) { 5 | -webkit-user-select: $select; 6 | -moz-user-select: $select; 7 | -ms-user-select: $select; // IE10+ 8 | user-select: $select; 9 | } 10 | 11 | @mixin box-shadow($shadow...) { 12 | -webkit-box-shadow: $shadow; // iOS <4.3 & Android <4.1 13 | box-shadow: $shadow; 14 | } 15 | 16 | // Box sizing 17 | @mixin box-sizing($boxmodel) { 18 | -webkit-box-sizing: $boxmodel; 19 | -moz-box-sizing: $boxmodel; 20 | box-sizing: $boxmodel; 21 | } 22 | 23 | 24 | @mixin transition($time, $type){ 25 | -webkit-transition: all $time $type; 26 | -moz-transition: all $time $type; 27 | -o-transition: all $time $type; 28 | -ms-transition: all $time $type; 29 | transition: all $time $type; 30 | } 31 | 32 | @mixin transform-scale($value){ 33 | -webkit-transform: scale($value); 34 | -moz-transform: scale($value); 35 | -o-transform: scale($value); 36 | -ms-transform: scale($value); 37 | transform: scale($value); 38 | } 39 | 40 | @mixin transform-translate-x($value){ 41 | -webkit-transform: translate3d($value, 0, 0); 42 | -moz-transform: translate3d($value, 0, 0); 43 | -o-transform: translate3d($value, 0, 0); 44 | -ms-transform: translate3d($value, 0, 0); 45 | transform: translate3d($value, 0, 0); 46 | } 47 | 48 | @mixin transform-origin($coordinates){ 49 | -webkit-transform-origin: $coordinates; 50 | -moz-transform-origin: $coordinates; 51 | -o-transform-origin: $coordinates; 52 | -ms-transform-origin: $coordinates; 53 | transform-origin: $coordinates; 54 | } 55 | 56 | @mixin set-background-color-button ($color){ 57 | .nav{ 58 | li.active a{ 59 | background-color: $color; 60 | @include shadow-big-color($color); 61 | } 62 | } 63 | } 64 | 65 | @mixin radial-gradient($extern-color, $center-color){ 66 | background: $extern-color; 67 | background: -moz-radial-gradient(center, ellipse cover, $center-color 0%, $extern-color 100%); /* FF3.6+ */ 68 | background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,$center-color), color-stop(100%,$extern-color)); /* Chrome,Safari4+ */ 69 | background: -webkit-radial-gradient(center, ellipse cover, $center-color 0%,$extern-color 100%); /* Chrome10+,Safari5.1+ */ 70 | background: -o-radial-gradient(center, ellipse cover, $center-color 0%,$extern-color 100%); /* Opera 12+ */ 71 | background: -ms-radial-gradient(center, ellipse cover, $center-color 0%,$extern-color 100%); /* IE10+ */ 72 | background: radial-gradient(ellipse at center, $center-color 0%,$extern-color 100%); /* W3C */ 73 | background-size: 550% 450%; 74 | } 75 | 76 | @mixin vertical-align { 77 | position: relative; 78 | top: 50%; 79 | -webkit-transform: translateY(-50%); 80 | -ms-transform: translateY(-50%); 81 | transform: translateY(-50%); 82 | } 83 | 84 | @mixin rotate-180(){ 85 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); 86 | -webkit-transform: rotate(180deg); 87 | -ms-transform: rotate(180deg); 88 | transform: rotate(180deg); 89 | } 90 | 91 | @mixin bar-animation($type){ 92 | -webkit-animation: $type 500ms linear 0s; 93 | -moz-animation: $type 500ms linear 0s; 94 | animation: $type 500ms 0s; 95 | -webkit-animation-fill-mode: forwards; 96 | -moz-animation-fill-mode: forwards; 97 | animation-fill-mode: forwards; 98 | } 99 | 100 | @mixin topbar-x-rotation(){ 101 | @keyframes topbar-x { 102 | 0% {top: 0px; transform: rotate(0deg); } 103 | 45% {top: 6px; transform: rotate(145deg); } 104 | 75% {transform: rotate(130deg); } 105 | 100% {transform: rotate(135deg); } 106 | } 107 | @-webkit-keyframes topbar-x { 108 | 0% {top: 0px; -webkit-transform: rotate(0deg); } 109 | 45% {top: 6px; -webkit-transform: rotate(145deg); } 110 | 75% {-webkit-transform: rotate(130deg); } 111 | 100% { -webkit-transform: rotate(135deg); } 112 | } 113 | @-moz-keyframes topbar-x { 114 | 0% {top: 0px; -moz-transform: rotate(0deg); } 115 | 45% {top: 6px; -moz-transform: rotate(145deg); } 116 | 75% {-moz-transform: rotate(130deg); } 117 | 100% { -moz-transform: rotate(135deg); } 118 | } 119 | } 120 | 121 | @mixin topbar-back-rotation(){ 122 | @keyframes topbar-back { 123 | 0% { top: 6px; transform: rotate(135deg); } 124 | 45% { transform: rotate(-10deg); } 125 | 75% { transform: rotate(5deg); } 126 | 100% { top: 0px; transform: rotate(0); } 127 | } 128 | 129 | @-webkit-keyframes topbar-back { 130 | 0% { top: 6px; -webkit-transform: rotate(135deg); } 131 | 45% { -webkit-transform: rotate(-10deg); } 132 | 75% { -webkit-transform: rotate(5deg); } 133 | 100% { top: 0px; -webkit-transform: rotate(0); } 134 | } 135 | 136 | @-moz-keyframes topbar-back { 137 | 0% { top: 6px; -moz-transform: rotate(135deg); } 138 | 45% { -moz-transform: rotate(-10deg); } 139 | 75% { -moz-transform: rotate(5deg); } 140 | 100% { top: 0px; -moz-transform: rotate(0); } 141 | } 142 | } 143 | 144 | @mixin bottombar-x-rotation(){ 145 | @keyframes bottombar-x { 146 | 0% {bottom: 0px; transform: rotate(0deg);} 147 | 45% {bottom: 6px; transform: rotate(-145deg);} 148 | 75% {transform: rotate(-130deg);} 149 | 100% {transform: rotate(-135deg);} 150 | } 151 | @-webkit-keyframes bottombar-x { 152 | 0% {bottom: 0px; -webkit-transform: rotate(0deg);} 153 | 45% {bottom: 6px; -webkit-transform: rotate(-145deg);} 154 | 75% {-webkit-transform: rotate(-130deg);} 155 | 100% {-webkit-transform: rotate(-135deg);} 156 | } 157 | @-moz-keyframes bottombar-x { 158 | 0% {bottom: 0px; -moz-transform: rotate(0deg);} 159 | 45% {bottom: 6px; -moz-transform: rotate(-145deg);} 160 | 75% {-moz-transform: rotate(-130deg);} 161 | 100% {-moz-transform: rotate(-135deg);} 162 | } 163 | } 164 | 165 | @mixin bottombar-back-rotation{ 166 | @keyframes bottombar-back { 167 | 0% { bottom: 6px;transform: rotate(-135deg);} 168 | 45% { transform: rotate(10deg);} 169 | 75% { transform: rotate(-5deg);} 170 | 100% { bottom: 0px;transform: rotate(0);} 171 | } 172 | @-webkit-keyframes bottombar-back { 173 | 0% {bottom: 6px;-webkit-transform: rotate(-135deg);} 174 | 45% {-webkit-transform: rotate(10deg);} 175 | 75% {-webkit-transform: rotate(-5deg);} 176 | 100% {bottom: 0px;-webkit-transform: rotate(0);} 177 | } 178 | @-moz-keyframes bottombar-back { 179 | 0% {bottom: 6px;-moz-transform: rotate(-135deg);} 180 | 45% {-moz-transform: rotate(10deg);} 181 | 75% {-moz-transform: rotate(-5deg);} 182 | 100% {bottom: 0px;-moz-transform: rotate(0);} 183 | } 184 | 185 | } 186 | -------------------------------------------------------------------------------- /public/sass/md/plugins/_animate.scss: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | // This file was modified by Creative Tim to keep only the animation that we need for Bootstrap Notify 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | @charset "UTF-8"; 34 | 35 | /*! 36 | Animate.css - http://daneden.me/animate 37 | Licensed under the MIT license - http://opensource.org/licenses/MIT 38 | 39 | Copyright (c) 2015 Daniel Eden 40 | */ 41 | 42 | .animated { 43 | -webkit-animation-duration: 1s; 44 | animation-duration: 1s; 45 | -webkit-animation-fill-mode: both; 46 | animation-fill-mode: both; 47 | } 48 | 49 | .animated.infinite { 50 | -webkit-animation-iteration-count: infinite; 51 | animation-iteration-count: infinite; 52 | } 53 | 54 | .animated.hinge { 55 | -webkit-animation-duration: 2s; 56 | animation-duration: 2s; 57 | } 58 | 59 | .animated.bounceIn, 60 | .animated.bounceOut { 61 | -webkit-animation-duration: .75s; 62 | animation-duration: .75s; 63 | } 64 | 65 | .animated.flipOutX, 66 | .animated.flipOutY { 67 | -webkit-animation-duration: .75s; 68 | animation-duration: .75s; 69 | } 70 | 71 | @-webkit-keyframes shake { 72 | from, to { 73 | -webkit-transform: translate3d(0, 0, 0); 74 | transform: translate3d(0, 0, 0); 75 | } 76 | 77 | 10%, 30%, 50%, 70%, 90% { 78 | -webkit-transform: translate3d(-10px, 0, 0); 79 | transform: translate3d(-10px, 0, 0); 80 | } 81 | 82 | 20%, 40%, 60%, 80% { 83 | -webkit-transform: translate3d(10px, 0, 0); 84 | transform: translate3d(10px, 0, 0); 85 | } 86 | } 87 | 88 | @keyframes shake { 89 | from, to { 90 | -webkit-transform: translate3d(0, 0, 0); 91 | transform: translate3d(0, 0, 0); 92 | } 93 | 94 | 10%, 30%, 50%, 70%, 90% { 95 | -webkit-transform: translate3d(-10px, 0, 0); 96 | transform: translate3d(-10px, 0, 0); 97 | } 98 | 99 | 20%, 40%, 60%, 80% { 100 | -webkit-transform: translate3d(10px, 0, 0); 101 | transform: translate3d(10px, 0, 0); 102 | } 103 | } 104 | 105 | .shake { 106 | -webkit-animation-name: shake; 107 | animation-name: shake; 108 | } 109 | 110 | 111 | 112 | @-webkit-keyframes fadeInDown { 113 | from { 114 | opacity: 0; 115 | -webkit-transform: translate3d(0, -100%, 0); 116 | transform: translate3d(0, -100%, 0); 117 | } 118 | 119 | to { 120 | opacity: 1; 121 | -webkit-transform: none; 122 | transform: none; 123 | } 124 | } 125 | 126 | @keyframes fadeInDown { 127 | from { 128 | opacity: 0; 129 | -webkit-transform: translate3d(0, -100%, 0); 130 | transform: translate3d(0, -100%, 0); 131 | } 132 | 133 | to { 134 | opacity: 1; 135 | -webkit-transform: none; 136 | transform: none; 137 | } 138 | } 139 | 140 | .fadeInDown { 141 | -webkit-animation-name: fadeInDown; 142 | animation-name: fadeInDown; 143 | } 144 | 145 | 146 | @-webkit-keyframes fadeOut { 147 | from { 148 | opacity: 1; 149 | } 150 | 151 | to { 152 | opacity: 0; 153 | } 154 | } 155 | 156 | @keyframes fadeOut { 157 | from { 158 | opacity: 1; 159 | } 160 | 161 | to { 162 | opacity: 0; 163 | } 164 | } 165 | 166 | .fadeOut { 167 | -webkit-animation-name: fadeOut; 168 | animation-name: fadeOut; 169 | } 170 | 171 | @-webkit-keyframes fadeOutDown { 172 | from { 173 | opacity: 1; 174 | } 175 | 176 | to { 177 | opacity: 0; 178 | -webkit-transform: translate3d(0, 100%, 0); 179 | transform: translate3d(0, 100%, 0); 180 | } 181 | } 182 | 183 | @keyframes fadeOutDown { 184 | from { 185 | opacity: 1; 186 | } 187 | 188 | to { 189 | opacity: 0; 190 | -webkit-transform: translate3d(0, 100%, 0); 191 | transform: translate3d(0, 100%, 0); 192 | } 193 | } 194 | 195 | .fadeOutDown { 196 | -webkit-animation-name: fadeOutDown; 197 | animation-name: fadeOutDown; 198 | } 199 | 200 | @-webkit-keyframes fadeOutUp { 201 | from { 202 | opacity: 1; 203 | } 204 | 205 | to { 206 | opacity: 0; 207 | -webkit-transform: translate3d(0, -100%, 0); 208 | transform: translate3d(0, -100%, 0); 209 | } 210 | } 211 | 212 | @keyframes fadeOutUp { 213 | from { 214 | opacity: 1; 215 | } 216 | 217 | to { 218 | opacity: 0; 219 | -webkit-transform: translate3d(0, -100%, 0); 220 | transform: translate3d(0, -100%, 0); 221 | } 222 | } 223 | 224 | .fadeOutUp { 225 | -webkit-animation-name: fadeOutUp; 226 | animation-name: fadeOutUp; 227 | } 228 | -------------------------------------------------------------------------------- /public/sass/md/plugins/_perfect-scrollbar.scss: -------------------------------------------------------------------------------- 1 | /* perfect-scrollbar v0.6.13 */ 2 | .ps-container { 3 | -ms-touch-action: auto; 4 | touch-action: auto; 5 | overflow: hidden !important; 6 | -ms-overflow-style: none; } 7 | @supports (-ms-overflow-style: none) { 8 | .ps-container { 9 | overflow: auto !important; } } 10 | @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { 11 | .ps-container { 12 | overflow: auto !important; } } 13 | .ps-container.ps-active-x > .ps-scrollbar-x-rail, 14 | .ps-container.ps-active-y > .ps-scrollbar-y-rail { 15 | display: block; 16 | background-color: transparent; } 17 | .ps-container.ps-in-scrolling.ps-x > .ps-scrollbar-x-rail { 18 | background-color: #eee; 19 | opacity: 0.9; } 20 | .ps-container.ps-in-scrolling.ps-x > .ps-scrollbar-x-rail > .ps-scrollbar-x { 21 | background-color: #999; 22 | height: 11px; } 23 | .ps-container.ps-in-scrolling.ps-y > .ps-scrollbar-y-rail { 24 | background-color: #eee; 25 | opacity: 0.9; } 26 | .ps-container.ps-in-scrolling.ps-y > .ps-scrollbar-y-rail > .ps-scrollbar-y { 27 | background-color: #999; 28 | width: 11px; } 29 | .ps-container > .ps-scrollbar-x-rail { 30 | display: none; 31 | position: absolute; 32 | /* please don't change 'position' */ 33 | opacity: 0; 34 | -webkit-transition: background-color .2s linear, opacity .2s linear; 35 | -o-transition: background-color .2s linear, opacity .2s linear; 36 | -moz-transition: background-color .2s linear, opacity .2s linear; 37 | transition: background-color .2s linear, opacity .2s linear; 38 | bottom: 0px; 39 | /* there must be 'bottom' for ps-scrollbar-x-rail */ 40 | height: 15px; } 41 | .ps-container > .ps-scrollbar-x-rail > .ps-scrollbar-x { 42 | position: absolute; 43 | /* please don't change 'position' */ 44 | background-color: #aaa; 45 | -webkit-border-radius: 6px; 46 | -moz-border-radius: 6px; 47 | border-radius: 6px; 48 | -webkit-transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, -webkit-border-radius .2s ease-in-out; 49 | transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, -webkit-border-radius .2s ease-in-out; 50 | -o-transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out; 51 | -moz-transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out, -moz-border-radius .2s ease-in-out; 52 | transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out; 53 | transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out, -webkit-border-radius .2s ease-in-out, -moz-border-radius .2s ease-in-out; 54 | bottom: 2px; 55 | /* there must be 'bottom' for ps-scrollbar-x */ 56 | height: 6px; } 57 | .ps-container > .ps-scrollbar-x-rail:hover > .ps-scrollbar-x, .ps-container > .ps-scrollbar-x-rail:active > .ps-scrollbar-x { 58 | height: 11px; } 59 | .ps-container > .ps-scrollbar-y-rail { 60 | display: none; 61 | position: absolute; 62 | /* please don't change 'position' */ 63 | opacity: 0; 64 | -webkit-transition: background-color .2s linear, opacity .2s linear; 65 | -o-transition: background-color .2s linear, opacity .2s linear; 66 | -moz-transition: background-color .2s linear, opacity .2s linear; 67 | transition: background-color .2s linear, opacity .2s linear; 68 | right: 0; 69 | /* there must be 'right' for ps-scrollbar-y-rail */ 70 | width: 15px; } 71 | .ps-container > .ps-scrollbar-y-rail > .ps-scrollbar-y { 72 | position: absolute; 73 | /* please don't change 'position' */ 74 | background-color: #aaa; 75 | -webkit-border-radius: 6px; 76 | -moz-border-radius: 6px; 77 | border-radius: 6px; 78 | -webkit-transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, -webkit-border-radius .2s ease-in-out; 79 | transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, -webkit-border-radius .2s ease-in-out; 80 | -o-transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out; 81 | -moz-transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out, -moz-border-radius .2s ease-in-out; 82 | transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out; 83 | transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out, -webkit-border-radius .2s ease-in-out, -moz-border-radius .2s ease-in-out; 84 | right: 2px; 85 | /* there must be 'right' for ps-scrollbar-y */ 86 | width: 6px; } 87 | .ps-container > .ps-scrollbar-y-rail:hover > .ps-scrollbar-y, .ps-container > .ps-scrollbar-y-rail:active > .ps-scrollbar-y { 88 | width: 11px; } 89 | .ps-container:hover.ps-in-scrolling.ps-x > .ps-scrollbar-x-rail { 90 | background-color: #eee; 91 | opacity: 0.9; } 92 | .ps-container:hover.ps-in-scrolling.ps-x > .ps-scrollbar-x-rail > .ps-scrollbar-x { 93 | background-color: #999; 94 | height: 11px; } 95 | .ps-container:hover.ps-in-scrolling.ps-y > .ps-scrollbar-y-rail { 96 | background-color: #eee; 97 | opacity: 0.9; } 98 | .ps-container:hover.ps-in-scrolling.ps-y > .ps-scrollbar-y-rail > .ps-scrollbar-y { 99 | background-color: #999; 100 | width: 11px; } 101 | .ps-container:hover > .ps-scrollbar-x-rail, 102 | .ps-container:hover > .ps-scrollbar-y-rail { 103 | opacity: 0.6; } 104 | .ps-container:hover > .ps-scrollbar-x-rail:hover { 105 | background-color: #eee; 106 | opacity: 0.9; } 107 | .ps-container:hover > .ps-scrollbar-x-rail:hover > .ps-scrollbar-x { 108 | background-color: #999; } 109 | .ps-container:hover > .ps-scrollbar-y-rail:hover { 110 | background-color: #eee; 111 | opacity: 0.9; } 112 | .ps-container:hover > .ps-scrollbar-y-rail:hover > .ps-scrollbar-y { 113 | background-color: #999; } 114 | -------------------------------------------------------------------------------- /public/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/web.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /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 | 4 | /** 5 | * We'll load jQuery and the Bootstrap jQuery plugin which provides support 6 | * for JavaScript based Bootstrap features such as modals and tabs. This 7 | * code may be modified to fit the specific needs of your application. 8 | */ 9 | 10 | try { 11 | window.$ = window.jQuery = require('jquery'); 12 | 13 | require('bootstrap-sass'); 14 | } catch (e) {} 15 | 16 | /** 17 | * We'll load the axios HTTP library which allows us to easily issue requests 18 | * to our Laravel back-end. This library automatically handles sending the 19 | * CSRF token as a header based on the value of the "XSRF" token cookie. 20 | */ 21 | 22 | window.axios = require('axios'); 23 | 24 | window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; 25 | 26 | /** 27 | * Next we will register the CSRF Token as a common header with Axios so that 28 | * all outgoing HTTP requests automatically have it attached. This is just 29 | * a simple convenience so we don't have to attach every token manually. 30 | */ 31 | 32 | let token = document.head.querySelector('meta[name="csrf-token"]'); 33 | 34 | if (token) { 35 | window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content; 36 | } else { 37 | console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token'); 38 | } 39 | 40 | /** 41 | * Echo exposes an expressive API for subscribing to channels and listening 42 | * for events that are broadcast by Laravel. Echo and event broadcasting 43 | * allows your team to easily build robust real-time web applications. 44 | */ 45 | 46 | // import Echo from 'laravel-echo' 47 | 48 | // window.Pusher = require('pusher-js'); 49 | 50 | // window.Echo = new Echo({ 51 | // broadcaster: 'pusher', 52 | // key: 'your-pusher-key', 53 | // cluster: 'mt1', 54 | // encrypted: true 55 | // }); 56 | -------------------------------------------------------------------------------- /resources/assets/js/components/ExampleComponent.vue: -------------------------------------------------------------------------------- 1 | 16 | 17 | 24 | -------------------------------------------------------------------------------- /resources/assets/sass/_variables.scss: -------------------------------------------------------------------------------- 1 | 2 | // Body 3 | $body-bg: #f5f8fa; 4 | 5 | // Borders 6 | $laravel-border-color: darken($body-bg, 10%); 7 | $list-group-border: $laravel-border-color; 8 | $navbar-default-border: $laravel-border-color; 9 | $panel-default-border: $laravel-border-color; 10 | $panel-inner-border: $laravel-border-color; 11 | 12 | // Brands 13 | $brand-primary: #3097D1; 14 | $brand-info: #8eb4cb; 15 | $brand-success: #2ab27b; 16 | $brand-warning: #cbb956; 17 | $brand-danger: #bf5329; 18 | 19 | // Typography 20 | $icon-font-path: "~bootstrap-sass/assets/fonts/bootstrap/"; 21 | $font-family-sans-serif: "Raleway", sans-serif; 22 | $font-size-base: 14px; 23 | $line-height-base: 1.6; 24 | $text-color: #636b6f; 25 | 26 | // Navbar 27 | $navbar-default-bg: #fff; 28 | 29 | // Buttons 30 | $btn-default-color: $text-color; 31 | 32 | // Inputs 33 | $input-border: lighten($text-color, 40%); 34 | $input-border-focus: lighten($brand-primary, 25%); 35 | $input-color-placeholder: lighten($text-color, 30%); 36 | 37 | // Panels 38 | $panel-default-heading-bg: #fff; 39 | -------------------------------------------------------------------------------- /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-sass/assets/stylesheets/bootstrap"; 10 | -------------------------------------------------------------------------------- /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/lang/en/validation.php: -------------------------------------------------------------------------------- 1 | 'The :attribute must be accepted.', 17 | 'active_url' => 'The :attribute is not a valid URL.', 18 | 'after' => 'The :attribute must be a date after :date.', 19 | 'after_or_equal' => 'The :attribute must be a date after or equal to :date.', 20 | 'alpha' => 'The :attribute may only contain letters.', 21 | 'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.', 22 | 'alpha_num' => 'The :attribute may only contain letters and numbers.', 23 | 'array' => 'The :attribute must be an array.', 24 | 'before' => 'The :attribute must be a date before :date.', 25 | 'before_or_equal' => 'The :attribute must be a date before or equal to :date.', 26 | 'between' => [ 27 | 'numeric' => 'The :attribute must be between :min and :max.', 28 | 'file' => 'The :attribute must be between :min and :max kilobytes.', 29 | 'string' => 'The :attribute must be between :min and :max characters.', 30 | 'array' => 'The :attribute must have between :min and :max items.', 31 | ], 32 | 'boolean' => 'The :attribute field must be true or false.', 33 | 'confirmed' => 'The :attribute confirmation does not match.', 34 | 'date' => 'The :attribute is not a valid date.', 35 | 'date_format' => 'The :attribute does not match the format :format.', 36 | 'different' => 'The :attribute and :other must be different.', 37 | 'digits' => 'The :attribute must be :digits digits.', 38 | 'digits_between' => 'The :attribute must be between :min and :max digits.', 39 | 'dimensions' => 'The :attribute has invalid image dimensions.', 40 | 'distinct' => 'The :attribute field has a duplicate value.', 41 | 'email' => 'The :attribute must be a valid email address.', 42 | 'exists' => 'The selected :attribute is invalid.', 43 | 'file' => 'The :attribute must be a file.', 44 | 'filled' => 'The :attribute field must have a value.', 45 | 'image' => 'The :attribute must be an image.', 46 | 'in' => 'The selected :attribute is invalid.', 47 | 'in_array' => 'The :attribute field does not exist in :other.', 48 | 'integer' => 'The :attribute must be an integer.', 49 | 'ip' => 'The :attribute must be a valid IP address.', 50 | 'ipv4' => 'The :attribute must be a valid IPv4 address.', 51 | 'ipv6' => 'The :attribute must be a valid IPv6 address.', 52 | 'json' => 'The :attribute must be a valid JSON string.', 53 | 'max' => [ 54 | 'numeric' => 'The :attribute may not be greater than :max.', 55 | 'file' => 'The :attribute may not be greater than :max kilobytes.', 56 | 'string' => 'The :attribute may not be greater than :max characters.', 57 | 'array' => 'The :attribute may not have more than :max items.', 58 | ], 59 | 'mimes' => 'The :attribute must be a file of type: :values.', 60 | 'mimetypes' => 'The :attribute must be a file of type: :values.', 61 | 'min' => [ 62 | 'numeric' => 'The :attribute must be at least :min.', 63 | 'file' => 'The :attribute must be at least :min kilobytes.', 64 | 'string' => 'The :attribute must be at least :min characters.', 65 | 'array' => 'The :attribute must have at least :min items.', 66 | ], 67 | 'not_in' => 'The selected :attribute is invalid.', 68 | 'numeric' => 'The :attribute must be a number.', 69 | 'present' => 'The :attribute field must be present.', 70 | 'regex' => 'The :attribute format is invalid.', 71 | 'required' => 'The :attribute field is required.', 72 | 'required_if' => 'The :attribute field is required when :other is :value.', 73 | 'required_unless' => 'The :attribute field is required unless :other is in :values.', 74 | 'required_with' => 'The :attribute field is required when :values is present.', 75 | 'required_with_all' => 'The :attribute field is required when :values is present.', 76 | 'required_without' => 'The :attribute field is required when :values is not present.', 77 | 'required_without_all' => 'The :attribute field is required when none of :values are present.', 78 | 'same' => 'The :attribute and :other must match.', 79 | 'size' => [ 80 | 'numeric' => 'The :attribute must be :size.', 81 | 'file' => 'The :attribute must be :size kilobytes.', 82 | 'string' => 'The :attribute must be :size characters.', 83 | 'array' => 'The :attribute must contain :size items.', 84 | ], 85 | 'string' => 'The :attribute must be a string.', 86 | 'timezone' => 'The :attribute must be a valid zone.', 87 | 'unique' => 'The :attribute has already been taken.', 88 | 'uploaded' => 'The :attribute failed to upload.', 89 | 'url' => 'The :attribute format is invalid.', 90 | 91 | /* 92 | |-------------------------------------------------------------------------- 93 | | Custom Validation Language Lines 94 | |-------------------------------------------------------------------------- 95 | | 96 | | Here you may specify custom validation messages for attributes using the 97 | | convention "attribute.rule" to name the lines. This makes it quick to 98 | | specify a specific custom language line for a given attribute rule. 99 | | 100 | */ 101 | 102 | 'custom' => [ 103 | 'attribute-name' => [ 104 | 'rule-name' => 'custom-message', 105 | ], 106 | ], 107 | 108 | /* 109 | |-------------------------------------------------------------------------- 110 | | Custom Validation Attributes 111 | |-------------------------------------------------------------------------- 112 | | 113 | | The following language lines are used to swap attribute place-holders 114 | | with something more reader friendly such as E-Mail Address instead 115 | | of "email". This simply helps us make messages a little cleaner. 116 | | 117 | */ 118 | 119 | 'attributes' => [], 120 | 121 | ]; 122 | -------------------------------------------------------------------------------- /resources/views/app.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('content') 4 | 5 | 39 |
40 | 96 |
97 |
98 |
99 |
100 |
101 |
102 |

APP (Website)

103 |

104 |
105 |
106 |

Manage you App (Website)

107 |

SP User ID - {{ Auth::user()->sp_id }}

108 |
109 |
110 |
111 |
112 |
113 |
114 |

Support

115 |

Load knowledge base?

116 |

Utilise the search field to load knowledge base

117 | 120 |
121 |
122 |
123 | 124 |
125 |
126 |
127 | 148 | 149 | @endsection 150 | -------------------------------------------------------------------------------- /resources/views/auth/login.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('content') 4 |
5 |
6 |
7 |
8 |
9 |
10 |

Login

11 |
12 |
13 | 14 |
15 |
16 | {{ csrf_field() }} 17 | 18 |
19 | 20 | 21 |
22 | 23 | 24 | @if ($errors->has('email')) 25 | 26 | {{ $errors->first('email') }} 27 | 28 | @endif 29 |
30 |
31 | 32 |
33 | 34 | 35 |
36 | 37 | 38 | @if ($errors->has('password')) 39 | 40 | {{ $errors->first('password') }} 41 | 42 | @endif 43 |
44 |
45 | 46 |
47 |
48 |
49 | 52 |
53 |
54 |
55 | 56 |
57 |
58 | 61 | 62 | 63 | Forgot Your Password? 64 | 65 |
66 |
67 | 68 |
69 |
70 |
71 |
72 |
73 | @endsection 74 | -------------------------------------------------------------------------------- /resources/views/auth/passwords/email.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('content') 4 |
5 |
6 |
7 |
8 |
9 |
10 |

Reset Password

11 |
12 |
13 | 14 |
15 | @if (session('status')) 16 |
17 | {{ session('status') }} 18 |
19 | @endif 20 | 21 |
22 | {{ csrf_field() }} 23 | 24 |
25 | 26 | 27 |
28 | 29 | 30 | @if ($errors->has('email')) 31 | 32 | {{ $errors->first('email') }} 33 | 34 | @endif 35 |
36 |
37 | 38 |
39 |
40 | 43 |
44 |
45 | 46 |
47 |
48 |
49 |
50 |
51 | @endsection 52 | -------------------------------------------------------------------------------- /resources/views/auth/passwords/reset.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('content') 4 |
5 |
6 |
7 |
8 |
9 |
10 |

Reset Password

11 |
12 |
13 | 14 |
15 |
16 | {{ csrf_field() }} 17 | 18 | 19 | 20 |
21 | 22 | 23 |
24 | 25 | 26 | @if ($errors->has('email')) 27 | 28 | {{ $errors->first('email') }} 29 | 30 | @endif 31 |
32 |
33 | 34 |
35 | 36 | 37 |
38 | 39 | 40 | @if ($errors->has('password')) 41 | 42 | {{ $errors->first('password') }} 43 | 44 | @endif 45 |
46 |
47 | 48 |
49 | 50 |
51 | 52 | 53 | @if ($errors->has('password_confirmation')) 54 | 55 | {{ $errors->first('password_confirmation') }} 56 | 57 | @endif 58 |
59 |
60 | 61 |
62 |
63 | 66 |
67 |
68 | 69 |
70 |
71 |
72 |
73 |
74 | @endsection 75 | -------------------------------------------------------------------------------- /resources/views/auth/register.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('content') 4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |

Register

12 |
13 |
14 |
15 | {{ csrf_field() }} 16 | 17 |
18 | 19 | 20 |
21 | 22 | 23 | @if ($errors->has('email')) 24 | 25 | {{ $errors->first('email') }} 26 | 27 | @endif 28 |
29 |
30 | 31 |
32 | 33 | 34 |
35 | 36 | 37 | @if ($errors->has('password')) 38 | 39 | {{ $errors->first('password') }} 40 | 41 | @endif 42 |
43 |
44 | 45 |
46 | 47 | 48 |
49 | 50 |
51 |
52 | 53 |
54 |
55 | 58 |
59 |
60 | 61 |
62 |
63 |
64 |
65 |
66 |
67 | @endsection 68 | -------------------------------------------------------------------------------- /resources/views/layouts/app.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | {{ config('app.name', 'Laravel') }} 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | @yield('content') 26 |
27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 53 | 54 | -------------------------------------------------------------------------------- /resources/views/welcome.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Laravel 9 | 10 | 11 | 12 | 13 | 14 | 66 | 67 | 68 |
69 | 70 | 71 |
72 |
73 | Open Source Control Panel 74 |
75 |

Currently under development an Open Source Control Panel that will help get you GDPR compliant.

76 |

It will have the following features:

77 |

Ability to setup hosting accounts via ServerPilot.io API

78 |

Setup domains and domain records with Digital Ocean API

79 |

Create email accounts via qboxmail.com API

80 |

Services such as Website Hosting, Email Hosting & DNS Hosting split up as oppose to one individual package.

81 |

Automated subscription billing and invoicing using Stripe Checkout

82 |

You can view the OpenSource code here on GitHub Control Panel

83 |

Lead Programmer - DevWildman - OpenSource License Apache-2.0

84 |
85 |
86 | 87 | 88 | -------------------------------------------------------------------------------- /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('home'); 21 | 22 | Route::get('/billing', function () { 23 | return view('billing'); 24 | }); 25 | 26 | Route::get('/your-data', function () { 27 | return view('data'); 28 | }); 29 | Route::get('/app', function () { 30 | return view('app'); 31 | }); 32 | 33 | Route::post('/subscribe_process_app', 'CheckoutController@subscribe_process_app'); 34 | Route::post('/subscribe_email', 'EmailController@addEmailDomain'); 35 | Route::post('/subscribe_dns', 'CheckoutController@subscribe_dns'); 36 | //Route::post('/cancel_app', 'CheckoutController@subscribe_cancel_app'); 37 | //Route::post('/update_app', 'CheckoutController@subscribe_updatepay_app'); 38 | 39 | 40 | Route::get('/invoices', 'CheckoutController@invoices'); 41 | Route::get('/invoice/{invoice_id}', 'CheckoutController@invoice'); -------------------------------------------------------------------------------- /screenshot/ControlPanel-Dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwildman86/Control-Panel/3f896f94564bdfe48262dbe29acffc5c548a5d70/screenshot/ControlPanel-Dashboard.png -------------------------------------------------------------------------------- /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::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 | --------------------------------------------------------------------------------