Skip to content

A simple theme template for web admin applications based on Layui.

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE_layui
Notifications You must be signed in to change notification settings

op-amp/simple-lay-admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Based on Layui web UI component library, Simple Lay Admin is a theme template for web admin applications. It simplifies the process by offering a fully functional iframe tabs framework (nothing more except a login page template at this point).

Run

  1. Clone the project repo through git, or download it as a zip file and then decompress.
  2. Navigate to the project root directory.
  3. Open login.html or index.html in a modern web browser and it will be all good to go.
  4. The template pages should be compitable with all common backend frameworks.

Features

iframe Tabs

Any HTML element in index.html with an <a> tag and a layui-href class attribute will be used as the reference to open a new iframe tab or jump to an existing iframe tab.

Notice that the value of the referential iframe source URL should be set through the data-href attribute instead of the usual href attribute.

Automatic Logout

If inactive (lost focus) for a default of 60 minutes (can be changed), the index page will automatically jump to the login page. Implement the session or cookie reset logic at the backend.

Screenshots

Project Repos

About

A simple theme template for web admin applications based on Layui.

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE_layui

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published