├── public
├── favicon.ico
├── robots.txt
├── js
│ ├── dropify.js
│ ├── cropper.js
│ ├── dropzone.js
│ ├── tablesorter.js
│ ├── listify.js
│ ├── off-canvas.js
│ ├── tight-grid.js
│ ├── mapeal.js
│ ├── jquery-file-upload.js
│ ├── ace.js
│ ├── clipboard.js
│ ├── data-table.js
│ ├── mail.js
│ ├── dragula.js
│ ├── light-gallery.js
│ ├── modal-demo.js
│ ├── bt-maxLength.js
│ ├── tour.js
│ ├── avgrund.js
│ ├── formpickers.js
│ ├── circle-progress.js
│ ├── todolist.js
│ ├── bt-multiselect-splitter.js
│ ├── tabs.js
│ ├── owl-carousel.js
│ ├── hoverable-collapse.js
│ ├── iCheck.js
│ ├── form-repeater.js
│ ├── codemirror.js
│ ├── progress-bar.js
│ ├── bootstrap-table.js
│ ├── alerts.js
│ ├── no-ui-slider.js
│ ├── calendar.js
│ ├── typeahead.js
│ ├── desktop-notification.js
│ ├── sparkline.js
│ ├── toastDemo.js
│ ├── maps.js
│ ├── form-validation.js
│ ├── settings.js
│ ├── jq.tablesort.js
│ ├── ion-rangeSlider.js
│ ├── just-gage.js
│ ├── misc.js
│ ├── dashboard_1.js
│ ├── morris.js
│ └── mapeal_example_3.js
├── Image
│ ├── bg.jpg
│ ├── admin.png
│ ├── Card_graph.png
│ ├── Card_graph2.png
│ ├── Card_graph3.png
│ ├── Card_graph4.png
│ ├── Card_graph5.png
│ ├── librarylogo.png
│ ├── Sajeeb_Chakraborty.jpg
│ └── books-2596809_1920.jpg
├── .htaccess
├── web.config
├── index.php
└── css
│ ├── style5.css
│ ├── style7.css
│ ├── style.css
│ └── style4.css
├── resources
├── sass
│ └── app.scss
├── js
│ ├── app.js
│ └── bootstrap.js
├── views
│ ├── student
│ │ ├── Verify_Email_By_Mail.blade.php
│ │ ├── RecoveryPassword_By_Email.blade.php
│ │ ├── verify_email.blade.php
│ │ ├── change_password.blade.php
│ │ ├── forget_password.blade.php
│ │ ├── student_sign_in.blade.php
│ │ └── sign_up_page.blade.php
│ └── admin
│ │ ├── reject_email.blade.php
│ │ ├── approve_email.blade.php
│ │ ├── book_order_email.blade.php
│ │ ├── remove_student_email.blade.php
│ │ ├── book_received_Email.blade.php
│ │ ├── change_password.blade.php
│ │ ├── forget_password.blade.php
│ │ └── sign_in.blade.php
└── lang
│ └── en
│ ├── pagination.php
│ ├── auth.php
│ └── passwords.php
├── bootstrap
├── cache
│ └── .gitignore
└── app.php
├── storage
├── logs
│ └── .gitignore
├── app
│ ├── public
│ │ └── .gitignore
│ └── .gitignore
└── framework
│ ├── testing
│ └── .gitignore
│ ├── views
│ └── .gitignore
│ ├── cache
│ ├── data
│ │ └── .gitignore
│ └── .gitignore
│ ├── sessions
│ └── .gitignore
│ └── .gitignore
├── database
├── .gitignore
├── seeds
│ └── DatabaseSeeder.php
├── migrations
│ ├── 2021_01_06_144034_create_shelfs_table.php
│ ├── 2021_01_06_143515_create_admins_table.php
│ ├── 2021_01_06_143700_create_books_table.php
│ ├── 2021_01_06_143606_create_records_table.php
│ └── 2021_01_06_143407_create_students_table.php
└── factories
│ └── UserFactory.php
├── README.md
├── .gitattributes
├── tests
├── TestCase.php
├── Unit
│ └── ExampleTest.php
├── Feature
│ └── ExampleTest.php
└── CreatesApplication.php
├── .gitignore
├── .styleci.yml
├── .editorconfig
├── app
├── Http
│ ├── Middleware
│ │ ├── EncryptCookies.php
│ │ ├── VerifyCsrfToken.php
│ │ ├── CheckForMaintenanceMode.php
│ │ ├── TrimStrings.php
│ │ ├── TrustProxies.php
│ │ ├── Authenticate.php
│ │ └── RedirectIfAuthenticated.php
│ ├── Controllers
│ │ └── Controller.php
│ └── Kernel.php
├── Providers
│ ├── BroadcastServiceProvider.php
│ ├── AppServiceProvider.php
│ ├── AuthServiceProvider.php
│ ├── EventServiceProvider.php
│ └── RouteServiceProvider.php
├── Mail
│ ├── BookOrderMail.php
│ ├── RejectMail.php
│ ├── VerifyEmail.php
│ ├── ApproveMail.php
│ ├── BookReceiveMail.php
│ ├── ForgetPassEmail.php
│ └── RemoveStudentMail.php
├── User.php
├── Console
│ └── Kernel.php
└── Exceptions
│ └── Handler.php
├── webpack.mix.js
├── routes
├── channels.php
├── api.php
└── console.php
├── server.php
├── config
├── cors.php
├── services.php
├── view.php
├── hashing.php
├── broadcasting.php
├── filesystems.php
├── queue.php
├── logging.php
├── cache.php
├── mail.php
└── auth.php
├── .env.example
├── package.json
├── phpunit.xml
├── composer.json
└── artisan
/public/favicon.ico:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/resources/sass/app.scss:
--------------------------------------------------------------------------------
1 | //
2 |
--------------------------------------------------------------------------------
/bootstrap/cache/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/resources/js/app.js:
--------------------------------------------------------------------------------
1 | require('./bootstrap');
2 |
--------------------------------------------------------------------------------
/storage/logs/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/database/.gitignore:
--------------------------------------------------------------------------------
1 | *.sqlite
2 | *.sqlite-journal
3 |
--------------------------------------------------------------------------------
/public/robots.txt:
--------------------------------------------------------------------------------
1 | User-agent: *
2 | Disallow:
3 |
--------------------------------------------------------------------------------
/storage/app/public/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/app/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !public/
3 | !.gitignore
4 |
--------------------------------------------------------------------------------
/storage/framework/testing/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/framework/views/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/framework/cache/data/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/framework/sessions/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/framework/cache/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !data/
3 | !.gitignore
4 |
--------------------------------------------------------------------------------
/public/js/dropify.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | $('.dropify').dropify();
4 | })(jQuery);
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | 
2 |
--------------------------------------------------------------------------------
/public/Image/bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abdullahthewebbee/Seminar_Library_Management_System_Laravel-master/HEAD/public/Image/bg.jpg
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | * text=auto
2 | *.css linguist-vendored
3 | *.scss linguist-vendored
4 | *.js linguist-vendored
5 | CHANGELOG.md export-ignore
6 |
--------------------------------------------------------------------------------
/public/Image/admin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abdullahthewebbee/Seminar_Library_Management_System_Laravel-master/HEAD/public/Image/admin.png
--------------------------------------------------------------------------------
/public/js/cropper.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | $('#cropperExample').cropper({
4 | aspectRatio: 16 / 9
5 | });
6 | })(jQuery);
--------------------------------------------------------------------------------
/public/Image/Card_graph.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abdullahthewebbee/Seminar_Library_Management_System_Laravel-master/HEAD/public/Image/Card_graph.png
--------------------------------------------------------------------------------
/public/Image/Card_graph2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abdullahthewebbee/Seminar_Library_Management_System_Laravel-master/HEAD/public/Image/Card_graph2.png
--------------------------------------------------------------------------------
/public/Image/Card_graph3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abdullahthewebbee/Seminar_Library_Management_System_Laravel-master/HEAD/public/Image/Card_graph3.png
--------------------------------------------------------------------------------
/public/Image/Card_graph4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abdullahthewebbee/Seminar_Library_Management_System_Laravel-master/HEAD/public/Image/Card_graph4.png
--------------------------------------------------------------------------------
/public/Image/Card_graph5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abdullahthewebbee/Seminar_Library_Management_System_Laravel-master/HEAD/public/Image/Card_graph5.png
--------------------------------------------------------------------------------
/public/Image/librarylogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abdullahthewebbee/Seminar_Library_Management_System_Laravel-master/HEAD/public/Image/librarylogo.png
--------------------------------------------------------------------------------
/public/js/dropzone.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | $("my-awesome-dropzone").dropzone({
4 | url: "bootstrapdash.com/"
5 | });
6 | })(jQuery);
--------------------------------------------------------------------------------
/storage/framework/.gitignore:
--------------------------------------------------------------------------------
1 | config.php
2 | routes.php
3 | schedule-*
4 | compiled.php
5 | services.json
6 | events.scanned.php
7 | routes.scanned.php
8 | down
9 |
--------------------------------------------------------------------------------
/public/Image/Sajeeb_Chakraborty.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abdullahthewebbee/Seminar_Library_Management_System_Laravel-master/HEAD/public/Image/Sajeeb_Chakraborty.jpg
--------------------------------------------------------------------------------
/public/Image/books-2596809_1920.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abdullahthewebbee/Seminar_Library_Management_System_Laravel-master/HEAD/public/Image/books-2596809_1920.jpg
--------------------------------------------------------------------------------
/public/js/tablesorter.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | $(function() {
4 | if ($('#myTable').length) {
5 | $('#myTable').tablesort();
6 | }
7 | });
8 | })(jQuery);
--------------------------------------------------------------------------------
/public/js/listify.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | var options = {
4 | valueNames: ['name', 'born']
5 | };
6 |
7 | var userList = new List('users', options);
8 | })(jQuery);
--------------------------------------------------------------------------------
/public/js/off-canvas.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | $(function() {
4 | $('[data-toggle="offcanvas"]').on("click", function() {
5 | $('.row-offcanvas').toggleClass('active')
6 | });
7 | });
8 | })(jQuery);
--------------------------------------------------------------------------------
/public/js/tight-grid.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | if ($('.grid').length) {
4 | var colcade = new Colcade('.grid', {
5 | columns: '.grid-col',
6 | items: '.grid-item'
7 | });
8 | }
9 | })(jQuery);
--------------------------------------------------------------------------------
/tests/TestCase.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Email Verification
5 |
6 |
7 | {{ $details['title'] }}
8 | {{ $details['body'] }}
9 |
10 | Thank you
11 |
12 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | end_of_line = lf
6 | insert_final_newline = true
7 | indent_style = space
8 | indent_size = 4
9 | trim_trailing_whitespace = true
10 |
11 | [*.md]
12 | trim_trailing_whitespace = false
13 |
14 | [*.{yml,yaml}]
15 | indent_size = 2
16 |
--------------------------------------------------------------------------------
/resources/views/admin/reject_email.blade.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Rejected your account
5 |
6 |
7 | {{ $details_reject['title'] }}
8 | {{ $details_reject['body'] }}
9 |
10 | Thank you
11 |
12 |
--------------------------------------------------------------------------------
/resources/views/student/RecoveryPassword_By_Email.blade.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Recover Password
5 |
6 |
7 | {{ $details2['title'] }}
8 | {{ $details2['body'] }}
9 |
10 | Thank you
11 |
12 |
--------------------------------------------------------------------------------
/resources/views/admin/approve_email.blade.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Seminar Library Management System
5 |
6 |
7 | {{ $details_approve['title'] }}
8 | {{ $details_approve['body'] }}
9 |
10 | Thank you
11 |
12 |
--------------------------------------------------------------------------------
/resources/views/admin/book_order_email.blade.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Seminar Library Management System
5 |
6 |
7 | {{ $details_order['title'] }}
8 | {{ $details_order['body'] }}
9 |
10 | Thank you
11 |
12 |
--------------------------------------------------------------------------------
/resources/views/admin/remove_student_email.blade.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Seminar Library Management System
5 |
6 |
7 | {{ $details_remove['title'] }}
8 | {{ $details_remove['body'] }}
9 |
10 | Thank you
11 |
12 |
--------------------------------------------------------------------------------
/resources/views/admin/book_received_Email.blade.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Seminar Library Management System
5 |
6 |
7 | {{ $details_received['title'] }}
8 | {{ $details_received['body'] }}
9 |
10 | Thank you
11 |
12 |
--------------------------------------------------------------------------------
/database/seeds/DatabaseSeeder.php:
--------------------------------------------------------------------------------
1 | call(UsersTableSeeder::class);
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/tests/Unit/ExampleTest.php:
--------------------------------------------------------------------------------
1 | assertTrue(true);
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/public/js/mail.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | $(function() {
4 | var labelClone = $('.label-clone');
5 | for (var i = 0; i < labelClone.length; i++) {
6 | var id = $(labelClone[i]).find(".checkbox-dib").attr('id');
7 | $(labelClone[i]).append('');
8 | $(labelClone[i]).find("label").attr("for", id);
9 | }
10 | });
11 | })(jQuery);
--------------------------------------------------------------------------------
/app/Http/Middleware/EncryptCookies.php:
--------------------------------------------------------------------------------
1 | get('/');
18 |
19 | $response->assertStatus(200);
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/public/js/light-gallery.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | if ($("#lightgallery").length) {
4 | $("#lightgallery").lightGallery();
5 | }
6 |
7 | if ($("#lightgallery-without-thumb").length) {
8 | $("#lightgallery-without-thumb").lightGallery({
9 | thumbnail: true,
10 | animateThumb: false,
11 | showThumbByDefault: false
12 | });
13 | }
14 |
15 | if ($("#video-gallery").length) {
16 | $("#video-gallery").lightGallery();
17 | }
18 | })(jQuery);
--------------------------------------------------------------------------------
/tests/CreatesApplication.php:
--------------------------------------------------------------------------------
1 | make(Kernel::class)->bootstrap();
19 |
20 | return $app;
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/app/Providers/BroadcastServiceProvider.php:
--------------------------------------------------------------------------------
1 | expectsJson()) {
18 | return route('login');
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/webpack.mix.js:
--------------------------------------------------------------------------------
1 | const mix = require('laravel-mix');
2 |
3 | /*
4 | |--------------------------------------------------------------------------
5 | | Mix Asset Management
6 | |--------------------------------------------------------------------------
7 | |
8 | | Mix provides a clean, fluent API for defining some Webpack build steps
9 | | for your Laravel application. By default, we are compiling the Sass
10 | | file for the application as well as bundling up all the JS files.
11 | |
12 | */
13 |
14 | mix.js('resources/js/app.js', 'public/js')
15 | .sass('resources/sass/app.scss', 'public/css');
16 |
--------------------------------------------------------------------------------
/resources/lang/en/pagination.php:
--------------------------------------------------------------------------------
1 | '« Previous',
17 | 'next' => 'Next »',
18 |
19 | ];
20 |
--------------------------------------------------------------------------------
/routes/channels.php:
--------------------------------------------------------------------------------
1 | id === (int) $id;
18 | });
19 |
--------------------------------------------------------------------------------
/routes/api.php:
--------------------------------------------------------------------------------
1 | get('/user', function (Request $request) {
18 | return $request->user();
19 | });
20 |
--------------------------------------------------------------------------------
/server.php:
--------------------------------------------------------------------------------
1 |
8 | */
9 |
10 | $uri = urldecode(
11 | parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
12 | );
13 |
14 | // This file allows us to emulate Apache's "mod_rewrite" functionality from the
15 | // built-in PHP web server. This provides a convenient way to test a Laravel
16 | // application without having installed a "real" web server software here.
17 | if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) {
18 | return false;
19 | }
20 |
21 | require_once __DIR__.'/public/index.php';
22 |
--------------------------------------------------------------------------------
/routes/console.php:
--------------------------------------------------------------------------------
1 | comment(Inspiring::quote());
19 | })->describe('Display an inspiring quote');
20 |
--------------------------------------------------------------------------------
/public/js/modal-demo.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | $('#exampleModal').on('show.bs.modal', function(event) {
4 | var button = $(event.relatedTarget) // Button that triggered the modal
5 | var recipient = button.data('whatever') // Extract info from data-* attributes
6 | // If necessary, you could initiate an AJAX request here (and then do the updating in a callback).
7 | // Update the modal's content. We'll use jQuery here, but you could use a data binding library or other methods instead.
8 | var modal = $(this)
9 | modal.find('.modal-title').text('New message to ' + recipient)
10 | modal.find('.modal-body input').val(recipient)
11 | })
12 | })(jQuery);
--------------------------------------------------------------------------------
/public/.htaccess:
--------------------------------------------------------------------------------
1 |
2 |
3 | Options -MultiViews -Indexes
4 |
5 |
6 | RewriteEngine On
7 |
8 | # Handle Authorization Header
9 | RewriteCond %{HTTP:Authorization} .
10 | RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
11 |
12 | # Redirect Trailing Slashes If Not A Folder...
13 | RewriteCond %{REQUEST_FILENAME} !-d
14 | RewriteCond %{REQUEST_URI} (.+)/$
15 | RewriteRule ^ %1 [L,R=301]
16 |
17 | # Send Requests To Front Controller...
18 | RewriteCond %{REQUEST_FILENAME} !-d
19 | RewriteCond %{REQUEST_FILENAME} !-f
20 | RewriteRule ^ index.php [L]
21 |
22 |
--------------------------------------------------------------------------------
/resources/lang/en/auth.php:
--------------------------------------------------------------------------------
1 | 'These credentials do not match our records.',
17 | 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
18 |
19 | ];
20 |
--------------------------------------------------------------------------------
/public/js/bt-maxLength.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | $('#defaultconfig').maxlength();
4 |
5 | $('#defaultconfig-2').maxlength({
6 | alwaysShow: true,
7 | threshold: 20,
8 | warningClass: "badge mt-1 badge-success",
9 | limitReachedClass: "badge mt-1 badge-danger"
10 | });
11 |
12 | $('#defaultconfig-3').maxlength({
13 | alwaysShow: true,
14 | threshold: 10,
15 | warningClass: "badge mt-1 badge-success",
16 | limitReachedClass: "badge mt-1 badge-danger",
17 | separator: ' of ',
18 | preText: 'You have ',
19 | postText: ' chars remaining.',
20 | validate: true
21 | });
22 |
23 | $('#maxlength-textarea').maxlength({
24 | alwaysShow: true
25 | });
26 | })(jQuery);
--------------------------------------------------------------------------------
/app/Http/Middleware/RedirectIfAuthenticated.php:
--------------------------------------------------------------------------------
1 | check()) {
22 | return redirect(RouteServiceProvider::HOME);
23 | }
24 |
25 | return $next($request);
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/app/Providers/AuthServiceProvider.php:
--------------------------------------------------------------------------------
1 | 'App\Policies\ModelPolicy',
17 | ];
18 |
19 | /**
20 | * Register any authentication / authorization services.
21 | *
22 | * @return void
23 | */
24 | public function boot()
25 | {
26 | $this->registerPolicies();
27 |
28 | //
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/app/Mail/BookOrderMail.php:
--------------------------------------------------------------------------------
1 | details_order=$details_order;
23 | }
24 |
25 | /**
26 | * Build the message.
27 | *
28 | * @return $this
29 | */
30 | public function build()
31 | {
32 | return $this->subject('Book Order')
33 | ->view('admin.book_order_email');
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/database/migrations/2021_01_06_144034_create_shelfs_table.php:
--------------------------------------------------------------------------------
1 | id();
18 | $table->string('Shelf_ID')->unique();
19 | $table->string('Shelf_Location');
20 | });
21 | }
22 |
23 | /**
24 | * Reverse the migrations.
25 | *
26 | * @return void
27 | */
28 | public function down()
29 | {
30 | Schema::dropIfExists('shelfs');
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/resources/lang/en/passwords.php:
--------------------------------------------------------------------------------
1 | 'Your password has been reset!',
17 | 'sent' => 'We have emailed your password reset link!',
18 | 'throttled' => 'Please wait before retrying.',
19 | 'token' => 'This password reset token is invalid.',
20 | 'user' => "We can't find a user with that email address.",
21 |
22 | ];
23 |
--------------------------------------------------------------------------------
/app/Mail/RejectMail.php:
--------------------------------------------------------------------------------
1 | details_reject=$details_reject;
25 | }
26 |
27 | /**
28 | * Build the message.
29 | *
30 | * @return $this
31 | */
32 | public function build()
33 | {
34 | return $this->subject('Rejected your account')
35 | ->view('admin.reject_email');
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/app/Mail/VerifyEmail.php:
--------------------------------------------------------------------------------
1 | details=$details;
25 |
26 |
27 | }
28 |
29 | /**
30 | * Build the message.
31 | *
32 | * @return $this
33 | */
34 | public function build()
35 | {
36 | return $this->subject('Email Verification Code')
37 | ->view('student.Verify_Email_By_Mail');
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/app/Mail/ApproveMail.php:
--------------------------------------------------------------------------------
1 | details_approve=$details_approve;
23 | }
24 |
25 | /**
26 | * Build the message.
27 | *
28 | * @return $this
29 | */
30 | public function build()
31 | {
32 | return $this->subject('Congrats! Your account is approved ')
33 | ->view('admin.approve_Email');
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/app/Mail/BookReceiveMail.php:
--------------------------------------------------------------------------------
1 | details_received=$details_received;
24 | }
25 |
26 | /**
27 | * Build the message.
28 | *
29 | * @return $this
30 | */
31 | public function build()
32 | {
33 | return $this->subject('Book Received')
34 | ->view('admin.book_received_email');
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/app/Mail/ForgetPassEmail.php:
--------------------------------------------------------------------------------
1 | details2=$details2;
25 |
26 | }
27 |
28 | /**
29 | * Build the message.
30 | *
31 | * @return $this
32 | */
33 | public function build()
34 | {
35 | return $this->subject('Recovery Password')
36 | ->view('student.RecoveryPassword_By_Email');
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/public/js/tour.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | var tour = new Tour({
4 | steps: [{
5 | element: "#tourElement1",
6 | title: "Welcome",
7 | content: "This is an example of bootstrap tour"
8 | },
9 | {
10 | element: "#tourElement2",
11 | title: "Question",
12 | content: "Type your question here"
13 | },
14 | {
15 | element: "#tourElement3",
16 | title: "Ask",
17 | content: "Click this button to post the question"
18 | },
19 | {
20 | element: "#tourElement4",
21 | title: "Answer",
22 | content: "Click here to answer questions."
23 | }
24 | ],
25 | container: '.content-wrapper'
26 | });
27 | if (tour.ended()) {
28 | tour.restart();
29 | } else {
30 | tour.init();
31 | tour.start();
32 | }
33 | })(jQuery);
--------------------------------------------------------------------------------
/app/Mail/RemoveStudentMail.php:
--------------------------------------------------------------------------------
1 | details_remove=$details_remove;
25 | }
26 |
27 | /**
28 | * Build the message.
29 | *
30 | * @return $this
31 | */
32 | public function build()
33 | {
34 | return $this->subject('Remove Account')
35 | ->view('admin.remove_student_email');
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/database/migrations/2021_01_06_143515_create_admins_table.php:
--------------------------------------------------------------------------------
1 | id();
18 | $table->string('Username')->unique();
19 | $table->string('Email')->unique();
20 | $table->string('Password');
21 | });
22 | }
23 |
24 | /**
25 | * Reverse the migrations.
26 | *
27 | * @return void
28 | */
29 | public function down()
30 | {
31 | Schema::dropIfExists('admins');
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/app/Providers/EventServiceProvider.php:
--------------------------------------------------------------------------------
1 | [
19 | SendEmailVerificationNotification::class,
20 | ],
21 | ];
22 |
23 | /**
24 | * Register any events for your application.
25 | *
26 | * @return void
27 | */
28 | public function boot()
29 | {
30 | parent::boot();
31 |
32 | //
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/app/User.php:
--------------------------------------------------------------------------------
1 | 'datetime',
38 | ];
39 | }
40 |
--------------------------------------------------------------------------------
/public/js/avgrund.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | $(function() {
4 | $('#show').avgrund({
5 | height: 500,
6 | holderClass: 'custom',
7 | showClose: true,
8 | showCloseText: 'close',
9 | onBlurContainer: '.container-scroller',
10 | template: 'So implement your design and place content here! If you want to close modal, please hit "Esc", click somewhere on the screen or use special button.
' +
11 | ''
16 | });
17 | })
18 | })(jQuery);
--------------------------------------------------------------------------------
/public/js/formpickers.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | if ($(".clockpicker").length) {
4 | $('.clockpicker').clockpicker();
5 | }
6 | if ($(".color-picker").length) {
7 | $('.color-picker').asColorPicker();
8 | }
9 | if ($(".datepicker").length) {
10 | $('.datepicker').datepicker({
11 | enableOnReadonly: true,
12 | todayHighlight: true,
13 | });
14 | }
15 | if ($(".datepicker-autoclose").length) {
16 | $('.datepicker-autoclose').datepicker({
17 | autoclose: true
18 | });
19 | }
20 | if ($('input[name="date-range"]').length) {
21 | $('input[name="date-range"]').daterangepicker();
22 | }
23 | if ($('input[name="date-time-range"]').length) {
24 | $('input[name="date-time-range"]').daterangepicker({
25 | timePicker: true,
26 | timePickerIncrement: 30,
27 | locale: {
28 | format: 'MM/DD/YYYY h:mm A'
29 | }
30 | });
31 | }
32 | })(jQuery);
--------------------------------------------------------------------------------
/config/cors.php:
--------------------------------------------------------------------------------
1 | ['api/*'],
19 |
20 | 'allowed_methods' => ['*'],
21 |
22 | 'allowed_origins' => ['*'],
23 |
24 | 'allowed_origins_patterns' => [],
25 |
26 | 'allowed_headers' => ['*'],
27 |
28 | 'exposed_headers' => false,
29 |
30 | 'max_age' => false,
31 |
32 | 'supports_credentials' => false,
33 |
34 | ];
35 |
--------------------------------------------------------------------------------
/.env.example:
--------------------------------------------------------------------------------
1 | APP_NAME=Laravel
2 | APP_ENV=local
3 | APP_KEY=
4 | APP_DEBUG=true
5 | APP_URL=http://localhost
6 |
7 | LOG_CHANNEL=stack
8 |
9 | DB_CONNECTION=mysql
10 | DB_HOST=127.0.0.1
11 | DB_PORT=3306
12 | DB_DATABASE=laravel
13 | DB_USERNAME=root
14 | DB_PASSWORD=
15 |
16 | BROADCAST_DRIVER=log
17 | CACHE_DRIVER=file
18 | QUEUE_CONNECTION=sync
19 | SESSION_DRIVER=file
20 | SESSION_LIFETIME=120
21 |
22 | REDIS_HOST=127.0.0.1
23 | REDIS_PASSWORD=null
24 | REDIS_PORT=6379
25 |
26 | MAIL_MAILER=smtp
27 | MAIL_HOST=smtp.mailtrap.io
28 | MAIL_PORT=2525
29 | MAIL_USERNAME=null
30 | MAIL_PASSWORD=null
31 | MAIL_ENCRYPTION=null
32 | MAIL_FROM_ADDRESS=null
33 | MAIL_FROM_NAME="${APP_NAME}"
34 |
35 | AWS_ACCESS_KEY_ID=
36 | AWS_SECRET_ACCESS_KEY=
37 | AWS_DEFAULT_REGION=us-east-1
38 | AWS_BUCKET=
39 |
40 | PUSHER_APP_ID=
41 | PUSHER_APP_KEY=
42 | PUSHER_APP_SECRET=
43 | PUSHER_APP_CLUSTER=mt1
44 |
45 | MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
46 | MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
47 |
--------------------------------------------------------------------------------
/database/migrations/2021_01_06_143700_create_books_table.php:
--------------------------------------------------------------------------------
1 | id();
18 | $table->string('Book_ID')->unique();
19 | $table->string('Book_Name');
20 | $table->string('Writer_Name');
21 | $table->string('Catagory');
22 | $table->string('Amounts');
23 | $table->string('Shelf_ID');
24 | });
25 | }
26 |
27 | /**
28 | * Reverse the migrations.
29 | *
30 | * @return void
31 | */
32 | public function down()
33 | {
34 | Schema::dropIfExists('books');
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/resources/js/bootstrap.js:
--------------------------------------------------------------------------------
1 | window._ = require('lodash');
2 |
3 | /**
4 | * We'll load the axios HTTP library which allows us to easily issue requests
5 | * to our Laravel back-end. This library automatically handles sending the
6 | * CSRF token as a header based on the value of the "XSRF" token cookie.
7 | */
8 |
9 | window.axios = require('axios');
10 |
11 | window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
12 |
13 | /**
14 | * Echo exposes an expressive API for subscribing to channels and listening
15 | * for events that are broadcast by Laravel. Echo and event broadcasting
16 | * allows your team to easily build robust real-time web applications.
17 | */
18 |
19 | // import Echo from 'laravel-echo';
20 |
21 | // window.Pusher = require('pusher-js');
22 |
23 | // window.Echo = new Echo({
24 | // broadcaster: 'pusher',
25 | // key: process.env.MIX_PUSHER_APP_KEY,
26 | // cluster: process.env.MIX_PUSHER_APP_CLUSTER,
27 | // forceTLS: true
28 | // });
29 |
--------------------------------------------------------------------------------
/database/factories/UserFactory.php:
--------------------------------------------------------------------------------
1 | define(User::class, function (Faker $faker) {
21 | return [
22 | 'name' => $faker->name,
23 | 'email' => $faker->unique()->safeEmail,
24 | 'email_verified_at' => now(),
25 | 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
26 | 'remember_token' => Str::random(10),
27 | ];
28 | });
29 |
--------------------------------------------------------------------------------
/app/Console/Kernel.php:
--------------------------------------------------------------------------------
1 | command('inspire')->hourly();
28 | }
29 |
30 | /**
31 | * Register the commands for the application.
32 | *
33 | * @return void
34 | */
35 | protected function commands()
36 | {
37 | $this->load(__DIR__.'/Commands');
38 |
39 | require base_path('routes/console.php');
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/public/js/circle-progress.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | if ($(".circle-progress").length) {
4 | $('.circle-progress').circleProgress({
5 | fill: {
6 | color: "#fff"
7 | }
8 | });
9 | }
10 | if ($(".yearly-progress").length) {
11 | $('.yearly-progress').circleProgress({
12 | value: 0.80,
13 | thickness: 13,
14 | startAngle: 45,
15 | fill: {
16 | color: "#03D751"
17 | }
18 | }).on('circle-animation-progress', function(event, progress) {
19 | $(this).find('.value').html(Math.round(80 * progress) + '%');
20 | });
21 | }
22 | if ($(".monthly-progress").length) {
23 | $('.monthly-progress').circleProgress({
24 | value: 0.45,
25 | thickness: 13,
26 | startAngle: 45,
27 | fill: {
28 | color: "#57008E"
29 | }
30 | }).on('circle-animation-progress', function(event, progress) {
31 | $(this).find('.value').html(Math.round(45 * progress) + '%');
32 | });
33 | }
34 | })(jQuery);
--------------------------------------------------------------------------------
/database/migrations/2021_01_06_143606_create_records_table.php:
--------------------------------------------------------------------------------
1 | id();
18 | $table->string('Book_ID');
19 | $table->string('Student_ID');
20 | $table->string('Collection_Date');
21 | $table->string('Expired_Date');
22 | $table->string('Submission_Status');
23 | $table->string('Submission_Date');
24 | $table->string('Read');
25 | });
26 | }
27 |
28 | /**
29 | * Reverse the migrations.
30 | *
31 | * @return void
32 | */
33 | public function down()
34 | {
35 | Schema::dropIfExists('records');
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/public/js/todolist.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | $(function() {
4 | var todoListItem = $('#list-items');
5 | var todoListInput = $('#todo-list-input');
6 | $('#add-task').on("click", function(event) {
7 | event.preventDefault();
8 |
9 | var item = todoListInput.val();
10 |
11 | if (item) {
12 | todoListItem.append("");
13 | todoListInput.val("");
14 | }
15 |
16 | });
17 |
18 | todoListItem.on('change', '.checkbox', function() {
19 | if ($(this).attr('checked')) {
20 | $(this).removeAttr('checked');
21 | } else {
22 | $(this).attr('checked', 'checked');
23 | }
24 |
25 | $(this).closest("li").toggleClass('completed');
26 |
27 | });
28 |
29 | todoListItem.on('click', '.remove', function() {
30 | $(this).parent().remove();
31 | });
32 |
33 | });
34 | })(jQuery);
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "private": true,
3 | "scripts": {
4 | "dev": "npm run development",
5 | "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
6 | "watch": "npm run development -- --watch",
7 | "watch-poll": "npm run watch -- --watch-poll",
8 | "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
9 | "prod": "npm run production",
10 | "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
11 | },
12 | "devDependencies": {
13 | "axios": "^0.19",
14 | "cross-env": "^7.0",
15 | "laravel-mix": "^5.0.1",
16 | "lodash": "^4.17.13",
17 | "resolve-url-loader": "^3.1.0",
18 | "sass": "^1.15.2",
19 | "sass-loader": "^8.0.0"
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/config/services.php:
--------------------------------------------------------------------------------
1 | [
18 | 'domain' => env('MAILGUN_DOMAIN'),
19 | 'secret' => env('MAILGUN_SECRET'),
20 | 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
21 | ],
22 |
23 | 'postmark' => [
24 | 'token' => env('POSTMARK_TOKEN'),
25 | ],
26 |
27 | 'ses' => [
28 | 'key' => env('AWS_ACCESS_KEY_ID'),
29 | 'secret' => env('AWS_SECRET_ACCESS_KEY'),
30 | 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
31 | ],
32 |
33 | ];
34 |
--------------------------------------------------------------------------------
/public/js/bt-multiselect-splitter.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | $(function() {
4 | $('#example1').multiselectsplitter();
5 |
6 | $('#example2').multiselectsplitter({
7 | selectSize: 7,
8 | clearOnFirstChange: true,
9 | groupCounter: true
10 | });
11 |
12 | $('#example3').multiselectsplitter({
13 | groupCounter: true,
14 | maximumSelected: 2
15 | });
16 |
17 | $('#example4').multiselectsplitter({
18 | groupCounter: true,
19 | maximumSelected: 3,
20 | onlySameGroup: true
21 | });
22 |
23 | $('#example5').multiselectsplitter({
24 | size: 6,
25 | groupCounter: true,
26 | maximumSelected: 2,
27 | maximumAlert: function(maximumSelected) {
28 | alert('You choose ' + (maximumSelected + 1) + ' options. Are you crazy ?');
29 | },
30 | createFirstSelect: function(label, $originalSelect) {
31 | return '';
32 | },
33 | createSecondSelect: function(label, $firstSelect) {
34 | return '';
35 | }
36 | });
37 | });
38 | })(jQuery);
--------------------------------------------------------------------------------
/public/js/tabs.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | $(function() {
4 | if ($('.demo-tabs').length) {
5 | $('.demo-tabs').pwstabs({
6 | effect: 'none'
7 | });
8 | }
9 |
10 | if ($('.hello_world').length) {
11 | $('.hello_world').pwstabs();
12 | }
13 |
14 | if ($('#rtl-tabs-1').length) {
15 | $('#rtl-tabs-1').pwstabs({
16 | effect: 'slidedown',
17 | defaultTab: 2,
18 | rtl: true
19 | });
20 | }
21 |
22 | if ($('#vertical-left').length) {
23 | $('#vertical-left').pwstabs({
24 | effect: 'slideleft',
25 | defaultTab: 1,
26 | containerWidth: '600px',
27 | tabsPosition: 'vertical',
28 | verticalPosition: 'left'
29 | });
30 | }
31 |
32 | if ($('#horizontal-left').length) {
33 | $('#horizontal-left').pwstabs({
34 | effect: 'slidedown',
35 | defaultTab: 2,
36 | containerWidth: '600px',
37 | horizontalPosition: 'bottom'
38 | });
39 | }
40 |
41 | if ($('.tickets-tab').length) {
42 | $('.tickets-tab').pwstabs({
43 | effect: 'none'
44 | });
45 | }
46 |
47 | });
48 | })(jQuery);
--------------------------------------------------------------------------------
/database/migrations/2021_01_06_143407_create_students_table.php:
--------------------------------------------------------------------------------
1 | id();
18 | $table->string('Student_ID')->unique();
19 | $table->string('Name');
20 | $table->string('Session');
21 | $table->string('Contact_no');
22 | $table->string('Email')->unique();
23 | $table->string('Image');
24 | $table->string('Username')->unique();
25 | $table->string('Password');
26 | $table->string('Verify');
27 | $table->string('Confirmation_Code');
28 | $table->string('Read');
29 |
30 | });
31 | }
32 |
33 | /**
34 | * Reverse the migrations.
35 | *
36 | * @return void
37 | */
38 | public function down()
39 | {
40 | Schema::dropIfExists('students');
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/phpunit.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 | ./tests/Unit
9 |
10 |
11 |
12 | ./tests/Feature
13 |
14 |
15 |
16 |
17 | ./app
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/public/web.config:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/public/js/owl-carousel.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | $.fn.andSelf = function() {
4 | return this.addBack.apply(this, arguments);
5 | }
6 |
7 | if ($('.example-1').length) {
8 | $('.example-1').owlCarousel({
9 | loop: true,
10 | margin: 10,
11 | nav: true,
12 | responsive: {
13 | 0: {
14 | items: 1
15 | },
16 | 600: {
17 | items: 3
18 | },
19 | 1000: {
20 | items: 5
21 | }
22 | }
23 | });
24 | }
25 |
26 | if ($('.full-width').length) {
27 | $('.full-width').owlCarousel({
28 | loop: true,
29 | margin: 10,
30 | items: 1,
31 | nav: true
32 | });
33 | }
34 |
35 | if ($('.loop').length) {
36 | $('.loop').owlCarousel({
37 | center: true,
38 | items: 2,
39 | loop: true,
40 | margin: 10,
41 | nav: true,
42 | responsive: {
43 | 600: {
44 | items: 4
45 | }
46 | }
47 | });
48 | }
49 |
50 | if ($('.nonloop').length) {
51 | $('.nonloop').owlCarousel({
52 | center: true,
53 | items: 2,
54 | loop: false,
55 | margin: 10,
56 | nav: true,
57 | responsive: {
58 | 600: {
59 | items: 4
60 | }
61 | }
62 | });
63 | }
64 |
65 | })(jQuery);
--------------------------------------------------------------------------------
/app/Exceptions/Handler.php:
--------------------------------------------------------------------------------
1 | ' + label_text
30 | });
31 | }
32 | $('.icheck-polaris input').iCheck({
33 | checkboxClass: 'icheckbox_polaris',
34 | radioClass: 'iradio_polaris',
35 | increaseArea: '20%'
36 | });
37 | $('.icheck-futurico input').iCheck({
38 | checkboxClass: 'icheckbox_futurico',
39 | radioClass: 'iradio_futurico',
40 | increaseArea: '20%'
41 | });
42 | });
43 | })(jQuery);
--------------------------------------------------------------------------------
/public/js/form-repeater.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | $(function() {
4 | $('.repeater').repeater({
5 | // (Optional)
6 | // "defaultValues" sets the values of added items. The keys of
7 | // defaultValues refer to the value of the input's name attribute.
8 | // If a default value is not specified for an input, then it will
9 | // have its value cleared.
10 | defaultValues: {
11 | 'text-input': 'foo'
12 | },
13 | // (Optional)
14 | // "show" is called just after an item is added. The item is hidden
15 | // at this point. If a show callback is not given the item will
16 | // have $(this).show() called on it.
17 | show: function() {
18 | $(this).slideDown();
19 | },
20 | // (Optional)
21 | // "hide" is called when a user clicks on a data-repeater-delete
22 | // element. The item is still visible. "hide" is passed a function
23 | // as its first argument which will properly remove the item.
24 | // "hide" allows for a confirmation step, to send a delete request
25 | // to the server, etc. If a hide callback is not given the item
26 | // will be deleted.
27 | hide: function(deleteElement) {
28 | if (confirm('Are you sure you want to delete this element?')) {
29 | $(this).slideUp(deleteElement);
30 | }
31 | },
32 | // (Optional)
33 | // Removes the delete button from the first list item,
34 | // defaults to false.
35 | isFirstItemUndeletable: true
36 | })
37 | });
38 | })(jQuery);
--------------------------------------------------------------------------------
/public/js/codemirror.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | if ($('textarea[name=code-editable]').length) {
4 | var editableCodeMirror = CodeMirror.fromTextArea(document.getElementById('code-editable'), {
5 | mode: "javascript",
6 | theme: "ambiance",
7 | lineNumbers: true
8 | });
9 | }
10 | if ($('#code-readonly').length) {
11 | var readOnlyCodeMirror = CodeMirror.fromTextArea(document.getElementById('code-readonly'), {
12 | mode: "javascript",
13 | theme: "ambiance",
14 | lineNumbers: true,
15 | readOnly: "nocursor"
16 | });
17 | }
18 |
19 | //Use this method of there are multiple codes with same properties
20 | if ($('.multiple-codes').length) {
21 | var code_type = '';
22 | var editorTextarea = $('.multiple-codes');
23 | for (var i = 0; i < editorTextarea.length; i++) {
24 | $(editorTextarea[i]).attr('id', 'code-' + i);
25 | CodeMirror.fromTextArea(document.getElementById('code-' + i), {
26 | mode: "javascript",
27 | theme: "ambiance",
28 | lineNumbers: true,
29 | readOnly: "nocursor"
30 | });
31 | }
32 | }
33 |
34 | //Use this method of there are multiple codes with same properties in shell mode
35 | if ($('.shell-mode').length) {
36 | var code_type = '';
37 | var shellEditor = $('.shell-mode');
38 | for (var i = 0; i < shellEditor.length; i++) {
39 | $(shellEditor[i]).attr('id', 'code-' + i);
40 | CodeMirror.fromTextArea(document.getElementById('code-' + i), {
41 | mode: "shell",
42 | theme: "ambiance",
43 | readOnly: "nocursor"
44 | });
45 | }
46 | }
47 | })(jQuery);
--------------------------------------------------------------------------------
/config/view.php:
--------------------------------------------------------------------------------
1 | [
17 | resource_path('views'),
18 | ],
19 |
20 | /*
21 | |--------------------------------------------------------------------------
22 | | Compiled View Path
23 | |--------------------------------------------------------------------------
24 | |
25 | | This option determines where all the compiled Blade templates will be
26 | | stored for your application. Typically, this is within the storage
27 | | directory. However, as usual, you are free to change this value.
28 | |
29 | */
30 |
31 | 'compiled' => env(
32 | 'VIEW_COMPILED_PATH',
33 | realpath(storage_path('framework/views'))
34 | ),
35 |
36 | /*
37 | |--------------------------------------------------------------------------
38 | | Blade View Modification Checking
39 | |--------------------------------------------------------------------------
40 | |
41 | | On every request the framework will check to see if a view has expired
42 | | to determine if it needs to be recompiled. If you are in production
43 | | and precompiling views this feature may be disabled to save time.
44 | |
45 | */
46 |
47 | 'expires' => env('VIEW_CHECK_EXPIRATION', true),
48 |
49 | ];
50 |
--------------------------------------------------------------------------------
/config/hashing.php:
--------------------------------------------------------------------------------
1 | 'bcrypt',
19 |
20 | /*
21 | |--------------------------------------------------------------------------
22 | | Bcrypt Options
23 | |--------------------------------------------------------------------------
24 | |
25 | | Here you may specify the configuration options that should be used when
26 | | passwords are hashed using the Bcrypt algorithm. This will allow you
27 | | to control the amount of time it takes to hash the given password.
28 | |
29 | */
30 |
31 | 'bcrypt' => [
32 | 'rounds' => env('BCRYPT_ROUNDS', 10),
33 | ],
34 |
35 | /*
36 | |--------------------------------------------------------------------------
37 | | Argon Options
38 | |--------------------------------------------------------------------------
39 | |
40 | | Here you may specify the configuration options that should be used when
41 | | passwords are hashed using the Argon algorithm. These will allow you
42 | | to control the amount of time it takes to hash the given password.
43 | |
44 | */
45 |
46 | 'argon' => [
47 | 'memory' => 1024,
48 | 'threads' => 2,
49 | 'time' => 2,
50 | ],
51 |
52 | ];
53 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "laravel/laravel",
3 | "type": "project",
4 | "description": "The Laravel Framework.",
5 | "keywords": [
6 | "framework",
7 | "laravel"
8 | ],
9 | "license": "MIT",
10 | "require": {
11 | "php": "^7.2.5",
12 | "fideloper/proxy": "^4.2",
13 | "fruitcake/laravel-cors": "^1.0",
14 | "guzzlehttp/guzzle": "^6.3",
15 | "laravel/framework": "^7.0",
16 | "laravel/tinker": "^2.0"
17 | },
18 | "require-dev": {
19 | "facade/ignition": "^2.0",
20 | "fzaninotto/faker": "^1.9.1",
21 | "mockery/mockery": "^1.3.1",
22 | "nunomaduro/collision": "^4.1",
23 | "phpunit/phpunit": "^8.5"
24 | },
25 | "config": {
26 | "optimize-autoloader": true,
27 | "preferred-install": "dist",
28 | "sort-packages": true
29 | },
30 | "extra": {
31 | "laravel": {
32 | "dont-discover": []
33 | }
34 | },
35 | "autoload": {
36 | "psr-4": {
37 | "App\\": "app/"
38 | },
39 | "classmap": [
40 | "database/seeds",
41 | "database/factories"
42 | ]
43 | },
44 | "autoload-dev": {
45 | "psr-4": {
46 | "Tests\\": "tests/"
47 | }
48 | },
49 | "minimum-stability": "dev",
50 | "prefer-stable": true,
51 | "scripts": {
52 | "post-autoload-dump": [
53 | "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
54 | "@php artisan package:discover --ansi"
55 | ],
56 | "post-root-package-install": [
57 | "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
58 | ],
59 | "post-create-project-cmd": [
60 | "@php artisan key:generate --ansi"
61 | ]
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/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 | 'useTLS' => 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 |
--------------------------------------------------------------------------------
/artisan:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env php
2 | make(Illuminate\Contracts\Console\Kernel::class);
34 |
35 | $status = $kernel->handle(
36 | $input = new Symfony\Component\Console\Input\ArgvInput,
37 | new Symfony\Component\Console\Output\ConsoleOutput
38 | );
39 |
40 | /*
41 | |--------------------------------------------------------------------------
42 | | Shutdown The Application
43 | |--------------------------------------------------------------------------
44 | |
45 | | Once Artisan has finished running, we will fire off the shutdown events
46 | | so that any final work may be done by the application before we shut
47 | | down the process. This is the last thing to happen to the request.
48 | |
49 | */
50 |
51 | $kernel->terminate($input, $status);
52 |
53 | exit($status);
54 |
--------------------------------------------------------------------------------
/public/js/progress-bar.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | // ProgressBar JS Starts Here
4 |
5 | if ($('#Progressbar-1').length) {
6 | var bar = new ProgressBar.Line('#Progressbar-1', {
7 | step: function(state, bar, attachment) {
8 | bar.path.setAttribute('stroke', state.color);
9 | }
10 | });
11 | var opts = {
12 | from: {
13 | width: 0.1,
14 | color: '#f5f5f5 '
15 | },
16 | to: {
17 | color: '#36af47'
18 | }
19 | };
20 | bar.animate(0.7, opts);
21 | }
22 |
23 | if ($('#Progressbar-2').length) {
24 | var bar = new ProgressBar.Line('#Progressbar-2', {
25 | step: function(state, bar, attachment) {
26 | bar.path.setAttribute('stroke', state.color);
27 | }
28 | });
29 | var opts = {
30 | from: {
31 | color: '#f5f5f5 '
32 | },
33 | to: {
34 | color: '#ed1c24'
35 | }
36 | };
37 | bar.animate(0.8, opts);
38 | }
39 |
40 | if ($('#Progressbar-3').length) {
41 | var bar = new ProgressBar.Line('#Progressbar-3', {
42 | step: function(state, bar, attachment) {
43 | bar.path.setAttribute('stroke', state.color);
44 | }
45 | });
46 | var opts = {
47 | from: {
48 | color: '#f5f5f5 '
49 | },
50 | to: {
51 | color: '#2ca0f7'
52 | }
53 | };
54 | bar.animate(0.66, opts);
55 | }
56 |
57 | if ($('#Progressbar-4').length) {
58 | var bar = new ProgressBar.Line('#Progressbar-4', {
59 | step: function(state, bar, attachment) {
60 | bar.path.setAttribute('stroke', state.color);
61 | }
62 | });
63 | var opts = {
64 | from: {
65 | color: '#f5f5f5 '
66 | },
67 | to: {
68 | color: '#f7981c'
69 | }
70 | };
71 | bar.animate(0.99, opts);
72 | }
73 | // ProgressBar JS Ends Here
74 |
75 | })(jQuery);
--------------------------------------------------------------------------------
/public/js/bootstrap-table.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 |
4 | function monthSorter(a, b) {
5 | if (a.month < b.month) return -1;
6 | if (a.month > b.month) return 1;
7 | return 0;
8 | }
9 |
10 | function buildTable($el, cells, rows) {
11 | var i, j, row,
12 | columns = [],
13 | data = [];
14 |
15 | for (i = 0; i < cells; i++) {
16 | columns.push({
17 | field: 'field' + i,
18 | title: 'Cell' + i
19 | });
20 | }
21 | for (i = 0; i < rows; i++) {
22 | row = {};
23 | for (j = 0; j < cells; j++) {
24 | row['field' + j] = 'Row-' + i + '-' + j;
25 | }
26 | data.push(row);
27 | }
28 | $el.bootstrapTable('destroy').bootstrapTable({
29 | columns: columns,
30 | data: data
31 | });
32 | }
33 |
34 | $(function() {
35 | buildTable($('#table'), 50, 50);
36 | });
37 |
38 | function actionFormatter(value, row, index) {
39 | return [
40 | '',
41 | '',
42 | '',
43 | '',
44 | '',
45 | '',
46 | '',
47 | '',
48 | ''
49 | ].join('');
50 | }
51 |
52 | window.actionEvents = {
53 | 'click .like': function(e, value, row, index) {
54 | alert('You click like icon, row: ' + JSON.stringify(row));
55 | console.log(value, row, index);
56 | },
57 | 'click .edit': function(e, value, row, index) {
58 | alert('You click edit icon, row: ' + JSON.stringify(row));
59 | console.log(value, row, index);
60 | },
61 | 'click .remove': function(e, value, row, index) {
62 | alert('You click remove icon, row: ' + JSON.stringify(row));
63 | console.log(value, row, index);
64 | }
65 | };
66 | })(jQuery);
--------------------------------------------------------------------------------
/app/Providers/RouteServiceProvider.php:
--------------------------------------------------------------------------------
1 | mapApiRoutes();
46 |
47 | $this->mapWebRoutes();
48 |
49 | //
50 | }
51 |
52 | /**
53 | * Define the "web" routes for the application.
54 | *
55 | * These routes all receive session state, CSRF protection, etc.
56 | *
57 | * @return void
58 | */
59 | protected function mapWebRoutes()
60 | {
61 | Route::middleware('web')
62 | ->namespace($this->namespace)
63 | ->group(base_path('routes/web.php'));
64 | }
65 |
66 | /**
67 | * Define the "api" routes for the application.
68 | *
69 | * These routes are typically stateless.
70 | *
71 | * @return void
72 | */
73 | protected function mapApiRoutes()
74 | {
75 | Route::prefix('api')
76 | ->middleware('api')
77 | ->namespace($this->namespace)
78 | ->group(base_path('routes/api.php'));
79 | }
80 | }
81 |
--------------------------------------------------------------------------------
/public/js/alerts.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | showSwal = function(type) {
3 | 'use strict';
4 | if (type === 'basic') {
5 | swal('Any fool can use a computer')
6 |
7 | } else if (type === 'title-and-text') {
8 | swal(
9 | 'The Internet?',
10 | 'That thing is still around?',
11 | 'question'
12 | )
13 |
14 | } else if (type === 'success-message') {
15 | swal(
16 | 'Good job!',
17 | 'You clicked the button!',
18 | 'success'
19 | )
20 |
21 | } else if (type === 'auto-close') {
22 | swal({
23 | title: 'Auto close alert!',
24 | text: 'I will close in 2 seconds.',
25 | timer: 2000
26 | }).then(
27 | function() {},
28 | // handling the promise rejection
29 | function(dismiss) {
30 | if (dismiss === 'timer') {
31 | console.log('I was closed by the timer')
32 | }
33 | }
34 | )
35 | } else if (type === 'warning-message-and-cancel') {
36 | swal({
37 | title: 'Are you sure?',
38 | text: "You won't be able to revert this!",
39 | type: 'warning',
40 | showCancelButton: true,
41 | confirmButtonColor: '#3085d6',
42 | cancelButtonColor: '#d33',
43 | confirmButtonText: 'Yes, delete it!'
44 | }).then(function() {
45 | swal(
46 | 'Deleted!',
47 | 'Your file has been deleted.',
48 | 'success'
49 | )
50 | })
51 |
52 | } else if (type === 'custom-html') {
53 | swal({
54 | title: 'HTML example',
55 | type: 'info',
56 | html: 'You can use bold text, ' +
57 | 'links ' +
58 | 'and other HTML tags',
59 | showCloseButton: true,
60 | showCancelButton: true,
61 | confirmButtonText: ' Great!',
62 | cancelButtonText: 'Cancel'
63 | })
64 | }
65 | }
66 |
67 | })(jQuery);
--------------------------------------------------------------------------------
/public/index.php:
--------------------------------------------------------------------------------
1 |
8 | */
9 |
10 | define('LARAVEL_START', microtime(true));
11 |
12 | /*
13 | |--------------------------------------------------------------------------
14 | | Register The Auto Loader
15 | |--------------------------------------------------------------------------
16 | |
17 | | Composer provides a convenient, automatically generated class loader for
18 | | our application. We just need to utilize it! We'll simply require it
19 | | into the script here so that we don't have to worry about manual
20 | | loading any of our classes later on. It feels great to relax.
21 | |
22 | */
23 |
24 | require __DIR__.'/../vendor/autoload.php';
25 |
26 | /*
27 | |--------------------------------------------------------------------------
28 | | Turn On The Lights
29 | |--------------------------------------------------------------------------
30 | |
31 | | We need to illuminate PHP development, so let us turn on the lights.
32 | | This bootstraps the framework and gets it ready for use, then it
33 | | will load up this application so that we can run it and send
34 | | the responses back to the browser and delight our users.
35 | |
36 | */
37 |
38 | $app = require_once __DIR__.'/../bootstrap/app.php';
39 |
40 | /*
41 | |--------------------------------------------------------------------------
42 | | Run The Application
43 | |--------------------------------------------------------------------------
44 | |
45 | | Once we have the application, we can handle the incoming request
46 | | through the kernel, and send the associated response back to
47 | | the client's browser allowing them to enjoy the creative
48 | | and wonderful application we have prepared for them.
49 | |
50 | */
51 |
52 | $kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
53 |
54 | $response = $kernel->handle(
55 | $request = Illuminate\Http\Request::capture()
56 | );
57 |
58 | $response->send();
59 |
60 | $kernel->terminate($request, $response);
61 |
--------------------------------------------------------------------------------
/public/js/no-ui-slider.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | var startSlider = document.getElementById('ui-slider');
4 | noUiSlider.create(startSlider, {
5 | start: [20],
6 | connect: [true, false],
7 | range: {
8 | 'min': [0],
9 | 'max': [100]
10 | }
11 | });
12 |
13 | var rangeSlider = document.getElementById('ui-range-slider');
14 | noUiSlider.create(rangeSlider, {
15 | start: [30, 40],
16 | connect: [false, true, false],
17 | range: {
18 | 'min': [0],
19 | 'max': [100]
20 | }
21 | });
22 |
23 | var connectSlider = document.getElementById('ui-slider-colored-1');
24 | noUiSlider.create(connectSlider, {
25 | start: 30,
26 | connect: [true, false],
27 | range: {
28 | 'min': 0,
29 | 'max': 100
30 | }
31 | });
32 |
33 | var connectSlider = document.getElementById('ui-slider-colored-2');
34 | noUiSlider.create(connectSlider, {
35 | start: 40,
36 | connect: [true, false],
37 | range: {
38 | 'min': 0,
39 | 'max': 100
40 | }
41 | });
42 |
43 | var connectSlider = document.getElementById('ui-slider-colored-3');
44 | noUiSlider.create(connectSlider, {
45 | start: 50,
46 | connect: [true, false],
47 | range: {
48 | 'min': 0,
49 | 'max': 100
50 | }
51 | });
52 |
53 | var connectSlider = document.getElementById('ui-slider-colored-4');
54 | noUiSlider.create(connectSlider, {
55 | start: 60,
56 | connect: [true, false],
57 | range: {
58 | 'min': 0,
59 | 'max': 100
60 | }
61 | });
62 |
63 | var slider = document.getElementById('ui-slider-multi-colored');
64 | noUiSlider.create(slider, {
65 | start: [4000, 8000, 12000, 16000],
66 | connect: [false, true, true, true, true],
67 | range: {
68 | 'min': [2000],
69 | 'max': [20000]
70 | }
71 | });
72 | var connect = slider.querySelectorAll('.noUi-connect');
73 | var classes = ['bg-warning', 'bg-success', 'bg-info', 'bg-danger'];
74 | for (var i = 0; i < connect.length; i++) {
75 | connect[i].classList.add(classes[i]);
76 | }
77 |
78 | })(jQuery);
--------------------------------------------------------------------------------
/public/js/calendar.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | $(function() {
4 | if ($('#calendar').length) {
5 | $('#calendar').fullCalendar({
6 | header: {
7 | left: 'prev,next today',
8 | center: 'title',
9 | right: 'month,basicWeek,basicDay'
10 | },
11 | defaultDate: '2017-07-12',
12 | navLinks: true, // can click day/week names to navigate views
13 | editable: true,
14 | eventLimit: true, // allow "more" link when too many events
15 | events: [{
16 | title: 'All Day Event',
17 | start: '2017-07-01'
18 | },
19 | {
20 | title: 'Long Event',
21 | start: '2017-07-07',
22 | end: '2017-07-10'
23 | },
24 | {
25 | id: 999,
26 | title: 'Repeating Event',
27 | start: '2017-07-09T16:00:00'
28 | },
29 | {
30 | id: 999,
31 | title: 'Repeating Event',
32 | start: '2017-07-16T16:00:00'
33 | },
34 | {
35 | title: 'Conference',
36 | start: '2017-07-11',
37 | end: '2017-07-13'
38 | },
39 | {
40 | title: 'Meeting',
41 | start: '2017-07-12T10:30:00',
42 | end: '2017-07-12T12:30:00'
43 | },
44 | {
45 | title: 'Lunch',
46 | start: '2017-07-12T12:00:00'
47 | },
48 | {
49 | title: 'Meeting',
50 | start: '2017-07-12T14:30:00'
51 | },
52 | {
53 | title: 'Happy Hour',
54 | start: '2017-07-12T17:30:00'
55 | },
56 | {
57 | title: 'Dinner',
58 | start: '2017-07-12T20:00:00'
59 | },
60 | {
61 | title: 'Birthday Party',
62 | start: '2017-07-13T07:00:00'
63 | },
64 | {
65 | title: 'Click for Google',
66 | url: 'http://google.com/',
67 | start: '2017-07-28'
68 | }
69 | ]
70 | })
71 | }
72 | });
73 | })(jQuery);
--------------------------------------------------------------------------------
/public/js/typeahead.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | var substringMatcher = function(strs) {
4 | return function findMatches(q, cb) {
5 | var matches, substringRegex;
6 |
7 | // an array that will be populated with substring matches
8 | matches = [];
9 |
10 | // regex used to determine if a string contains the substring `q`
11 | var substrRegex = new RegExp(q, 'i');
12 |
13 | // iterate through the pool of strings and for any string that
14 | // contains the substring `q`, add it to the `matches` array
15 | for (var i = 0; i < strs.length; i++) {
16 | if (substrRegex.test(strs[i])) {
17 | matches.push(strs[i]);
18 | }
19 | }
20 |
21 | cb(matches);
22 | };
23 | };
24 |
25 | var states = ['Alabama', 'Alaska', 'Arizona', 'Arkansas', 'California',
26 | 'Colorado', 'Connecticut', 'Delaware', 'Florida', 'Georgia', 'Hawaii',
27 | 'Idaho', 'Illinois', 'Indiana', 'Iowa', 'Kansas', 'Kentucky', 'Louisiana',
28 | 'Maine', 'Maryland', 'Massachusetts', 'Michigan', 'Minnesota',
29 | 'Mississippi', 'Missouri', 'Montana', 'Nebraska', 'Nevada', 'New Hampshire',
30 | 'New Jersey', 'New Mexico', 'New York', 'North Carolina', 'North Dakota',
31 | 'Ohio', 'Oklahoma', 'Oregon', 'Pennsylvania', 'Rhode Island',
32 | 'South Carolina', 'South Dakota', 'Tennessee', 'Texas', 'Utah', 'Vermont',
33 | 'Virginia', 'Washington', 'West Virginia', 'Wisconsin', 'Wyoming'
34 | ];
35 |
36 | $('#the-basics .typeahead').typeahead({
37 | hint: true,
38 | highlight: true,
39 | minLength: 1
40 | }, {
41 | name: 'states',
42 | source: substringMatcher(states)
43 | });
44 | // constructs the suggestion engine
45 | var states = new Bloodhound({
46 | datumTokenizer: Bloodhound.tokenizers.whitespace,
47 | queryTokenizer: Bloodhound.tokenizers.whitespace,
48 | // `states` is an array of state names defined in "The Basics"
49 | local: states
50 | });
51 |
52 | $('#bloodhound .typeahead').typeahead({
53 | hint: true,
54 | highlight: true,
55 | minLength: 1
56 | }, {
57 | name: 'states',
58 | source: states
59 | });
60 | })(jQuery);
--------------------------------------------------------------------------------
/public/js/desktop-notification.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | $.fn.easyNotify = function(options) {
4 |
5 | var settings = $.extend({
6 | title: "Notification",
7 | options: {
8 | body: "",
9 | icon: "",
10 | lang: 'pt-BR',
11 | onClose: "",
12 | onClick: "",
13 | onError: ""
14 | }
15 | }, options);
16 |
17 | this.init = function() {
18 | var notify = this;
19 | if (!("Notification" in window)) {
20 | alert("This browser does not support desktop notification");
21 | } else if (Notification.permission === "granted") {
22 |
23 | var notification = new Notification(settings.title, settings.options);
24 |
25 | notification.onclose = function() {
26 | if (typeof settings.options.onClose === 'function') {
27 | settings.options.onClose();
28 | }
29 | };
30 |
31 | notification.onclick = function() {
32 | if (typeof settings.options.onClick === 'function') {
33 | settings.options.onClick();
34 | }
35 | };
36 |
37 | notification.onerror = function() {
38 | if (typeof settings.options.onError === 'function') {
39 | settings.options.onError();
40 | }
41 | };
42 |
43 | } else if (Notification.permission !== 'denied') {
44 | Notification.requestPermission(function(permission) {
45 | if (permission === "granted") {
46 | notify.init();
47 | }
48 |
49 | });
50 | }
51 |
52 | };
53 |
54 | this.init();
55 | return this;
56 | };
57 |
58 |
59 | //Initialise notification
60 | var myFunction = function() {
61 | alert('Click function');
62 | };
63 | var myImg = "https://unsplash.it/600/600?image=777";
64 |
65 | $("form").submit(function(event) {
66 | event.preventDefault();
67 |
68 | var options = {
69 | title: $("#title").val(),
70 | options: {
71 | body: $("#message").val(),
72 | icon: myImg,
73 | lang: 'en-US',
74 | onClick: myFunction
75 | }
76 | };
77 | console.log(options);
78 | $("#easyNotify").easyNotify(options);
79 | });
80 | }(jQuery));
--------------------------------------------------------------------------------
/public/js/sparkline.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | if ($("#sparkline-line-chart").length) {
4 | $("#sparkline-line-chart").sparkline([5, 6, 7, 9, 9, 5, 3, 2, 2, 4, 6, 7], {
5 | type: 'line',
6 | width: '100%',
7 | height: '100%'
8 | });
9 | }
10 |
11 | if ($("#sparkline-bar-chart").length) {
12 | $("#sparkline-bar-chart").sparkline([5, 6, 7, 2, 0, -4, 4], {
13 | type: 'bar',
14 | height: '100%',
15 | barWidth: '58.5%',
16 | barColor: '#58D8A3',
17 | negBarColor: '#e56e72',
18 | zeroColor: 'green'
19 | });
20 | }
21 |
22 | if ($("#sparkline-pie-chart").length) {
23 | $("#sparkline-pie-chart").sparkline([1, 1, 2, 4], {
24 | type: 'pie',
25 | sliceColors: ['#0CB5F9', '#58d8a3', '#F4767B', '#F9B65F'],
26 | borderColor: '#',
27 | width: '100%',
28 | height: '100%'
29 | });
30 | }
31 |
32 | if ($("#sparkline-bullet-chart").length) {
33 | $("#sparkline-bullet-chart").sparkline([10, 12, 12, 9, 7], {
34 | type: 'bullet',
35 | height: '238',
36 | width: '100%',
37 | });
38 | }
39 |
40 | if ($("#sparkline-composite-chart").length) {
41 | $("#sparkline-composite-chart").sparkline([5, 6, 7, 2, 0, 3, 6, 8, 1, 2, 2, 0, 3, 6], {
42 | type: 'line',
43 | width: '100%',
44 | height: '100%'
45 | });
46 | }
47 |
48 | if ($("#sparkline-composite-chart").length) {
49 | $("#sparkline-composite-chart").sparkline([5, 6, 7, 2, 0, 3, 6, 8, 1, 2, 2, 0, 3, 6], {
50 | type: 'bar',
51 | height: '150px',
52 | width: '100%',
53 | barWidth: 10,
54 | barSpacing: 5,
55 | barColor: '#60a76d',
56 | negBarColor: '#60a76d',
57 | composite: true
58 | });
59 | }
60 |
61 | if ($(".demo-sparkline").length) {
62 | $(".demo-sparkline").sparkline('html', {
63 | enableTagOptions: true,
64 | width: '100%',
65 | height: '30px',
66 | fillColor: false
67 | });
68 | }
69 |
70 | if ($(".top-seelling-dashboard-chart").length) {
71 | $(".top-seelling-dashboard-chart").sparkline('html', {
72 | enableTagOptions: true,
73 | width: '100%',
74 | barWidth: 30,
75 | fillColor: false
76 | });
77 | }
78 |
79 | })(jQuery);
--------------------------------------------------------------------------------
/public/js/toastDemo.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | showSuccessToast = function() {
3 | 'use strict';
4 | $.toast({
5 | heading: 'Success',
6 | text: 'And these were just the basic demos! Scroll down to check further details on how to customize the output.',
7 | showHideTransition: 'slide',
8 | icon: 'success',
9 | loaderBg: '#d9534f'
10 | })
11 | };
12 | showInfoToast = function() {
13 | 'use strict';
14 | $.toast({
15 | heading: 'Info',
16 | text: 'And these were just the basic demos! Scroll down to check further details on how to customize the output.',
17 | showHideTransition: 'slide',
18 | icon: 'info',
19 | loaderBg: '#5cb85c'
20 | })
21 | };
22 | showWarningToast = function() {
23 | 'use strict';
24 | $.toast({
25 | heading: 'Warning',
26 | text: 'And these were just the basic demos! Scroll down to check further details on how to customize the output.',
27 | showHideTransition: 'slide',
28 | icon: 'warning',
29 | loaderBg: '#f0ad4e'
30 | })
31 | };
32 | showDangerToast = function() {
33 | 'use strict';
34 | $.toast({
35 | heading: 'Danger',
36 | text: 'And these were just the basic demos! Scroll down to check further details on how to customize the output.',
37 | showHideTransition: 'slide',
38 | icon: 'error',
39 | loaderBg: '#5bc0de'
40 | })
41 | };
42 | showToastPosition = function(position) {
43 | 'use strict';
44 | $('.jq-toast-wrap').removeClass('bottom-left bottom-right top-left top-right mid-center'); // to remove previous position class
45 | $(".jq-toast-wrap").css({
46 | "top": "",
47 | "left": "",
48 | "bottom": "",
49 | "right": ""
50 | }); //to remove previous position style
51 | $.toast({
52 | heading: 'Positioning',
53 | text: 'Specify the custom position object or use one of the predefined ones',
54 | position: String(position),
55 | icon: 'info',
56 | stack: false
57 | })
58 | }
59 | showToastInCustomPosition = function() {
60 | 'use strict';
61 | $.toast({
62 | heading: 'Custom positioning',
63 | text: 'Specify the custom position object or use one of the predefined ones',
64 | icon: 'info',
65 | position: {
66 | left: 120,
67 | top: 120
68 | },
69 | stack: false
70 | })
71 | }
72 | })(jQuery);
--------------------------------------------------------------------------------
/app/Http/Kernel.php:
--------------------------------------------------------------------------------
1 | [
32 | \App\Http\Middleware\EncryptCookies::class,
33 | \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
34 | \Illuminate\Session\Middleware\StartSession::class,
35 | // \Illuminate\Session\Middleware\AuthenticateSession::class,
36 | \Illuminate\View\Middleware\ShareErrorsFromSession::class,
37 | \App\Http\Middleware\VerifyCsrfToken::class,
38 | \Illuminate\Routing\Middleware\SubstituteBindings::class,
39 | ],
40 |
41 | 'api' => [
42 | 'throttle:60,1',
43 | \Illuminate\Routing\Middleware\SubstituteBindings::class,
44 | ],
45 | ];
46 |
47 | /**
48 | * The application's route middleware.
49 | *
50 | * These middleware may be assigned to groups or used individually.
51 | *
52 | * @var array
53 | */
54 | protected $routeMiddleware = [
55 | 'auth' => \App\Http\Middleware\Authenticate::class,
56 | 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
57 | 'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class,
58 | 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class,
59 | 'can' => \Illuminate\Auth\Middleware\Authorize::class,
60 | 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
61 | 'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class,
62 | 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class,
63 | 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
64 | 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class,
65 | ];
66 | }
67 |
--------------------------------------------------------------------------------
/public/js/maps.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 | if ($('#vmap').length) {
4 | jQuery('#vmap').vectorMap({
5 | map: 'world_en'
6 | });
7 | }
8 | if ($('#vmap-regions').length) {
9 | var activeNations = new Array("us", "de", "au", "gb", "ro", "br");
10 |
11 | jQuery('#vmap-regions').vectorMap({
12 | map: 'world_en',
13 | backgroundColor: 'transparent',
14 | borderOpacity: 0.01,
15 | borderWidth: 2,
16 | borderColor: '#000',
17 | color: '#e2e2e2',
18 | enableZoom: false,
19 | hoverColor: '#2796E9',
20 | hoverOpacity: null,
21 | normalizeFunction: 'linear',
22 | selectedColor: '#58D8A3',
23 | selectedRegions: activeNations,
24 | showTooltip: true,
25 | onRegionClick: function(element, code, region) {
26 | if (activeNations.indexOf(code) > -1) {
27 | // dom interaction outside the map
28 | // ...
29 | } else {
30 | element.preventDefault();
31 | }
32 | }
33 | });
34 | }
35 | if ($("#WorldMap").length) {
36 | var activeNations = new Array("us", "de", "au", "gb", "ro", "br");
37 |
38 | jQuery('#WorldMap').vectorMap({
39 | map: 'world_en',
40 | backgroundColor: 'transparent',
41 | borderOpacity: 0.01,
42 | borderWidth: 2,
43 | borderColor: '#000',
44 | color: '#e2e2e2',
45 | enableZoom: false,
46 | hoverColor: '#2796E9',
47 | hoverOpacity: null,
48 | normalizeFunction: 'linear',
49 | selectedColor: '#58D8A3',
50 | selectedRegions: activeNations,
51 | showTooltip: true,
52 | onRegionClick: function(element, code, region) {
53 | if (activeNations.indexOf(code) > -1) {
54 | // dom interaction outside the map
55 | // ...
56 | } else {
57 | element.preventDefault();
58 | }
59 | }
60 | });
61 | }
62 | if ($("#map-with-marker").length) {
63 | jQuery('#map-with-marker').vectorMap({
64 | map: 'world_en',
65 | backgroundColor: 'transparent',
66 | borderOpacity: 0.01,
67 | borderWidth: 2,
68 | borderColor: '#000',
69 | color: '#2796E9',
70 | enableZoom: true,
71 | hoverColor: '#2796E9',
72 | hoverOpacity: null,
73 | normalizeFunction: 'linear',
74 | selectedColor: '#58D8A3',
75 | showTooltip: true,
76 | });
77 | }
78 | })(jQuery);
79 |
80 | var map;
81 | if ($('#map').length) {
82 | function initMap() {
83 | map = new google.maps.Map(document.getElementById('map'), {
84 | center: {
85 | lat: -34.397,
86 | lng: 150.644
87 | },
88 | zoom: 8
89 | });
90 | };
91 | }
--------------------------------------------------------------------------------
/config/filesystems.php:
--------------------------------------------------------------------------------
1 | env('FILESYSTEM_DRIVER', 'local'),
17 |
18 | /*
19 | |--------------------------------------------------------------------------
20 | | Default Cloud Filesystem Disk
21 | |--------------------------------------------------------------------------
22 | |
23 | | Many applications store files both locally and in the cloud. For this
24 | | reason, you may specify a default "cloud" driver here. This driver
25 | | will be bound as the Cloud disk implementation in the container.
26 | |
27 | */
28 |
29 | 'cloud' => env('FILESYSTEM_CLOUD', 's3'),
30 |
31 | /*
32 | |--------------------------------------------------------------------------
33 | | Filesystem Disks
34 | |--------------------------------------------------------------------------
35 | |
36 | | Here you may configure as many filesystem "disks" as you wish, and you
37 | | may even configure multiple disks of the same driver. Defaults have
38 | | been setup for each driver as an example of the required options.
39 | |
40 | | Supported Drivers: "local", "ftp", "sftp", "s3"
41 | |
42 | */
43 |
44 | 'disks' => [
45 |
46 | 'local' => [
47 | 'driver' => 'local',
48 | 'root' => storage_path('app'),
49 | ],
50 |
51 | 'public' => [
52 | 'driver' => 'local',
53 | 'root' => storage_path('app/public'),
54 | 'url' => env('APP_URL').'/storage',
55 | 'visibility' => 'public',
56 | ],
57 |
58 | 's3' => [
59 | 'driver' => 's3',
60 | 'key' => env('AWS_ACCESS_KEY_ID'),
61 | 'secret' => env('AWS_SECRET_ACCESS_KEY'),
62 | 'region' => env('AWS_DEFAULT_REGION'),
63 | 'bucket' => env('AWS_BUCKET'),
64 | 'url' => env('AWS_URL'),
65 | ],
66 |
67 | ],
68 |
69 | /*
70 | |--------------------------------------------------------------------------
71 | | Symbolic Links
72 | |--------------------------------------------------------------------------
73 | |
74 | | Here you may configure the symbolic links that will be created when the
75 | | `storage:link` Artisan command is executed. The array keys should be
76 | | the locations of the links and the values should be their targets.
77 | |
78 | */
79 |
80 | 'links' => [
81 | public_path('storage') => storage_path('app/public'),
82 | ],
83 |
84 | ];
85 |
--------------------------------------------------------------------------------
/config/queue.php:
--------------------------------------------------------------------------------
1 | env('QUEUE_CONNECTION', 'sync'),
17 |
18 | /*
19 | |--------------------------------------------------------------------------
20 | | Queue Connections
21 | |--------------------------------------------------------------------------
22 | |
23 | | Here you may configure the connection information for each server that
24 | | is used by your application. A default configuration has been added
25 | | for each back-end shipped with Laravel. You are free to add more.
26 | |
27 | | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null"
28 | |
29 | */
30 |
31 | 'connections' => [
32 |
33 | 'sync' => [
34 | 'driver' => 'sync',
35 | ],
36 |
37 | 'database' => [
38 | 'driver' => 'database',
39 | 'table' => 'jobs',
40 | 'queue' => 'default',
41 | 'retry_after' => 90,
42 | ],
43 |
44 | 'beanstalkd' => [
45 | 'driver' => 'beanstalkd',
46 | 'host' => 'localhost',
47 | 'queue' => 'default',
48 | 'retry_after' => 90,
49 | 'block_for' => 0,
50 | ],
51 |
52 | 'sqs' => [
53 | 'driver' => 'sqs',
54 | 'key' => env('AWS_ACCESS_KEY_ID'),
55 | 'secret' => env('AWS_SECRET_ACCESS_KEY'),
56 | 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'),
57 | 'queue' => env('SQS_QUEUE', 'your-queue-name'),
58 | 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
59 | ],
60 |
61 | 'redis' => [
62 | 'driver' => 'redis',
63 | 'connection' => 'default',
64 | 'queue' => env('REDIS_QUEUE', 'default'),
65 | 'retry_after' => 90,
66 | 'block_for' => null,
67 | ],
68 |
69 | ],
70 |
71 | /*
72 | |--------------------------------------------------------------------------
73 | | Failed Queue Jobs
74 | |--------------------------------------------------------------------------
75 | |
76 | | These options configure the behavior of failed queue job logging so you
77 | | can control which database and table are used to store the jobs that
78 | | have failed. You may change them to any database / table you wish.
79 | |
80 | */
81 |
82 | 'failed' => [
83 | 'driver' => env('QUEUE_FAILED_DRIVER', 'database'),
84 | 'database' => env('DB_CONNECTION', 'mysql'),
85 | 'table' => 'failed_jobs',
86 | ],
87 |
88 | ];
89 |
--------------------------------------------------------------------------------
/public/css/style5.css:
--------------------------------------------------------------------------------
1 | @import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
2 | *{
3 | margin: 0;
4 | padding: 0;
5 | user-select: none;
6 | box-sizing: border-box;
7 |
8 | font-family: 'Poppins', sans-serif;
9 | }
10 |
11 |
12 | /* width */
13 | ::-webkit-scrollbar {
14 | width: 1px;
15 | }
16 |
17 | /* Track */
18 | ::-webkit-scrollbar-track {
19 | background: black;
20 | }
21 |
22 | /* Handle */
23 | ::-webkit-scrollbar-thumb {
24 | background:black;
25 | }
26 |
27 | /* Handle on hover */
28 | ::-webkit-scrollbar-thumb:hover {
29 | background: #555;
30 | }
31 | nav{
32 |
33 | overflow-x: hidden;
34 | -ms-overflow-style: none; /* IE and Edge */
35 | scrollbar-width: none;
36 | background: red;
37 | width: 25%;
38 | height: auto;
39 | margin-left:-30px;
40 |
41 |
42 |
43 | }
44 | nav ul{
45 | background: #1b1b1b;
46 | height: 100%;
47 | width: 100%;
48 | padding-right: 50px;
49 |
50 | list-style: none;
51 | }
52 | nav ul li{
53 | line-height: 60px;
54 | border-top: 1px solid rgba(255,255,255,0.1);
55 |
56 | }
57 | nav ul li:last-child{
58 | border-bottom: 1px solid rgba(255,255,255,0.05);
59 |
60 | }
61 | nav ul li a{
62 | position: relative;
63 | color: white;
64 | text-decoration: none!important;
65 | font-size: 18px;
66 | margin-left: 40px;
67 | padding-left: 40px;
68 | font-weight: 500;
69 | display: block;
70 | width: 100%;
71 | border-left: 3px solid transparent;
72 | }
73 | nav ul li.active a{
74 | color: cyan;
75 | background: #1e1e1e;
76 | border-left-color: cyan;
77 | }
78 | nav ul li a:hover{
79 | background: #1e1e1e;
80 | }
81 | nav ul ul{
82 | position: static;
83 | display: none;
84 | }
85 | nav ul .feat-show.show5{
86 | display: block;
87 | }
88 | nav ul .serv-show.show1{
89 | display: block;
90 |
91 | }
92 | nav ul .extra-show.show2{
93 | display: block;
94 | }
95 | nav ul .shelf-show.show3{
96 | display: block;
97 | }
98 | nav ul ul li{
99 | line-height: 42px;
100 | border-top: none;
101 |
102 | }
103 | nav ul ul li a{
104 | font-size: 17px;
105 | color: #e6e6e6;
106 | text-decoration: none !important;
107 | margin-left: 70px !important;
108 | padding-left: 40px !important;
109 |
110 |
111 |
112 | }
113 | nav ul li.active ul li a{
114 | color: #e6e6e6;
115 | background: #1b1b1b;
116 | border-left-color: transparent;
117 | }
118 | nav ul ul li a:hover{
119 | color: cyan!important;
120 | background: #1e1e1e!important;
121 | }
122 | nav ul li a span{
123 | position: absolute;
124 | top: 50%;
125 | right: 20px;
126 | transform: translateY(-50%);
127 | font-size: 22px;
128 | transition: transform 0.4s;
129 | }
130 | nav ul li a span.rotate{
131 | transform: translateY(-50%) rotate(-180deg);
132 | }
133 | .content{
134 | position: absolute;
135 | top: 50%;
136 | left: 50%;
137 | transform: translate(-50%,-50%);
138 | margin-top: 50px;
139 | color: #202020;
140 |
141 |
142 | text-align: center;
143 | }
144 | .content .header{
145 | font-size: 45px;
146 | font-weight: 600;
147 | }
148 | .content p{
149 | font-size: 30px;
150 | font-weight: 500;
151 | }
152 | .user_info{
153 |
154 | display:inline-flex;
155 |
156 | }
--------------------------------------------------------------------------------
/resources/views/student/verify_email.blade.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Seminar Library Management System
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
44 | Go to Admin Panel
45 |
46 |