├── public ├── .gitkeep ├── favicon.ico ├── robots.txt ├── mix-manifest.json ├── favicon.png ├── fonts │ ├── themify.eot │ ├── themify.ttf │ ├── themify.woff │ ├── glyphicons-halflings-regular.e18bbf6.ttf │ ├── glyphicons-halflings-regular.f4769f9.eot │ ├── glyphicons-halflings-regular.fa27723.woff │ ├── glyphicons-halflings-regular.448c34a.woff2 │ └── vendor │ │ └── bootstrap │ │ └── dist │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regular.woff2 ├── img │ ├── favicon.png │ ├── new_logo.png │ ├── tim_80x80.png │ ├── vue-logo.png │ ├── apple-icon.png │ ├── background.jpg │ └── faces │ │ ├── face-0.jpg │ │ ├── face-1.jpg │ │ ├── face-2.jpg │ │ └── face-3.jpg ├── .htaccess ├── web.config └── index.php ├── database ├── .gitignore ├── seeds │ └── DatabaseSeeder.php ├── factories │ └── UserFactory.php └── migrations │ ├── 2014_10_12_100000_create_password_resets_table.php │ └── 2014_10_12_000000_create_users_table.php ├── bootstrap ├── cache │ └── .gitignore └── app.php ├── storage ├── logs │ └── .gitignore ├── app │ ├── public │ │ └── .gitignore │ └── .gitignore └── framework │ ├── cache │ └── .gitignore │ ├── testing │ └── .gitignore │ ├── views │ └── .gitignore │ ├── sessions │ └── .gitignore │ └── .gitignore ├── .gitattributes ├── resources ├── assets │ ├── js │ │ ├── assets │ │ │ └── sass │ │ │ │ ├── paper │ │ │ │ ├── mixins │ │ │ │ │ ├── _tabs.scss │ │ │ │ │ ├── _cards.scss │ │ │ │ │ ├── _navbars.scss │ │ │ │ │ ├── _icons.scss │ │ │ │ │ ├── _inputs.scss │ │ │ │ │ ├── _transparency.scss │ │ │ │ │ ├── _labels.scss │ │ │ │ │ ├── _sidebar.scss │ │ │ │ │ ├── _buttons.scss │ │ │ │ │ └── _chartist.scss │ │ │ │ ├── _mixins.scss │ │ │ │ ├── _footers.scss │ │ │ │ ├── _alerts.scss │ │ │ │ ├── _tables.scss │ │ │ │ ├── _dropdown.scss │ │ │ │ ├── _typography.scss │ │ │ │ ├── _misc.scss │ │ │ │ ├── _checkbox-radio.scss │ │ │ │ ├── _buttons.scss │ │ │ │ ├── _sidebar-and-main-panel.scss │ │ │ │ ├── _inputs.scss │ │ │ │ ├── _cards.scss │ │ │ │ └── _navbars.scss │ │ │ │ └── paper-dashboard.scss │ │ ├── globalDirectives.js │ │ ├── globalComponents.js │ │ ├── components │ │ │ ├── Dashboard │ │ │ │ ├── Layout │ │ │ │ │ ├── Content.vue │ │ │ │ │ ├── ContentFooter.vue │ │ │ │ │ ├── DashboardLayout.vue │ │ │ │ │ └── TopNavbar.vue │ │ │ │ └── Views │ │ │ │ │ ├── UserProfile.vue │ │ │ │ │ ├── UserProfile │ │ │ │ │ ├── UserCard.vue │ │ │ │ │ ├── MembersCard.vue │ │ │ │ │ └── EditProfileForm.vue │ │ │ │ │ ├── TableList.vue │ │ │ │ │ ├── Maps.vue │ │ │ │ │ ├── Notifications.vue │ │ │ │ │ ├── Overview.vue │ │ │ │ │ └── Typography.vue │ │ │ ├── UIComponents │ │ │ │ ├── Cards │ │ │ │ │ ├── StatsCard.vue │ │ │ │ │ └── ChartCard.vue │ │ │ │ ├── NotificationPlugin │ │ │ │ │ ├── index.js │ │ │ │ │ ├── Notifications.vue │ │ │ │ │ └── Notification.vue │ │ │ │ ├── Inputs │ │ │ │ │ └── formGroupInput.vue │ │ │ │ ├── SidebarPlugin │ │ │ │ │ ├── MovingArrow.vue │ │ │ │ │ ├── index.js │ │ │ │ │ └── SideBar.vue │ │ │ │ ├── Dropdown.vue │ │ │ │ └── PaperTable.vue │ │ │ └── GeneralViews │ │ │ │ └── NotFoundPage.vue │ │ ├── App.vue │ │ ├── app.js │ │ ├── bootstrap.js │ │ └── routes │ │ │ └── routes.js │ └── sass │ │ ├── _variables.scss │ │ └── app.scss ├── lang │ └── en │ │ ├── pagination.php │ │ ├── auth.php │ │ ├── passwords.php │ │ └── validation.php └── views │ └── index.blade.php ├── tests ├── TestCase.php ├── Unit │ └── ExampleTest.php ├── Feature │ └── ExampleTest.php └── CreatesApplication.php ├── .gitignore ├── app ├── Http │ ├── Controllers │ │ ├── AppController.php │ │ ├── Controller.php │ │ └── Auth │ │ │ ├── ForgotPasswordController.php │ │ │ ├── LoginController.php │ │ │ ├── ResetPasswordController.php │ │ │ └── RegisterController.php │ ├── Middleware │ │ ├── EncryptCookies.php │ │ ├── VerifyCsrfToken.php │ │ ├── TrimStrings.php │ │ ├── TrustProxies.php │ │ └── RedirectIfAuthenticated.php │ └── Kernel.php ├── Providers │ ├── BroadcastServiceProvider.php │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ ├── EventServiceProvider.php │ └── RouteServiceProvider.php ├── User.php ├── Console │ └── Kernel.php └── Exceptions │ └── Handler.php ├── routes ├── web.php ├── channels.php ├── api.php └── console.php ├── webpack.mix.js ├── config ├── hashing.php ├── view.php ├── services.php ├── broadcasting.php ├── logging.php ├── filesystems.php ├── queue.php ├── cache.php ├── auth.php ├── database.php ├── mail.php └── session.php ├── server.php ├── .env.example ├── readme.md ├── phpunit.xml ├── package.json ├── composer.json └── artisan /public/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite 2 | -------------------------------------------------------------------------------- /bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/testing/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /public/mix-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "/js/app.js": "/js/app.js" 3 | } -------------------------------------------------------------------------------- /public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansezz/laravel-vue-paper-dashboard/HEAD/public/favicon.png -------------------------------------------------------------------------------- /public/fonts/themify.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansezz/laravel-vue-paper-dashboard/HEAD/public/fonts/themify.eot -------------------------------------------------------------------------------- /public/fonts/themify.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansezz/laravel-vue-paper-dashboard/HEAD/public/fonts/themify.ttf -------------------------------------------------------------------------------- /public/img/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansezz/laravel-vue-paper-dashboard/HEAD/public/img/favicon.png -------------------------------------------------------------------------------- /public/img/new_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansezz/laravel-vue-paper-dashboard/HEAD/public/img/new_logo.png -------------------------------------------------------------------------------- /public/img/tim_80x80.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansezz/laravel-vue-paper-dashboard/HEAD/public/img/tim_80x80.png -------------------------------------------------------------------------------- /public/img/vue-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansezz/laravel-vue-paper-dashboard/HEAD/public/img/vue-logo.png -------------------------------------------------------------------------------- /public/fonts/themify.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansezz/laravel-vue-paper-dashboard/HEAD/public/fonts/themify.woff -------------------------------------------------------------------------------- /public/img/apple-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansezz/laravel-vue-paper-dashboard/HEAD/public/img/apple-icon.png -------------------------------------------------------------------------------- /public/img/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansezz/laravel-vue-paper-dashboard/HEAD/public/img/background.jpg -------------------------------------------------------------------------------- /public/img/faces/face-0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansezz/laravel-vue-paper-dashboard/HEAD/public/img/faces/face-0.jpg -------------------------------------------------------------------------------- /public/img/faces/face-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansezz/laravel-vue-paper-dashboard/HEAD/public/img/faces/face-1.jpg -------------------------------------------------------------------------------- /public/img/faces/face-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansezz/laravel-vue-paper-dashboard/HEAD/public/img/faces/face-2.jpg -------------------------------------------------------------------------------- /public/img/faces/face-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansezz/laravel-vue-paper-dashboard/HEAD/public/img/faces/face-3.jpg -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.css linguist-vendored 3 | *.scss linguist-vendored 4 | *.js linguist-vendored 5 | CHANGELOG.md export-ignore 6 | -------------------------------------------------------------------------------- /resources/assets/js/assets/sass/paper/mixins/_tabs.scss: -------------------------------------------------------------------------------- 1 | @mixin pill-style($color) { 2 | border: 1px solid $color; 3 | color: $color; 4 | } 5 | -------------------------------------------------------------------------------- /storage/framework/.gitignore: -------------------------------------------------------------------------------- 1 | config.php 2 | routes.php 3 | schedule-* 4 | compiled.php 5 | services.json 6 | events.scanned.php 7 | routes.scanned.php 8 | down 9 | -------------------------------------------------------------------------------- /public/fonts/glyphicons-halflings-regular.e18bbf6.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansezz/laravel-vue-paper-dashboard/HEAD/public/fonts/glyphicons-halflings-regular.e18bbf6.ttf -------------------------------------------------------------------------------- /public/fonts/glyphicons-halflings-regular.f4769f9.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansezz/laravel-vue-paper-dashboard/HEAD/public/fonts/glyphicons-halflings-regular.f4769f9.eot -------------------------------------------------------------------------------- /public/fonts/glyphicons-halflings-regular.fa27723.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansezz/laravel-vue-paper-dashboard/HEAD/public/fonts/glyphicons-halflings-regular.fa27723.woff -------------------------------------------------------------------------------- /public/fonts/glyphicons-halflings-regular.448c34a.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansezz/laravel-vue-paper-dashboard/HEAD/public/fonts/glyphicons-halflings-regular.448c34a.woff2 -------------------------------------------------------------------------------- /public/fonts/vendor/bootstrap/dist/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansezz/laravel-vue-paper-dashboard/HEAD/public/fonts/vendor/bootstrap/dist/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /public/fonts/vendor/bootstrap/dist/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansezz/laravel-vue-paper-dashboard/HEAD/public/fonts/vendor/bootstrap/dist/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /public/fonts/vendor/bootstrap/dist/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansezz/laravel-vue-paper-dashboard/HEAD/public/fonts/vendor/bootstrap/dist/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /public/fonts/vendor/bootstrap/dist/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansezz/laravel-vue-paper-dashboard/HEAD/public/fonts/vendor/bootstrap/dist/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /resources/assets/sass/_variables.scss: -------------------------------------------------------------------------------- 1 | 2 | // Body 3 | $body-bg: #f5f8fa; 4 | 5 | // Typography 6 | $font-family-sans-serif: "Raleway", sans-serif; 7 | $font-size-base: 0.9rem; 8 | $line-height-base: 1.6; 9 | -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- 1 | call(UsersTableSeeder::class); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /resources/assets/js/assets/sass/paper/mixins/_icons.scss: -------------------------------------------------------------------------------- 1 | @mixin icon-background($icon-url) { 2 | background-image: url($icon-url); 3 | 4 | } 5 | 6 | @mixin icon-shape($size, $padding, $border-radius) { 7 | height: $size; 8 | width: $size; 9 | padding: $padding; 10 | border-radius: $border-radius; 11 | display: inline-table; 12 | 13 | } 14 | -------------------------------------------------------------------------------- /resources/assets/sass/app.scss: -------------------------------------------------------------------------------- 1 | 2 | // Fonts 3 | @import url("https://fonts.googleapis.com/css?family=Raleway:300,400,600"); 4 | 5 | // Variables 6 | @import "variables"; 7 | 8 | // Bootstrap 9 | @import '~bootstrap/scss/bootstrap'; 10 | 11 | .navbar-laravel { 12 | background-color: #fff; 13 | box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04); 14 | } 15 | -------------------------------------------------------------------------------- /resources/assets/js/globalDirectives.js: -------------------------------------------------------------------------------- 1 | import { directive as vClickOutside } from 'vue-clickaway' 2 | 3 | /** 4 | * You can register global directives here and use them as a plugin in your main Vue instance 5 | */ 6 | 7 | const GlobalDirectives = { 8 | install (Vue) { 9 | Vue.directive('click-outside', vClickOutside) 10 | } 11 | } 12 | 13 | export default GlobalDirectives 14 | -------------------------------------------------------------------------------- /app/Http/Middleware/EncryptCookies.php: -------------------------------------------------------------------------------- 1 | assertTrue(true); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /app/Http/Middleware/VerifyCsrfToken.php: -------------------------------------------------------------------------------- 1 | get('/'); 18 | 19 | $response->assertStatus(200); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /resources/assets/js/assets/sass/paper/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 | } 21 | -------------------------------------------------------------------------------- /resources/assets/js/globalComponents.js: -------------------------------------------------------------------------------- 1 | import fgInput from './components/UIComponents/Inputs/formGroupInput.vue' 2 | import DropDown from './components/UIComponents/Dropdown.vue' 3 | 4 | /** 5 | * You can register global components here and use them as a plugin in your main Vue instance 6 | */ 7 | 8 | const GlobalComponents = { 9 | install (Vue) { 10 | Vue.component('fg-input', fgInput) 11 | Vue.component('drop-down', DropDown) 12 | } 13 | } 14 | 15 | export default GlobalComponents 16 | -------------------------------------------------------------------------------- /app/Providers/BroadcastServiceProvider.php: -------------------------------------------------------------------------------- 1 | where('any', '^(?!(api|xyz).*$).*'); 16 | -------------------------------------------------------------------------------- /app/Providers/AppServiceProvider.php: -------------------------------------------------------------------------------- 1 | id === (int) $id; 16 | }); 17 | -------------------------------------------------------------------------------- /tests/CreatesApplication.php: -------------------------------------------------------------------------------- 1 | make(Kernel::class)->bootstrap(); 20 | 21 | Hash::driver('bcrypt')->setRounds(4); 22 | 23 | return $app; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /routes/api.php: -------------------------------------------------------------------------------- 1 | get('/user', function (Request $request) { 17 | return $request->user(); 18 | }); 19 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /config/hashing.php: -------------------------------------------------------------------------------- 1 | 'bcrypt', 19 | 20 | ]; 21 | -------------------------------------------------------------------------------- /resources/lang/en/pagination.php: -------------------------------------------------------------------------------- 1 | '« Previous', 17 | 'next' => 'Next »', 18 | 19 | ]; 20 | -------------------------------------------------------------------------------- /routes/console.php: -------------------------------------------------------------------------------- 1 | comment(Inspiring::quote()); 18 | })->describe('Display an inspiring quote'); 19 | -------------------------------------------------------------------------------- /resources/assets/js/components/Dashboard/Layout/Content.vue: -------------------------------------------------------------------------------- 1 | 11 | 14 | 28 | -------------------------------------------------------------------------------- /app/User.php: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 |
6 | 7 |
8 |
9 | 10 |
11 |
12 | 16 |
17 | 18 |
19 | 20 | 26 | 29 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /resources/assets/js/assets/sass/paper/mixins/_labels.scss: -------------------------------------------------------------------------------- 1 | @mixin label-style() { 2 | padding: $padding-label-vertical $padding-label-horizontal; 3 | border: 1px solid $default-color; 4 | border-radius: $border-radius-small; 5 | color: $default-color; 6 | font-weight: $font-weight-semi; 7 | font-size: $font-size-small; 8 | text-transform: uppercase; 9 | display: inline-block; 10 | vertical-align: middle; 11 | } 12 | 13 | @mixin label-color($color) { 14 | border-color: $color; 15 | color: $color; 16 | } 17 | 18 | @mixin label-color-fill($color) { 19 | border-color: $color; 20 | color: $white-color; 21 | background-color: $color; 22 | } 23 | -------------------------------------------------------------------------------- /app/Http/Middleware/RedirectIfAuthenticated.php: -------------------------------------------------------------------------------- 1 | check()) { 21 | return redirect('/home'); 22 | } 23 | 24 | return $next($request); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /public/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | 3 | Options -MultiViews -Indexes 4 | 5 | 6 | RewriteEngine On 7 | 8 | # Handle Authorization Header 9 | RewriteCond %{HTTP:Authorization} . 10 | RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] 11 | 12 | # Redirect Trailing Slashes If Not A Folder... 13 | RewriteCond %{REQUEST_FILENAME} !-d 14 | RewriteCond %{REQUEST_URI} (.+)/$ 15 | RewriteRule ^ %1 [L,R=301] 16 | 17 | # Handle Front Controller... 18 | RewriteCond %{REQUEST_FILENAME} !-d 19 | RewriteCond %{REQUEST_FILENAME} !-f 20 | RewriteRule ^ index.php [L] 21 | 22 | -------------------------------------------------------------------------------- /resources/assets/js/components/UIComponents/NotificationPlugin/index.js: -------------------------------------------------------------------------------- 1 | import Notifications from './Notifications.vue' 2 | 3 | const NotificationStore = { 4 | state: [], // here the notifications will be added 5 | 6 | removeNotification (index) { 7 | this.state.splice(index, 1) 8 | }, 9 | notify (notification) { 10 | this.state.push(notification) 11 | } 12 | } 13 | 14 | var NotificationsPlugin = { 15 | 16 | install (Vue) { 17 | Object.defineProperty(Vue.prototype, '$notifications', { 18 | get () { 19 | return NotificationStore 20 | } 21 | }) 22 | Vue.component('Notifications', Notifications) 23 | } 24 | } 25 | 26 | export default NotificationsPlugin 27 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /app/Providers/AuthServiceProvider.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 | -------------------------------------------------------------------------------- /resources/assets/js/components/UIComponents/Inputs/formGroupInput.vue: -------------------------------------------------------------------------------- 1 | 13 | 27 | 30 | -------------------------------------------------------------------------------- /app/Providers/EventServiceProvider.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 | -------------------------------------------------------------------------------- /resources/assets/js/components/Dashboard/Layout/ContentFooter.vue: -------------------------------------------------------------------------------- 1 | 20 | 24 | 27 | -------------------------------------------------------------------------------- /resources/assets/js/components/Dashboard/Views/UserProfile.vue: -------------------------------------------------------------------------------- 1 | 18 | 31 | 34 | -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | APP_NAME=Laravel 2 | APP_ENV=local 3 | APP_KEY= 4 | APP_DEBUG=true 5 | APP_URL=http://localhost 6 | 7 | LOG_CHANNEL=stack 8 | 9 | DB_CONNECTION=mysql 10 | DB_HOST=127.0.0.1 11 | DB_PORT=3306 12 | DB_DATABASE=homestead 13 | DB_USERNAME=homestead 14 | DB_PASSWORD=secret 15 | 16 | BROADCAST_DRIVER=log 17 | CACHE_DRIVER=file 18 | SESSION_DRIVER=file 19 | SESSION_LIFETIME=120 20 | QUEUE_DRIVER=sync 21 | 22 | REDIS_HOST=127.0.0.1 23 | REDIS_PASSWORD=null 24 | REDIS_PORT=6379 25 | 26 | MAIL_DRIVER=smtp 27 | MAIL_HOST=smtp.mailtrap.io 28 | MAIL_PORT=2525 29 | MAIL_USERNAME=null 30 | MAIL_PASSWORD=null 31 | MAIL_ENCRYPTION=null 32 | 33 | PUSHER_APP_ID= 34 | PUSHER_APP_KEY= 35 | PUSHER_APP_SECRET= 36 | PUSHER_APP_CLUSTER=mt1 37 | 38 | MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" 39 | MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" 40 | -------------------------------------------------------------------------------- /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_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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /database/migrations/2014_10_12_000000_create_users_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 18 | $table->string('name'); 19 | $table->string('email')->unique(); 20 | $table->string('password'); 21 | $table->rememberToken(); 22 | $table->timestamps(); 23 | }); 24 | } 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | Schema::dropIfExists('users'); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /resources/assets/js/assets/sass/paper/_footers.scss: -------------------------------------------------------------------------------- 1 | .footer { 2 | background-attachment: fixed; 3 | position: relative; 4 | line-height: 20px; 5 | nav { 6 | ul { 7 | list-style: none; 8 | margin: 0; 9 | padding: 0; 10 | font-weight: normal; 11 | li { 12 | display: inline-block; 13 | padding: 10px 15px; 14 | margin: 15px 3px; 15 | line-height: 20px; 16 | text-align: center; 17 | } 18 | a:not(.btn) { 19 | color: $font-color; 20 | display: block; 21 | margin-bottom: 3px; 22 | 23 | &:focus, 24 | &:hover { 25 | color: $default-states-color; 26 | } 27 | } 28 | } 29 | } 30 | .copyright { 31 | color: $font-color; 32 | padding: 10px 15px; 33 | font-size: 14px; 34 | white-space: nowrap; 35 | margin: 15px 3px; 36 | line-height: 20px; 37 | text-align: center; 38 | } 39 | .heart { 40 | color: $danger-color; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/ForgotPasswordController.php: -------------------------------------------------------------------------------- 1 | middleware('guest'); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /resources/assets/js/components/UIComponents/SidebarPlugin/MovingArrow.vue: -------------------------------------------------------------------------------- 1 | 5 | 27 | 41 | -------------------------------------------------------------------------------- /app/Console/Kernel.php: -------------------------------------------------------------------------------- 1 | command('inspire') 28 | // ->hourly(); 29 | } 30 | 31 | /** 32 | * Register the commands for the application. 33 | * 34 | * @return void 35 | */ 36 | protected function commands() 37 | { 38 | $this->load(__DIR__.'/Commands'); 39 | 40 | require base_path('routes/console.php'); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | # [Laravel version of Creative Tim Paper Dashboard made for Vue](https://cristijora.github.io/vue-paper-dashboard/) 2 | 3 | 4 | > Admin dashboard based on paper dashboard UI template + vue-router 5 | 6 | This project is a Laravel Vue version of [Paper-dashboard](https://www.creative-tim.com/product/paper-dashboard) 7 | designed for Laravel VueJs developers.The dashboard includes vue-router and vuex 8 | 9 | Check the [Live Demo here](https://cristijora.github.io/vue-paper-dashboard). 10 | 11 | 12 | #Setup 13 | ``` 14 | composer install #to install Laravel and third party packages 15 | cp .env.example .env #to configure installation 16 | php artisan key:generate #to generate unique key for the project 17 | npm install #to install npm dependencies 18 | npm run dev #to build app.js with laravel mix 19 | php artisan serve #to serve application on localhost:8000 20 | 21 | ``` 22 | 23 | ![](http://i.imgur.com/3iC1hOs.gif) 24 | [Nuxt Version](https://github.com/cristijora/vue-paper-dashboard-nuxt) 25 | -------------------------------------------------------------------------------- /resources/assets/js/components/UIComponents/Dropdown.vue: -------------------------------------------------------------------------------- 1 | 16 | 37 | 38 | 43 | -------------------------------------------------------------------------------- /resources/assets/js/components/Dashboard/Layout/DashboardLayout.vue: -------------------------------------------------------------------------------- 1 | 20 | 23 | 43 | -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/LoginController.php: -------------------------------------------------------------------------------- 1 | middleware('guest')->except('logout'); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/ResetPasswordController.php: -------------------------------------------------------------------------------- 1 | middleware('guest'); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /resources/assets/js/App.vue: -------------------------------------------------------------------------------- 1 | 33 | 34 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /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 | 33 | -------------------------------------------------------------------------------- /resources/assets/js/assets/sass/paper-dashboard.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | 3 | ========================================================= 4 | * Paper Dashboard - v1.1.2 5 | ========================================================= 6 | 7 | * Product Page: http://www.creative-tim.com/product/paper-dashboard 8 | * Copyright 2017 Creative Tim (http://www.creative-tim.com) 9 | * Licensed under MIT (https://github.com/creativetimofficial/paper-dashboard/blob/master/LICENSE.md) 10 | 11 | ========================================================= 12 | 13 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 14 | 15 | */ 16 | @import "paper/variables"; 17 | @import "paper/mixins"; 18 | @import "paper/typography"; 19 | // Core CSS 20 | @import "paper/misc"; 21 | @import "paper/sidebar-and-main-panel"; 22 | @import "paper/buttons"; 23 | @import "paper/inputs"; 24 | @import "paper/alerts"; 25 | @import "paper/tables"; 26 | @import "paper/checkbox-radio"; 27 | @import "paper/navbars"; 28 | @import "paper/footers"; 29 | // Fancy Stuff 30 | @import "paper/dropdown"; 31 | @import "paper/cards"; 32 | @import "paper/chartist"; 33 | @import "paper/responsive"; 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /resources/assets/js/assets/sass/paper/mixins/_sidebar.scss: -------------------------------------------------------------------------------- 1 | @mixin sidebar-background-color($background-color, $font-color) { 2 | &:after, 3 | &:before { 4 | background-color: $background-color; 5 | } 6 | 7 | #style-3::-webkit-scrollbar-track 8 | { 9 | -webkit-box-shadow: inset 0 0 6px $background-color; 10 | background-color: $background-color; 11 | } 12 | 13 | #style-3::-webkit-scrollbar 14 | { 15 | width: 6px; 16 | background-color: $font-color; 17 | } 18 | 19 | #style-3::-webkit-scrollbar-thumb 20 | { 21 | background-color: $background-color; 22 | } 23 | 24 | 25 | .logo { 26 | border-bottom: 1px solid rgba($font-color, .3); 27 | 28 | p { 29 | color: $font-color; 30 | } 31 | 32 | .simple-text { 33 | color: $font-color; 34 | } 35 | } 36 | 37 | .nav { 38 | li:not(.active) { 39 | > a { 40 | color: $font-color; 41 | } 42 | } 43 | .divider { 44 | background-color: rgba($font-color, .2); 45 | } 46 | 47 | } 48 | 49 | } 50 | 51 | @mixin sidebar-active-color($font-color) { 52 | .nav { 53 | li { 54 | &.active > a { 55 | color: $font-color; 56 | opacity: 1; 57 | } 58 | } 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /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.18", 14 | "bootstrap": "^3.3.7", 15 | "chartist": "^0.10.1", 16 | "cross-env": "^5.1", 17 | "es6-promise": "^4.2.4", 18 | "jquery": "^3.2", 19 | "laravel-mix": "^2.0", 20 | "lodash": "^4.17.4", 21 | "popper.js": "^1.12", 22 | "vue": "^2.3.0", 23 | "vue-clickaway": "^2.1.0", 24 | "vue-router": "^2.2.0" 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /resources/assets/js/app.js: -------------------------------------------------------------------------------- 1 | require('./bootstrap'); 2 | 3 | import Vue from 'vue' 4 | import VueRouter from 'vue-router' 5 | 6 | // Plugins 7 | import GlobalComponents from './globalComponents' 8 | import GlobalDirectives from './globalDirectives' 9 | import Notifications from './components/UIComponents/NotificationPlugin' 10 | import SideBar from './components/UIComponents/SidebarPlugin' 11 | import App from './App' 12 | 13 | // router setup 14 | import routes from './routes/routes' 15 | 16 | // library imports 17 | import Chartist from 'chartist' 18 | import 'bootstrap/dist/css/bootstrap.css' 19 | import './assets/sass/paper-dashboard.scss' 20 | import 'es6-promise/auto' 21 | 22 | // plugin setup 23 | Vue.use(VueRouter) 24 | Vue.use(GlobalComponents) 25 | Vue.use(GlobalDirectives) 26 | Vue.use(Notifications) 27 | Vue.use(SideBar) 28 | 29 | // configure router 30 | const router = new VueRouter({ 31 | routes, // short for routes: routes 32 | linkActiveClass: 'active' 33 | }) 34 | 35 | // global library setup 36 | Object.defineProperty(Vue.prototype, '$Chartist', { 37 | get() { 38 | return this.$root.Chartist 39 | } 40 | }) 41 | 42 | /* eslint-disable no-new */ 43 | new Vue({ 44 | el: '#app', 45 | render: h => h(App), 46 | router, 47 | data: { 48 | Chartist: Chartist 49 | } 50 | }) 51 | -------------------------------------------------------------------------------- /resources/views/index.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Vue Paper Dashboard 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 |
23 | 24 | 25 | 26 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /resources/assets/js/components/UIComponents/NotificationPlugin/Notifications.vue: -------------------------------------------------------------------------------- 1 | 11 | 30 | 50 | -------------------------------------------------------------------------------- /app/Exceptions/Handler.php: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 |

