Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laravel-admin-extensions/lock-screen
https://github.com/laravel-admin-extensions/lock-screen
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/laravel-admin-extensions/lock-screen
- Owner: laravel-admin-extensions
- License: mit
- Created: 2018-11-14T15:26:33.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-14T15:49:50.000Z (about 6 years ago)
- Last Synced: 2024-10-28T15:01:43.687Z (about 1 month ago)
- Language: PHP
- Size: 6.84 KB
- Stars: 22
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-laravel-admin - lock-screen - 后台锁屏 (扩展包 / 工具类扩展包)
README
Lock screen
======Add a lock screen page to laravel-admin.
[中文介绍](https://laravel-admin.org/posts/24)
## Screenshots
![wx20181114-232541](https://user-images.githubusercontent.com/1479100/48492459-c720f680-e864-11e8-934a-932d287479c4.png)
## Installation & Configuration
```bash
composer require laravel-admin-ext/lock-screen
```Then add a middleware `admin.lock` to routes configuration in `config/admin.php`
```php
'route' => [
'prefix' => 'demo',
'namespace' => 'App\\Admin\\Controllers',
// add middleware `admin.lock` into this array.
'middleware' => ['web', 'admin', 'admin.lock'],
],```
## Usage
After installation and configuration, open the admin page, you will find a link in the upper right corner of the page with a lock icon, click it to redirect to the lock screen page,
You need to enter your login password to return to unlock the page.## Donate
如果觉得这个项目帮你节约了时间,不妨支持一下;)
![-1](https://cloud.githubusercontent.com/assets/1479100/23287423/45c68202-fa78-11e6-8125-3e365101a313.jpg)
License
------------
Licensed under [The MIT License (MIT)](LICENSE).