├── public ├── favicon.ico ├── robots.txt ├── images │ ├── wink.png │ ├── default-user-bg.png │ ├── tick.svg │ ├── tick-mask.svg │ ├── buffer.svg │ └── wink.svg ├── fonts │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ ├── fontawesome-webfont.woff2 │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ ├── glyphicons-halflings-regular.woff2 │ └── weather-icons │ │ ├── WeatherIcons-Regular.otf │ │ ├── weathericons-regular-webfont.eot │ │ ├── weathericons-regular-webfont.ttf │ │ └── weathericons-regular-webfont.woff ├── .htaccess └── web.config ├── storage ├── logs │ └── .gitignore └── framework │ ├── cache │ └── .gitignore │ ├── sessions │ └── .gitignore │ └── views │ └── .gitignore ├── database ├── .gitignore ├── seeds │ ├── DatabaseSeeder.php │ ├── ConnectRelationshipsSeeder.php │ └── RolesTableSeeder.php └── migrations │ ├── 2014_10_12_100000_create_password_resets_table.php │ ├── 2016_01_15_105324_create_roles_table.php │ ├── 2016_01_26_115212_create_permissions_table.php │ ├── 2017_03_09_082526_create_activations_table.php │ ├── 2017_03_09_082449_create_social_logins_table.php │ ├── 2016_01_15_114412_create_role_user_table.php │ ├── 2017_05_20_095210_create_tasks_table.php │ ├── 2017_03_20_213554_create_themes_table.php │ ├── 2016_01_26_115523_create_permission_role_table.php │ ├── 2016_02_09_132439_create_permission_user_table.php │ ├── 2017_03_21_042918_create_profiles_table.php │ └── 2014_10_12_000000_create_users_table.php ├── bootstrap ├── cache │ └── .gitignore ├── autoload.php └── app.php ├── resources ├── views │ ├── vendor │ │ ├── laravel-log-viewer │ │ │ └── .gitkeep │ │ ├── mail │ │ │ ├── markdown │ │ │ │ ├── panel.blade.php │ │ │ │ ├── table.blade.php │ │ │ │ ├── footer.blade.php │ │ │ │ ├── promotion.blade.php │ │ │ │ ├── subcopy.blade.php │ │ │ │ ├── button.blade.php │ │ │ │ ├── header.blade.php │ │ │ │ ├── promotion │ │ │ │ │ └── button.blade.php │ │ │ │ ├── layout.blade.php │ │ │ │ └── message.blade.php │ │ │ └── html │ │ │ │ ├── table.blade.php │ │ │ │ ├── header.blade.php │ │ │ │ ├── subcopy.blade.php │ │ │ │ ├── promotion.blade.php │ │ │ │ ├── footer.blade.php │ │ │ │ ├── panel.blade.php │ │ │ │ ├── promotion │ │ │ │ └── button.blade.php │ │ │ │ ├── message.blade.php │ │ │ │ └── button.blade.php │ │ ├── pagination │ │ │ ├── simple-default.blade.php │ │ │ ├── simple-bootstrap-4.blade.php │ │ │ ├── default.blade.php │ │ │ └── bootstrap-4.blade.php │ │ └── notifications │ │ │ └── email.blade.php │ ├── emails │ │ └── exception.blade.php │ ├── pages │ │ ├── admin │ │ │ └── home.blade.php │ │ └── status.blade.php │ ├── partials │ │ ├── mdl-snackbar.blade.php │ │ ├── status.blade.php │ │ ├── errors.blade.php │ │ ├── search-bar.blade.php │ │ ├── status-panel.blade.php │ │ ├── mdl-filter.blade.php │ │ ├── mdl-search.blade.php │ │ ├── mdl-highlighter.blade.php │ │ ├── form-status-ajax.blade.php │ │ └── header-nav.blade.php │ ├── scripts │ │ ├── toggleStatus.blade.php │ │ ├── tooltips.blade.php │ │ ├── highlighter-script.blade.php │ │ ├── gmaps-address-lookup-api3.blade.php │ │ ├── mdl-required-input-fix.blade.php │ │ ├── save-modal-script.blade.php │ │ ├── delete-modal-script.blade.php │ │ ├── check-changed.blade.php │ │ ├── html5-password-match-check.blade.php │ │ ├── form-modal-script.blade.php │ │ ├── datatables.blade.php │ │ ├── mdl-file-upload.blade.php │ │ ├── filter-data-script.blade.php │ │ ├── mdl-select.blade.php │ │ └── mdl-save-ajax.blade.php │ ├── tasks │ │ └── partials │ │ │ └── edit-task.blade.php │ ├── home.blade.php │ ├── cards │ │ ├── hero-image-card.blade.php │ │ └── weather-card.blade.php │ ├── modals │ │ ├── modal-delete.blade.php │ │ ├── modal-form.blade.php │ │ └── modal-save.blade.php │ ├── auth │ │ └── exceeded.blade.php │ ├── errors │ │ ├── 403.blade.php │ │ ├── 404.blade.php │ │ ├── 503.blade.php │ │ ├── 500.blade.php │ │ └── general.blade.php │ ├── dialogs │ │ ├── dialog-save.blade.php │ │ ├── dialog-delete.blade.php │ │ └── dialog-restore.blade.php │ └── profiles │ │ └── show.blade.php ├── assets │ ├── sass │ │ ├── partials │ │ │ ├── _base.scss │ │ │ ├── _typography.scss │ │ │ └── _mixins.scss │ │ ├── components │ │ │ ├── _badges.scss │ │ │ ├── _lists.scss │ │ │ ├── _mdl-tabs.scss │ │ │ ├── weather-icons │ │ │ │ ├── weather-icons-wind.min.scss │ │ │ │ ├── weather-icons-wind.scss │ │ │ │ ├── icon-variables │ │ │ │ │ ├── variables-direction.scss │ │ │ │ │ ├── variables-time.scss │ │ │ │ │ ├── variables-beaufort.scss │ │ │ │ │ ├── variables-misc.scss │ │ │ │ │ ├── variables-wind-names.scss │ │ │ │ │ ├── variables-day.scss │ │ │ │ │ ├── variables-neutral.scss │ │ │ │ │ └── variables-night.scss │ │ │ │ ├── icon-classes │ │ │ │ │ ├── classes-wind.scss │ │ │ │ │ ├── classes-direction.scss │ │ │ │ │ ├── classes-time.scss │ │ │ │ │ ├── classes-beaufort.scss │ │ │ │ │ ├── classes-misc.scss │ │ │ │ │ ├── classes-day.scss │ │ │ │ │ └── classes-moon-aliases.scss │ │ │ │ ├── weather-icons-variables.scss │ │ │ │ ├── weather-icons-classes.scss │ │ │ │ ├── weather-icons.min.scss │ │ │ │ ├── mappings │ │ │ │ │ ├── wi-forecast-io.scss │ │ │ │ │ └── wi-wunderground.scss │ │ │ │ └── weather-icons.scss │ │ │ ├── _spinners.scss │ │ │ ├── _dialogs.scss │ │ │ ├── _social-icons.scss │ │ │ ├── _select.scss │ │ │ ├── _breadcrumbs.scss │ │ │ ├── _mdl-selectfield.scss │ │ │ ├── _material-icons.scss │ │ │ ├── _chips.scss │ │ │ ├── _inputs.scss │ │ │ ├── _labels.scss │ │ │ ├── _mdl-toggle.scss │ │ │ ├── _alerts.scss │ │ │ ├── _weather-card.scss │ │ │ ├── _mdl-color-wheel.scss │ │ │ ├── _avatar.scss │ │ │ └── _cards.scss │ │ ├── original │ │ │ ├── _badges.scss │ │ │ ├── _lists.scss │ │ │ ├── _logs.scss │ │ │ ├── _typography.scss │ │ │ ├── _mixins.scss │ │ │ ├── _helpers.scss │ │ │ ├── _panels.scss │ │ │ ├── _modals.scss │ │ │ ├── _hideShowPassword.scss │ │ │ ├── _wells.scss │ │ │ ├── _margins.scss │ │ │ ├── app.scss │ │ │ ├── _socials.scss │ │ │ └── _variables.scss │ │ ├── layouts │ │ │ ├── _auth.scss │ │ │ └── _dashboard.scss │ │ └── app.scss │ └── js │ │ ├── laravel-mdl │ │ ├── spinners.js │ │ ├── alerts.js │ │ ├── mdl-snackbars.js │ │ ├── dialogs.js │ │ └── select.js │ │ ├── components │ │ └── Example.vue │ │ └── bootstrap.js └── lang │ └── en │ ├── permsandroles.php │ ├── socials.php │ ├── pagination.php │ ├── passwords.php │ ├── titles.php │ ├── modals.php │ ├── dialogs.php │ └── emails.php ├── .gitattributes ├── config ├── debugbar.php ├── hashing.php ├── view.php └── broadcasting.php ├── tests ├── TestCase.php ├── Unit │ └── ExampleTest.php ├── Feature │ └── ExampleTest.php └── CreatesApplication.php ├── app ├── Http │ ├── Controllers │ │ ├── WelcomeController.php │ │ ├── Controller.php │ │ ├── UserController.php │ │ ├── AdminDetailsController.php │ │ └── Auth │ │ │ ├── ForgotPasswordController.php │ │ │ ├── ResetPasswordController.php │ │ │ └── LoginController.php │ ├── Middleware │ │ ├── EncryptCookies.php │ │ ├── VerifyCsrfToken.php │ │ ├── TrimStrings.php │ │ ├── RedirectIfAuthenticated.php │ │ ├── CheckCurrentUser.php │ │ └── Authenticate.php │ └── ViewComposers │ │ └── ThemeComposer.php ├── Models │ ├── Social.php │ ├── Task.php │ ├── Activation.php │ └── Profile.php ├── Providers │ ├── BroadcastServiceProvider.php │ ├── AuthServiceProvider.php │ ├── AppServiceProvider.php │ ├── MacroServiceProvider.php │ ├── EventServiceProvider.php │ ├── ComposerServiceProvider.php │ ├── LocalEnvironmentServiceProvider.php │ └── RouteServiceProvider.php ├── Traits │ ├── CaptchaTrait.php │ ├── ActivationTrait.php │ └── CaptureIpTrait.php ├── Console │ ├── Kernel.php │ └── Commands │ │ └── DeleteExpiredActivations.php ├── Logic │ ├── Macros │ │ └── HtmlMacros.php │ └── Activation │ │ └── ActivationRepository.php └── Notifications │ └── SendGoodbyeEmail.php ├── routes ├── channels.php ├── api.php └── console.php ├── .travis.yml ├── server.php ├── .gitignore ├── license.svg ├── LICENSE ├── phpunit.xml ├── webpack.mix.js ├── package.json └── artisan /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite 2 | -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /resources/views/vendor/laravel-log-viewer/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/views/emails/exception.blade.php: -------------------------------------------------------------------------------- 1 | {!! $content !!} -------------------------------------------------------------------------------- /resources/views/vendor/mail/markdown/panel.blade.php: -------------------------------------------------------------------------------- 1 | {{ $slot }} 2 | -------------------------------------------------------------------------------- /resources/views/vendor/mail/markdown/table.blade.php: -------------------------------------------------------------------------------- 1 | {{ $slot }} 2 | -------------------------------------------------------------------------------- /resources/views/pages/admin/home.blade.php: -------------------------------------------------------------------------------- 1 | @extends('pages.user.home') -------------------------------------------------------------------------------- /resources/views/vendor/mail/markdown/footer.blade.php: -------------------------------------------------------------------------------- 1 | {{ $slot }} 2 | -------------------------------------------------------------------------------- /resources/views/vendor/mail/markdown/promotion.blade.php: -------------------------------------------------------------------------------- 1 | {{ $slot }} 2 | -------------------------------------------------------------------------------- /resources/views/vendor/mail/markdown/subcopy.blade.php: -------------------------------------------------------------------------------- 1 | {{ $slot }} 2 | -------------------------------------------------------------------------------- /resources/views/vendor/mail/markdown/button.blade.php: -------------------------------------------------------------------------------- 1 | {{ $slot }}: {{ $url }} 2 | -------------------------------------------------------------------------------- /resources/views/vendor/mail/markdown/header.blade.php: -------------------------------------------------------------------------------- 1 | [{{ $slot }}]({{ $url }}) 2 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.css linguist-vendored 3 | *.scss linguist-vendored 4 | -------------------------------------------------------------------------------- /resources/views/vendor/mail/markdown/promotion/button.blade.php: -------------------------------------------------------------------------------- 1 | [{{ $slot }}]({{ $url }}) 2 | -------------------------------------------------------------------------------- /resources/assets/sass/partials/_base.scss: -------------------------------------------------------------------------------- 1 | * { 2 | font-family: Roboto; 3 | @include font-smoothing; 4 | } 5 | -------------------------------------------------------------------------------- /public/images/wink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremykenedy/laravel-material-design/HEAD/public/images/wink.png -------------------------------------------------------------------------------- /resources/views/vendor/mail/html/table.blade.php: -------------------------------------------------------------------------------- 1 |
2 | {{ Illuminate\Mail\Markdown::parse($slot) }} 3 |
4 | -------------------------------------------------------------------------------- /public/images/default-user-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremykenedy/laravel-material-design/HEAD/public/images/default-user-bg.png -------------------------------------------------------------------------------- /public/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremykenedy/laravel-material-design/HEAD/public/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /public/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremykenedy/laravel-material-design/HEAD/public/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /public/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremykenedy/laravel-material-design/HEAD/public/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /public/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremykenedy/laravel-material-design/HEAD/public/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /public/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremykenedy/laravel-material-design/HEAD/public/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /public/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremykenedy/laravel-material-design/HEAD/public/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /public/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremykenedy/laravel-material-design/HEAD/public/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /public/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremykenedy/laravel-material-design/HEAD/public/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /public/fonts/weather-icons/WeatherIcons-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremykenedy/laravel-material-design/HEAD/public/fonts/weather-icons/WeatherIcons-Regular.otf -------------------------------------------------------------------------------- /public/fonts/weather-icons/weathericons-regular-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremykenedy/laravel-material-design/HEAD/public/fonts/weather-icons/weathericons-regular-webfont.eot -------------------------------------------------------------------------------- /public/fonts/weather-icons/weathericons-regular-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremykenedy/laravel-material-design/HEAD/public/fonts/weather-icons/weathericons-regular-webfont.ttf -------------------------------------------------------------------------------- /public/fonts/weather-icons/weathericons-regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremykenedy/laravel-material-design/HEAD/public/fonts/weather-icons/weathericons-regular-webfont.woff -------------------------------------------------------------------------------- /resources/views/vendor/mail/html/header.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{ $slot }} 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /resources/assets/js/laravel-mdl/spinners.js: -------------------------------------------------------------------------------- 1 | $("form").submit(function(event) { 2 | $('#submit .mdl-spinner-text').fadeOut(1, function() { 3 | $('form .mdl-spinner').addClass('is-active'); 4 | }); 5 | }); -------------------------------------------------------------------------------- /config/debugbar.php: -------------------------------------------------------------------------------- 1 | env('DEBUG_BAR_ENVIRONMENT'), 9 | 10 | ]; 11 | -------------------------------------------------------------------------------- /public/images/tick.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/views/partials/mdl-snackbar.blade.php: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 |
-------------------------------------------------------------------------------- /resources/assets/sass/partials/_typography.scss: -------------------------------------------------------------------------------- 1 | html, body { 2 | font-family: 'Roboto', 'Helvetica', sans-serif; 3 | } 4 | 5 | h4 { 6 | 7 | line-height: 1.3em; 8 | margin: 15px 0 5px; 9 | 10 | } 11 | 12 | -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{ Illuminate\Mail\Markdown::parse($slot) }} 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /resources/assets/sass/components/_lists.scss: -------------------------------------------------------------------------------- 1 | .mdl-list__item { 2 | a { 3 | text-decoration: none; 4 | } 5 | } 6 | li { 7 | &.mdl-list__item { 8 | border-bottom: 1px solid #dddddd; 9 | &:last-child { 10 | border: none; 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /resources/lang/en/permsandroles.php: -------------------------------------------------------------------------------- 1 | 'View', 7 | 'permissionCreate' => 'Create', 8 | 'permissionEdit' => 'Edit', 9 | 'permissionDelete' => 'Delete', 10 | 11 | ]; 12 | -------------------------------------------------------------------------------- /resources/assets/sass/components/_mdl-tabs.scss: -------------------------------------------------------------------------------- 1 | .mdl-layout .mdl-tabs .mdl-tabs__panel:not(.is-active) { 2 | display: none; 3 | } 4 | .mdl-tabs .mdl-tabs__panel { 5 | min-height: 50px; 6 | } 7 | .mdl-tabs__tab-bar { 8 | margin: 0 .55em 1em; 9 | display: block; 10 | } -------------------------------------------------------------------------------- /resources/views/vendor/mail/html/promotion.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 |
4 | {{ Illuminate\Mail\Markdown::parse($slot) }} 5 |
8 | -------------------------------------------------------------------------------- /resources/views/scripts/toggleStatus.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/assets/sass/components/weather-icons/weather-icons-wind.min.scss: -------------------------------------------------------------------------------- 1 | @import "weather-icons-core.scss"; 2 | @import "icon-variables/variables-wind-names.scss"; 3 | @import "icon-classes/classes-wind.scss"; 4 | @import "icon-classes/classes-wind-degrees.scss"; 5 | @import "icon-classes/classes-wind-aliases.scss"; -------------------------------------------------------------------------------- /resources/assets/sass/components/weather-icons/weather-icons-wind.scss: -------------------------------------------------------------------------------- 1 | @import "weather-icons-core.scss"; 2 | @import "icon-variables/variables-wind-names.scss"; 3 | @import "icon-classes/classes-wind.scss"; 4 | @import "icon-classes/classes-wind-degrees.scss"; 5 | @import "icon-classes/classes-wind-aliases.scss"; -------------------------------------------------------------------------------- /resources/assets/sass/original/_badges.scss: -------------------------------------------------------------------------------- 1 | .badge { 2 | &.badge-primary { 3 | background-color: $brand-primary; 4 | } 5 | } 6 | 7 | // A Good time for an @extend 8 | .panel-default > .panel-heading { 9 | .badge { 10 | &.badge-primary { 11 | background-color: $brand-primary; 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /public/images/tick-mask.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/assets/sass/components/weather-icons/icon-variables/variables-direction.scss: -------------------------------------------------------------------------------- 1 | $direction-up: "\f058"; 2 | $direction-up-right: "\f057"; 3 | $direction-right: "\f04d"; 4 | $direction-down-right: "\f088"; 5 | $direction-down: "\f044"; 6 | $direction-down-left: "\f043"; 7 | $direction-left: "\f048"; 8 | $direction-up-left: "\f087"; -------------------------------------------------------------------------------- /resources/views/tasks/partials/edit-task.blade.php: -------------------------------------------------------------------------------- 1 | {!! Form::model($project, array('method' => 'PATCH', 'route' => ['projects.update', $project->slug], 'class' => 'form-horizontal', 'role' => 'form')) !!} 2 | @include('projects/partials/_form', array('submit_text' => 'Edit Project', 'submit_icon' => 'pencil')) 3 | {!! Form::close() !!} -------------------------------------------------------------------------------- /resources/views/scripts/tooltips.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/assets/sass/original/_lists.scss: -------------------------------------------------------------------------------- 1 | .list-group-responsive { 2 | span{ 3 | display: block; 4 | overflow-y: auto; 5 | } 6 | } 7 | 8 | .theme-details-list { 9 | strong { 10 | width: 5.5em; 11 | display: inline-block; 12 | position: absolute; 13 | } 14 | span { 15 | margin-left: 5.5em; 16 | } 17 | } -------------------------------------------------------------------------------- /resources/assets/sass/components/weather-icons/icon-variables/variables-time.scss: -------------------------------------------------------------------------------- 1 | $time-1: "\f08a"; 2 | $time-2: "\f08b"; 3 | $time-3: "\f08c"; 4 | $time-4: "\f08d"; 5 | $time-5: "\f08e"; 6 | $time-6: "\f08f"; 7 | $time-7: "\f090"; 8 | $time-8: "\f091"; 9 | $time-9: "\f092"; 10 | $time-10: "\f093"; 11 | $time-11: "\f094"; 12 | $time-12: "\f089"; -------------------------------------------------------------------------------- /resources/views/partials/status.blade.php: -------------------------------------------------------------------------------- 1 | @if(Session::has('message')) 2 |
3 | 4 | {{ Session::get('message') }} 5 |
6 | @endif -------------------------------------------------------------------------------- /tests/Unit/ExampleTest.php: -------------------------------------------------------------------------------- 1 | assertTrue(true); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /public/images/buffer.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/Http/Controllers/WelcomeController.php: -------------------------------------------------------------------------------- 1 | 13 |
14 |
15 | @include('partials.form-status') 16 |
17 |
18 | 19 | 20 | @endsection -------------------------------------------------------------------------------- /resources/views/vendor/mail/html/footer.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/Http/Middleware/EncryptCookies.php: -------------------------------------------------------------------------------- 1 | belongsTo('App\Models\User'); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /resources/views/partials/errors.blade.php: -------------------------------------------------------------------------------- 1 | @if(session()->has('errors')) 2 |
3 | 4 |

Following errors occurred:

5 | 10 |
11 | @endif -------------------------------------------------------------------------------- /app/Http/Middleware/TrimStrings.php: -------------------------------------------------------------------------------- 1 | get('/'); 17 | 18 | // $response->assertStatus(200); 19 | 20 | $response->assertStatus(302); // redirect to login screen 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /resources/assets/sass/components/_dialogs.scss: -------------------------------------------------------------------------------- 1 | .mdl-dialog { 2 | position: relative; 3 | .mdl-dialog__title { 4 | font-size: 1em; 5 | padding: .5em !important; 6 | margin: 0; 7 | } 8 | .mdl-dialog__actions>* { 9 | height: auto !important; 10 | } 11 | @media(min-width: $tablet) { 12 | width: 450px 13 | } 14 | } 15 | 16 | dialog::backdrop { 17 | position: fixed; 18 | top: 0; 19 | left: 0; 20 | right: 0; 21 | bottom: 0; 22 | background-color: rgba(0, 0, 0, 0.8); 23 | } -------------------------------------------------------------------------------- /resources/assets/sass/original/_logs.scss: -------------------------------------------------------------------------------- 1 | .logs-container { 2 | .stack { 3 | font-size: 0.85em; 4 | } 5 | .date { 6 | min-width: 75px; 7 | } 8 | .text { 9 | word-break: break-all; 10 | } 11 | a.llv-active { 12 | z-index: 2; 13 | background-color: $brand-primary; 14 | border-color: $brand-primary; 15 | color: $white; 16 | 17 | .badge { 18 | background: $white; 19 | color: $text-color; 20 | margin-top: .2em; 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /resources/views/partials/search-bar.blade.php: -------------------------------------------------------------------------------- 1 |
2 | 5 |
6 | 7 | 10 |
11 |
-------------------------------------------------------------------------------- /resources/assets/sass/components/weather-icons/weather-icons-classes.scss: -------------------------------------------------------------------------------- 1 | @import "icon-classes/classes-day.scss"; 2 | @import "icon-classes/classes-night.scss"; 3 | @import "icon-classes/classes-neutral.scss"; 4 | @import "icon-classes/classes-misc.scss"; 5 | @import "icon-classes/classes-moon.scss"; 6 | @import "icon-classes/classes-moon-aliases.scss"; 7 | @import "icon-classes/classes-time.scss"; 8 | @import "icon-classes/classes-direction.scss"; 9 | @import "icon-classes/classes-beaufort.scss"; 10 | -------------------------------------------------------------------------------- /resources/views/scripts/highlighter-script.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/Providers/BroadcastServiceProvider.php: -------------------------------------------------------------------------------- 1 | 5 |
6 |
7 |
8 |
Dashboard
9 | 10 |
11 | You are logged in! 12 |
13 |
14 |
15 |
16 | 17 | @endsection 18 | -------------------------------------------------------------------------------- /resources/views/vendor/mail/html/panel.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | 13 |
4 | 5 | 6 | 9 | 10 |
7 | {{ Illuminate\Mail\Markdown::parse($slot) }} 8 |
11 |
14 | -------------------------------------------------------------------------------- /resources/views/vendor/mail/html/promotion/button.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | 13 |
4 | 5 | 6 | 9 | 10 |
7 | {{ $slot }} 8 |
11 |
14 | -------------------------------------------------------------------------------- /resources/lang/en/socials.php: -------------------------------------------------------------------------------- 1 | 'You did not share your profile data with our social app. ', 13 | 'noProvider' => 'No such provider. ', 14 | 'registerSuccess' => 'You have successfully registered! ', 15 | 16 | ]; 17 | -------------------------------------------------------------------------------- /resources/assets/sass/original/_typography.scss: -------------------------------------------------------------------------------- 1 | .text-danger { 2 | color: $brand-danger 3 | } 4 | .text-warning { 5 | color: $brand-warning 6 | } 7 | 8 | .text-muted { 9 | color: #00b1b1; 10 | } 11 | 12 | .text-larger { 13 | font-size: 1.15em; 14 | } 15 | 16 | @media(min-width: $tablet + 1) { 17 | 18 | .text-left-tablet { 19 | text-align: left; 20 | } 21 | 22 | } 23 | 24 | 25 | 26 | // $brand-primary: #3097D1; 27 | // $brand-info: #8eb4cb; 28 | // $brand-success: #2ab27b; 29 | // $brand-warning: #cbb956; 30 | // $brand-danger: #bf5329; -------------------------------------------------------------------------------- /resources/assets/sass/original/_mixins.scss: -------------------------------------------------------------------------------- 1 | @mixin vendor($property, $value) { 2 | -webkit-#{$property}: $value; 3 | -moz-#{$property}: $value; 4 | -ms-#{$property}: $value; 5 | -o-#{$property}: $value; 6 | #{$property}: $value; 7 | } 8 | 9 | @mixin transitions() { 10 | @include vendor(transition, all $transitionSpeed ease-in-out); 11 | } 12 | 13 | @mixin transitionless() { 14 | @include vendor(transition, none); 15 | } 16 | 17 | @mixin draggless() { 18 | @include vendor(user-drag, none); 19 | @include vendor(user-select, none); 20 | } -------------------------------------------------------------------------------- /resources/assets/sass/components/weather-icons/icon-classes/classes-direction.scss: -------------------------------------------------------------------------------- 1 | .wi-direction-up:before {content: $direction-up;} 2 | .wi-direction-up-right:before {content: $direction-up-right;} 3 | .wi-direction-right:before {content: $direction-right;} 4 | .wi-direction-down-right:before {content: $direction-down-right;} 5 | .wi-direction-down:before {content: $direction-down;} 6 | .wi-direction-down-left:before {content: $direction-down-left;} 7 | .wi-direction-left:before {content: $direction-left;} 8 | .wi-direction-up-left:before {content: $direction-up-left;} -------------------------------------------------------------------------------- /resources/assets/sass/components/_social-icons.scss: -------------------------------------------------------------------------------- 1 | .social-list { 2 | text-align: center; 3 | font-size: 0; 4 | margin: 0 auto; 5 | padding: 0; 6 | li { 7 | display: inline-block; 8 | margin-right: 3%; 9 | width: 50px; 10 | height: 50px; 11 | position: relative; 12 | } 13 | li>a>svg { 14 | position: absolute; 15 | top: 20%; 16 | left: 20%; 17 | width: 60%; 18 | height: 60%; 19 | fill: black; 20 | -webkit-transition: 0.15s; 21 | transition: 0.15s; 22 | fill: rgb(158,158,158)!important; 23 | } 24 | } -------------------------------------------------------------------------------- /resources/assets/sass/components/weather-icons/icon-classes/classes-time.scss: -------------------------------------------------------------------------------- 1 | .wi-time-1:before {content: $time-1;} 2 | .wi-time-2:before {content: $time-2;} 3 | .wi-time-3:before {content: $time-3;} 4 | .wi-time-4:before {content: $time-4;} 5 | .wi-time-5:before {content: $time-5;} 6 | .wi-time-6:before {content: $time-6;} 7 | .wi-time-7:before {content: $time-7;} 8 | .wi-time-8:before {content: $time-8;} 9 | .wi-time-9:before {content: $time-9;} 10 | .wi-time-10:before {content: $time-10;} 11 | .wi-time-11:before {content: $time-11;} 12 | .wi-time-12:before {content: $time-12;} -------------------------------------------------------------------------------- /app/Models/Task.php: -------------------------------------------------------------------------------- 1 | belongsTo('App\Models\User'); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /resources/assets/sass/components/_select.scss: -------------------------------------------------------------------------------- 1 | .mdl-select { 2 | .mdl-icon-toggle__label { 3 | float: right; 4 | margin-top: -30px; 5 | color: rgba(0, 0, 0, 0.4); 6 | } 7 | &.is-focused { 8 | .mdl-icon-toggle__label { 9 | color: #3f51b5; // CHANGE OUT LATER TO THEME VARIABLE COLOR 10 | } 11 | } 12 | .mdl-menu__container { 13 | width: 100% !important; 14 | .mdl-menu .mdl-menu__item { 15 | font-size: 16px; // CHANGE OUT LATER THE THEME FRONT SIZE VARIABLE 16 | } 17 | } 18 | } 19 | .mdl-select__fullwidth { 20 | .mdl-menu { 21 | width: 100%; 22 | } 23 | } -------------------------------------------------------------------------------- /resources/views/partials/status-panel.blade.php: -------------------------------------------------------------------------------- 1 | @if(session()->has('status')) 2 | @if(session()->get('status') == 'wrong') 3 |
4 |
5 |

{{ session()->get('message') }}

6 |
7 |
8 | @else 9 |
10 |
11 |

{{ session()->get('message') }}

12 |
13 |
14 | @endif 15 | @endif -------------------------------------------------------------------------------- /tests/CreatesApplication.php: -------------------------------------------------------------------------------- 1 | make(Kernel::class)->bootstrap(); 20 | 21 | Hash::setRounds(4); 22 | 23 | return $app; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /resources/views/scripts/gmaps-address-lookup-api3.blade.php: -------------------------------------------------------------------------------- 1 | 14 | -------------------------------------------------------------------------------- /routes/channels.php: -------------------------------------------------------------------------------- 1 | id === (int) $id; 16 | }); 17 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | 3 | php: 4 | - 7.1 5 | - 7.2 6 | 7 | services: 8 | - mysql 9 | 10 | before_script: 11 | - cp .env.travis .env 12 | - mysql -u root -e 'create database laravel_material;' 13 | - composer self-update 14 | - composer install --prefer-source --no-interaction 15 | - php artisan vendor:publish --tag=laravelroles 16 | - php artisan key:generate 17 | - php artisan migrate:install --env=testing --no-interaction 18 | - composer dump-autoload 19 | - sudo chgrp -R www-data storage bootstrap/cache 20 | - sudo chmod -R ug+rwx storage bootstrap/cache 21 | -------------------------------------------------------------------------------- /resources/views/scripts/mdl-required-input-fix.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/views/partials/mdl-filter.blade.php: -------------------------------------------------------------------------------- 1 |
2 | 5 |
6 | 7 | 10 |
11 |
-------------------------------------------------------------------------------- /config/hashing.php: -------------------------------------------------------------------------------- 1 | 'bcrypt', 19 | 20 | ]; 21 | -------------------------------------------------------------------------------- /routes/api.php: -------------------------------------------------------------------------------- 1 | get('/user', function (Request $request) { 17 | // return $request->user(); 18 | // }); 19 | -------------------------------------------------------------------------------- /server.php: -------------------------------------------------------------------------------- 1 | 7 | */ 8 | $uri = urldecode( 9 | parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) 10 | ); 11 | 12 | // This file allows us to emulate Apache's "mod_rewrite" functionality from the 13 | // built-in PHP web server. This provides a convenient way to test a Laravel 14 | // application without having installed a "real" web server software here. 15 | if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) { 16 | return false; 17 | } 18 | 19 | require_once __DIR__.'/public/index.php'; 20 | -------------------------------------------------------------------------------- /app/Traits/CaptchaTrait.php: -------------------------------------------------------------------------------- 1 | verify($response, $remoteip); 18 | 19 | if ($resp->isSuccess()) { 20 | return true; 21 | } 22 | 23 | return false; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /routes/console.php: -------------------------------------------------------------------------------- 1 | comment(Inspiring::quote()); 18 | })->describe('Display an inspiring quote'); 19 | -------------------------------------------------------------------------------- /bootstrap/autoload.php: -------------------------------------------------------------------------------- 1 | '« Previous', 17 | 'next' => 'Next »', 18 | 19 | ]; 20 | -------------------------------------------------------------------------------- /public/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | 3 | Options -MultiViews 4 | 5 | 6 | RewriteEngine On 7 | 8 | # Redirect Trailing Slashes If Not A Folder... 9 | RewriteCond %{REQUEST_FILENAME} !-d 10 | RewriteRule ^(.*)/$ /$1 [L,R=301] 11 | 12 | # Handle Front Controller... 13 | RewriteCond %{REQUEST_FILENAME} !-d 14 | RewriteCond %{REQUEST_FILENAME} !-f 15 | RewriteRule ^ index.php [L] 16 | 17 | # Handle Authorization Header 18 | RewriteCond %{HTTP:Authorization} . 19 | RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] 20 | 21 | -------------------------------------------------------------------------------- /resources/assets/sass/layouts/_auth.scss: -------------------------------------------------------------------------------- 1 | .mdl-layout { 2 | 3 | // Login, Reset, and Register Form Layouts 4 | &.mdl-auth-form { 5 | display: block; 6 | align-items: center; 7 | justify-content: center; 8 | margin: 0 auto; 9 | .mdl-layout__content { 10 | padding: .5em; 11 | } 12 | .mdl-layout__content_auth { 13 | width: 330px; 14 | margin: 1em auto; 15 | } 16 | 17 | @media(min-width: $phone) { 18 | .mdl-layout__content_auth { 19 | margin: 2em auto; 20 | } 21 | } 22 | @media(min-width: $tablet) { 23 | .mdl-layout__content_auth { 24 | margin: 4em auto 2em; 25 | } 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /resources/assets/sass/components/weather-icons/icon-variables/variables-misc.scss: -------------------------------------------------------------------------------- 1 | $alien: "\f075"; 2 | $celsius: "\f03c"; 3 | $fahrenheit: "\f045"; 4 | $degrees: "\f042"; 5 | $thermometer: "\f055"; 6 | $thermometer-exterior: "\f053"; 7 | $thermometer-internal: "\f054"; 8 | $cloud-down: "\f03d"; 9 | $cloud-up: "\f040"; 10 | $cloud-refresh: "\f03e"; 11 | $horizon: "\f047"; 12 | $horizon-alt: "\f046"; 13 | $sunrise: "\f051"; 14 | $sunset: "\f052"; 15 | $moonrise: "\f0c9"; 16 | $moonset: "\f0ca"; 17 | $refresh: "\f04c"; 18 | $refresh-alt: "\f04b"; 19 | $umbrella: "\f084"; 20 | $barometer: "\f079"; 21 | $humidity: "\f07a"; 22 | $na: "\f07b"; 23 | $train: "\f0cb"; -------------------------------------------------------------------------------- /resources/views/partials/mdl-search.blade.php: -------------------------------------------------------------------------------- 1 |
2 | 6 |
7 | 8 | 11 |
12 |
-------------------------------------------------------------------------------- /resources/views/scripts/save-modal-script.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /database/seeds/DatabaseSeeder.php: -------------------------------------------------------------------------------- 1 | call(PermissionsTableSeeder::class); 18 | $this->call(RolesTableSeeder::class); 19 | $this->call(ConnectRelationshipsSeeder::class); 20 | $this->call(ThemesTableSeeder::class); 21 | $this->call(UsersTableSeeder::class); 22 | 23 | Model::reguard(); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /resources/views/scripts/delete-modal-script.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/assets/sass/components/weather-icons/icon-variables/variables-wind-names.scss: -------------------------------------------------------------------------------- 1 | $n: "\f0b1"; 2 | $nne: "\f0b1"; 3 | $ne: "\f0b1"; 4 | $ene: "\f0b1"; 5 | $e: "\f0b1"; 6 | $ese: "\f0b1"; 7 | $se: "\f0b1"; 8 | $sse: "\f0b1"; 9 | $s: "\f0b1"; 10 | $ssw: "\f0b1"; 11 | $sw: "\f0b1"; 12 | $wsw: "\f0b1"; 13 | $w: "\f0b1"; 14 | $wnw: "\f0b1"; 15 | $nw: "\f0b1"; 16 | $nnw: "\f0b1"; 17 | $n: "\f0b1"; 18 | $nne: "\f0b1"; 19 | $ne: "\f0b1"; 20 | $ene: "\f0b1"; 21 | $e: "\f0b1"; 22 | $ese: "\f0b1"; 23 | $se: "\f0b1"; 24 | $sse: "\f0b1"; 25 | $s: "\f0b1"; 26 | $ssw: "\f0b1"; 27 | $sw: "\f0b1"; 28 | $wsw: "\f0b1"; 29 | $w: "\f0b1"; 30 | $wnw: "\f0b1"; 31 | $nw: "\f0b1"; 32 | $nnw: "\f0b1"; -------------------------------------------------------------------------------- /resources/assets/sass/components/_breadcrumbs.scss: -------------------------------------------------------------------------------- 1 | // BREADCRUMBS 2 | .breadcrumb { 3 | width: 100%; 4 | padding: 1em 3em; 5 | ul { 6 | list-style: none; 7 | margin: 0; 8 | padding: 0; 9 | li { 10 | padding: 0; 11 | margin: 0; 12 | line-height: 1; 13 | display: inline-block; 14 | &.active { 15 | a { 16 | @include disable-link(); 17 | color: darken($theme_color1, 100%); 18 | } 19 | } 20 | } 21 | } 22 | a { 23 | text-decoration: none; 24 | } 25 | .material-icons { 26 | padding: 0 10px; 27 | color: #E9A7A1; 28 | line-height: 1; 29 | vertical-align: -6px; 30 | } 31 | } -------------------------------------------------------------------------------- /resources/assets/sass/original/_helpers.scss: -------------------------------------------------------------------------------- 1 | .no-padding { 2 | padding: 0; 3 | } 4 | 5 | .start-hidden { 6 | display: none; 7 | } 8 | 9 | .no-shadow { 10 | @include vendor(box-shadow, none !important); 11 | @include vendor(outline, none !important); 12 | -webkit-appearance: none !important; 13 | } 14 | 15 | .border-bottom { 16 | border-bottom:1px #f8f8f8 solid; 17 | margin:5px 0 5px 0; 18 | } 19 | 20 | .border-radius { 21 | @include vendor(border-radius, $standard-radius); 22 | } 23 | 24 | @media(max-width: $mq-tiny) { 25 | .hidden-xxxs { 26 | display: none; 27 | } 28 | } 29 | 30 | @media(max-width: $phone) { 31 | .hidden-xxs { 32 | display: none; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ### OSX BOOGERS ### 2 | .DS_Store 3 | *._DS_Store 4 | ._.DS_Store 5 | *._ 6 | ._* 7 | ._.* 8 | 9 | ### WINDOWS BOOGERS ### 10 | Thumbs.db 11 | 12 | ### Sass ### 13 | #bower_components/* 14 | /.sass-cache/* 15 | .sass-cache 16 | 17 | ### SUBLIMETEXT BOOGERS ### 18 | *.sublime-workspace 19 | /.phpintel/* 20 | .phpintel 21 | 22 | ### PHPSTORM BOOGERS ### 23 | .idea/* 24 | /.idea/* 25 | 26 | ### DIFFERENT TYPE OF MASTER CONFIGS ### 27 | .env 28 | composer.lock 29 | 30 | ### ASSET EXCLUSIONS ### 31 | /node_modules 32 | /public/storage 33 | /storage/*.key 34 | /vendor 35 | Homestead.yaml 36 | Homestead.json 37 | /storage/debugbar 38 | /storage/framework 39 | /storage/logs 40 | /storage/users -------------------------------------------------------------------------------- /app/Providers/AuthServiceProvider.php: -------------------------------------------------------------------------------- 1 | 'App\Policies\ModelPolicy', 16 | ]; 17 | 18 | /** 19 | * Register any authentication / authorization services. 20 | * 21 | * @return void 22 | */ 23 | public function boot() 24 | { 25 | $this->registerPolicies(); 26 | 27 | // 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /resources/assets/js/components/Example.vue: -------------------------------------------------------------------------------- 1 | 16 | 17 | 24 | -------------------------------------------------------------------------------- /app/Http/Middleware/RedirectIfAuthenticated.php: -------------------------------------------------------------------------------- 1 | check()) { 22 | return redirect('/home'); 23 | } 24 | 25 | return $next($request); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /resources/views/scripts/check-changed.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/Providers/AppServiceProvider.php: -------------------------------------------------------------------------------- 1 | 2 | 6 |
7 | 8 | 11 |
12 | -------------------------------------------------------------------------------- /app/Models/Activation.php: -------------------------------------------------------------------------------- 1 | belongsTo(User::class); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /license.svg: -------------------------------------------------------------------------------- 1 | licenselicenseMITMIT -------------------------------------------------------------------------------- /app/Http/Controllers/UserController.php: -------------------------------------------------------------------------------- 1 | middleware('auth'); 17 | } 18 | 19 | /** 20 | * Show the application dashboard. 21 | * 22 | * @return \Illuminate\Http\Response 23 | */ 24 | public function index() 25 | { 26 | $user = Auth::user(); 27 | 28 | if ($user->isAdmin()) { 29 | return view('pages.admin.home'); 30 | } 31 | 32 | return view('pages.user.home'); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /app/Providers/MacroServiceProvider.php: -------------------------------------------------------------------------------- 1 | hasPages()) 2 | 17 | @endif 18 | -------------------------------------------------------------------------------- /resources/assets/sass/components/weather-icons/icon-variables/variables-day.scss: -------------------------------------------------------------------------------- 1 | $day-sunny: "\f00d"; 2 | $day-cloudy: "\f002"; 3 | $day-cloudy-gusts: "\f000"; 4 | $day-cloudy-windy: "\f001"; 5 | $day-fog: "\f003"; 6 | $day-hail: "\f004"; 7 | $day-haze: "\f0b6"; 8 | $day-lightning: "\f005"; 9 | $day-rain: "\f008"; 10 | $day-rain-mix: "\f006"; 11 | $day-rain-wind: "\f007"; 12 | $day-showers: "\f009"; 13 | $day-sleet: "\f0b2"; 14 | $day-sleet-storm: "\f068"; 15 | $day-snow: "\f00a"; 16 | $day-snow-thunderstorm: "\f06b"; 17 | $day-snow-wind: "\f065"; 18 | $day-sprinkle: "\f00b"; 19 | $day-storm-showers: "\f00e"; 20 | $day-sunny-overcast: "\f00c"; 21 | $day-thunderstorm: "\f010"; 22 | $day-windy: "\f085"; 23 | $solar-eclipse: "\f06e"; 24 | $hot: "\f072"; 25 | $day-cloudy-high: "\f07d"; 26 | $day-light-wind: "\f0c4"; -------------------------------------------------------------------------------- /resources/views/vendor/mail/markdown/message.blade.php: -------------------------------------------------------------------------------- 1 | @component('mail::layout') 2 | {{-- Header --}} 3 | @slot('header') 4 | @component('mail::header', ['url' => config('app.url')]) 5 | {{ config('app.name') }} 6 | @endcomponent 7 | @endslot 8 | 9 | {{-- Body --}} 10 | {{ $slot }} 11 | 12 | {{-- Subcopy --}} 13 | @if (isset($subcopy)) 14 | @slot('subcopy') 15 | @component('mail::subcopy') 16 | {{ $subcopy }} 17 | @endcomponent 18 | @endslot 19 | @endif 20 | 21 | {{-- Footer --}} 22 | @slot('footer') 23 | @component('mail::footer') 24 | © {{ date('Y') }} {{ config('app.name') }}. All rights reserved. 25 | @endcomponent 26 | @endslot 27 | @endcomponent 28 | -------------------------------------------------------------------------------- /resources/views/vendor/mail/html/message.blade.php: -------------------------------------------------------------------------------- 1 | @component('mail::layout') 2 | {{-- Header --}} 3 | @slot('header') 4 | @component('mail::header', ['url' => config('app.url')]) 5 | {{ config('app.name') }} 6 | @endcomponent 7 | @endslot 8 | 9 | {{-- Body --}} 10 | {{ $slot }} 11 | 12 | {{-- Subcopy --}} 13 | @if (isset($subcopy)) 14 | @slot('subcopy') 15 | @component('mail::subcopy') 16 | {{ $subcopy }} 17 | @endcomponent 18 | @endslot 19 | @endif 20 | 21 | {{-- Footer --}} 22 | @slot('footer') 23 | @component('mail::footer') 24 | © {{ date('Y') }} {{ config('app.name') }}. All rights reserved. 25 | @endcomponent 26 | @endslot 27 | @endcomponent 28 | -------------------------------------------------------------------------------- /database/seeds/ConnectRelationshipsSeeder.php: -------------------------------------------------------------------------------- 1 | first(); 26 | foreach ($permissions as $permission) { 27 | $roleAdmin->attachPermission($permission); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /resources/views/cards/hero-image-card.blade.php: -------------------------------------------------------------------------------- 1 |
2 |
profile->user_profile_bg != NULL) style="background: url('{{Auth::user()->profile->user_profile_bg}}') center/cover;" @endif> 3 |

Updates

4 |
5 |
6 | Non dolore elit adipisicing ea reprehenderit consectetur culpa. 7 |
8 |
9 | Read More 10 |
11 |
-------------------------------------------------------------------------------- /resources/assets/sass/components/weather-icons/icon-classes/classes-beaufort.scss: -------------------------------------------------------------------------------- 1 | .wi-wind-beaufort-0:before {content: $wind-beaufort-0;} 2 | .wi-wind-beaufort-1:before {content: $wind-beaufort-1;} 3 | .wi-wind-beaufort-2:before {content: $wind-beaufort-2;} 4 | .wi-wind-beaufort-3:before {content: $wind-beaufort-3;} 5 | .wi-wind-beaufort-4:before {content: $wind-beaufort-4;} 6 | .wi-wind-beaufort-5:before {content: $wind-beaufort-5;} 7 | .wi-wind-beaufort-6:before {content: $wind-beaufort-6;} 8 | .wi-wind-beaufort-7:before {content: $wind-beaufort-7;} 9 | .wi-wind-beaufort-8:before {content: $wind-beaufort-8;} 10 | .wi-wind-beaufort-9:before {content: $wind-beaufort-9;} 11 | .wi-wind-beaufort-10:before {content: $wind-beaufort-10;} 12 | .wi-wind-beaufort-11:before {content: $wind-beaufort-11;} 13 | .wi-wind-beaufort-12:before {content: $wind-beaufort-12;} -------------------------------------------------------------------------------- /resources/views/vendor/mail/html/button.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 18 | 19 |
4 | 5 | 6 | 15 | 16 |
7 | 8 | 9 | 12 | 13 |
10 | {{ $slot }} 11 |
14 |
17 |
20 | -------------------------------------------------------------------------------- /resources/assets/js/laravel-mdl/mdl-snackbars.js: -------------------------------------------------------------------------------- 1 | function mdl_snackbar(args) { 2 | 3 | args.msg = args.msg || 'SnackBar Activated'; 4 | args.timeout = args.timout || 2000; 5 | args.snackBarTrigger = document.querySelector(args.snackBarTrigger) || document.querySelector('.mdl-snackbar-trigger'); 6 | args.actionText = args.actionText || ''; 7 | args.actionHandler = args.actionHandler || ''; 8 | 9 | var snackbarContainer = document.querySelector('.mdl-snackbar'); 10 | var snackBarActions = document.querySelector('.mdl-snackbar__action'); 11 | 12 | args.snackBarTrigger.addEventListener('click', function() { 13 | var data = { 14 | message: args.msg, 15 | timeout: args.timeout, 16 | actionHandler: args.actionHandler, 17 | actionText: args.actionText 18 | }; 19 | snackbarContainer.MaterialSnackbar.showSnackbar(data); 20 | }); 21 | 22 | } -------------------------------------------------------------------------------- /resources/assets/sass/components/_mdl-selectfield.scss: -------------------------------------------------------------------------------- 1 | .mdl-selectfield { 2 | position: relative; 3 | font-size: 16px; 4 | display: inline-block; 5 | box-sizing: border-box; 6 | width: 300px; 7 | max-width: 100%; 8 | margin: 0; 9 | padding: 20px 0 10 | } 11 | .mdl-selectfield--align-right { 12 | text-align: right 13 | } 14 | .mdl-selectfield--full-width { 15 | width: 100% 16 | } 17 | .mdl-selectfield__select { 18 | display: block; 19 | width: 100%; 20 | padding: 4px 0; 21 | margin: 0; 22 | color: inherit; 23 | background: transparent; 24 | font-size: 16px; 25 | text-align: left; 26 | color: inherit; 27 | border: none; 28 | border-bottom: 1px solid rgba(0, 0, 0, 0.12); 29 | border-radius: 0; 30 | -webkit-appearance: none; 31 | -moz-appearance: none; 32 | appearance: none 33 | } -------------------------------------------------------------------------------- /app/Traits/ActivationTrait.php: -------------------------------------------------------------------------------- 1 | validateEmail($user)) { 14 | return true; 15 | } 16 | 17 | $activationRepostory = new ActivationRepository(); 18 | $activationRepostory->createTokenAndSendEmail($user); 19 | } 20 | 21 | protected function validateEmail(User $user) 22 | { 23 | $validator = Validator::make(['email' => $user->email], ['email' => 'required|email']); 24 | 25 | if ($validator->fails()) { 26 | return false; 27 | } 28 | 29 | return true; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /resources/views/scripts/html5-password-match-check.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/views/vendor/pagination/simple-bootstrap-4.blade.php: -------------------------------------------------------------------------------- 1 | @if ($paginator->hasPages()) 2 | 17 | @endif 18 | -------------------------------------------------------------------------------- /resources/views/scripts/form-modal-script.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/Http/Controllers/AdminDetailsController.php: -------------------------------------------------------------------------------- 1 | middleware('auth'); 17 | } 18 | 19 | /** 20 | * Display a listing of the resource. 21 | * 22 | * @return \Illuminate\Http\Response 23 | */ 24 | public function listRoutes() 25 | { 26 | $routes = Route::getRoutes(); 27 | $data = [ 28 | 'routes' => $routes, 29 | ]; 30 | 31 | return view('pages.admin.route-details', $data); 32 | } 33 | 34 | public function listPHPInfo() 35 | { 36 | return view('pages.admin.php-details'); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /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_100000_create_password_resets_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 18 | $table->string('email')->index(); 19 | $table->string('token')->index(); 20 | $table->timestamp('created_at')->nullable(); 21 | }); 22 | } 23 | 24 | /** 25 | * Reverse the migrations. 26 | * 27 | * @return void 28 | */ 29 | public function down() 30 | { 31 | Schema::dropIfExists('password_resets'); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /resources/views/partials/form-status-ajax.blade.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | 20 | 21 | -------------------------------------------------------------------------------- /database/migrations/2016_01_15_105324_create_roles_table.php: -------------------------------------------------------------------------------- 1 | increments('id')->unsigned(); 17 | $table->string('name'); 18 | $table->string('slug')->unique(); 19 | $table->string('description')->nullable(); 20 | $table->integer('level')->default(1); 21 | $table->timestamps(); 22 | }); 23 | } 24 | 25 | /** 26 | * Reverse the migrations. 27 | * 28 | * @return void 29 | */ 30 | public function down() 31 | { 32 | Schema::dropIfExists('roles'); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /database/migrations/2016_01_26_115212_create_permissions_table.php: -------------------------------------------------------------------------------- 1 | increments('id')->unsigned(); 17 | $table->string('name'); 18 | $table->string('slug')->unique(); 19 | $table->string('description')->nullable(); 20 | $table->string('model')->nullable(); 21 | $table->timestamps(); 22 | }); 23 | } 24 | 25 | /** 26 | * Reverse the migrations. 27 | * 28 | * @return void 29 | */ 30 | public function down() 31 | { 32 | Schema::dropIfExists('permissions'); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /app/Http/Middleware/CheckCurrentUser.php: -------------------------------------------------------------------------------- 1 | user()) { 24 | abort(403, 'Unauthorized action.'); 25 | } 26 | 27 | return $next($request); 28 | } 29 | 30 | public function terminate($request, $response) 31 | { 32 | $user = Auth::user(); 33 | $currentRoute = Route::currentRouteName(); 34 | Log::info('CheckCurrentUser middlware was used: '.$currentRoute.'. ', [$user]); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /app/Traits/CaptureIpTrait.php: -------------------------------------------------------------------------------- 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 | -------------------------------------------------------------------------------- /app/Http/ViewComposers/ThemeComposer.php: -------------------------------------------------------------------------------- 1 | user = Auth::user(); 17 | } 18 | 19 | /** 20 | * Bind data to the view. 21 | * 22 | * @param View $view 23 | * 24 | * @return void 25 | */ 26 | public function compose(View $view) 27 | { 28 | $theme = null; 29 | 30 | if (Auth::check()) { 31 | $user = $this->user; 32 | 33 | if ($user->profile) { 34 | $theme = Theme::find($user->profile->theme_id); 35 | 36 | if ($theme->status == 0) { 37 | $theme = Theme::find(1); 38 | } 39 | } 40 | } 41 | 42 | $view->with('theme', $theme); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /resources/views/scripts/datatables.blade.php: -------------------------------------------------------------------------------- 1 | {{-- FYI: Datatables do not support colspan or rowpan --}} 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /database/migrations/2017_03_09_082526_create_activations_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 18 | $table->integer('user_id')->unsigned()->index(); 19 | $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade'); 20 | $table->string('token'); 21 | $table->ipAddress('ip_address'); 22 | $table->timestamps(); 23 | }); 24 | } 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | Schema::dropIfExists('activations'); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /resources/assets/sass/components/weather-icons/weather-icons.min.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Weather Icons 2.0.8 3 | * Updated September 19, 2015 4 | * Weather themed icons for Bootstrap 5 | * Author - Erik Flowers - erik@helloerik.com 6 | * Email: erik@helloerik.com 7 | * Twitter: http://twitter.com/Erik_UX 8 | * ------------------------------------------------------------------------------ 9 | * Maintained at http://erikflowers.github.io/weather-icons 10 | * 11 | * License 12 | * ------------------------------------------------------------------------------ 13 | * - Font licensed under SIL OFL 1.1 - 14 | * http://scripts.sil.org/OFL 15 | * - CSS, SCSS and LESS are licensed under MIT License - 16 | * http://opensource.org/licenses/mit-license.html 17 | * - Documentation licensed under CC BY 3.0 - 18 | * http://creativecommons.org/licenses/by/3.0/ 19 | * - Inspired by and works great as a companion with Font Awesome 20 | * "Font Awesome by Dave Gandy - http://fontawesome.io" 21 | */ 22 | 23 | @import 'weather-icons.scss'; -------------------------------------------------------------------------------- /resources/views/modals/modal-delete.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /database/migrations/2017_03_09_082449_create_social_logins_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 18 | $table->integer('user_id')->unsigned()->index(); 19 | $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade'); 20 | $table->string('provider', 50); 21 | $table->text('social_id'); 22 | $table->timestamps(); 23 | }); 24 | } 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | Schema::dropIfExists('social_logins'); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /resources/assets/sass/components/weather-icons/icon-variables/variables-neutral.scss: -------------------------------------------------------------------------------- 1 | $cloud: "\f041"; 2 | $cloudy: "\f013"; 3 | $cloudy-gusts: "\f011"; 4 | $cloudy-windy: "\f012"; 5 | $fog: "\f014"; 6 | $hail: "\f015"; 7 | $rain: "\f019"; 8 | $rain-mix: "\f017"; 9 | $rain-wind: "\f018"; 10 | $showers: "\f01a"; 11 | $sleet: "\f0b5"; 12 | $snow: "\f01b"; 13 | $sprinkle: "\f01c"; 14 | $storm-showers: "\f01d"; 15 | $thunderstorm: "\f01e"; 16 | $snow-wind: "\f064"; 17 | $snow: "\f01b"; 18 | $smog: "\f074"; 19 | $smoke: "\f062"; 20 | $lightning: "\f016"; 21 | $raindrops: "\f04e"; 22 | $raindrop: "\f078"; 23 | $dust: "\f063"; 24 | $snowflake-cold: "\f076"; 25 | $windy: "\f021"; 26 | $strong-wind: "\f050"; 27 | $sandstorm: "\f082"; 28 | $earthquake: "\f0c6"; 29 | $fire: "\f0c7"; 30 | $flood: "\f07c"; 31 | $meteor: "\f071"; 32 | $tsunami: "\f0c5"; 33 | $volcano: "\f0c8"; 34 | $hurricane: "\f073"; 35 | $tornado: "\f056"; 36 | $small-craft-advisory: "\f0cc"; 37 | $gale-warning: "\f0cd"; 38 | $storm-warning: "\f0ce"; 39 | $hurricane-warning: "\f0cf"; 40 | $wind-direction: "\f0b1"; -------------------------------------------------------------------------------- /resources/assets/sass/original/_panels.scss: -------------------------------------------------------------------------------- 1 | .panel-primary { 2 | border-color: $brand-primary; 3 | > .panel-heading { 4 | color: $white; 5 | background-color: $brand-primary; 6 | border-color: $brand-primary; 7 | } 8 | } 9 | 10 | .panel-info { 11 | border-color: $brand-info; 12 | > .panel-heading { 13 | color: $white; 14 | background-color: $brand-info; 15 | border-color: $brand-info; 16 | } 17 | } 18 | 19 | .panel-success { 20 | border-color: $brand-success; 21 | > .panel-heading { 22 | color: $white; 23 | background-color: $brand-success; 24 | border-color: $brand-success; 25 | } 26 | } 27 | 28 | .panel-warning { 29 | border-color: $brand-warning; 30 | > .panel-heading { 31 | color: $white; 32 | background-color: $brand-warning; 33 | border-color: $brand-warning; 34 | } 35 | } 36 | 37 | .panel-danger { 38 | border-color: $brand-danger; 39 | > .panel-heading { 40 | color: $white; 41 | background-color: $brand-danger; 42 | border-color: $brand-danger; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /database/migrations/2016_01_15_114412_create_role_user_table.php: -------------------------------------------------------------------------------- 1 | increments('id')->unsigned(); 17 | $table->integer('role_id')->unsigned()->index(); 18 | $table->foreign('role_id')->references('id')->on('roles')->onDelete('cascade'); 19 | $table->integer('user_id')->unsigned()->index(); 20 | $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade'); 21 | $table->timestamps(); 22 | }); 23 | } 24 | 25 | /** 26 | * Reverse the migrations. 27 | * 28 | * @return void 29 | */ 30 | public function down() 31 | { 32 | Schema::dropIfExists('role_user'); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /database/migrations/2017_05_20_095210_create_tasks_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 18 | $table->integer('user_id')->unsigned(); 19 | $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade'); 20 | $table->string('name'); 21 | $table->text('description')->nullable(); 22 | $table->boolean('completed')->default(false); 23 | $table->timestamps(); 24 | }); 25 | } 26 | 27 | /** 28 | * Reverse the migrations. 29 | * 30 | * @return void 31 | */ 32 | public function down() 33 | { 34 | Schema::dropIfExists('tasks'); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /database/migrations/2017_03_20_213554_create_themes_table.php: -------------------------------------------------------------------------------- 1 | increments('id')->index(); 18 | $table->string('name')->index()->unique(); 19 | $table->string('link')->unique(); 20 | $table->string('notes')->nullable(); 21 | $table->boolean('status')->default(1); 22 | $table->morphs('taggable'); 23 | $table->timestamps(); 24 | $table->softDeletes(); 25 | }); 26 | } 27 | 28 | /** 29 | * Reverse the migrations. 30 | * 31 | * @return void 32 | */ 33 | public function down() 34 | { 35 | Schema::dropIfExists('themes'); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /app/Console/Kernel.php: -------------------------------------------------------------------------------- 1 | command('inspire') 29 | // ->hourly(); 30 | 31 | $schedule->command('activations:clean') 32 | ->daily(); 33 | } 34 | 35 | /** 36 | * Register the Closure based commands for the application. 37 | * 38 | * @return void 39 | */ 40 | protected function commands() 41 | { 42 | require base_path('routes/console.php'); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /resources/assets/sass/partials/_mixins.scss: -------------------------------------------------------------------------------- 1 | // VENDOR PREFIXING MIXIN 2 | @mixin vendor($property, $value) { 3 | -webkit-#{$property}: $value; 4 | -moz-#{$property}: $value; 5 | -ms-#{$property}: $value; 6 | -o-#{$property}: $value; 7 | #{$property}: $value; 8 | } 9 | // MAKE IMAGES NOT DRAGGABLE WITH CSS 10 | @mixin draggless() { 11 | -moz-user-select: none; 12 | -webkit-user-select: none; 13 | -ms-user-select: none; 14 | -webkit-user-drag: none; 15 | -webkit-touch-callout: none; 16 | @include vendor(user-drag, none); 17 | @include vendor(user-select, none); 18 | } 19 | // FONT SMOOTHING WITH CSS 20 | @mixin font-smoothing() { 21 | -webkit-font-smoothing: antialiased; 22 | text-rendering: optimizeLegibility; 23 | -moz-osx-font-smoothing: grayscale; 24 | } 25 | // DISABLE ANCHOR WITH CSS 26 | @mixin disable-link() { 27 | pointer-events: none; 28 | cursor: default; 29 | } 30 | 31 | // Transitions 32 | @mixin transitions() { 33 | @include vendor(transition, all $transitionSpeed ease-in-out); 34 | } 35 | 36 | @mixin transitionless() { 37 | @include vendor(transition, none); 38 | } -------------------------------------------------------------------------------- /database/migrations/2016_01_26_115523_create_permission_role_table.php: -------------------------------------------------------------------------------- 1 | increments('id')->unsigned(); 17 | $table->integer('permission_id')->unsigned()->index(); 18 | $table->foreign('permission_id')->references('id')->on('permissions')->onDelete('cascade'); 19 | $table->integer('role_id')->unsigned()->index(); 20 | $table->foreign('role_id')->references('id')->on('roles')->onDelete('cascade'); 21 | $table->timestamps(); 22 | }); 23 | } 24 | 25 | /** 26 | * Reverse the migrations. 27 | * 28 | * @return void 29 | */ 30 | public function down() 31 | { 32 | Schema::dropIfExists('permission_role'); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /database/migrations/2016_02_09_132439_create_permission_user_table.php: -------------------------------------------------------------------------------- 1 | increments('id')->unsigned(); 17 | $table->integer('permission_id')->unsigned()->index(); 18 | $table->foreign('permission_id')->references('id')->on('permissions')->onDelete('cascade'); 19 | $table->integer('user_id')->unsigned()->index(); 20 | $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade'); 21 | $table->timestamps(); 22 | }); 23 | } 24 | 25 | /** 26 | * Reverse the migrations. 27 | * 28 | * @return void 29 | */ 30 | public function down() 31 | { 32 | Schema::dropIfExists('permission_user'); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /resources/assets/sass/components/_material-icons.scss: -------------------------------------------------------------------------------- 1 | // BASE RULES 2 | .material-icons { 3 | font-family: 'Material Icons'; 4 | font-weight: normal; 5 | font-style: normal; 6 | font-size: 24px; /* Preferred icon size */ 7 | display: inline-block; 8 | line-height: 1; 9 | text-transform: none; 10 | letter-spacing: normal; 11 | word-wrap: normal; 12 | white-space: nowrap; 13 | direction: ltr; 14 | -webkit-font-smoothing: antialiased; 15 | text-rendering: optimizeLegibility; 16 | -moz-osx-font-smoothing: grayscale; 17 | font-feature-settings: 'liga'; 18 | } 19 | 20 | // ICON SIZING RULES 21 | .material-icons.md-18 { font-size: 18px; } 22 | .material-icons.md-24 { font-size: 24px; } 23 | .material-icons.md-36 { font-size: 36px; } 24 | .material-icons.md-48 { font-size: 48px; } 25 | 26 | // ICON BACKGROUND AND COLOR RULES 27 | .material-icons.md-dark { color: rgba(0, 0, 0, 0.54); } 28 | .material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); } 29 | .material-icons.md-light { color: rgba(255, 255, 255, 1); } 30 | .material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); } 31 | 32 | 33 | -------------------------------------------------------------------------------- /resources/views/scripts/mdl-file-upload.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /resources/lang/en/titles.php: -------------------------------------------------------------------------------- 1 | 'Laravel MDL 2.0', 6 | 'app2' => 'Laravel MDL 2.0', 7 | 'home' => 'Home', 8 | 'login' => 'Login', 9 | 'logout' => 'Logout', 10 | 'register' => 'Register', 11 | 'resetPword' => 'Reset Password', 12 | 'toggleNav' => 'Toggle Navigation', 13 | 'profile' => 'Profile', 14 | 'editProfile' => 'Edit Profile', 15 | 'createProfile' => 'Create Profile', 16 | 'dashboard' => 'Dashboard', 17 | 'account' => 'Account', 18 | 19 | 'activation' => 'Registration Started | Activation Required', 20 | 'exceeded' => 'Activation Error', 21 | 22 | 'editProfile' => 'Edit Profile', 23 | 'createProfile' => 'Create Profile', 24 | 'adminUserList' => 'Users', 25 | 'adminEditUsers'=> 'Edit Users', 26 | 'adminNewUser' => 'Add User', 27 | 28 | 'adminThemesList' => 'Themes', 29 | 'adminThemesAdd' => 'Add New Theme', 30 | 31 | 'adminLogs' => 'Log Files', 32 | 'adminPHP' => 'PHP Info', 33 | 'adminRoutes' => 'Routing Info', 34 | 35 | ]; 36 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2017-2018 jeremykenedy 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/ResetPasswordController.php: -------------------------------------------------------------------------------- 1 | middleware('guest'); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /resources/assets/sass/components/weather-icons/icon-classes/classes-misc.scss: -------------------------------------------------------------------------------- 1 | .wi-alien:before {content: $alien;} 2 | .wi-celsius:before {content: $celsius;} 3 | .wi-fahrenheit:before {content: $fahrenheit;} 4 | .wi-degrees:before {content: $degrees;} 5 | .wi-thermometer:before {content: $thermometer;} 6 | .wi-thermometer-exterior:before {content: $thermometer-exterior;} 7 | .wi-thermometer-internal:before {content: $thermometer-internal;} 8 | .wi-cloud-down:before {content: $cloud-down;} 9 | .wi-cloud-up:before {content: $cloud-up;} 10 | .wi-cloud-refresh:before {content: $cloud-refresh;} 11 | .wi-horizon:before {content: $horizon;} 12 | .wi-horizon-alt:before {content: $horizon-alt;} 13 | .wi-sunrise:before {content: $sunrise;} 14 | .wi-sunset:before {content: $sunset;} 15 | .wi-moonrise:before {content: $moonrise;} 16 | .wi-moonset:before {content: $moonset;} 17 | .wi-refresh:before {content: $refresh;} 18 | .wi-refresh-alt:before {content: $refresh-alt;} 19 | .wi-umbrella:before {content: $umbrella;} 20 | .wi-barometer:before {content: $barometer;} 21 | .wi-humidity:before {content: $humidity;} 22 | .wi-na:before {content: $na;} 23 | .wi-train:before {content: $train;} -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | ./tests/Feature 14 | 15 | 16 | ./tests/Unit 17 | 18 | 19 | 20 | 21 | ./app 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /resources/assets/sass/components/_chips.scss: -------------------------------------------------------------------------------- 1 | .mdl-chip { 2 | cursor: default; 3 | vertical-align: middle; 4 | 5 | &.sm-chip { 6 | padding: 0 8px; 7 | height: 20px; 8 | line-height: 20px; 9 | 10 | .mdl-chip__text { 11 | font-size: 12px; 12 | } 13 | .mdl-chip__contact { 14 | height: 20px; 15 | line-height: 20px; 16 | margin-left: -8px; 17 | margin-right: 4px; 18 | width: 20px; 19 | font-size: 10px; 20 | 21 | .material-icons { 22 | font-size: 18px; 23 | line-height: 1.1; 24 | } 25 | } 26 | } 27 | 28 | &.md-chip { 29 | padding: 0 8px; 30 | height: 26px; 31 | line-height: 26px; 32 | 33 | .mdl-chip__contact { 34 | height: 26px; 35 | line-height: 26px; 36 | margin-left: -8px; 37 | width: 26px; 38 | 39 | .material-icons { 40 | font-size: 22px; 41 | line-height: 1.1; 42 | } 43 | } 44 | } 45 | } -------------------------------------------------------------------------------- /app/Providers/EventServiceProvider.php: -------------------------------------------------------------------------------- 1 | [ 17 | 'App\Listeners\EventListener', 18 | ], 19 | \SocialiteProviders\Manager\SocialiteWasCalled::class => [ 20 | 'SocialiteProviders\YouTube\YouTubeExtendSocialite@handle', 21 | 'SocialiteProviders\Twitch\TwitchExtendSocialite@handle', 22 | 'SocialiteProviders\Instagram\InstagramExtendSocialite@handle', 23 | 'SocialiteProviders\ThirtySevenSignals\ThirtySevenSignalsExtendSocialite@handle', 24 | ], 25 | ]; 26 | 27 | /** 28 | * Register any events for your application. 29 | * 30 | * @return void 31 | */ 32 | public function boot() 33 | { 34 | parent::boot(); 35 | 36 | // 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /resources/views/auth/exceeded.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.auth') 2 | 3 | @section('template_title') 4 | {!! trans('titles.exceeded') !!} 5 | @endsection 6 | 7 | @section('content') 8 | 9 |
10 |
11 |
12 |
13 |
14 |
15 |

16 | 17 | {{ trans('titles.exceeded') }} 18 | 19 |

20 |
21 |
22 |

23 | {!! trans('auth.tooManyEmails', ['email' => $email, 'hours' => $hours]) !!} 24 |

25 |
26 |
27 |
28 |
29 |
30 |
31 | 32 | @endsection -------------------------------------------------------------------------------- /resources/views/partials/header-nav.blade.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | -------------------------------------------------------------------------------- /resources/assets/sass/original/_modals.scss: -------------------------------------------------------------------------------- 1 | .modal { 2 | 3 | .modal-header { 4 | border-top-left-radius: 5px; 5 | -moz-border-radius-top-left: 5px; 6 | -webkit-border-top-left-radius: 5px; 7 | border-top-right-radius: 5px; 8 | -moz-border-radius-top-right: 5px; 9 | -webkit-border-top-right-radius: 5px; 10 | } 11 | 12 | &.modal-success { 13 | .modal-header { 14 | color: $white; 15 | background-color: $brand-success; 16 | } 17 | } 18 | 19 | &.modal-warning { 20 | .modal-header { 21 | color: $white; 22 | background-color: $brand-warning; 23 | } 24 | } 25 | 26 | &.modal-danger { 27 | .modal-header { 28 | color: $white; 29 | background-color: $brand-danger; 30 | } 31 | } 32 | 33 | &.modal-info { 34 | .modal-header { 35 | color: $white; 36 | background-color: $brand-info; 37 | } 38 | } 39 | 40 | &.modal-primary { 41 | .modal-header { 42 | color: $white; 43 | background-color: $brand-primary; 44 | } 45 | } 46 | 47 | } -------------------------------------------------------------------------------- /resources/views/modals/modal-form.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/views/scripts/filter-data-script.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/assets/sass/components/_inputs.scss: -------------------------------------------------------------------------------- 1 | .mdl-textfield--floating-label input[type=password]:-webkit-autofill ~ label { 2 | transform: translate3d(0, -20px, 0); 3 | visibility: hidden; 4 | } 5 | .mdl-textfield--floating-label input[type=password]:-webkit-autofill ~ label:after { 6 | content: 'Password'; 7 | visibility: visible; 8 | left: 0; 9 | transform: translate3d(0, -20px, 0); 10 | background: transparent; 11 | color: inherit; 12 | font-size: 12px; 13 | color: rgb(158,158,158); // GRRRR... <- LOOK INTO CHANGING THIS TO A VARIABLE LATER 14 | } 15 | .mdl-textfield { 16 | width: 100%; 17 | } 18 | .mdl-inline-expanded { 19 | margin-top: -6px; 20 | } 21 | .mdl-textfield.mdl-textfield--expandable { 22 | width: auto !important; 23 | } 24 | #map-canvas{ 25 | min-height: 300px; 26 | height: 100%; 27 | width: 100%; 28 | } 29 | .file_upload_container { 30 | margin: auto; 31 | width: 250px; 32 | height: 40px; 33 | position: absolute; 34 | top: 1em; 35 | left: 1em; 36 | } 37 | .file_upload_btn { 38 | float: left; 39 | } 40 | #file_upload_text_div { 41 | width: 200px; 42 | margin-top: -8px; 43 | margin-left: 5px; 44 | } -------------------------------------------------------------------------------- /resources/assets/js/laravel-mdl/dialogs.js: -------------------------------------------------------------------------------- 1 | function mdl_dialog(trigger,close,dialog) { 2 | 'use strict'; 3 | var trigger = trigger || '.dialog-button'; 4 | var close = close || '.dialog-close'; 5 | var dialog = dialog || '#dialog'; 6 | var ajaxSelectors = document.querySelectorAll(".mdl-dialog.ajax-dialog button[type='submit']")[0]; 7 | if (! document.querySelector(dialog).showModal) { 8 | dialogPolyfill.registerDialog(document.querySelector(dialog)); 9 | } 10 | document.querySelector(trigger).addEventListener('click', function(event) { 11 | event.preventDefault(); 12 | dialog = dialog || '#dialog'; 13 | document.querySelector(dialog).showModal(); 14 | document.querySelector(dialog).open=true; 15 | }); 16 | document.querySelector(close).addEventListener('click', function(event) { 17 | event.preventDefault(); 18 | dialog = dialog || '#dialog'; 19 | document.querySelector(dialog).open=true; 20 | document.querySelector(dialog).close(); 21 | document.querySelector(dialog).open=false; 22 | }); 23 | if (typeof(ajaxSelectors) != "undefined") { 24 | ajaxSelectors.addEventListener("click", function(event){ 25 | event.preventDefault(); 26 | }); 27 | } 28 | } -------------------------------------------------------------------------------- /resources/assets/sass/components/_labels.scss: -------------------------------------------------------------------------------- 1 | .label-red { 2 | background-color: #F44336; 3 | } 4 | .label-pink { 5 | background-color: #E91E63; 6 | } 7 | .label-purple { 8 | background-color: #9C27B0; 9 | } 10 | .label-deep-purple { 11 | background-color: #673AB7; 12 | } 13 | .label-indigo { 14 | background-color: #3F51B5; 15 | } 16 | .label-blue { 17 | background-color: #2196F3; 18 | } 19 | .label-light-blue { 20 | background-color: #03A9F4; 21 | } 22 | .label-cyan { 23 | background-color: #00BCD4; 24 | } 25 | .label-teal { 26 | background-color: #009688; 27 | } 28 | .label-green { 29 | background-color: #4CAF50; 30 | } 31 | .label-light-green { 32 | background-color: #8BC34A; 33 | } 34 | .label-lime { 35 | background-color: #CDDC39; 36 | } 37 | .label-yellow { 38 | background-color: #FFEB3B; 39 | } 40 | .label-amber { 41 | background-color: #FFC107; 42 | } 43 | .label-orange { 44 | background-color: #FF9800; 45 | } 46 | .label-deep-orange { 47 | background-color: #FF5722; 48 | } 49 | .label-brown { 50 | background-color: #795548; 51 | } 52 | .label-grey { 53 | background-color: #9E9E9E; 54 | } 55 | .label-blue-grey { 56 | background-color: #607D8B; 57 | } -------------------------------------------------------------------------------- /resources/assets/sass/original/_hideShowPassword.scss: -------------------------------------------------------------------------------- 1 | ::-ms-reveal, 2 | ::-ms-clear { 3 | display: none !important; 4 | } 5 | 6 | .hideShowPassword-wrapper { 7 | width: 100%; 8 | 9 | &.pass-strength-visible { 10 | 11 | .hideShowPassword-toggle { 12 | top: 13px !important; 13 | } 14 | 15 | } 16 | 17 | } 18 | 19 | .hideShowPassword-toggle { 20 | background-color: transparent; 21 | background-image: url('/images/wink.png'); /* fallback */ 22 | background-image: url('/images/wink.svg'), none; 23 | background-position: 0 center; 24 | background-repeat: no-repeat; 25 | border: 2px solid transparent; 26 | border-radius: 0.25em; 27 | cursor: pointer; 28 | font-size: 100%; 29 | height: 44px; 30 | margin: 0; 31 | max-height: 100%; 32 | padding: 0; 33 | overflow: 'hidden'; 34 | text-indent: -999em; 35 | width: 46px; 36 | margin-top: -18px !important; 37 | top: 18px !important; 38 | -moz-appearance: none; 39 | -webkit-appearance: none; 40 | border: none; 41 | 42 | &:hover, 43 | &:focus { 44 | border-color: #0088cc; 45 | outline: transparent; 46 | } 47 | 48 | } 49 | 50 | .hideShowPassword-toggle-hide { 51 | background-position: -44px center; 52 | } 53 | 54 | 55 | -------------------------------------------------------------------------------- /resources/assets/sass/original/_wells.scss: -------------------------------------------------------------------------------- 1 | // .well { 2 | // min-height: 20px; 3 | // padding: 19px; 4 | // margin-bottom: 20px; 5 | // background-color: $well-bg; 6 | // border: 1px solid $well-border; 7 | // border-radius: $border-radius-base; 8 | // @include box-shadow(inset 0 1px 1px rgba(0,0,0,.05)); 9 | // blockquote { 10 | // border-color: #ddd; 11 | // border-color: rgba(0,0,0,.15); 12 | // } 13 | 14 | .well { 15 | 16 | &.well-white { 17 | background-color: $white; 18 | } 19 | 20 | &.well-primary { 21 | background-color: $brand-primary; 22 | border-color: $brand-primary; 23 | color: $white; 24 | } 25 | 26 | &.well-info { 27 | background-color: $brand-info; 28 | border-color: $brand-info; 29 | color: $white; 30 | } 31 | 32 | &.well-success { 33 | background-color: $brand-success; 34 | border-color: $brand-success; 35 | color: $white; 36 | } 37 | 38 | 39 | &.well-warning { 40 | background-color: $brand-warning; 41 | border-color: $brand-warning; 42 | color: $white; 43 | } 44 | 45 | &.well-danger { 46 | background-color: $brand-danger; 47 | border-color: $brand-danger; 48 | color: $white; 49 | } 50 | 51 | } 52 | -------------------------------------------------------------------------------- /resources/assets/js/laravel-mdl/select.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | window.onload = function () { 3 | getmdlSelect.init('.getmdl-select'); 4 | document.addEventListener("DOMNodeInserted", function (ev) { 5 | componentHandler.upgradeDom(); 6 | }, false); 7 | }; 8 | 9 | var getmdlSelect = { 10 | addEventListeners: function (dropdown) { 11 | var input = dropdown.querySelector('input'); 12 | var list = dropdown.querySelectorAll('li'); 13 | 14 | [].forEach.call(list, function (li) { 15 | li.onclick = function () { 16 | input.value = li.textContent; 17 | if ("createEvent" in document) { 18 | var evt = document.createEvent("HTMLEvents"); 19 | evt.initEvent("change", false, true); 20 | input.dispatchEvent(evt); 21 | } else { 22 | input.fireEvent("onchange"); 23 | } 24 | } 25 | }); 26 | }, 27 | init: function (selector) { 28 | var dropdowns = document.querySelectorAll(selector); 29 | [].forEach.call(dropdowns, function (i) { 30 | getmdlSelect.addEventListeners(i); 31 | }); 32 | 33 | } 34 | }; -------------------------------------------------------------------------------- /resources/assets/sass/components/weather-icons/mappings/wi-forecast-io.scss: -------------------------------------------------------------------------------- 1 | .#{$wi-css-prefix}-forecast-io-clear-day:before { content: $day-sunny ; } 2 | .#{$wi-css-prefix}-forecast-io-clear-night:before { content: $night-clear ; } 3 | .#{$wi-css-prefix}-forecast-io-rain:before { content: $rain ; } 4 | .#{$wi-css-prefix}-forecast-io-snow:before { content: $snow ; } 5 | .#{$wi-css-prefix}-forecast-io-sleet:before { content: $sleet ; } 6 | .#{$wi-css-prefix}-forecast-io-wind:before { content: $strong-wind ; } 7 | .#{$wi-css-prefix}-forecast-io-fog:before { content: $fog ; } 8 | .#{$wi-css-prefix}-forecast-io-cloudy:before { content: $cloudy ; } 9 | .#{$wi-css-prefix}-forecast-io-partly-cloudy-day:before { content: $day-cloudy ; } 10 | .#{$wi-css-prefix}-forecast-io-partly-cloudy-night:before { content: $night-cloudy ; } 11 | .#{$wi-css-prefix}-forecast-io-hail:before { content: $hail ; } 12 | .#{$wi-css-prefix}-forecast-io-thunderstorm:before { content: $thunderstorm ; } 13 | .#{$wi-css-prefix}-forecast-io-tornado:before { content: $tornado ; } -------------------------------------------------------------------------------- /resources/assets/sass/components/_mdl-toggle.scss: -------------------------------------------------------------------------------- 1 | .material-toggle { 2 | display: block; 3 | min-height: 40px; 4 | input[type="checkbox"] { 5 | display: none; 6 | } 7 | label { 8 | cursor: pointer; 9 | height: 0px; 10 | position: relative; 11 | width: 40px; 12 | } 13 | >label { 14 | &::before { 15 | background: rgb(0, 0, 0); 16 | box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5); 17 | border-radius: 8px; 18 | content: ''; 19 | height: 16px; 20 | margin-top: -8px; 21 | position: absolute; 22 | opacity: 0.3; 23 | transition: all 0.4s ease-in-out; 24 | width: 40px; 25 | } 26 | &::after { 27 | background: rgb(255, 255, 255); 28 | border-radius: 16px; 29 | box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3); 30 | content: ''; 31 | height: 24px; 32 | left: -4px; 33 | margin-top: -8px; 34 | position: absolute; 35 | top: -4px; 36 | transition: all 0.3s ease-in-out; 37 | width: 24px; 38 | } 39 | } 40 | 41 | >input[type="checkbox"]:checked+label::before { 42 | background: inherit; 43 | opacity: 0.5; 44 | } 45 | >input[type="checkbox"]:checked+label::after { 46 | background: inherit; 47 | left: 20px; 48 | } 49 | 50 | } -------------------------------------------------------------------------------- /app/Console/Commands/DeleteExpiredActivations.php: -------------------------------------------------------------------------------- 1 | activationRepository = $activationRepository; 37 | } 38 | 39 | /** 40 | * Execute the console command. 41 | * 42 | * @return mixed 43 | */ 44 | public function handle() 45 | { 46 | $this->activationRepository->deleteExpiredActivations(); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /resources/views/modals/modal-save.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/assets/sass/app.scss: -------------------------------------------------------------------------------- 1 | @import 'partials/variables'; 2 | 3 | // @TODO: Go through and identify theme overrides then and add scss for those then compile using internal css and remove external call. 4 | //@import "node_modules/material-design-lite/src/material-design-lite.scss"; 5 | 6 | @import 'partials/mixins'; 7 | @import 'partials/helpers'; 8 | @import 'partials/base'; 9 | @import 'partials/typography'; 10 | 11 | @import 'components/inputs'; 12 | @import 'components/select'; 13 | @import 'components/lists'; 14 | @import 'components/alerts'; 15 | @import 'components/tables'; 16 | @import 'components/spinners'; 17 | @import 'components/cards'; 18 | @import 'components/dialogs'; 19 | @import 'components/material-icons'; 20 | @import 'components/social-icons'; 21 | @import 'components/breadcrumbs'; 22 | @import 'components/badges'; 23 | @import 'components/chips'; 24 | @import 'components/mdl-selectfield'; 25 | @import 'components/mdl-tabs'; 26 | @import 'components/weather-card'; 27 | @import 'components/weather-icons/weather-icons'; 28 | @import 'components/labels'; 29 | @import 'components/mdl-toggle'; 30 | @import 'components/mdl-color-wheel'; 31 | @import 'components/avatar'; 32 | @import 'components/dropzone'; 33 | 34 | @import 'layouts/auth'; 35 | @import 'layouts/dashboard'; 36 | 37 | @import 'partials/demo'; -------------------------------------------------------------------------------- /resources/views/errors/403.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 | Forbidden. 5 | 6 | 7 | 8 | 39 | 40 | 41 |
42 |
43 |
Forbidden.
44 |
45 |
46 | 47 | 48 | -------------------------------------------------------------------------------- /resources/views/errors/404.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 404 | Not Found. 5 | 6 | 7 | 8 | 39 | 40 | 41 |
42 |
43 |
Not found.
44 |
45 |
46 | 47 | 48 | -------------------------------------------------------------------------------- /resources/views/errors/503.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 503 | Be right back. 5 | 6 | 7 | 8 | 39 | 40 | 41 |
42 |
43 |
Be right back.
44 |
45 |
46 | 47 | 48 | -------------------------------------------------------------------------------- /resources/views/dialogs/dialog-save.blade.php: -------------------------------------------------------------------------------- 1 | 2 | check 3 |

4 | {{ trans('dialogs.confirm_modal_title_save_msg') }} 5 |

6 |
7 |
8 |
9 | {!! Form::button(trans('dialogs.confirm_modal_button_cancel_text'), array('class' => 'mdl-button mdl-js-button mdl-js-ripple-effect mdl-color--grey-400 mdl-color-text--white dialog-close dialog-delete-close block full-span')) !!} 10 |
11 |
12 | {!! Form::button(''.trans('dialogs.confirm_modal_button_save_text').'
', array('class' => 'mdl-button mdl-js-button mdl-js-ripple-effect center mdl-color--green mdl-color-text--white mdl-button--raised full-span','type' => 'submit','id' => 'submit')) !!} 13 |
14 |
15 |
16 |
-------------------------------------------------------------------------------- /resources/lang/en/modals.php: -------------------------------------------------------------------------------- 1 | 'Confirm Save', 16 | 'confirm_modal_title_std_msg' => 'Please confirm your request.', 17 | 18 | // Confirm Save Modal; 19 | 'confirm_modal_button_save_text' => 'Save Changes', 20 | 'confirm_modal_button_save_icon' => 'fa-save', 21 | 'confirm_modal_button_cancel_text' => 'Cancel', 22 | 'confirm_modal_button_cancel_icon' => 'fa-times', 23 | 'edit_user__modal_text_confirm_title' => 'Confirm Save', 24 | 'edit_user__modal_text_confirm_message' => 'Please confirm your changes.', 25 | 26 | // Form Modal 27 | 'form_modal_default_title' => 'Confirm', 28 | 'form_modal_default_message' => 'Please Confirm', 29 | 'form_modal_default_btn_cancel' => 'Cancel', 30 | 'form_modal_default_btn_submit' => 'Confirm Submit', 31 | 32 | ]; 33 | -------------------------------------------------------------------------------- /resources/assets/sass/original/_margins.scss: -------------------------------------------------------------------------------- 1 | .margin-half { 2 | margin: .5em; 3 | } 4 | 5 | .margin-bottom-half { 6 | margin-bottom: 1em; 7 | } 8 | 9 | @media(max-width: $phone) { 10 | 11 | .margin-half-phone { 12 | margin: .5em; 13 | } 14 | 15 | .margin-bottom-half-phone { 16 | margin-bottom: 1em; 17 | } 18 | 19 | .margin-top-half-phone { 20 | margin-top: 1em; 21 | } 22 | 23 | } 24 | 25 | @media(max-width: $tablet) { 26 | 27 | .margin-half-tablet { 28 | margin: .5em; 29 | } 30 | 31 | .margin-bottom-half-tablet { 32 | margin-bottom: 1em; 33 | } 34 | 35 | .margin-top-half-tablet { 36 | margin-top: 1em; 37 | } 38 | 39 | } 40 | 41 | @mixin generate-margins { 42 | @each $type in $types { 43 | @each $direction in $directions { 44 | @for $i from 0 through ($num-of-classes) - 1 { 45 | .#{$type}-#{$direction}-#{$i} { 46 | #{$type}-#{$direction}: (#{$i}em); 47 | } 48 | } 49 | } 50 | @each $query, $z in $queries { 51 | @media(min-width: #{$query}) { 52 | @each $direction in $directions { 53 | @for $i from 0 through ($num-of-classes) - 1 { 54 | .#{$type}-#{$direction}-#{$z}-#{$i} { 55 | #{$type}-#{$direction}: (#{$i}em); 56 | } 57 | } 58 | } 59 | } 60 | } 61 | } 62 | } 63 | @include generate-margins(); -------------------------------------------------------------------------------- /resources/views/errors/500.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 500 | Internal Server Error 5 | 6 | 7 | 8 | 39 | 40 | 41 |
42 |
43 |
Internal Server Error 500
44 |
45 |
46 | 47 | 48 | -------------------------------------------------------------------------------- /resources/lang/en/dialogs.php: -------------------------------------------------------------------------------- 1 | 'Confirm Save', 16 | 'confirm_modal_title_std_msg' => 'Please confirm', 17 | 18 | 'confirm_modal_title_save_msg' => 'Please confirm your changes.', 19 | 'confirm_modal_button_save_text' => 'Save', 20 | 'confirm_modal_button_save_icon' => 'save', 21 | 22 | 'confirm_modal_button_cancel_text' => 'Cancel', 23 | 'confirm_modal_button_cancel_icon' => 'fa-close', 24 | 25 | // USER EDIT DIALOG 26 | 'edit_user__modal_text_confirm_message' => 'Are you sure you want to save your changes ?', 27 | 'edit_user__modal_text_confirm_btn' => 'Save Changes', 28 | 29 | // DELETE DIALOG 30 | 'confirm_delete_title_text' => 'Confirm User Deletion', 31 | 'confirm_modal_button_delete_text' => 'Delete', 32 | 33 | // DELETE RESTORE 34 | 'confirm_restore_title_text' => 'Confirm User Restore', 35 | 'confirm_modal_button_restore_text' => 'Restore', 36 | ]; 37 | -------------------------------------------------------------------------------- /resources/assets/sass/original/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 "node_modules/bootstrap-sass/assets/stylesheets/bootstrap"; 10 | 11 | // Font Awesome 12 | @import "node_modules/font-awesome/scss/font-awesome"; 13 | 14 | // Dropzone 15 | @import "node_modules/dropzone/src/basic"; 16 | @import "node_modules/dropzone/src/dropzone"; 17 | 18 | // Bootstrap Social Media Buttons - https://github.com/lipis/bootstrap-social 19 | @import "node_modules/bootstrap-social/bootstrap-social.scss"; 20 | 21 | // Mixins 22 | @import "mixins"; 23 | 24 | // Mixins 25 | @import "margins"; 26 | 27 | // Components 28 | @import "helpers"; 29 | 30 | // Typography 31 | @import "typography"; 32 | 33 | // Buttons 34 | @import "buttons"; 35 | 36 | // Badges 37 | @import "badges"; 38 | 39 | // Panels 40 | @import "panels"; 41 | 42 | // Wells 43 | @import "wells"; 44 | 45 | // Components 46 | @import "modals"; 47 | 48 | // Socials 49 | @import "socials"; 50 | 51 | // Forms 52 | @import "forms"; 53 | 54 | // Lists 55 | @import "lists"; 56 | 57 | // Avatars 58 | @import "avatar"; 59 | 60 | // Logs 61 | @import "logs"; 62 | 63 | // Password Strength Meter 64 | @import "password"; 65 | 66 | // Hide Show Password 67 | @import "hideShowPassword"; 68 | -------------------------------------------------------------------------------- /resources/views/vendor/notifications/email.blade.php: -------------------------------------------------------------------------------- 1 | @component('mail::message') 2 | {{-- Greeting --}} 3 | @if (! empty($greeting)) 4 | # {{ $greeting }} 5 | @else 6 | @if ($level == 'error') 7 | # Whoops! 8 | @else 9 | # Hello! 10 | @endif 11 | @endif 12 | 13 | {{-- Intro Lines --}} 14 | @foreach ($introLines as $line) 15 | {{ $line }} 16 | 17 | @endforeach 18 | 19 | {{-- Action Button --}} 20 | @if (isset($actionText)) 21 | 33 | @component('mail::button', ['url' => $actionUrl, 'color' => $color]) 34 | {{ $actionText }} 35 | @endcomponent 36 | @endif 37 | 38 | {{-- Outro Lines --}} 39 | @foreach ($outroLines as $line) 40 | {{ $line }} 41 | 42 | @endforeach 43 | 44 | 45 | @if (! empty($salutation)) 46 | {{ $salutation }} 47 | @else 48 | Regards,
{{ config('app.name') }} 49 | @endif 50 | 51 | 52 | @if (isset($actionText)) 53 | @component('mail::subcopy') 54 | If you’re having trouble clicking the "{{ $actionText }}" button, copy and paste the URL below 55 | into your web browser: [{{ $actionUrl }}]({{ $actionUrl }}) 56 | @endcomponent 57 | @endif 58 | @endcomponent 59 | -------------------------------------------------------------------------------- /resources/views/errors/general.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{ $errorTitle }} 5 | 6 | 7 | 8 | 39 | 40 | 41 |
42 |
43 |
44 | {{ $errorMessage }} 45 |
46 |
47 |
48 | 49 | 50 | -------------------------------------------------------------------------------- /app/Models/Profile.php: -------------------------------------------------------------------------------- 1 | 'integer', 44 | ]; 45 | 46 | /** 47 | * A profile belongs to a user. 48 | * 49 | * @return mixed 50 | */ 51 | public function user() 52 | { 53 | return $this->belongsTo('App\Models\User'); 54 | } 55 | 56 | /** 57 | * Profile Theme Relationships. 58 | * 59 | * @var array 60 | */ 61 | public function theme() 62 | { 63 | return $this->hasOne('App\Models\Theme'); 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /resources/assets/sass/components/_alerts.scss: -------------------------------------------------------------------------------- 1 | 2 | div.message { 3 | 4 | padding: 10px; 5 | padding-left: 35px; 6 | margin: 20px 10px; 7 | box-shadow: 0 2px 5px rgba(0,0,0,.3); 8 | background: #BBB; 9 | color: #FFF; 10 | -webkit-transition: all .5s ease; 11 | -moz-transition: all .5s ease; 12 | -ms-transition: all .5s ease; 13 | -o-transition: all .5s ease; 14 | transition: all .5s ease; 15 | 16 | 17 | 18 | 19 | position: absolute; 20 | 21 | 22 | width: 300px; 23 | z-index: 9999; 24 | top: 0; 25 | left: 10px; 26 | 27 | 28 | 29 | } 30 | 31 | 32 | div.message:hover{ 33 | box-shadow: 0 15px 20px rgba(10,0,10,.3); 34 | -webkit-filter: brightness(110%); 35 | } 36 | 37 | 38 | .status { 39 | 40 | 41 | 42 | 43 | position: absolute; 44 | display: block; 45 | top: -10px; 46 | left: -10px; 47 | font-size: 20px; 48 | line-height: 25px; 49 | text-align: center; 50 | width: 25px; 51 | padding:10px; 52 | background: inherit; 53 | box-shadow:0 5px 10px rgba(0,0,0,.25); 54 | color: rgba(255,255,255,.75); 55 | border-radius:50%; 56 | 57 | 58 | } 59 | 60 | 61 | div.message.information{background: #39B;} 62 | div.message.warning{background: #E74;} 63 | div.message.success{background: #5A6;} 64 | div.message.announcement{background: #EA0;} 65 | div.message.error{background: #C43;} 66 | 67 | 68 | 69 | .dismissible { 70 | cursor: pointer; 71 | } 72 | -------------------------------------------------------------------------------- /resources/views/scripts/mdl-select.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/assets/sass/components/weather-icons/mappings/wi-wunderground.scss: -------------------------------------------------------------------------------- 1 | .#{$wi-css-prefix}-wu-chanceflurries:before { content: $snow-wind; } 2 | .#{$wi-css-prefix}-wu-chancerain:before { content: $rain; } 3 | .#{$wi-css-prefix}-wu-chancesleat:before { content: $sleet; } 4 | .#{$wi-css-prefix}-wu-chancesnow:before { content: $snow; } 5 | .#{$wi-css-prefix}-wu-chancetstorms:before { content: $thunderstorm; } 6 | .#{$wi-css-prefix}-wu-clear:before { content: $day-sunny; } 7 | .#{$wi-css-prefix}-wu-cloudy:before { content: $day-cloudy; } 8 | .#{$wi-css-prefix}-wu-flurries:before { content: $snow-wind; } 9 | .#{$wi-css-prefix}-wu-hazy:before { content: $day-haze; } 10 | .#{$wi-css-prefix}-wu-mostlycloudy:before { content: $day-cloudy; } 11 | .#{$wi-css-prefix}-wu-mostlysunny:before { content: $day-sunny; } 12 | .#{$wi-css-prefix}-wu-partlycloudy:before { content: $day-cloudy; } 13 | .#{$wi-css-prefix}-wu-partlysunny:before { content: $day-sunny; } 14 | .#{$wi-css-prefix}-wu-rain:before { content: $showers; } 15 | .#{$wi-css-prefix}-wu-sleat:before { content: $sleet; } 16 | .#{$wi-css-prefix}-wu-snow:before { content: $snow; } 17 | .#{$wi-css-prefix}-wu-sunny:before { content: $day-sunny; } 18 | .#{$wi-css-prefix}-wu-tstorms:before { content: $thunderstorm; } 19 | .#{$wi-css-prefix}-wu-unknown:before { content: $day-sunny; } -------------------------------------------------------------------------------- /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 | var nodeDir = 'node_modules/'; 15 | var mdlCustomDir = 'resources/assets/js/laravel-mdl/'; 16 | var mdlNodeDir = nodeDir + 'material-design-lite/'; 17 | 18 | mix.js('resources/assets/js/app.js', 'public/js') 19 | .scripts([ 20 | mdlNodeDir + 'material.js', 21 | mdlCustomDir + 'alerts.js', 22 | mdlCustomDir + 'dialogs.js', 23 | mdlCustomDir + 'spinners.js', 24 | mdlCustomDir + 'alerts.js', 25 | mdlCustomDir + 'mdl-selectfield.js', 26 | mdlCustomDir + 'jQuery.simpleWeather.js', 27 | mdlCustomDir + 'jQuery.animate-bg.js', 28 | nodeDir + 'mark.js/dist/jquery.mark.js', 29 | nodeDir + 'prismjs/prism.js', 30 | mdlCustomDir + 'mdl-colorwheel.js' 31 | ], 'public/js/mdl.js') 32 | .copy(mdlNodeDir + '/dist/**.css', 'public/css/mdl-themes/', true) 33 | .copy('node_modules/weather-icons/font/**', 'public/fonts/weather-icons/', true) 34 | .sass('resources/assets/sass/app.scss', 'public/css') 35 | .version(); 36 | -------------------------------------------------------------------------------- /database/seeds/RolesTableSeeder.php: -------------------------------------------------------------------------------- 1 | first() === null) { 20 | $adminRole = Role::create([ 21 | 'name' => 'Admin', 22 | 'slug' => 'admin', 23 | 'description' => 'Admin Role', 24 | 'level' => 5, 25 | ]); 26 | } 27 | 28 | if (Role::where('name', '=', 'User')->first() === null) { 29 | $userRole = Role::create([ 30 | 'name' => 'User', 31 | 'slug' => 'user', 32 | 'description' => 'User Role', 33 | 'level' => 1, 34 | ]); 35 | } 36 | 37 | if (Role::where('name', '=', 'Unverified')->first() === null) { 38 | $userRole = Role::create([ 39 | 'name' => 'Unverified', 40 | 'slug' => 'unverified', 41 | 'description' => 'Unverified Role', 42 | 'level' => 0, 43 | ]); 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /resources/assets/sass/components/_weather-card.scss: -------------------------------------------------------------------------------- 1 | #weather, 2 | .show-forecast { 3 | display: none; 4 | } 5 | 6 | .mdl-weather { 7 | list-style-type: none; 8 | padding: 1em; 9 | .mdl-menu__item { 10 | width: 100%; 11 | } 12 | } 13 | 14 | #forecast { 15 | text-align: center; 16 | .mdl-weather { 17 | padding-top: 0em; 18 | } 19 | } 20 | 21 | .forecast-item { 22 | margin: 0 -30px; 23 | padding: 2px 30px; 24 | cursor: default; 25 | &:nth-child(2) { 26 | padding-top: 10px; 27 | margin-top: 10px; 28 | border-top: 1px solid #f1f1f1; 29 | } 30 | &:last-child { 31 | padding-bottom: 0; 32 | } 33 | &.freezing .wi.wi-fw { 34 | color: $freezing !important; 35 | } 36 | &.superCold .wi.wi-fw { 37 | color: $superCold !important; 38 | } 39 | &.veryCold .wi.wi-fw { 40 | color: $veryCold !important; 41 | } 42 | &.cold .wi.wi-fw { 43 | color: $cold !important; 44 | } 45 | &.brisk .wi.wi-fw { 46 | color: $brisk !important; 47 | } 48 | &.fair .wi.wi-fw { 49 | color: $fair !important; 50 | } 51 | &.nice .wi.wi-fw { 52 | color: $nice !important; 53 | } 54 | &.warm .wi.wi-fw { 55 | color: $warm !important; 56 | } 57 | &.hot .wi.wi-fw { 58 | color: $hot !important; 59 | } 60 | &.superHot .wi.wi-fw { 61 | color: $superHot !important; 62 | } 63 | &.extreme .wi.wi-fw { 64 | color: $extreme !important; 65 | } 66 | .day { 67 | width: 40px; 68 | display: inline-block; 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /resources/assets/sass/components/weather-icons/weather-icons.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Weather Icons 2.0 3 | * Updated August 1, 2015 4 | * Weather themed icons for Bootstrap 5 | * Author - Erik Flowers - erik@helloerik.com 6 | * Email: erik@helloerik.com 7 | * Twitter: http://twitter.com/Erik_UX 8 | * ------------------------------------------------------------------------------ 9 | * Maintained at http://erikflowers.github.io/weather-icons 10 | * 11 | * License 12 | * ------------------------------------------------------------------------------ 13 | * - Font licensed under SIL OFL 1.1 - 14 | * http://scripts.sil.org/OFL 15 | * - CSS, LESS and SCSS are licensed under MIT License - 16 | * http://opensource.org/licenses/mit-license.html 17 | * - Documentation licensed under CC BY 3.0 - 18 | * http://creativecommons.org/licenses/by/3.0/ 19 | * - Inspired by and works great as a companion with Font Awesome 20 | * "Font Awesome by Dave Gandy - http://fontawesome.io" 21 | */ 22 | 23 | @import 'weather-icons-core.scss'; 24 | @import 'weather-icons-variables.scss'; 25 | @import 'weather-icons-classes.scss'; 26 | @import 'weather-icons-wind.scss'; 27 | 28 | // Mappings to various APIs 29 | @import "mappings/wi-yahoo.scss"; 30 | @import "mappings/simpleweather-js.scss"; 31 | @import "mappings/wi-forecast-io.scss"; 32 | @import "mappings/wi-wmo4680.scss"; 33 | @import "mappings/wi-owm.scss"; 34 | @import "mappings/wi-wunderground.scss"; -------------------------------------------------------------------------------- /resources/views/profiles/show.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.dashboard') 2 | 3 | @section('template_title') 4 | {{ $user->name }}'s Profile 5 | @endsection 6 | 7 | @section('template_fastload_css') 8 | 9 | #map-canvas{ 10 | min-height: 300px; 11 | height: 100%; 12 | width: 100%; 13 | } 14 | 15 | @endsection 16 | 17 | @section('header') 18 | 19 | {{ trans('profile.showProfileTitle',['username' => $user->name]) }} 20 | 21 | @endsection 22 | 23 | @section('breadcrumbs') 24 | 25 |
  • 26 | 27 | 28 | {{ trans('titles.app') }} 29 | 30 | 31 | chevron_right 32 | 33 |
  • 34 | 35 |
  • 36 | 41 | {{ trans('titles.profile') }} 42 | 43 |
  • 44 | 45 | @endsection 46 | 47 | @section('content') 48 | 49 | @include('cards.user-profile-card') 50 | 51 | @endsection 52 | 53 | @section('footer_scripts') 54 | 55 | @include('scripts.google-maps-geocode-and-map') 56 | 57 | @endsection 58 | -------------------------------------------------------------------------------- /resources/assets/sass/components/weather-icons/icon-classes/classes-day.scss: -------------------------------------------------------------------------------- 1 | .wi-day-sunny:before {content: $day-sunny;} 2 | .wi-day-cloudy:before {content: $day-cloudy;} 3 | .wi-day-cloudy-gusts:before {content: $day-cloudy-gusts;} 4 | .wi-day-cloudy-windy:before {content: $day-cloudy-windy;} 5 | .wi-day-fog:before {content: $day-fog;} 6 | .wi-day-hail:before {content: $day-hail;} 7 | .wi-day-haze:before {content: $day-haze;} 8 | .wi-day-lightning:before {content: $day-lightning;} 9 | .wi-day-rain:before {content: $day-rain;} 10 | .wi-day-rain-mix:before {content: $day-rain-mix;} 11 | .wi-day-rain-wind:before {content: $day-rain-wind;} 12 | .wi-day-showers:before {content: $day-showers;} 13 | .wi-day-sleet:before {content: $day-sleet;} 14 | .wi-day-sleet-storm:before {content: $day-sleet-storm;} 15 | .wi-day-snow:before {content: $day-snow;} 16 | .wi-day-snow-thunderstorm:before {content: $day-snow-thunderstorm;} 17 | .wi-day-snow-wind:before {content: $day-snow-wind;} 18 | .wi-day-sprinkle:before {content: $day-sprinkle;} 19 | .wi-day-storm-showers:before {content: $day-storm-showers;} 20 | .wi-day-sunny-overcast:before {content: $day-sunny-overcast;} 21 | .wi-day-thunderstorm:before {content: $day-thunderstorm;} 22 | .wi-day-windy:before {content: $day-windy;} 23 | .wi-solar-eclipse:before {content: $solar-eclipse;} 24 | .wi-hot:before {content: $hot;} 25 | .wi-day-cloudy-high:before {content: $day-cloudy-high;} 26 | .wi-day-light-wind:before {content: $day-light-wind;} -------------------------------------------------------------------------------- /resources/lang/en/emails.php: -------------------------------------------------------------------------------- 1 | 'Activation required', 22 | 'activationGreeting' => 'Welcome!', 23 | 'activationMessage' => 'You need to activate your email before you can start using all of our services.', 24 | 'activationButton' => 'Activate', 25 | 'activationThanks' => 'Thank you for using our application!', 26 | 27 | /* 28 | * Goobye email. 29 | * 30 | */ 31 | 'goodbyeSubject' => 'Sorry to see you go...', 32 | 'goodbyeGreeting' => 'Hello :username,', 33 | 'goodbyeMessage' => 'We are very sorry to see you go. We wanted to let you know that your account has been deleted. Thank for the time we shared. You have '.config('settings.restoreUserCutoff').' days to restore your account.', 34 | 'goodbyeButton' => 'Restore Account', 35 | 'goodbyeThanks' => 'We hope to see you again!', 36 | 37 | ]; 38 | -------------------------------------------------------------------------------- /app/Providers/ComposerServiceProvider.php: -------------------------------------------------------------------------------- 1 | hasPages()) 2 | 36 | @endif 37 | -------------------------------------------------------------------------------- /resources/assets/sass/components/_mdl-color-wheel.scss: -------------------------------------------------------------------------------- 1 | .mdl-gen-download { 2 | pointer-events: none; 3 | cursor: default; 4 | } 5 | #wheel { 6 | position: relative; 7 | svg { 8 | width: 100%; 9 | height: auto; 10 | } 11 | .polygons { 12 | cursor: pointer; 13 | } 14 | .mdl-gen-download { 15 | position: absolute; 16 | left: 50%; 17 | top: 50% 18 | } 19 | .mdl-gen-download .mdl-button { 20 | -webkit-transform: translate(-50%, -50%); 21 | transform: translate(-50%, -50%) 22 | } 23 | g[data-color] { 24 | opacity: 1; 25 | transition: opacity .2s cubic-bezier(.4, 0, 1, 1) 26 | } 27 | .selector { 28 | opacity: 0; 29 | transition: opacity .4s cubic-bezier(.4, 0, 1, 1); 30 | fill: #BDBDBD 31 | } 32 | .selected .selector { 33 | opacity: 1 34 | } 35 | .label { 36 | text-anchor: middle; 37 | opacity: 0; 38 | transition: opacity .4s cubic-bezier(.4, 0, 1, 1); 39 | fill: #fff; 40 | font-size: 24px 41 | } 42 | .selected--1 .label--1, 43 | .selected--2 .label--2 { 44 | opacity: 1 45 | } 46 | svg.hide-nonaccents g[data-color="Blue Grey"]:not(.selected), 47 | svg.hide-nonaccents g[data-color="Brown"]:not(.selected), 48 | svg.hide-nonaccents g[data-color="Grey"]:not(.selected) { 49 | opacity: .12 50 | } 51 | .selected { 52 | opacity: 1 !important 53 | } 54 | 55 | } 56 | 57 | @media (min-width:840px) { 58 | #wheel svg { 59 | max-width: 100%; 60 | width: 100% 61 | } 62 | } -------------------------------------------------------------------------------- /resources/assets/sass/components/weather-icons/icon-variables/variables-night.scss: -------------------------------------------------------------------------------- 1 | $night-clear: "\f02e"; 2 | $night-alt-cloudy: "\f086"; 3 | $night-alt-cloudy-gusts: "\f022"; 4 | $night-alt-cloudy-windy: "\f023"; 5 | $night-alt-hail: "\f024"; 6 | $night-alt-lightning: "\f025"; 7 | $night-alt-rain: "\f028"; 8 | $night-alt-rain-mix: "\f026"; 9 | $night-alt-rain-wind: "\f027"; 10 | $night-alt-showers: "\f029"; 11 | $night-alt-sleet: "\f0b4"; 12 | $night-alt-sleet-storm: "\f06a"; 13 | $night-alt-snow: "\f02a"; 14 | $night-alt-snow-thunderstorm: "\f06d"; 15 | $night-alt-snow-wind: "\f067"; 16 | $night-alt-sprinkle: "\f02b"; 17 | $night-alt-storm-showers: "\f02c"; 18 | $night-alt-thunderstorm: "\f02d"; 19 | $night-cloudy: "\f031"; 20 | $night-cloudy-gusts: "\f02f"; 21 | $night-cloudy-windy: "\f030"; 22 | $night-fog: "\f04a"; 23 | $night-hail: "\f032"; 24 | $night-lightning: "\f033"; 25 | $night-partly-cloudy: "\f083"; 26 | $night-rain: "\f036"; 27 | $night-rain-mix: "\f034"; 28 | $night-rain-wind: "\f035"; 29 | $night-showers: "\f037"; 30 | $night-sleet: "\f0b3"; 31 | $night-sleet-storm: "\f069"; 32 | $night-snow: "\f038"; 33 | $night-snow-thunderstorm: "\f06c"; 34 | $night-snow-wind: "\f066"; 35 | $night-sprinkle: "\f039"; 36 | $night-storm-showers: "\f03a"; 37 | $night-thunderstorm: "\f03b"; 38 | $lunar-eclipse: "\f070"; 39 | $stars: "\f077"; 40 | $storm-showers: "\f01d"; 41 | $thunderstorm: "\f01e"; 42 | $night-alt-cloudy-high: "\f07e"; 43 | $night-cloudy-high: "\f080"; 44 | $night-alt-partly-cloudy: "\f081"; -------------------------------------------------------------------------------- /resources/views/dialogs/dialog-delete.blade.php: -------------------------------------------------------------------------------- 1 | @php 2 | $deleteDialogTitle = isset($dialogTitle) ? $dialogTitle : trans('dialogs.confirm_delete_title_text'); 3 | $deleteBtnText = isset($dialogSaveBtnText) ? $dialogSaveBtnText : trans('dialogs.confirm_modal_button_delete_text') 4 | @endphp 5 | 6 | warning 7 |

    8 | {{ $deleteDialogTitle }} 9 |

    10 |
    11 |
    12 |
    13 | {!! Form::button(trans('dialogs.confirm_modal_button_cancel_text'), array('class' => 'mdl-button mdl-js-button mdl-js-ripple-effect mdl-color--grey-400 mdl-color-text--white dialog-close dialog-delete-close block full-span')) !!} 14 |
    15 |
    16 | 17 | {!! Form::button(''.$deleteBtnText.'
    ', array('class' => 'mdl-button mdl-js-button mdl-js-ripple-effect center mdl-color--red-700 mdl-color-text--white mdl-button--raised full-span','type' => 'submit','id' => 'confirm')) !!} 18 |
    19 |
    20 |
    21 |
    -------------------------------------------------------------------------------- /database/migrations/2017_03_21_042918_create_profiles_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 18 | $table->integer('user_id')->unsigned()->index(); 19 | $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade'); 20 | $table->integer('theme_id')->unsigned()->default(1); 21 | $table->foreign('theme_id')->references('id')->on('themes'); 22 | $table->string('location')->nullable(); 23 | $table->text('bio')->nullable(); 24 | $table->string('twitter_username')->nullable(); 25 | $table->string('github_username')->nullable(); 26 | $table->string('avatar')->nullable(); 27 | $table->boolean('avatar_status')->default(0); 28 | $table->string('user_profile_bg')->nullable()->default('/images/default-user-bg.png'); 29 | $table->timestamps(); 30 | }); 31 | } 32 | 33 | /** 34 | * Reverse the migrations. 35 | * 36 | * @return void 37 | */ 38 | public function down() 39 | { 40 | Schema::dropIfExists('profiles'); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /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.21.1", 14 | "bootstrap-sass": "^3.3.7", 15 | "bootstrap-social": "^5.1.1", 16 | "cross-env": "^5.1", 17 | "font-awesome": "^4.7.0", 18 | "jquery": "^3.2", 19 | "laravel-mix": "^2.0", 20 | "lodash": "^4.17.4", 21 | "mark.js": "^8.11.1", 22 | "material-design-lite": "^1.3.0", 23 | "simpleweather": "^3.1.0", 24 | "weather-icons": "^1.3.2", 25 | "vue": "^2.5.7" 26 | }, 27 | "dependencies": { 28 | "dropzone": "^5.4.0", 29 | "hideshowpassword": "^2.1.1", 30 | "password-strength-meter": "^1.2.1", 31 | "pusher-js": "^4.2.2", 32 | "prismjs": "^1.6.0" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /resources/assets/js/bootstrap.js: -------------------------------------------------------------------------------- 1 | 2 | window._ = require('lodash'); 3 | 4 | /** 5 | * We'll load jQuery and the Bootstrap jQuery plugin which provides support 6 | * for JavaScript based Bootstrap features such as modals and tabs. This 7 | * code may be modified to fit the specific needs of your application. 8 | */ 9 | 10 | window.$ = window.jQuery = require('jquery'); 11 | 12 | require('bootstrap-sass'); 13 | 14 | /** 15 | * Vue is a modern JavaScript library for building interactive web interfaces 16 | * using reactive data binding and reusable components. Vue's API is clean 17 | * and simple, leaving you to focus on building your next great project. 18 | */ 19 | 20 | window.Vue = require('vue'); 21 | 22 | /** 23 | * We'll load the axios HTTP library which allows us to easily issue requests 24 | * to our Laravel back-end. This library automatically handles sending the 25 | * CSRF token as a header based on the value of the "XSRF" token cookie. 26 | */ 27 | 28 | window.axios = require('axios'); 29 | 30 | window.axios.defaults.headers.common = { 31 | 'X-CSRF-TOKEN': window.Laravel.csrfToken, 32 | 'X-Requested-With': 'XMLHttpRequest' 33 | }; 34 | 35 | /** 36 | * Echo exposes an expressive API for subscribing to channels and listening 37 | * for events that are broadcast by Laravel. Echo and event broadcasting 38 | * allows your team to easily build robust real-time web applications. 39 | */ 40 | 41 | // import Echo from "laravel-echo" 42 | 43 | // window.Echo = new Echo({ 44 | // broadcaster: 'pusher', 45 | // key: 'your-pusher-key' 46 | // }); 47 | -------------------------------------------------------------------------------- /resources/assets/sass/original/_socials.scss: -------------------------------------------------------------------------------- 1 | .facebook { 2 | background-color: $facebook; 3 | border-color: $facebook; 4 | &:hover { 5 | background-color: lighten($facebook, 10%); 6 | border-color: lighten($facebook, 10%); 7 | } 8 | &:focus, 9 | &:active { 10 | background-color: darken($facebook, 10%) !important; 11 | border-color: darken($facebook, 10%) !important; 12 | } 13 | } 14 | .twitter { 15 | background-color: $twitter; 16 | border-color: $twitter; 17 | &:hover { 18 | background-color: lighten($twitter, 10%) ; 19 | border-color: lighten($twitter, 10%); 20 | } 21 | &:focus, 22 | &:active { 23 | background-color: darken($twitter, 10%) !important; 24 | border-color: darken($twitter, 10%) !important; 25 | } 26 | } 27 | .google { 28 | background-color: $google; 29 | border-color: $google; 30 | &:hover { 31 | background-color: lighten($google, 10%); 32 | border-color: lighten($google, 10%); 33 | } 34 | &:focus, 35 | &:active { 36 | background-color: darken($google, 10%) !important; 37 | border-color: darken($google, 10%) !important; 38 | } 39 | } 40 | .github { 41 | background-color: $github; 42 | border-color: $github; 43 | &:hover { 44 | background-color: lighten($github, 10%); 45 | border-color: lighten($github, 10%); 46 | } 47 | &:focus, 48 | &:active { 49 | background-color: darken($github, 10%) !important; 50 | border-color: darken($github, 10%) !important; 51 | } 52 | } -------------------------------------------------------------------------------- /database/migrations/2014_10_12_000000_create_users_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 18 | $table->string('name')->unique(); 19 | $table->string('first_name')->nullable(); 20 | $table->string('last_name')->nullable(); 21 | $table->string('email')->unique()->nullable(); 22 | $table->string('password'); 23 | $table->rememberToken(); 24 | $table->boolean('activated')->default(false); 25 | $table->string('token'); 26 | $table->ipAddress('signup_ip_address')->nullable(); 27 | $table->ipAddress('signup_confirmation_ip_address')->nullable(); 28 | $table->ipAddress('signup_sm_ip_address')->nullable(); 29 | $table->ipAddress('admin_ip_address')->nullable(); 30 | $table->ipAddress('updated_ip_address')->nullable(); 31 | $table->ipAddress('deleted_ip_address')->nullable(); 32 | $table->timestamps(); 33 | $table->softDeletes(); 34 | }); 35 | } 36 | 37 | /** 38 | * Reverse the migrations. 39 | * 40 | * @return void 41 | */ 42 | public function down() 43 | { 44 | Schema::dropIfExists('users'); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /resources/assets/sass/components/weather-icons/icon-classes/classes-moon-aliases.scss: -------------------------------------------------------------------------------- 1 | .wi-moon-0:before {content: $moon-new;} 2 | .wi-moon-1:before {content: $moon-waxing-crescent-1;} 3 | .wi-moon-2:before {content: $moon-waxing-crescent-2;} 4 | .wi-moon-3:before {content: $moon-waxing-crescent-3;} 5 | .wi-moon-4:before {content: $moon-waxing-crescent-4;} 6 | .wi-moon-5:before {content: $moon-waxing-crescent-5;} 7 | .wi-moon-6:before {content: $moon-waxing-crescent-6;} 8 | .wi-moon-7:before {content: $moon-first-quarter;} 9 | .wi-moon-8:before {content: $moon-waxing-gibbous-1;} 10 | .wi-moon-9:before {content: $moon-waxing-gibbous-2;} 11 | .wi-moon-10:before {content: $moon-waxing-gibbous-3;} 12 | .wi-moon-11:before {content: $moon-waxing-gibbous-4;} 13 | .wi-moon-12:before {content: $moon-waxing-gibbous-5;} 14 | .wi-moon-13:before {content: $moon-waxing-gibbous-6;} 15 | .wi-moon-14:before {content: $moon-full;} 16 | .wi-moon-15:before {content: $moon-waning-gibbous-1;} 17 | .wi-moon-16:before {content: $moon-waning-gibbous-2;} 18 | .wi-moon-17:before {content: $moon-waning-gibbous-3;} 19 | .wi-moon-18:before {content: $moon-waning-gibbous-4;} 20 | .wi-moon-19:before {content: $moon-waning-gibbous-5;} 21 | .wi-moon-20:before {content: $moon-waning-gibbous-6;} 22 | .wi-moon-21:before {content: $moon-third-quarter;} 23 | .wi-moon-22:before {content: $moon-waning-crescent-1;} 24 | .wi-moon-23:before {content: $moon-waning-crescent-2;} 25 | .wi-moon-24:before {content: $moon-waning-crescent-3;} 26 | .wi-moon-25:before {content: $moon-waning-crescent-4;} 27 | .wi-moon-26:before {content: $moon-waning-crescent-5;} 28 | .wi-moon-27:before {content: $moon-waning-crescent-6;} -------------------------------------------------------------------------------- /resources/views/dialogs/dialog-restore.blade.php: -------------------------------------------------------------------------------- 1 | @php 2 | $restoreDialogTitle = isset($restoreDialogTitle) ? $restoreDialogTitle : trans('dialogs.confirm_restore_title_text'); 3 | $restoreBtnText = isset($restoreBtnText) ? $dialogSaveBtnText : trans('dialogs.confirm_modal_button_restore_text'); 4 | $restoreIcon = isset($restoreIcon) ? $restoreIcon : 'replay'; 5 | $restoreColor = isset($restoreColor) ? $restoreColor : 'mdl-color--green-500 mdl-color-text--white'; 6 | @endphp 7 | 8 | {{ $restoreIcon }} 9 |

    10 | {{ $restoreDialogTitle }} 11 |

    12 |
    13 |
    14 |
    15 | {!! Form::button(trans('dialogs.confirm_modal_button_cancel_text'), ['class' => 'mdl-button mdl-js-button mdl-js-ripple-effect mdl-color--grey-400 mdl-color-text--white dialog-restore-close block full-span']) !!} 16 |
    17 |
    18 | 19 | {!! Form::button(''.$restoreBtnText.'
    ', array('class' => 'mdl-button mdl-js-button mdl-js-ripple-effect center {{ $restoreColor }} mdl-button--raised full-span','type' => 'submit','id' => 'confirm_restore')) !!} 20 |
    21 |
    22 |
    23 |
    -------------------------------------------------------------------------------- /app/Logic/Macros/HtmlMacros.php: -------------------------------------------------------------------------------- 1 | '.$link_name; 16 | $link = $active == true ? HTML::link($url, '#', $param) : $icon; 17 | $link = str_replace('#', $icon, $link); 18 | 19 | return $link; 20 | }); 21 | 22 | HTML::macro('icon_btn', function ($url = '', $icon = '', $link_name = '', $param = '', $active = true, $ssl = false) { 23 | $url = $ssl == true ? URL::to_secure($url) : URL::to($url); 24 | $icon = $link_name.' '; 25 | $link = $active == true ? HTML::link($url, '#', $param) : $icon; 26 | $link = str_replace('#', $icon, $link); 27 | 28 | return $link; 29 | }); 30 | 31 | // SHOW USERNAME 32 | HTML::macro('show_username', function () { 33 | $the_username = (Auth::user()->name === Auth::user()->email) ? ((is_null(Auth::user()->first_name)) ? (Auth::user()->name) : (Auth::user()->first_name)) : (((is_null(Auth::user()->name)) ? (Auth::user()->email) : (Auth::user()->name))); 34 | 35 | return $the_username; 36 | }); 37 | -------------------------------------------------------------------------------- /resources/assets/sass/components/_avatar.scss: -------------------------------------------------------------------------------- 1 | .user-avatar { 2 | width: 80px; 3 | height: 80px; 4 | margin: 2em auto; 5 | display: block; 6 | border: 2px solid $theme_color1; 7 | @include vendor(border-radius, 50%); 8 | @include draggless(); 9 | } 10 | .user-avatar-nav { 11 | margin-top: -3px; 12 | margin-right: 1em; 13 | float: left; 14 | width: 30px; 15 | height: 30px; 16 | @include vendor(border-radius, 50%); 17 | @include draggless(); 18 | } 19 | #user_selected_avatar { 20 | border: 2px solid $theme_color1; 21 | } 22 | #avatar_container { 23 | height: 202px; 24 | .dz-preview{ 25 | display: none; 26 | } 27 | .dropzone { 28 | border: 1px dashed rgba(0,0,0,0.3); 29 | background: rgba($theme_color1, .05); 30 | height: 180px; 31 | padding: 0; 32 | @include vendor(border-radius, $standard-border-radius); 33 | } 34 | .dz-message { 35 | margin-top: -20px 1em 0; 36 | padding: 0; 37 | text-align: center; 38 | 39 | &.dz-default { 40 | margin: 0 2em; 41 | } 42 | } 43 | } 44 | .user-image { 45 | width: 100px; 46 | height: 100px; 47 | border:2px solid $theme_color1; 48 | } 49 | .user-avatar-icon { 50 | width: 100px; 51 | height: 100px; 52 | color: $theme_color1; 53 | border: 2px solid $theme_color1; 54 | margin: 0 auto; 55 | display: block; 56 | text-align: center; 57 | @include draggless(); 58 | @include transitions(); 59 | @include vendor(border-radius, 50%); 60 | 61 | .material-icons{ 62 | font-size: 4em; 63 | margin-top: 15px; 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /resources/views/vendor/pagination/bootstrap-4.blade.php: -------------------------------------------------------------------------------- 1 | @if ($paginator->hasPages()) 2 | 36 | @endif 37 | -------------------------------------------------------------------------------- /resources/assets/sass/layouts/_dashboard.scss: -------------------------------------------------------------------------------- 1 | // Dashboard Logo 2 | .dashboard-logo { 3 | height: 64px; 4 | line-height: 1; 5 | letter-spacing: .02em; 6 | font-weight: 300; 7 | font-size: 18px; 8 | text-align: center; 9 | display: -webkit-flex; 10 | display: -ms-flexbox; 11 | display: flex; 12 | justify-content: center; 13 | -webkit-align-items: center; 14 | -ms-flex-align: center; 15 | align-items: center; 16 | text-decoration: none; 17 | text-transform: capitalize; 18 | i { 19 | margin: 0 5px; 20 | } 21 | } 22 | body .logo-style { 23 | line-height: 1; 24 | letter-spacing: .02em; 25 | font-weight: 300; 26 | font-size: 18px; 27 | align-items: center; 28 | text-decoration: none; 29 | text-transform: capitalize; 30 | i { 31 | margin: 0 5px; 32 | } 33 | } 34 | 35 | // Avater 36 | .mdl-list__item-avatar, 37 | .mdl-list__item-avatar.material-icons { 38 | height: 100px; 39 | width: 100px; 40 | background-color: transparent; 41 | margin: 5px auto; 42 | font-size: 100px; 43 | } 44 | 45 | .dashboard-layout { 46 | .mdl-button.dashboard-logo { 47 | height: 55px; 48 | line-height: 55px; 49 | border-radius: 0; 50 | } 51 | .mdl-layout__drawer .mdl-navigation .mdl-navigation__link { 52 | display: block; 53 | -webkit-flex-shrink: 0; 54 | -ms-flex-negative: 0; 55 | flex-shrink: 0; 56 | padding: 16px 40px; 57 | margin: 0; 58 | color: inherit; 59 | } 60 | .breadcrumb a { 61 | color: inherit !important; 62 | } 63 | .mdl-tabs__tab-bar { 64 | -webkit-justify-content: left; 65 | -ms-flex-pack: left; 66 | justify-content: left; 67 | } 68 | } 69 | 70 | .mdl-menu li a { 71 | color: inherit; 72 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/LoginController.php: -------------------------------------------------------------------------------- 1 | middleware('guest', ['except' => 'logout']); 41 | } 42 | 43 | /** 44 | * Logout, Clear Session, and Return. 45 | * 46 | * @return void 47 | */ 48 | public function logout() 49 | { 50 | $user = Auth::user(); 51 | Log::info('User Logged Out. ', [$user]); 52 | Auth::logout(); 53 | Session::flush(); 54 | 55 | return redirect(property_exists($this, 'redirectAfterLogout') ? $this->redirectAfterLogout : '/'); 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /resources/assets/sass/original/_variables.scss: -------------------------------------------------------------------------------- 1 | // Colors 2 | $white: #ffffff; 3 | 4 | // Body 5 | $body-bg: #f5f8fa; 6 | 7 | // Borders 8 | $laravel-border-color: darken($body-bg, 10%); 9 | $list-group-border: $laravel-border-color; 10 | $navbar-default-border: $laravel-border-color; 11 | $panel-default-border: $laravel-border-color; 12 | $panel-inner-border: $laravel-border-color; 13 | 14 | // Brands 15 | $brand-primary: #3097D1; 16 | $brand-info: #8eb4cb; 17 | $brand-success: #2ab27b; 18 | $brand-warning: #cbb956; 19 | $brand-danger: #bf5329; 20 | 21 | // Typography 22 | $icon-font-path: "~bootstrap-sass/assets/fonts/bootstrap/"; 23 | $font-family-sans-serif: "Raleway", sans-serif; 24 | $font-size-base: 14px; 25 | $line-height-base: 1.6; 26 | $text-color: #636b6f; 27 | 28 | // Navbar 29 | $navbar-default-bg: $white; 30 | 31 | // Buttons 32 | $btn-default-color: $text-color; 33 | 34 | // Inputs 35 | $input-border: lighten($text-color, 40%); 36 | $input-border-focus: lighten($brand-primary, 25%); 37 | $input-color-placeholder: lighten($text-color, 30%); 38 | 39 | // Panels 40 | $panel-default-heading-bg: $white; 41 | 42 | // Transitions 43 | $transitionSpeed: 0.35s; 44 | 45 | // Social Media 46 | $facebook: #4863ae; 47 | $twitter: #46c0fb; 48 | $google: #DD4B39; 49 | $github: #4183C4; 50 | 51 | // MQ's 52 | $mq-tiny: 320px; 53 | $phone: 480px; 54 | $tablet: 767px; 55 | $desktop: 992px; 56 | $lg-desktop: 1200px; 57 | 58 | // Radius' 59 | $standard-radius: 3px; 60 | 61 | // Margins and Padding 62 | $num-of-classes: 5; 63 | $directions: ('top', 'bottom', 'left', 'right'); 64 | $types: ('margin', 'padding'); 65 | $queries: ( 66 | $mq-tiny: 'xxs', 67 | $phone: 'xs', 68 | $tablet: 'sm', 69 | $desktop: 'md', 70 | $lg-desktop: 'lg' 71 | ); 72 | -------------------------------------------------------------------------------- /resources/views/cards/weather-card.blade.php: -------------------------------------------------------------------------------- 1 |
    2 |
    3 |

    4 | Your Weather 5 |

    6 |
    7 | 8 |
    9 |
    10 |
    11 |
    12 |
    13 | 14 | Show Forecast 15 | 16 | 17 | Show Current 18 | 19 |
    20 |
    21 | 24 | 33 |
    34 |
    35 | 36 | @section('footer_scripts') 37 | @include('scripts.weather') 38 | @endsection -------------------------------------------------------------------------------- /resources/assets/sass/components/_cards.scss: -------------------------------------------------------------------------------- 1 | .mdl-card { 2 | &.demo-card-wide { 3 | width: 512px; 4 | } 5 | &.demo-card-xwide { 6 | width: 767px; 7 | } 8 | &.demo-card-full { 9 | width: 100%; 10 | .mdl-card__supporting-text { 11 | width: auto; 12 | } 13 | } 14 | } 15 | 16 | .card-wide.mdl-card { 17 | width: 512px; 18 | margin: 0 auto; 19 | } 20 | 21 | .card-wide > .mdl-card__title { 22 | color: #fff; 23 | height: 192px; 24 | background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/210284/welcome_card_tuts.png') center / cover; 25 | } 26 | 27 | .card-wide > .mdl-card__menu { 28 | color: #fff; 29 | } 30 | .mdl-user-avatar { 31 | position: absolute; 32 | width: 100%; 33 | top: 36px; 34 | } 35 | .mdl-user-avatar img { 36 | border-radius: 50%; 37 | position: relative; 38 | margin: 0 auto; 39 | display: block; 40 | height: 100px; 41 | width: 100px; 42 | } 43 | .mdl-title-username { 44 | width: 100%; 45 | display: flex; 46 | align-items: center; 47 | justify-content: center; 48 | font-size: 1.1em !important; 49 | margin: 0px 0 5px 0; 50 | } 51 | @media (min-width: 840px) { 52 | .mdl-grid.full-grid { 53 | width: 99%; 54 | } 55 | } 56 | .card-image.mdl-card { 57 | width: 100%; 58 | } 59 | .card-image > .mdl-card__actions { 60 | padding: 1em 1em 0; 61 | z-index: 1; 62 | } 63 | .mdl-card__supporting-text { 64 | width: auto; 65 | } 66 | 67 | .mdl-card__actions { 68 | .mdl-button { 69 | min-width: auto; 70 | } 71 | } 72 | 73 | .mdl-card__title-text { 74 | width: 100%; 75 | display: -webkit-box; 76 | display: -ms-flexbox; 77 | display: flex; 78 | -webkit-box-align: center; 79 | -ms-flex-align: center; 80 | align-items: center; 81 | -webkit-box-pack: center; 82 | -ms-flex-pack: center; 83 | font-size: 20px !important; 84 | margin: 5px 0 5px 0; 85 | } -------------------------------------------------------------------------------- /public/images/wink.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/Providers/LocalEnvironmentServiceProvider.php: -------------------------------------------------------------------------------- 1 | \Barryvdh\Debugbar\Facade::class, 26 | ]; 27 | 28 | /** 29 | * Bootstrap the application services. 30 | * 31 | * @return void 32 | */ 33 | public function boot() 34 | { 35 | if (\App::environment(config('debugbar.enabled_environment'))) { 36 | $this->registerServiceProviders(); 37 | $this->registerFacadeAliases(); 38 | } 39 | } 40 | 41 | /** 42 | * Register the application services. 43 | * 44 | * @return void 45 | */ 46 | public function register() 47 | { 48 | // 49 | } 50 | 51 | /** 52 | * Load local service providers. 53 | */ 54 | protected function registerServiceProviders() 55 | { 56 | foreach ($this->localProviders as $provider) { 57 | $this->app->register($provider); 58 | } 59 | } 60 | 61 | /** 62 | * Load additional Aliases. 63 | */ 64 | public function registerFacadeAliases() 65 | { 66 | $loader = AliasLoader::getInstance(); 67 | foreach ($this->facadeAliases as $alias => $facade) { 68 | $loader->alias($alias, $facade); 69 | } 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /app/Http/Middleware/Authenticate.php: -------------------------------------------------------------------------------- 1 | auth = $auth; 31 | } 32 | 33 | /** 34 | * Handle an incoming request. 35 | * 36 | * @param \Illuminate\Http\Request $request 37 | * @param \Closure $next 38 | * @param $role 39 | * 40 | * @return mixed 41 | */ 42 | public function handle($request, Closure $next, $role) 43 | { 44 | if (!$this->auth->check()) { 45 | return redirect()->to('/login') 46 | ->with('status', 'success') 47 | ->with('message', 'Please login.'); 48 | } 49 | //////////////// 50 | // if($role == 'all') 51 | // { 52 | // return $next($request); 53 | // } 54 | 55 | // if( $this->auth->guest() || !$this->auth->user()->hasRole($role)) 56 | // { 57 | // abort(403); 58 | // } 59 | //////////////// 60 | return $next($request); 61 | } 62 | 63 | public function terminate($request, $response) 64 | { 65 | $user = Auth::user(); 66 | $currentRoute = Route::currentRouteName(); 67 | Log::info('Authenticate middlware was used: '.$currentRoute.'. ', [$user]); 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /artisan: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env php 2 | make(Illuminate\Contracts\Console\Kernel::class); 32 | 33 | $status = $kernel->handle( 34 | $input = new Symfony\Component\Console\Input\ArgvInput, 35 | new Symfony\Component\Console\Output\ConsoleOutput 36 | ); 37 | 38 | /* 39 | |-------------------------------------------------------------------------- 40 | | Shutdown The Application 41 | |-------------------------------------------------------------------------- 42 | | 43 | | Once Artisan has finished running. We will fire off the shutdown events 44 | | so that any final work may be done by the application before we shut 45 | | down the process. This is the last thing to happen to the request. 46 | | 47 | */ 48 | 49 | $kernel->terminate($input, $status); 50 | 51 | exit($status); 52 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /resources/views/scripts/mdl-save-ajax.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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/Logic/Activation/ActivationRepository.php: -------------------------------------------------------------------------------- 1 | id) 16 | ->where('created_at', '>=', Carbon::now()->subHours(config('settings.timePeriod'))) 17 | ->count(); 18 | 19 | if ($activations >= config('settings.maxAttempts')) { 20 | return true; 21 | } 22 | 23 | //if user changed activated email to new one 24 | if ($user->activated) { 25 | $user->update([ 26 | 'activated' => false, 27 | ]); 28 | } 29 | 30 | // Create new Activation record for this user 31 | $activation = self::createNewActivationToken($user); 32 | 33 | // Send activation email notification 34 | self::sendNewActivationEmail($user, $activation->token); 35 | } 36 | 37 | public function createNewActivationToken(User $user) 38 | { 39 | $ipAddress = new CaptureIpTrait(); 40 | $activation = new Activation(); 41 | $activation->user_id = $user->id; 42 | $activation->token = str_random(64); 43 | $activation->ip_address = $ipAddress->getClientIp(); 44 | $activation->save(); 45 | 46 | return $activation; 47 | } 48 | 49 | public function sendNewActivationEmail(User $user, $token) 50 | { 51 | $user->notify(new SendActivationEmail($token)); 52 | } 53 | 54 | public function deleteExpiredActivations() 55 | { 56 | Activation::where('created_at', '<=', Carbon::now()->subHours(72))->delete(); 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /app/Notifications/SendGoodbyeEmail.php: -------------------------------------------------------------------------------- 1 | token = $token; 22 | } 23 | 24 | /** 25 | * Get the notification's delivery channels. 26 | * 27 | * @param mixed $notifiable 28 | * 29 | * @return array 30 | */ 31 | public function via($notifiable) 32 | { 33 | return ['mail']; 34 | } 35 | 36 | /** 37 | * Get the mail representation of the notification. 38 | * 39 | * @param mixed $notifiable 40 | * 41 | * @return \Illuminate\Notifications\Messages\MailMessage 42 | */ 43 | public function toMail($notifiable) 44 | { 45 | $message = new MailMessage(); 46 | $message->subject(trans('emails.goodbyeSubject')) 47 | ->greeting(trans('emails.goodbyeGreeting', ['username' => \Auth::User()->name])) 48 | ->line(trans('emails.goodbyeMessage')) 49 | ->action(trans('emails.goodbyeButton'), route('user.reactivate', ['token' => $this->token])) 50 | ->line(trans('emails.goodbyeThanks')); 51 | 52 | return $message; 53 | } 54 | 55 | /** 56 | * Get the array representation of the notification. 57 | * 58 | * @param mixed $notifiable 59 | * 60 | * @return array 61 | */ 62 | public function toArray($notifiable) 63 | { 64 | return [ 65 | // 66 | ]; 67 | } 68 | } 69 | --------------------------------------------------------------------------------