{{title}}

6 |

{{subTitle}}

7 |
8 |
9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
{{column}}
{{itemValue(item, column)}}
20 |
21 |
22 | 23 | 58 | 61 | -------------------------------------------------------------------------------- /resources/assets/js/assets/sass/paper/_tables.scss: -------------------------------------------------------------------------------- 1 | .table { 2 | thead, 3 | tbody, 4 | tfoot { 5 | tr > th, 6 | tr > td { 7 | border-top: 1px solid $table-line-color; 8 | } 9 | } 10 | > thead > tr > th { 11 | border-bottom-width: 0; 12 | font-size: $font-size-h5; 13 | font-weight: $font-weight-light; 14 | } 15 | 16 | .radio, 17 | .checkbox { 18 | margin-top: 0; 19 | margin-bottom: 22px; 20 | padding: 0; 21 | width: 15px; 22 | } 23 | > thead > tr > th, 24 | > tbody > tr > th, 25 | > tfoot > tr > th, 26 | > thead > tr > td, 27 | > tbody > tr > td, 28 | > tfoot > tr > td { 29 | padding: 12px; 30 | vertical-align: middle; 31 | } 32 | 33 | .th-description { 34 | max-width: 150px; 35 | } 36 | .td-price { 37 | font-size: 26px; 38 | font-weight: $font-weight-light; 39 | margin-top: 5px; 40 | text-align: right; 41 | } 42 | .td-total { 43 | font-weight: $font-weight-bold; 44 | font-size: $font-size-h5; 45 | padding-top: 20px; 46 | text-align: right; 47 | } 48 | 49 | .td-actions .btn { 50 | 51 | &.btn-sm, 52 | &.btn-xs { 53 | padding-left: 3px; 54 | padding-right: 3px; 55 | } 56 | } 57 | 58 | > tbody > tr { 59 | position: relative; 60 | } 61 | } 62 | 63 | .table-striped { 64 | tbody > tr:nth-of-type(2n+1) { 65 | background-color: #fff; 66 | } 67 | tbody > tr:nth-of-type(2n) { 68 | background-color: $pale-bg; 69 | } 70 | > thead > tr > th, 71 | > tbody > tr > th, 72 | > tfoot > tr > th, 73 | > thead > tr > td, 74 | > tbody > tr > td, 75 | > tfoot > tr > td { 76 | padding: 15px 8px; 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "laravel/laravel", 3 | "description": "The Laravel Framework.", 4 | "keywords": ["framework", "laravel"], 5 | "license": "MIT", 6 | "type": "project", 7 | "require": { 8 | "php": "^7.1.3", 9 | "fideloper/proxy": "^4.0", 10 | "laravel/framework": "5.6.*", 11 | "laravel/tinker": "^1.0" 12 | }, 13 | "require-dev": { 14 | "filp/whoops": "^2.0", 15 | "fzaninotto/faker": "^1.4", 16 | "mockery/mockery": "^1.0", 17 | "nunomaduro/collision": "^2.0", 18 | "phpunit/phpunit": "^7.0" 19 | }, 20 | "autoload": { 21 | "classmap": [ 22 | "database/seeds", 23 | "database/factories" 24 | ], 25 | "psr-4": { 26 | "App\\": "app/" 27 | } 28 | }, 29 | "autoload-dev": { 30 | "psr-4": { 31 | "Tests\\": "tests/" 32 | } 33 | }, 34 | "extra": { 35 | "laravel": { 36 | "dont-discover": [ 37 | ] 38 | } 39 | }, 40 | "scripts": { 41 | "post-root-package-install": [ 42 | "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" 43 | ], 44 | "post-create-project-cmd": [ 45 | "@php artisan key:generate" 46 | ], 47 | "post-autoload-dump": [ 48 | "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", 49 | "@php artisan package:discover" 50 | ] 51 | }, 52 | "config": { 53 | "preferred-install": "dist", 54 | "sort-packages": true, 55 | "optimize-autoloader": true 56 | }, 57 | "minimum-stability": "dev", 58 | "prefer-stable": true 59 | } 60 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /artisan: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env php 2 | make(Illuminate\Contracts\Console\Kernel::class); 34 | 35 | $status = $kernel->handle( 36 | $input = new Symfony\Component\Console\Input\ArgvInput, 37 | new Symfony\Component\Console\Output\ConsoleOutput 38 | ); 39 | 40 | /* 41 | |-------------------------------------------------------------------------- 42 | | Shutdown The Application 43 | |-------------------------------------------------------------------------- 44 | | 45 | | Once Artisan has finished running, we will fire off the shutdown events 46 | | so that any final work may be done by the application before we shut 47 | | down the process. This is the last thing to happen to the request. 48 | | 49 | */ 50 | 51 | $kernel->terminate($input, $status); 52 | 53 | exit($status); 54 | -------------------------------------------------------------------------------- /resources/assets/js/components/Dashboard/Views/UserProfile/UserCard.vue: -------------------------------------------------------------------------------- 1 | 35 | 70 | 73 | -------------------------------------------------------------------------------- /resources/assets/js/assets/sass/paper/mixins/_buttons.scss: -------------------------------------------------------------------------------- 1 | // Mixin for generating new styles 2 | @mixin btn-styles($btn-color, $btn-states-color) { 3 | border-color: $btn-color; 4 | color: $btn-color; 5 | 6 | &:hover, 7 | &:focus, 8 | &:active, 9 | &.active, 10 | .open > &.dropdown-toggle { 11 | background-color: $btn-color; 12 | color: $fill-font-color; 13 | border-color: $btn-color; 14 | .caret { 15 | border-top-color: $fill-font-color; 16 | } 17 | } 18 | 19 | &.disabled, 20 | &:disabled, 21 | &[disabled], 22 | fieldset[disabled] & { 23 | &, 24 | &:hover, 25 | &:focus, 26 | &.focus, 27 | &:active, 28 | &.active { 29 | background-color: $transparent-bg; 30 | border-color: $btn-color; 31 | } 32 | } 33 | 34 | &.btn-fill { 35 | color: $white-color; 36 | background-color: $btn-color; 37 | @include opacity(1); 38 | 39 | &:hover, 40 | &:focus, 41 | &:active, 42 | &.active, 43 | .open > &.dropdown-toggle { 44 | background-color: $btn-states-color; 45 | color: $white-color; 46 | border-color: $btn-states-color; 47 | } 48 | 49 | .caret { 50 | border-top-color: $white-color; 51 | } 52 | } 53 | 54 | &.btn-simple { 55 | &:hover, 56 | &:focus, 57 | &:active, 58 | &.active, 59 | .open > &.dropdown-toggle { 60 | background-color: $transparent-bg; 61 | color: $btn-states-color; 62 | } 63 | 64 | .caret { 65 | border-top-color: $white-color; 66 | } 67 | } 68 | 69 | .caret { 70 | border-top-color: $btn-color; 71 | } 72 | } 73 | 74 | @mixin btn-size($padding-vertical, $padding-horizontal, $font-size, $border, $line-height) { 75 | font-size: $font-size; 76 | border-radius: $border; 77 | padding: $padding-vertical $padding-horizontal; 78 | 79 | &.btn-simple { 80 | padding: $padding-vertical + 2 $padding-horizontal; 81 | } 82 | 83 | } 84 | -------------------------------------------------------------------------------- /resources/assets/js/bootstrap.js: -------------------------------------------------------------------------------- 1 | 2 | window._ = require('lodash'); 3 | window.Popper = require('popper.js').default; 4 | 5 | /** 6 | * We'll load jQuery and the Bootstrap jQuery plugin which provides support 7 | * for JavaScript based Bootstrap features such as modals and tabs. This 8 | * code may be modified to fit the specific needs of your application. 9 | */ 10 | 11 | try { 12 | window.$ = window.jQuery = require('jquery'); 13 | 14 | require('bootstrap'); 15 | } catch (e) {} 16 | 17 | /** 18 | * We'll load the axios HTTP library which allows us to easily issue requests 19 | * to our Laravel back-end. This library automatically handles sending the 20 | * CSRF token as a header based on the value of the "XSRF" token cookie. 21 | */ 22 | 23 | window.axios = require('axios'); 24 | 25 | window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; 26 | 27 | /** 28 | * Next we will register the CSRF Token as a common header with Axios so that 29 | * all outgoing HTTP requests automatically have it attached. This is just 30 | * a simple convenience so we don't have to attach every token manually. 31 | */ 32 | 33 | let token = document.head.querySelector('meta[name="csrf-token"]'); 34 | 35 | if (token) { 36 | window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content; 37 | } else { 38 | console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token'); 39 | } 40 | 41 | /** 42 | * Echo exposes an expressive API for subscribing to channels and listening 43 | * for events that are broadcast by Laravel. Echo and event broadcasting 44 | * allows your team to easily build robust real-time web applications. 45 | */ 46 | 47 | // import Echo from 'laravel-echo' 48 | 49 | // window.Pusher = require('pusher-js'); 50 | 51 | // window.Echo = new Echo({ 52 | // broadcaster: 'pusher', 53 | // key: process.env.MIX_PUSHER_APP_KEY, 54 | // cluster: process.env.MIX_PUSHER_APP_CLUSTER, 55 | // encrypted: true 56 | // }); 57 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/RegisterController.php: -------------------------------------------------------------------------------- 1 | middleware('guest'); 41 | } 42 | 43 | /** 44 | * Get a validator for an incoming registration request. 45 | * 46 | * @param array $data 47 | * @return \Illuminate\Contracts\Validation\Validator 48 | */ 49 | protected function validator(array $data) 50 | { 51 | return Validator::make($data, [ 52 | 'name' => 'required|string|max:255', 53 | 'email' => 'required|string|email|max:255|unique:users', 54 | 'password' => 'required|string|min:6|confirmed', 55 | ]); 56 | } 57 | 58 | /** 59 | * Create a new user instance after a valid registration. 60 | * 61 | * @param array $data 62 | * @return \App\User 63 | */ 64 | protected function create(array $data) 65 | { 66 | return User::create([ 67 | 'name' => $data['name'], 68 | 'email' => $data['email'], 69 | 'password' => Hash::make($data['password']), 70 | ]); 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /config/logging.php: -------------------------------------------------------------------------------- 1 | env('LOG_CHANNEL', 'stack'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Log Channels 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may configure the log channels for your application. Out of 24 | | the box, Laravel uses the Monolog PHP logging library. This gives 25 | | you a variety of powerful log handlers / formatters to utilize. 26 | | 27 | | Available Drivers: "single", "daily", "slack", "syslog", 28 | | "errorlog", "custom", "stack" 29 | | 30 | */ 31 | 32 | 'channels' => [ 33 | 'stack' => [ 34 | 'driver' => 'stack', 35 | 'channels' => ['single'], 36 | ], 37 | 38 | 'single' => [ 39 | 'driver' => 'single', 40 | 'path' => storage_path('logs/laravel.log'), 41 | 'level' => 'debug', 42 | ], 43 | 44 | 'daily' => [ 45 | 'driver' => 'daily', 46 | 'path' => storage_path('logs/laravel.log'), 47 | 'level' => 'debug', 48 | 'days' => 7, 49 | ], 50 | 51 | 'slack' => [ 52 | 'driver' => 'slack', 53 | 'url' => env('LOG_SLACK_WEBHOOK_URL'), 54 | 'username' => 'Laravel Log', 55 | 'emoji' => ':boom:', 56 | 'level' => 'critical', 57 | ], 58 | 59 | 'syslog' => [ 60 | 'driver' => 'syslog', 61 | 'level' => 'debug', 62 | ], 63 | 64 | 'errorlog' => [ 65 | 'driver' => 'errorlog', 66 | 'level' => 'debug', 67 | ], 68 | ], 69 | 70 | ]; 71 | -------------------------------------------------------------------------------- /resources/assets/js/components/Dashboard/Views/UserProfile/MembersCard.vue: -------------------------------------------------------------------------------- 1 | 34 | 75 | 78 | -------------------------------------------------------------------------------- /resources/assets/js/routes/routes.js: -------------------------------------------------------------------------------- 1 | import DashboardLayout from '../components/Dashboard/Layout/DashboardLayout.vue' 2 | // GeneralViews 3 | import NotFound from '../components/GeneralViews/NotFoundPage.vue' 4 | 5 | // Admin pages 6 | import Overview from './../components/Dashboard/Views/Overview.vue' 7 | import UserProfile from './../components/Dashboard/Views/UserProfile.vue' 8 | import Notifications from './../components/Dashboard/Views/Notifications.vue' 9 | import Icons from './../components/Dashboard/Views/Icons.vue' 10 | import Maps from './../components/Dashboard/Views/Maps.vue' 11 | import Typography from './../components/Dashboard/Views/Typography.vue' 12 | import TableList from './../components/Dashboard/Views/TableList.vue' 13 | 14 | const routes = [ 15 | { 16 | path: '/', 17 | component: DashboardLayout, 18 | redirect: '/admin/overview' 19 | }, 20 | { 21 | path: '/admin', 22 | component: DashboardLayout, 23 | redirect: '/admin/stats', 24 | children: [ 25 | { 26 | path: 'overview', 27 | name: 'overview', 28 | component: Overview 29 | }, 30 | { 31 | path: 'stats', 32 | name: 'stats', 33 | component: UserProfile 34 | }, 35 | { 36 | path: 'notifications', 37 | name: 'notifications', 38 | component: Notifications 39 | }, 40 | { 41 | path: 'icons', 42 | name: 'icons', 43 | component: Icons 44 | }, 45 | { 46 | path: 'maps', 47 | name: 'maps', 48 | component: Maps 49 | }, 50 | { 51 | path: 'typography', 52 | name: 'typography', 53 | component: Typography 54 | }, 55 | { 56 | path: 'table-list', 57 | name: 'table-list', 58 | component: TableList 59 | } 60 | ] 61 | }, 62 | {path: '*', component: NotFound} 63 | ] 64 | 65 | /** 66 | * Asynchronously load view (Webpack Lazy loading compatible) 67 | * The specified component must be inside the Views folder 68 | * @param {string} name the filename (basename) of the view to load. 69 | function view(name) { 70 | var res= require('../components/Dashboard/Views/' + name + '.vue'); 71 | return res; 72 | };**/ 73 | 74 | export default routes 75 | -------------------------------------------------------------------------------- /resources/assets/js/components/Dashboard/Views/TableList.vue: -------------------------------------------------------------------------------- 1 | 22 | 85 | 88 | -------------------------------------------------------------------------------- /resources/assets/js/components/GeneralViews/NotFoundPage.vue: -------------------------------------------------------------------------------- 1 | 60 | 61 | 65 | -------------------------------------------------------------------------------- /config/filesystems.php: -------------------------------------------------------------------------------- 1 | env('FILESYSTEM_DRIVER', 'local'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Default Cloud Filesystem Disk 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Many applications store files both locally and in the cloud. For this 24 | | reason, you may specify a default "cloud" driver here. This driver 25 | | will be bound as the Cloud disk implementation in the container. 26 | | 27 | */ 28 | 29 | 'cloud' => env('FILESYSTEM_CLOUD', 's3'), 30 | 31 | /* 32 | |-------------------------------------------------------------------------- 33 | | Filesystem Disks 34 | |-------------------------------------------------------------------------- 35 | | 36 | | Here you may configure as many filesystem "disks" as you wish, and you 37 | | may even configure multiple disks of the same driver. Defaults have 38 | | been setup for each driver as an example of the required options. 39 | | 40 | | Supported Drivers: "local", "ftp", "sftp", "s3", "rackspace" 41 | | 42 | */ 43 | 44 | 'disks' => [ 45 | 46 | 'local' => [ 47 | 'driver' => 'local', 48 | 'root' => storage_path('app'), 49 | ], 50 | 51 | 'public' => [ 52 | 'driver' => 'local', 53 | 'root' => storage_path('app/public'), 54 | 'url' => env('APP_URL').'/storage', 55 | 'visibility' => 'public', 56 | ], 57 | 58 | 's3' => [ 59 | 'driver' => 's3', 60 | 'key' => env('AWS_ACCESS_KEY_ID'), 61 | 'secret' => env('AWS_SECRET_ACCESS_KEY'), 62 | 'region' => env('AWS_DEFAULT_REGION'), 63 | 'bucket' => env('AWS_BUCKET'), 64 | 'url' => env('AWS_URL'), 65 | ], 66 | 67 | ], 68 | 69 | ]; 70 | -------------------------------------------------------------------------------- /app/Http/Kernel.php: -------------------------------------------------------------------------------- 1 | [ 31 | \App\Http\Middleware\EncryptCookies::class, 32 | \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, 33 | \Illuminate\Session\Middleware\StartSession::class, 34 | // \Illuminate\Session\Middleware\AuthenticateSession::class, 35 | \Illuminate\View\Middleware\ShareErrorsFromSession::class, 36 | \App\Http\Middleware\VerifyCsrfToken::class, 37 | \Illuminate\Routing\Middleware\SubstituteBindings::class, 38 | ], 39 | 40 | 'api' => [ 41 | 'throttle:60,1', 42 | 'bindings', 43 | ], 44 | ]; 45 | 46 | /** 47 | * The application's route middleware. 48 | * 49 | * These middleware may be assigned to groups or used individually. 50 | * 51 | * @var array 52 | */ 53 | protected $routeMiddleware = [ 54 | 'auth' => \Illuminate\Auth\Middleware\Authenticate::class, 55 | 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, 56 | 'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class, 57 | 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class, 58 | 'can' => \Illuminate\Auth\Middleware\Authorize::class, 59 | 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, 60 | 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class, 61 | 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, 62 | ]; 63 | } 64 | -------------------------------------------------------------------------------- /resources/assets/js/components/UIComponents/Cards/ChartCard.vue: -------------------------------------------------------------------------------- 1 | 26 | 90 | 93 | -------------------------------------------------------------------------------- /resources/assets/js/components/Dashboard/Layout/TopNavbar.vue: -------------------------------------------------------------------------------- 1 | 41 | 74 | 77 | -------------------------------------------------------------------------------- /resources/assets/js/components/Dashboard/Views/Maps.vue: -------------------------------------------------------------------------------- 1 | 11 | 72 | 75 | -------------------------------------------------------------------------------- /config/queue.php: -------------------------------------------------------------------------------- 1 | env('QUEUE_DRIVER', 'sync'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Queue Connections 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may configure the connection information for each server that 24 | | is used by your application. A default configuration has been added 25 | | for each back-end shipped with Laravel. You are free to add more. 26 | | 27 | | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null" 28 | | 29 | */ 30 | 31 | 'connections' => [ 32 | 33 | 'sync' => [ 34 | 'driver' => 'sync', 35 | ], 36 | 37 | 'database' => [ 38 | 'driver' => 'database', 39 | 'table' => 'jobs', 40 | 'queue' => 'default', 41 | 'retry_after' => 90, 42 | ], 43 | 44 | 'beanstalkd' => [ 45 | 'driver' => 'beanstalkd', 46 | 'host' => 'localhost', 47 | 'queue' => 'default', 48 | 'retry_after' => 90, 49 | ], 50 | 51 | 'sqs' => [ 52 | 'driver' => 'sqs', 53 | 'key' => env('SQS_KEY', 'your-public-key'), 54 | 'secret' => env('SQS_SECRET', 'your-secret-key'), 55 | 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'), 56 | 'queue' => env('SQS_QUEUE', 'your-queue-name'), 57 | 'region' => env('SQS_REGION', 'us-east-1'), 58 | ], 59 | 60 | 'redis' => [ 61 | 'driver' => 'redis', 62 | 'connection' => 'default', 63 | 'queue' => 'default', 64 | 'retry_after' => 90, 65 | 'block_for' => null, 66 | ], 67 | 68 | ], 69 | 70 | /* 71 | |-------------------------------------------------------------------------- 72 | | Failed Queue Jobs 73 | |-------------------------------------------------------------------------- 74 | | 75 | | These options configure the behavior of failed queue job logging so you 76 | | can control which database and table are used to store the jobs that 77 | | have failed. You may change them to any database / table you wish. 78 | | 79 | */ 80 | 81 | 'failed' => [ 82 | 'database' => env('DB_CONNECTION', 'mysql'), 83 | 'table' => 'failed_jobs', 84 | ], 85 | 86 | ]; 87 | -------------------------------------------------------------------------------- /config/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 | -------------------------------------------------------------------------------- /resources/assets/js/assets/sass/paper/_dropdown.scss: -------------------------------------------------------------------------------- 1 | .dropdown-menu { 2 | background-color: $pale-bg; 3 | border: 0 none; 4 | border-radius: $border-radius-extreme; 5 | display: block; 6 | margin-top: 10px; 7 | padding: 0px; 8 | position: absolute; 9 | visibility: hidden; 10 | z-index: 9000; 11 | 12 | @include opacity(0); 13 | @include box-shadow($dropdown-shadow); 14 | 15 | // the style for opening dropdowns on mobile devices; for the desktop version check the _responsive.scss file 16 | .open & { 17 | @include opacity(1); 18 | visibility: visible; 19 | } 20 | 21 | .divider { 22 | background-color: $medium-pale-bg; 23 | margin: 0px; 24 | } 25 | 26 | .dropdown-header { 27 | color: $dark-gray; 28 | font-size: $font-size-small; 29 | padding: $padding-dropdown-vertical $padding-dropdown-horizontal; 30 | } 31 | 32 | // the style for the dropdown menu that appears under select, it is different from the default one 33 | .select & { 34 | border-radius: $border-radius-bottom; 35 | @include box-shadow(none); 36 | @include transform-origin($select-coordinates); 37 | @include transform-scale(1); 38 | @include transition($fast-transition-time, $transition-linear); 39 | margin-top: -20px; 40 | } 41 | .select.open & { 42 | margin-top: -1px; 43 | } 44 | 45 | > li > a { 46 | color: $font-color; 47 | font-size: $font-size-base; 48 | padding: $padding-dropdown-vertical $padding-dropdown-horizontal; 49 | @include transition-none(); 50 | 51 | img { 52 | margin-top: -3px; 53 | } 54 | } 55 | > li > a:focus { 56 | outline: 0 !important; 57 | } 58 | 59 | .btn-group.select & { 60 | min-width: 100%; 61 | } 62 | 63 | > li:first-child > a { 64 | border-top-left-radius: $border-radius-extreme; 65 | border-top-right-radius: $border-radius-extreme; 66 | } 67 | 68 | > li:last-child > a { 69 | border-bottom-left-radius: $border-radius-extreme; 70 | border-bottom-right-radius: $border-radius-extreme; 71 | } 72 | 73 | .select & > li:first-child > a { 74 | border-radius: 0; 75 | border-bottom: 0 none; 76 | } 77 | 78 | > li > a:hover, 79 | > li > a:focus { 80 | background-color: $default-color; 81 | color: $fill-font-color; 82 | opacity: 1; 83 | text-decoration: none; 84 | } 85 | 86 | &.dropdown-primary > li > a:hover, 87 | &.dropdown-primary > li > a:focus { 88 | background-color: $primary-color; 89 | } 90 | &.dropdown-info > li > a:hover, 91 | &.dropdown-info > li > a:focus { 92 | background-color: $info-color; 93 | } 94 | &.dropdown-success > li > a:hover, 95 | &.dropdown-success > li > a:focus { 96 | background-color: $success-color; 97 | } 98 | &.dropdown-warning > li > a:hover, 99 | &.dropdown-warning > li > a:focus { 100 | background-color: $warning-color; 101 | } 102 | &.dropdown-danger > li > a:hover, 103 | &.dropdown-danger > li > a:focus { 104 | background-color: $danger-color; 105 | } 106 | 107 | } 108 | 109 | //fix bug for the select items in btn-group 110 | .btn-group.select { 111 | overflow: hidden; 112 | } 113 | 114 | .btn-group.select.open { 115 | overflow: visible; 116 | } 117 | -------------------------------------------------------------------------------- /resources/assets/js/assets/sass/paper/_typography.scss: -------------------------------------------------------------------------------- 1 | h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, p, .navbar, .brand, a, .td-name, td { 2 | -moz-osx-font-smoothing: grayscale; 3 | -webkit-font-smoothing: antialiased; 4 | font-family: 'Muli', "Helvetica", Arial, sans-serif; 5 | } 6 | 7 | h1, .h1, h2, .h2, h3, .h3, h4, .h4 { 8 | font-weight: $font-weight-normal; 9 | margin: $margin-large-vertical 0 $margin-base-vertical; 10 | } 11 | 12 | h1, .h1 { 13 | font-size: $font-size-h1; 14 | } 15 | 16 | h2, .h2 { 17 | font-size: $font-size-h2; 18 | } 19 | 20 | h3, .h3 { 21 | font-size: $font-size-h3; 22 | line-height: 1.4; 23 | margin: 20px 0 10px; 24 | } 25 | 26 | h4, .h4 { 27 | font-size: $font-size-h4; 28 | font-weight: $font-weight-bold; 29 | line-height: 1.2em; 30 | } 31 | 32 | h5, .h5 { 33 | font-size: $font-size-h5; 34 | font-weight: $font-weight-normal; 35 | line-height: 1.4em; 36 | margin-bottom: 15px; 37 | } 38 | 39 | h6, .h6 { 40 | font-size: $font-size-h6; 41 | font-weight: $font-weight-bold; 42 | text-transform: uppercase; 43 | } 44 | 45 | p { 46 | font-size: $font-paragraph; 47 | line-height: $line-height-general; 48 | } 49 | 50 | h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small, h1 .small, h2 .small, h3 .small, h4 .small, h5 .small, h6 .small, .h1 .small, .h2 .small, .h3 .small, .h4 .small, .h5 .small, .h6 .small { 51 | color: $dark-gray; 52 | font-weight: $font-weight-light; 53 | line-height: $line-height-general; 54 | } 55 | 56 | h1 small, h2 small, h3 small, h1 .small, h2 .small, h3 .small { 57 | font-size: 60%; 58 | } 59 | 60 | .title-uppercase { 61 | text-transform: uppercase; 62 | } 63 | 64 | blockquote { 65 | font-style: italic; 66 | } 67 | 68 | blockquote small { 69 | font-style: normal; 70 | } 71 | 72 | .text-muted { 73 | color: $medium-gray; 74 | } 75 | 76 | .text-primary, .text-primary:hover { 77 | color: $primary-states-color; 78 | } 79 | 80 | .text-info, .text-info:hover { 81 | color: $info-states-color; 82 | } 83 | 84 | .text-success, .text-success:hover { 85 | color: $success-states-color; 86 | } 87 | 88 | .text-warning, .text-warning:hover { 89 | color: $warning-states-color; 90 | } 91 | 92 | .text-danger, .text-danger:hover { 93 | color: $danger-states-color; 94 | } 95 | 96 | .glyphicon { 97 | line-height: 1; 98 | } 99 | 100 | strong { 101 | color: $default-states-color; 102 | } 103 | 104 | .icon-primary { 105 | color: $primary-color; 106 | } 107 | 108 | .icon-info { 109 | color: $info-color; 110 | } 111 | 112 | .icon-success { 113 | color: $success-color; 114 | } 115 | 116 | .icon-warning { 117 | color: $warning-color; 118 | } 119 | 120 | .icon-danger { 121 | color: $danger-color; 122 | } 123 | 124 | .chart-legend { 125 | .text-primary, .text-primary:hover { 126 | color: $primary-color; 127 | } 128 | .text-info, .text-info:hover { 129 | color: $info-color; 130 | } 131 | .text-success, .text-success:hover { 132 | color: $success-color; 133 | } 134 | .text-warning, .text-warning:hover { 135 | color: $warning-color; 136 | } 137 | .text-danger, .text-danger:hover { 138 | color: $danger-color; 139 | } 140 | } 141 | -------------------------------------------------------------------------------- /resources/assets/js/assets/sass/paper/_misc.scss: -------------------------------------------------------------------------------- 1 | /* General overwrite */ 2 | body { 3 | color: $font-color; 4 | font-size: $font-size-base; 5 | font-family: 'Muli', Arial, sans-serif; 6 | .wrapper { 7 | min-height: 100vh; 8 | position: relative; 9 | } 10 | } 11 | 12 | a { 13 | color: $info-color; 14 | 15 | &:hover, &:focus { 16 | color: $info-states-color; 17 | text-decoration: none; 18 | } 19 | } 20 | 21 | a:focus, a:active, 22 | button::-moz-focus-inner, 23 | input::-moz-focus-inner, 24 | select::-moz-focus-inner, 25 | input[type="file"] > input[type="button"]::-moz-focus-inner { 26 | outline: 0 !important; 27 | } 28 | 29 | .ui-slider-handle:focus, 30 | .navbar-toggle, 31 | input:focus, 32 | button:focus { 33 | outline: 0 !important; 34 | } 35 | 36 | .navbar.navbar-default { 37 | z-index: 2; 38 | } 39 | 40 | /* Animations */ 41 | .form-control, 42 | .input-group-addon, 43 | .tagsinput, 44 | .navbar, 45 | .navbar .alert { 46 | @include transition($general-transition-time, $transition-linear); 47 | } 48 | 49 | .sidebar .nav a, 50 | .table > tbody > tr .td-actions .btn { 51 | @include transition($fast-transition-time, $transition-ease-in); 52 | } 53 | 54 | .btn { 55 | @include transition($ultra-fast-transition-time, $transition-ease-in); 56 | } 57 | 58 | .fa { 59 | width: 21px; 60 | text-align: center; 61 | } 62 | 63 | .fa-base { 64 | font-size: 1.25em !important; 65 | } 66 | 67 | .margin-top { 68 | margin-top: 50px; 69 | } 70 | 71 | hr { 72 | border-color: $medium-pale-bg; 73 | } 74 | 75 | .wrapper { 76 | position: relative; 77 | top: 0; 78 | height: 100vh; 79 | } 80 | 81 | @media (min-width: 992px) { 82 | .typo-line { 83 | padding-left: 140px; 84 | margin-bottom: 40px; 85 | position: relative; 86 | } 87 | 88 | .typo-line .category { 89 | transform: translateY(-50%); 90 | top: 50%; 91 | left: 0px; 92 | position: absolute; 93 | } 94 | } 95 | 96 | .icon-section { 97 | margin: 0 0 3em; 98 | clear: both; 99 | overflow: hidden; 100 | } 101 | 102 | .icon-container { 103 | width: 240px; 104 | padding: .7em 0; 105 | float: left; 106 | position: relative; 107 | text-align: left; 108 | } 109 | 110 | .icon-container [class^="ti-"], 111 | .icon-container [class*=" ti-"] { 112 | color: #000; 113 | position: absolute; 114 | margin-top: 3px; 115 | transition: .3s; 116 | } 117 | 118 | .icon-container:hover [class^="ti-"], 119 | .icon-container:hover [class*=" ti-"] { 120 | font-size: 2.2em; 121 | margin-top: -5px; 122 | } 123 | 124 | .icon-container:hover .icon-name { 125 | color: #000; 126 | } 127 | 128 | .icon-name { 129 | color: #aaa; 130 | margin-left: 35px; 131 | font-size: .8em; 132 | transition: .3s; 133 | } 134 | 135 | .icon-container:hover .icon-name { 136 | margin-left: 45px; 137 | } 138 | 139 | .places-buttons .btn { 140 | margin-bottom: 30px 141 | } 142 | 143 | .sidebar .nav > li.active-pro { 144 | position: absolute; 145 | width: 100%; 146 | bottom: 10px; 147 | } 148 | 149 | .sidebar .nav > li.active-pro a { 150 | background: rgba(255, 255, 255, 0.14); 151 | opacity: 1; 152 | color: #FFFFFF; 153 | } 154 | 155 | .table-upgrade td:nth-child(2), 156 | .table-upgrade td:nth-child(3) { 157 | text-align: center; 158 | } 159 | 160 | -------------------------------------------------------------------------------- /resources/assets/js/assets/sass/paper/_checkbox-radio.scss: -------------------------------------------------------------------------------- 1 | /* Checkbox and radio */ 2 | .checkbox, 3 | .radio { 4 | margin-bottom: 12px; 5 | padding-left: 30px; 6 | position: relative; 7 | -webkit-transition: color, opacity 0.25s linear; 8 | transition: color, opacity 0.25s linear; 9 | font-size: $font-size-base; 10 | font-weight: normal; 11 | line-height: 1.5; 12 | color: $font-color; 13 | cursor: pointer; 14 | 15 | .icons { 16 | color: $font-color; 17 | display: block; 18 | height: 20px; 19 | left: 0; 20 | position: absolute; 21 | top: 0; 22 | width: 20px; 23 | text-align: center; 24 | line-height: 21px; 25 | font-size: 20px; 26 | cursor: pointer; 27 | -webkit-transition: color, opacity 0.15s linear; 28 | transition: color, opacity 0.15s linear; 29 | 30 | opacity: .50; 31 | } 32 | 33 | &.checked { 34 | .icons { 35 | opacity: 1; 36 | } 37 | } 38 | 39 | input { 40 | outline: none !important; 41 | display: none; 42 | } 43 | } 44 | 45 | .checkbox, 46 | .radio { 47 | label { 48 | padding-left: 10px; 49 | } 50 | } 51 | 52 | .checkbox .icons .first-icon, 53 | .radio .icons .first-icon, 54 | .checkbox .icons .second-icon, 55 | .radio .icons .second-icon { 56 | display: inline-table; 57 | position: absolute; 58 | left: 0; 59 | top: 0; 60 | background-color: transparent; 61 | margin: 0; 62 | @include opacity(1); 63 | } 64 | 65 | .checkbox .icons .second-icon, 66 | .radio .icons .second-icon { 67 | @include opacity(0); 68 | } 69 | 70 | .checkbox:hover, 71 | .radio:hover { 72 | -webkit-transition: color 0.2s linear; 73 | transition: color 0.2s linear; 74 | } 75 | 76 | .checkbox:hover .first-icon, 77 | .radio:hover .first-icon { 78 | @include opacity(0); 79 | } 80 | 81 | .checkbox:hover .second-icon, 82 | .radio:hover .second-icon { 83 | @include opacity (1); 84 | } 85 | 86 | .checkbox.checked, 87 | .radio.checked { 88 | // color: $info-color; 89 | } 90 | 91 | .checkbox.checked .first-icon, 92 | .radio.checked .first-icon { 93 | opacity: 0; 94 | filter: alpha(opacity=0); 95 | } 96 | 97 | .checkbox.checked .second-icon, 98 | .radio.checked .second-icon { 99 | opacity: 1; 100 | filter: alpha(opacity=100); 101 | // color: $info-color; 102 | -webkit-transition: color 0.2s linear; 103 | transition: color 0.2s linear; 104 | } 105 | 106 | .checkbox.disabled, 107 | .radio.disabled { 108 | cursor: default; 109 | color: $medium-gray; 110 | } 111 | 112 | .checkbox.disabled .icons, 113 | .radio.disabled .icons { 114 | color: $medium-gray; 115 | } 116 | 117 | .checkbox.disabled .first-icon, 118 | .radio.disabled .first-icon { 119 | opacity: 1; 120 | filter: alpha(opacity=100); 121 | } 122 | 123 | .checkbox.disabled .second-icon, 124 | .radio.disabled .second-icon { 125 | opacity: 0; 126 | filter: alpha(opacity=0); 127 | } 128 | 129 | .checkbox.disabled.checked .icons, 130 | .radio.disabled.checked .icons { 131 | color: $medium-gray; 132 | } 133 | 134 | .checkbox.disabled.checked .first-icon, 135 | .radio.disabled.checked .first-icon { 136 | opacity: 0; 137 | filter: alpha(opacity=0); 138 | } 139 | 140 | .checkbox.disabled.checked .second-icon, 141 | .radio.disabled.checked .second-icon { 142 | opacity: 1; 143 | color: $medium-gray; 144 | filter: alpha(opacity=100); 145 | } 146 | -------------------------------------------------------------------------------- /resources/assets/js/assets/sass/paper/_buttons.scss: -------------------------------------------------------------------------------- 1 | .btn, 2 | .navbar .navbar-nav > li > a.btn { 3 | border-radius: $border-radius-btn-base; 4 | box-sizing: border-box; 5 | border-width: $border-thick; 6 | background-color: $transparent-bg; 7 | font-size: $font-size-base; 8 | font-weight: $font-weight-semi; 9 | 10 | padding: $padding-base-vertical $padding-base-horizontal; 11 | 12 | @include btn-styles($default-color, $default-states-color); 13 | @include transition($fast-transition-time, linear); 14 | 15 | &:hover, 16 | &:focus { 17 | outline: 0 !important; 18 | } 19 | &:active, 20 | &.active, 21 | .open > &.dropdown-toggle { 22 | @include box-shadow(none); 23 | outline: 0 !important; 24 | } 25 | 26 | &.btn-icon { 27 | padding: $padding-base-vertical; 28 | } 29 | } 30 | 31 | .btn-group .btn + .btn, 32 | .btn-group .btn + .btn-group, 33 | .btn-group .btn-group + .btn, 34 | .btn-group .btn-group + .btn-group { 35 | margin-left: -2px; 36 | } 37 | 38 | // Apply the mixin to the buttons 39 | //.btn-default { @include btn-styles($default-color, $default-states-color); } 40 | .navbar .navbar-nav > li > a.btn-primary, .btn-primary { 41 | @include btn-styles($primary-color, $primary-states-color); 42 | } 43 | 44 | .navbar .navbar-nav > li > a.btn-success, .btn-success { 45 | @include btn-styles($success-color, $success-states-color); 46 | } 47 | 48 | .navbar .navbar-nav > li > a.btn-info, .btn-info { 49 | @include btn-styles($info-color, $info-states-color); 50 | } 51 | 52 | .navbar .navbar-nav > li > a.btn-warning, .btn-warning { 53 | @include btn-styles($warning-color, $warning-states-color); 54 | } 55 | 56 | .navbar .navbar-nav > li > a.btn-danger, .btn-danger { 57 | @include btn-styles($danger-color, $danger-states-color); 58 | } 59 | 60 | .btn-neutral { 61 | @include btn-styles($white-color, $white-color); 62 | 63 | &:hover, 64 | &:focus { 65 | color: $default-color; 66 | } 67 | 68 | &:active, 69 | &.active, 70 | .open > &.dropdown-toggle { 71 | background-color: $white-color; 72 | color: $default-color; 73 | } 74 | 75 | &.btn-fill { 76 | color: $default-color; 77 | } 78 | &.btn-fill:hover, 79 | &.btn-fill:focus { 80 | color: $default-states-color; 81 | } 82 | 83 | &.btn-simple:active, 84 | &.btn-simple.active { 85 | background-color: transparent; 86 | } 87 | } 88 | 89 | .btn { 90 | &:disabled, 91 | &[disabled], 92 | &.disabled { 93 | @include opacity(.5); 94 | } 95 | } 96 | 97 | .btn-simple { 98 | border: $none; 99 | padding: $padding-base-vertical $padding-base-horizontal; 100 | 101 | &.btn-icon { 102 | padding: $padding-base-vertical; 103 | } 104 | } 105 | 106 | .btn-lg { 107 | @include btn-size($padding-large-vertical, $padding-large-horizontal, $font-size-large, $border-radius-btn-large, $line-height-small); 108 | font-weight: $font-weight-normal; 109 | } 110 | 111 | .btn-sm { 112 | @include btn-size($padding-small-vertical, $padding-small-horizontal, $font-size-small, $border-radius-btn-small, $line-height-small); 113 | } 114 | 115 | .btn-xs { 116 | @include btn-size($padding-xs-vertical, $padding-xs-horizontal, $font-size-xs, $border-radius-btn-small, $line-height-small); 117 | } 118 | 119 | .btn-wd { 120 | min-width: 140px; 121 | } 122 | 123 | .btn-group.select { 124 | width: 100%; 125 | } 126 | 127 | .btn-group.select .btn { 128 | text-align: left; 129 | } 130 | 131 | .btn-group.select .caret { 132 | position: absolute; 133 | top: 50%; 134 | margin-top: -1px; 135 | right: 8px; 136 | } 137 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /resources/assets/js/components/UIComponents/SidebarPlugin/SideBar.vue: -------------------------------------------------------------------------------- 1 | 39 | 130 | 133 | -------------------------------------------------------------------------------- /resources/assets/js/assets/sass/paper/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: 0.9em !default; 32 | $ct-text-align: flex-start !default; 33 | $ct-text-justify: flex-start !default; 34 | $ct-text-line-height: 1; 35 | 36 | // Grid styles 37 | $ct-grid-color: rgba(0, 0, 0, 0.2) !default; 38 | $ct-grid-dasharray: 2px !default; 39 | $ct-grid-width: 1px !default; 40 | 41 | // Line chart properties 42 | $ct-line-width: 4px !default; 43 | $ct-line-dasharray: false !default; 44 | $ct-point-size: 10px !default; 45 | // Line chart point, can be either round or square 46 | $ct-point-shape: round !default; 47 | // Area fill transparency between 0 and 1 48 | $ct-area-opacity: 0.7 !default; 49 | 50 | // Bar chart bar width 51 | $ct-bar-width: 10px !default; 52 | 53 | // Donut width (If donut width is to big it can cause issues where the shape gets distorted) 54 | $ct-donut-width: 60px !default; 55 | 56 | // If set to true it will include the default classes and generate CSS output. If you're planning to use the mixins you 57 | // should set this property to false 58 | $ct-include-classes: true !default; 59 | 60 | // If this is set to true the CSS will contain colored series. You can extend or change the color with the 61 | // properties below 62 | $ct-include-colored-series: $ct-include-classes !default; 63 | 64 | // If set to true this will include all responsive container variations using the scales defined at the top of the script 65 | $ct-include-alternative-responsive-containers: $ct-include-classes !default; 66 | 67 | // Series names and colors. This can be extended or customized as desired. Just add more series and colors. 68 | $ct-series-names: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !default; 69 | $ct-series-colors: ( 70 | $info-color, 71 | $warning-color, 72 | $danger-color, 73 | $success-color, 74 | $primary-color, 75 | rgba($info-color, .8), 76 | rgba($success-color, .8), 77 | rgba($warning-color, .8), 78 | rgba($danger-color, .8), 79 | rgba($primary-color, .8), 80 | rgba($info-color, .6), 81 | rgba($success-color, .6), 82 | rgba($warning-color, .6), 83 | rgba($danger-color, .6), 84 | rgba($primary-color, .6) 85 | ) !default; 86 | 87 | // Paper Kit Colors 88 | 89 | .ct-blue { 90 | stroke: $primary-color !important; 91 | } 92 | 93 | .ct-azure { 94 | stroke: $info-color !important; 95 | } 96 | 97 | .ct-green { 98 | stroke: $success-color !important; 99 | } 100 | 101 | .ct-orange { 102 | stroke: $warning-color !important; 103 | } 104 | 105 | .ct-red { 106 | stroke: $danger-color !important; 107 | } 108 | -------------------------------------------------------------------------------- /resources/assets/js/components/UIComponents/NotificationPlugin/Notification.vue: -------------------------------------------------------------------------------- 1 | 20 | 82 | 177 | -------------------------------------------------------------------------------- /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', '127.0.0.1'), 45 | 'port' => env('DB_PORT', '3306'), 46 | 'database' => env('DB_DATABASE', 'forge'), 47 | 'username' => env('DB_USERNAME', 'forge'), 48 | 'password' => env('DB_PASSWORD', ''), 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 | -------------------------------------------------------------------------------- /resources/assets/js/components/Dashboard/Views/UserProfile/EditProfileForm.vue: -------------------------------------------------------------------------------- 1 | 107 | 131 | 134 | -------------------------------------------------------------------------------- /resources/assets/js/assets/sass/paper/_sidebar-and-main-panel.scss: -------------------------------------------------------------------------------- 1 | .sidebar { 2 | position: fixed; 3 | top: 0; 4 | bottom: 0; 5 | left: 0; 6 | z-index: 1; 7 | background-size: cover; 8 | background-position: center center; 9 | .sidebar-wrapper { 10 | position: relative; 11 | height: 100%; 12 | overflow-y: auto; 13 | overflow-x: hidden; 14 | width: 260px; 15 | z-index: 4; 16 | box-shadow: inset -1px 0px 0px 0px $medium-gray; 17 | } 18 | .sidebar-background { 19 | position: absolute; 20 | z-index: 1; 21 | height: 100%; 22 | width: 100%; 23 | display: block; 24 | top: 0; 25 | left: 0; 26 | background-size: cover; 27 | background-position: center center; 28 | } 29 | 30 | } 31 | 32 | .sidebar, 33 | .off-canvas-sidebar { 34 | width: 260px; 35 | display: block; 36 | font-weight: 200; 37 | 38 | .logo { 39 | padding: 13px 0; 40 | margin: 0 20px; 41 | 42 | p { 43 | float: left; 44 | font-size: 20px; 45 | margin: 10px 10px; 46 | line-height: 20px; 47 | } 48 | 49 | .simple-text { 50 | padding: $padding-small-vertical $padding-zero; 51 | display: block; 52 | font-size: $font-size-base; 53 | text-align: center; 54 | font-weight: $font-weight-bold; 55 | line-height: 40px; 56 | text-align: left; 57 | 58 | .logo-img{ 59 | width: 40px; 60 | display: inline-block; 61 | height: 40px; 62 | margin-left: 0px; 63 | margin-right: 10px; 64 | background: white; 65 | border-radius: 40px; 66 | text-align: center; 67 | 68 | img{ 69 | max-width: 21px; 70 | } 71 | } 72 | } 73 | } 74 | 75 | .nav { 76 | //margin-top: 20px; 77 | 78 | li { 79 | > a { 80 | margin: 10px 0px; 81 | padding-left: 25px; 82 | padding-right: 25px; 83 | 84 | opacity: .7; 85 | } 86 | 87 | &:hover > a { 88 | opacity: 1; 89 | } 90 | 91 | &.active > a { 92 | color: $primary-color; 93 | opacity: 1; 94 | } 95 | } 96 | 97 | p { 98 | margin: 0; 99 | line-height: 30px; 100 | font-size: 12px; 101 | font-weight: 600; 102 | text-transform: uppercase; 103 | } 104 | 105 | i { 106 | font-size: 24px; 107 | float: left; 108 | margin-right: 15px; 109 | line-height: 30px; 110 | width: 30px; 111 | text-align: center; 112 | } 113 | } 114 | 115 | &:after, 116 | &:before { 117 | display: block; 118 | content: ""; 119 | position: absolute; 120 | width: 100%; 121 | height: 100%; 122 | top: 0; 123 | left: 0; 124 | z-index: 2; 125 | background: $white-background-color; 126 | } 127 | 128 | &, 129 | &[data-background-color="white"] { 130 | @include sidebar-background-color($white-background-color, $default-color); 131 | } 132 | &[data-background-color="black"] { 133 | @include sidebar-background-color($black-background-color, $white-color); 134 | } 135 | &[data-background-color="darkblue"] { 136 | @include sidebar-background-color($darkblue-background-color, $white-color); 137 | } 138 | 139 | &[data-active-color="primary"] { 140 | @include sidebar-active-color($primary-color); 141 | } 142 | &[data-active-color="info"] { 143 | @include sidebar-active-color($info-color); 144 | } 145 | &[data-active-color="success"] { 146 | @include sidebar-active-color($success-color); 147 | } 148 | &[data-active-color="warning"] { 149 | @include sidebar-active-color($warning-color); 150 | } 151 | &[data-active-color="danger"] { 152 | @include sidebar-active-color($danger-color); 153 | } 154 | 155 | } 156 | 157 | .main-panel { 158 | background-color: $bg-nude; 159 | position: relative; 160 | z-index: 2; 161 | float: right; 162 | width: $sidebar-width; 163 | min-height: 100%; 164 | 165 | > .content { 166 | padding: 30px 15px; 167 | min-height: calc(100% - 123px); 168 | } 169 | 170 | > .footer { 171 | border-top: 1px solid rgba(0, 0, 0, 0.1); 172 | } 173 | 174 | .navbar { 175 | margin-bottom: 0; 176 | } 177 | } 178 | 179 | .sidebar, 180 | .main-panel { 181 | -webkit-transition-property: top, bottom; 182 | transition-property: top, bottom; 183 | -webkit-transition-duration: .2s, .2s; 184 | transition-duration: .2s, .2s; 185 | -webkit-transition-timing-function: linear, linear; 186 | transition-timing-function: linear, linear; 187 | -webkit-overflow-scrolling: touch; 188 | } 189 | 190 | .sidebar { 191 | max-height: 100%; 192 | height: 100%; 193 | overflow: hidden; 194 | overflow-y: hidden; 195 | } 196 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /resources/assets/js/assets/sass/paper/_inputs.scss: -------------------------------------------------------------------------------- 1 | .form-control::-moz-placeholder { 2 | @include placeholder($medium-gray, 1); 3 | } 4 | 5 | .form-control:-moz-placeholder { 6 | @include placeholder($medium-gray, 1); 7 | } 8 | 9 | .form-control::-webkit-input-placeholder { 10 | @include placeholder($medium-gray, 1); 11 | } 12 | 13 | .form-control:-ms-input-placeholder { 14 | @include placeholder($medium-gray, 1); 15 | } 16 | 17 | .form-control { 18 | background-color: $gray-input-bg; 19 | border: medium none; 20 | border-radius: $border-radius-base; 21 | color: $font-color; 22 | font-size: $font-size-base; 23 | transition: background-color 0.3s ease 0s; 24 | @include input-size($padding-base-vertical, $padding-base-horizontal, $height-base); 25 | @include box-shadow(none); 26 | 27 | &:focus { 28 | background-color: $white-bg; 29 | @include box-shadow(none); 30 | outline: 0 !important; 31 | } 32 | 33 | .has-success &, 34 | .has-error &, 35 | .has-success &:focus, 36 | .has-error &:focus { 37 | @include box-shadow(none); 38 | } 39 | 40 | .has-success & { 41 | background-color: $success-input-bg; 42 | color: $success-color; 43 | &.border-input { 44 | border: 1px solid $success-color; 45 | } 46 | } 47 | .has-success &:focus { 48 | background-color: $white-bg; 49 | } 50 | .has-error & { 51 | background-color: $danger-input-bg; 52 | color: $danger-color; 53 | &.border-input { 54 | border: 1px solid $danger-color; 55 | } 56 | } 57 | .has-error &:focus { 58 | background-color: $white-bg; 59 | } 60 | 61 | & + .form-control-feedback { 62 | border-radius: $border-radius-large; 63 | font-size: $font-size-base; 64 | margin-top: -7px; 65 | position: absolute; 66 | right: 10px; 67 | top: 50%; 68 | vertical-align: middle; 69 | } 70 | &.border-input { 71 | border: 1px solid $table-line-color; 72 | } 73 | .open & { 74 | border-bottom-color: transparent; 75 | } 76 | } 77 | 78 | .input-lg { 79 | height: 55px; 80 | padding: $padding-large-vertical $padding-large-horizontal; 81 | } 82 | 83 | .has-error { 84 | .form-control-feedback, .control-label { 85 | color: $danger-color; 86 | } 87 | } 88 | 89 | .has-success { 90 | .form-control-feedback, .control-label { 91 | color: $success-color; 92 | } 93 | } 94 | 95 | .input-group-addon { 96 | background-color: $gray-input-bg; 97 | border: medium none; 98 | border-radius: $border-radius-base; 99 | 100 | .has-success &, 101 | .has-error & { 102 | background-color: $white-color; 103 | } 104 | .has-error .form-control:focus + & { 105 | color: $danger-color; 106 | } 107 | .has-success .form-control:focus + & { 108 | color: $success-color; 109 | } 110 | .form-control:focus + &, 111 | .form-control:focus ~ & { 112 | background-color: $white-color; 113 | } 114 | } 115 | 116 | .border-input { 117 | .input-group-addon { 118 | border: solid 1px $table-line-color; 119 | } 120 | } 121 | 122 | .input-group { 123 | margin-bottom: 15px; 124 | } 125 | 126 | .input-group[disabled] { 127 | .input-group-addon { 128 | background-color: $light-gray; 129 | } 130 | } 131 | 132 | .input-group .form-control:first-child, 133 | .input-group-addon:first-child, 134 | .input-group-btn:first-child > .dropdown-toggle, 135 | .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) { 136 | border-right: 0 none; 137 | } 138 | 139 | .input-group .form-control:last-child, 140 | .input-group-addon:last-child, 141 | .input-group-btn:last-child > .dropdown-toggle, 142 | .input-group-btn:first-child > .btn:not(:first-child) { 143 | border-left: 0 none; 144 | } 145 | 146 | .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control { 147 | background-color: $light-gray; 148 | cursor: not-allowed; 149 | @include placeholder($dark-gray, 1); 150 | } 151 | 152 | .form-control[disabled]::-moz-placeholder { 153 | @include placeholder($dark-gray, 1); 154 | } 155 | 156 | .form-control[disabled]:-moz-placeholder { 157 | @include placeholder($medium-gray, 1); 158 | } 159 | 160 | .form-control[disabled]::-webkit-input-placeholder { 161 | @include placeholder($medium-gray, 1); 162 | } 163 | 164 | .form-control[disabled]:-ms-input-placeholder { 165 | @include placeholder($medium-gray, 1); 166 | } 167 | 168 | .input-group-btn .btn { 169 | border-width: $border-thin; 170 | padding: $padding-round-vertical $padding-base-horizontal; 171 | } 172 | 173 | .input-group-btn .btn-default:not(.btn-fill) { 174 | border-color: $medium-gray; 175 | } 176 | 177 | .input-group-btn:last-child > .btn { 178 | margin-left: 0; 179 | } 180 | 181 | textarea.form-control { 182 | max-width: 100%; 183 | padding: 10px 18px; 184 | resize: none; 185 | } 186 | 187 | -------------------------------------------------------------------------------- /resources/assets/js/assets/sass/paper/_cards.scss: -------------------------------------------------------------------------------- 1 | .card { 2 | border-radius: $border-radius-extreme; 3 | box-shadow: 0 2px 2px rgba(204, 197, 185, 0.5); 4 | background-color: #FFFFFF; 5 | color: $card-black-color; 6 | margin-bottom: 20px; 7 | position: relative; 8 | z-index: 1; 9 | 10 | .image { 11 | width: 100%; 12 | overflow: hidden; 13 | height: 260px; 14 | border-radius: $border-radius-extreme $border-radius-extreme 0 0; 15 | position: relative; 16 | -webkit-transform-style: preserve-3d; 17 | -moz-transform-style: preserve-3d; 18 | transform-style: preserve-3d; 19 | 20 | img { 21 | width: 100%; 22 | } 23 | } 24 | .content { 25 | padding: 15px 15px 10px 15px; 26 | } 27 | .header { 28 | padding: 20px 20px 0; 29 | } 30 | .description { 31 | font-size: $font-paragraph; 32 | color: $font-color; 33 | } 34 | 35 | h6 { 36 | font-size: $font-size-small; 37 | margin: 0; 38 | } 39 | .category, 40 | label { 41 | font-size: $font-size-base; 42 | font-weight: $font-weight-normal; 43 | color: $dark-gray; 44 | margin-bottom: 0px; 45 | i { 46 | font-size: $font-paragraph; 47 | } 48 | } 49 | 50 | label { 51 | font-size: 15px; 52 | margin-bottom: 5px; 53 | } 54 | 55 | .title { 56 | margin: $none; 57 | color: $card-black-color; 58 | font-weight: $font-weight-light; 59 | } 60 | .avatar { 61 | width: 50px; 62 | height: 50px; 63 | overflow: hidden; 64 | border-radius: 50%; 65 | margin-right: 5px; 66 | } 67 | .footer { 68 | padding: 0; 69 | line-height: 30px; 70 | 71 | .legend { 72 | padding: 5px 0; 73 | } 74 | 75 | hr { 76 | margin-top: 5px; 77 | margin-bottom: 5px; 78 | } 79 | } 80 | .stats { 81 | color: #a9a9a9; 82 | font-weight: 300; 83 | i { 84 | margin-right: 2px; 85 | min-width: 15px; 86 | display: inline-block; 87 | } 88 | } 89 | .footer div { 90 | display: inline-block; 91 | } 92 | 93 | .author { 94 | font-size: $font-size-small; 95 | font-weight: $font-weight-bold; 96 | text-transform: uppercase; 97 | } 98 | .author i { 99 | font-size: $font-size-base; 100 | } 101 | 102 | &.card-separator:after { 103 | height: 100%; 104 | right: -15px; 105 | top: 0; 106 | width: 1px; 107 | background-color: $medium-gray; 108 | content: ""; 109 | position: absolute; 110 | } 111 | 112 | .ct-chart { 113 | margin: 30px 0 30px; 114 | height: 245px; 115 | } 116 | 117 | .table { 118 | tbody td:first-child, 119 | thead th:first-child { 120 | padding-left: 15px; 121 | } 122 | 123 | tbody td:last-child, 124 | thead th:last-child { 125 | padding-right: 15px; 126 | } 127 | } 128 | 129 | .alert { 130 | border-radius: $border-radius-base; 131 | position: relative; 132 | 133 | &.alert-with-icon { 134 | padding-left: 65px; 135 | } 136 | } 137 | .icon-big { 138 | font-size: 3em; 139 | min-height: 64px; 140 | } 141 | .numbers { 142 | font-size: 2em; 143 | text-align: right; 144 | p { 145 | margin: 0; 146 | } 147 | } 148 | ul.team-members { 149 | li { 150 | padding: 10px 0px; 151 | &:not(:last-child) { 152 | border-bottom: 1px solid $medium-pale-bg; 153 | } 154 | } 155 | } 156 | } 157 | 158 | .card-user { 159 | .image { 160 | border-radius: 8px 8px 0 0; 161 | height: 150px; 162 | position: relative; 163 | overflow: hidden; 164 | 165 | img { 166 | width: 100%; 167 | } 168 | } 169 | .image-plain { 170 | height: 0; 171 | margin-top: 110px; 172 | } 173 | .author { 174 | text-align: center; 175 | text-transform: none; 176 | margin-top: -65px; 177 | .title { 178 | color: $default-states-color; 179 | small { 180 | color: $card-muted-color; 181 | } 182 | } 183 | } 184 | .avatar { 185 | width: 100px; 186 | height: 100px; 187 | border-radius: 50%; 188 | position: relative; 189 | margin-bottom: 15px; 190 | 191 | &.border-white { 192 | border: 5px solid $white-color; 193 | } 194 | &.border-gray { 195 | border: 5px solid $card-muted-color; 196 | } 197 | } 198 | .title { 199 | font-weight: 600; 200 | line-height: 24px; 201 | } 202 | .description { 203 | margin-top: 10px; 204 | } 205 | .content { 206 | min-height: 200px; 207 | } 208 | 209 | &.card-plain { 210 | .avatar { 211 | height: 190px; 212 | width: 190px; 213 | } 214 | } 215 | } 216 | 217 | .card-map { 218 | .map { 219 | height: 500px; 220 | padding-top: 20px; 221 | 222 | > div { 223 | height: 100%; 224 | } 225 | } 226 | } 227 | 228 | .card-user, 229 | .card-price { 230 | .footer { 231 | padding: 5px 15px 10px; 232 | } 233 | hr { 234 | margin: 5px 15px; 235 | } 236 | } 237 | 238 | .card-plain { 239 | background-color: transparent; 240 | box-shadow: none; 241 | border-radius: 0; 242 | 243 | .image { 244 | border-radius: 4px; 245 | } 246 | } 247 | -------------------------------------------------------------------------------- /resources/assets/js/components/Dashboard/Views/Notifications.vue: -------------------------------------------------------------------------------- 1 | 92 | 122 | 125 | -------------------------------------------------------------------------------- /resources/assets/js/components/Dashboard/Views/Overview.vue: -------------------------------------------------------------------------------- 1 | 70 | 170 | 173 | -------------------------------------------------------------------------------- /resources/assets/js/assets/sass/paper/_navbars.scss: -------------------------------------------------------------------------------- 1 | .nav { 2 | > li { 3 | > a:hover, 4 | > a:focus { 5 | background-color: transparent; 6 | } 7 | } 8 | } 9 | 10 | .navbar { 11 | border: $none; 12 | border-radius: 0; 13 | font-size: $font-size-navbar; 14 | z-index: 0; 15 | 16 | .navbar-brand { 17 | font-weight: $font-weight-bold; 18 | margin: $navbar-margin-brand; 19 | padding: $navbar-padding-brand; 20 | font-size: $font-size-large-navbar; 21 | } 22 | .navbar-nav { 23 | > li > a { 24 | line-height: 1.42857; 25 | margin: $navbar-margin-a; 26 | padding: $navbar-padding-a; 27 | 28 | i, 29 | p { 30 | display: inline-block; 31 | margin: 0; 32 | } 33 | i { 34 | position: relative; 35 | top: 1px; 36 | } 37 | } 38 | > li > a.btn { 39 | margin: $navbar-margin-a-btn; 40 | padding: $padding-base-vertical $padding-base-horizontal; 41 | } 42 | } 43 | .btn { 44 | margin: $navbar-margin-btn; 45 | font-size: $font-size-base; 46 | } 47 | .btn-simple { 48 | font-size: $font-size-medium; 49 | } 50 | } 51 | 52 | .navbar-nav > li > .dropdown-menu { 53 | border-radius: $border-radius-extreme; 54 | margin-top: -5px; 55 | } 56 | 57 | .navbar-default { 58 | background-color: $bg-nude; 59 | border-bottom: 1px solid $medium-gray; 60 | 61 | .brand { 62 | color: $font-color !important; 63 | } 64 | .navbar-nav { 65 | > li > a:not(.btn) { 66 | color: $dark-gray; 67 | } 68 | 69 | > .active > a, 70 | > .active > a:not(.btn):hover, 71 | > .active > a:not(.btn):focus, 72 | > li > a:not(.btn):hover, 73 | > li > a:not(.btn):focus { 74 | background-color: transparent; 75 | border-radius: 3px; 76 | color: $info-color; 77 | @include opacity(1); 78 | } 79 | 80 | > .dropdown > a:hover .caret, 81 | > .dropdown > a:focus .caret { 82 | border-bottom-color: $info-color; 83 | border-top-color: $info-color; 84 | 85 | } 86 | 87 | > .open > a, 88 | > .open > a:hover, 89 | > .open > a:focus { 90 | background-color: transparent; 91 | color: $info-color; 92 | } 93 | 94 | .navbar-toggle:hover, .navbar-toggle:focus { 95 | background-color: transparent; 96 | } 97 | 98 | } 99 | 100 | &:not(.navbar-transparent) .btn-default:hover { 101 | color: $info-color; 102 | border-color: $info-color; 103 | } 104 | &:not(.navbar-transparent) .btn-neutral, 105 | &:not(.navbar-transparent) .btn-neutral:hover, 106 | &:not(.navbar-transparent) .btn-neutral:active { 107 | color: $dark-gray; 108 | } 109 | } 110 | 111 | .navbar-form { 112 | @include box-shadow(none); 113 | .form-control { 114 | @include light-form(); 115 | height: 22px; 116 | font-size: $font-size-navbar; 117 | line-height: $line-height-general; 118 | color: $light-gray; 119 | } 120 | .navbar-transparent & .form-control, 121 | [class*="navbar-ct"] & .form-control { 122 | color: $white-color; 123 | border: $none; 124 | border-bottom: 1px solid rgba($white-color, .6); 125 | } 126 | 127 | } 128 | 129 | .navbar-ct-primary { 130 | @include navbar-color($bg-primary); 131 | } 132 | 133 | .navbar-ct-info { 134 | @include navbar-color($bg-info); 135 | } 136 | 137 | .navbar-ct-success { 138 | @include navbar-color($bg-success); 139 | } 140 | 141 | .navbar-ct-warning { 142 | @include navbar-color($bg-warning); 143 | } 144 | 145 | .navbar-ct-danger { 146 | @include navbar-color($bg-danger); 147 | } 148 | 149 | .navbar-transparent { 150 | padding-top: 15px; 151 | background-color: transparent; 152 | border-bottom: 1px solid transparent; 153 | } 154 | 155 | .navbar-toggle { 156 | margin-top: 19px; 157 | margin-bottom: 19px; 158 | border: $none; 159 | 160 | .icon-bar { 161 | background-color: $white-color; 162 | } 163 | .navbar-collapse, 164 | .navbar-form { 165 | border-color: transparent; 166 | } 167 | 168 | &.navbar-default .navbar-toggle:hover, 169 | &.navbar-default .navbar-toggle:focus { 170 | background-color: transparent; 171 | } 172 | } 173 | 174 | .navbar-transparent, [class*="navbar-ct"] { 175 | 176 | .navbar-brand { 177 | 178 | @include opacity(.9); 179 | 180 | &:focus, 181 | &:hover { 182 | 183 | background-color: transparent; 184 | 185 | @include opacity(1); 186 | 187 | } 188 | 189 | } 190 | 191 | .navbar-brand:not([class*="text"]) { 192 | 193 | color: $white-color; 194 | 195 | } 196 | 197 | .navbar-nav { 198 | 199 | > li > a:not(.btn) { 200 | 201 | color: $white-color; 202 | 203 | border-color: $white-color; 204 | 205 | @include opacity(0.8); 206 | 207 | } 208 | 209 | > .active > a:not(.btn), 210 | > .active > a:hover:not(.btn), 211 | > .active > a:focus:not(.btn), 212 | > li > a:hover:not(.btn), 213 | > li > a:focus:not(.btn) { 214 | 215 | background-color: transparent; 216 | 217 | border-radius: 3px; 218 | 219 | color: $white-color; 220 | 221 | @include opacity(1); 222 | 223 | } 224 | 225 | .nav > li > a.btn:hover { 226 | 227 | background-color: transparent; 228 | 229 | } 230 | 231 | > .dropdown > a .caret, 232 | > .dropdown > a:hover .caret, 233 | > .dropdown > a:focus .caret { 234 | 235 | border-bottom-color: $white-color; 236 | 237 | border-top-color: $white-color; 238 | 239 | } 240 | 241 | > .open > a, 242 | > .open > a:hover, 243 | > .open > a:focus { 244 | 245 | background-color: transparent; 246 | 247 | color: $white-color; 248 | 249 | @include opacity(1); 250 | 251 | } 252 | 253 | } 254 | 255 | .btn-default { 256 | 257 | color: $white-color; 258 | 259 | border-color: $white-color; 260 | 261 | } 262 | 263 | .btn-default.btn-fill { 264 | 265 | color: $dark-gray; 266 | 267 | background-color: $white-color; 268 | 269 | @include opacity(.9); 270 | 271 | } 272 | 273 | .btn-default.btn-fill:hover, 274 | .btn-default.btn-fill:focus, 275 | .btn-default.btn-fill:active, 276 | .btn-default.btn-fill.active, 277 | .open .dropdown-toggle.btn-fill.btn-default { 278 | 279 | border-color: $white-color; 280 | 281 | @include opacity(1); 282 | 283 | } 284 | 285 | } 286 | -------------------------------------------------------------------------------- /resources/assets/js/components/Dashboard/Views/Typography.vue: -------------------------------------------------------------------------------- 1 | 163 | 167 | 170 | -------------------------------------------------------------------------------- /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 | 'not_regex' => 'The :attribute format is invalid.', 69 | 'numeric' => 'The :attribute must be a number.', 70 | 'present' => 'The :attribute field must be present.', 71 | 'regex' => 'The :attribute format is invalid.', 72 | 'required' => 'The :attribute field is required.', 73 | 'required_if' => 'The :attribute field is required when :other is :value.', 74 | 'required_unless' => 'The :attribute field is required unless :other is in :values.', 75 | 'required_with' => 'The :attribute field is required when :values is present.', 76 | 'required_with_all' => 'The :attribute field is required when :values is present.', 77 | 'required_without' => 'The :attribute field is required when :values is not present.', 78 | 'required_without_all' => 'The :attribute field is required when none of :values are present.', 79 | 'same' => 'The :attribute and :other must match.', 80 | 'size' => [ 81 | 'numeric' => 'The :attribute must be :size.', 82 | 'file' => 'The :attribute must be :size kilobytes.', 83 | 'string' => 'The :attribute must be :size characters.', 84 | 'array' => 'The :attribute must contain :size items.', 85 | ], 86 | 'string' => 'The :attribute must be a string.', 87 | 'timezone' => 'The :attribute must be a valid zone.', 88 | 'unique' => 'The :attribute has already been taken.', 89 | 'uploaded' => 'The :attribute failed to upload.', 90 | 'url' => 'The :attribute format is invalid.', 91 | 92 | /* 93 | |-------------------------------------------------------------------------- 94 | | Custom Validation Language Lines 95 | |-------------------------------------------------------------------------- 96 | | 97 | | Here you may specify custom validation messages for attributes using the 98 | | convention "attribute.rule" to name the lines. This makes it quick to 99 | | specify a specific custom language line for a given attribute rule. 100 | | 101 | */ 102 | 103 | 'custom' => [ 104 | 'attribute-name' => [ 105 | 'rule-name' => 'custom-message', 106 | ], 107 | ], 108 | 109 | /* 110 | |-------------------------------------------------------------------------- 111 | | Custom Validation Attributes 112 | |-------------------------------------------------------------------------- 113 | | 114 | | The following language lines are used to swap attribute place-holders 115 | | with something more reader friendly such as E-Mail Address instead 116 | | of "email". This simply helps us make messages a little cleaner. 117 | | 118 | */ 119 | 120 | 'attributes' => [], 121 | 122 | ]; 123 | -------------------------------------------------------------------------------- /config/session.php: -------------------------------------------------------------------------------- 1 | env('SESSION_DRIVER', 'file'), 20 | 21 | /* 22 | |-------------------------------------------------------------------------- 23 | | Session Lifetime 24 | |-------------------------------------------------------------------------- 25 | | 26 | | Here you may specify the number of minutes that you wish the session 27 | | to be allowed to remain idle before it expires. If you want them 28 | | to immediately expire on the browser closing, set that option. 29 | | 30 | */ 31 | 32 | 'lifetime' => env('SESSION_LIFETIME', 120), 33 | 34 | 'expire_on_close' => false, 35 | 36 | /* 37 | |-------------------------------------------------------------------------- 38 | | Session Encryption 39 | |-------------------------------------------------------------------------- 40 | | 41 | | This option allows you to easily specify that all of your session data 42 | | should be encrypted before it is stored. All encryption will be run 43 | | automatically by Laravel and you can use the Session like normal. 44 | | 45 | */ 46 | 47 | 'encrypt' => false, 48 | 49 | /* 50 | |-------------------------------------------------------------------------- 51 | | Session File Location 52 | |-------------------------------------------------------------------------- 53 | | 54 | | When using the native session driver, we need a location where session 55 | | files may be stored. A default has been set for you but a different 56 | | location may be specified. This is only needed for file sessions. 57 | | 58 | */ 59 | 60 | 'files' => storage_path('framework/sessions'), 61 | 62 | /* 63 | |-------------------------------------------------------------------------- 64 | | Session Database Connection 65 | |-------------------------------------------------------------------------- 66 | | 67 | | When using the "database" or "redis" session drivers, you may specify a 68 | | connection that should be used to manage these sessions. This should 69 | | correspond to a connection in your database configuration options. 70 | | 71 | */ 72 | 73 | 'connection' => null, 74 | 75 | /* 76 | |-------------------------------------------------------------------------- 77 | | Session Database Table 78 | |-------------------------------------------------------------------------- 79 | | 80 | | When using the "database" session driver, you may specify the table we 81 | | should use to manage the sessions. Of course, a sensible default is 82 | | provided for you; however, you are free to change this as needed. 83 | | 84 | */ 85 | 86 | 'table' => 'sessions', 87 | 88 | /* 89 | |-------------------------------------------------------------------------- 90 | | Session Cache Store 91 | |-------------------------------------------------------------------------- 92 | | 93 | | When using the "apc" or "memcached" session drivers, you may specify a 94 | | cache store that should be used for these sessions. This value must 95 | | correspond with one of the application's configured cache stores. 96 | | 97 | */ 98 | 99 | 'store' => null, 100 | 101 | /* 102 | |-------------------------------------------------------------------------- 103 | | Session Sweeping Lottery 104 | |-------------------------------------------------------------------------- 105 | | 106 | | Some session drivers must manually sweep their storage location to get 107 | | rid of old sessions from storage. Here are the chances that it will 108 | | happen on a given request. By default, the odds are 2 out of 100. 109 | | 110 | */ 111 | 112 | 'lottery' => [2, 100], 113 | 114 | /* 115 | |-------------------------------------------------------------------------- 116 | | Session Cookie Name 117 | |-------------------------------------------------------------------------- 118 | | 119 | | Here you may change the name of the cookie used to identify a session 120 | | instance by ID. The name specified here will get used every time a 121 | | new session cookie is created by the framework for every driver. 122 | | 123 | */ 124 | 125 | 'cookie' => env( 126 | 'SESSION_COOKIE', 127 | str_slug(env('APP_NAME', 'laravel'), '_').'_session' 128 | ), 129 | 130 | /* 131 | |-------------------------------------------------------------------------- 132 | | Session Cookie Path 133 | |-------------------------------------------------------------------------- 134 | | 135 | | The session cookie path determines the path for which the cookie will 136 | | be regarded as available. Typically, this will be the root path of 137 | | your application but you are free to change this when necessary. 138 | | 139 | */ 140 | 141 | 'path' => '/', 142 | 143 | /* 144 | |-------------------------------------------------------------------------- 145 | | Session Cookie Domain 146 | |-------------------------------------------------------------------------- 147 | | 148 | | Here you may change the domain of the cookie used to identify a session 149 | | in your application. This will determine which domains the cookie is 150 | | available to in your application. A sensible default has been set. 151 | | 152 | */ 153 | 154 | 'domain' => env('SESSION_DOMAIN', null), 155 | 156 | /* 157 | |-------------------------------------------------------------------------- 158 | | HTTPS Only Cookies 159 | |-------------------------------------------------------------------------- 160 | | 161 | | By setting this option to true, session cookies will only be sent back 162 | | to the server if the browser has a HTTPS connection. This will keep 163 | | the cookie from being sent to you if it can not be done securely. 164 | | 165 | */ 166 | 167 | 'secure' => env('SESSION_SECURE_COOKIE', false), 168 | 169 | /* 170 | |-------------------------------------------------------------------------- 171 | | HTTP Access Only 172 | |-------------------------------------------------------------------------- 173 | | 174 | | Setting this value to true will prevent JavaScript from accessing the 175 | | value of the cookie and the cookie will only be accessible through 176 | | the HTTP protocol. You are free to modify this option if needed. 177 | | 178 | */ 179 | 180 | 'http_only' => true, 181 | 182 | /* 183 | |-------------------------------------------------------------------------- 184 | | Same-Site Cookies 185 | |-------------------------------------------------------------------------- 186 | | 187 | | This option determines how your cookies behave when cross-site requests 188 | | take place, and can be used to mitigate CSRF attacks. By default, we 189 | | do not enable this as other CSRF protection services are in place. 190 | | 191 | | Supported: "lax", "strict" 192 | | 193 | */ 194 | 195 | 'same_site' => null, 196 | 197 | ]; 198 | --------------------------------------------------------------------------------