AdminLTE/README.md

128 lines
7.1 KiB
Markdown
Raw Permalink Normal View History

2021-02-14 14:27:47 +01:00
# [AdminLTE - Bootstrap 4 Admin Dashboard](https://adminlte.io)
2014-10-31 02:31:01 +01:00
2019-11-02 14:51:13 +01:00
[![npm version](https://img.shields.io/npm/v/admin-lte/latest.svg)](https://www.npmjs.com/package/admin-lte)
[![Packagist](https://img.shields.io/packagist/v/almasaeed2010/adminlte.svg)](https://packagist.org/packages/almasaeed2010/adminlte)
2021-01-28 20:09:32 +01:00
[![cdn version](https://data.jsdelivr.com/v1/package/npm/admin-lte/badge)](https://www.jsdelivr.com/package/npm/admin-lte)
[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/from-referrer/)
[![Open in Visual Studio Code](https://open.vscode.dev/badges/open-in-vscode.svg)](https://open.vscode.dev/ColorlibHQ/AdminLTE)
2021-07-28 21:21:56 +02:00
[![Discord Invite](https://img.shields.io/badge/discord-join%20now-green)](https://discord.gg/jfdvjwFqfz)
2019-11-02 14:51:13 +01:00
2021-02-05 09:05:45 +01:00
**AdminLTE** is a fully responsive administration template. Based on **[Bootstrap 4.6](https://getbootstrap.com/)** framework and also the JS/jQuery plugin.
2018-03-17 18:07:55 +01:00
Highly customizable and easy to use. Fits many screen resolutions from small mobile devices to large desktops.
2014-02-01 17:15:26 +01:00
2019-11-02 13:33:03 +01:00
**Preview on [AdminLTE.io](https://adminlte.io/themes/v3)**
2020-06-01 10:33:08 +02:00
## Looking for Premium Templates?
AdminLTE.io just opened a new premium templates page. Hand picked to ensure the best quality and the most affordable
2020-06-01 10:33:08 +02:00
prices. Visit <https://adminlte.io/premium> for more information.
2014-02-01 20:18:02 +01:00
2018-03-17 18:11:26 +01:00
!["AdminLTE Presentation"](https://adminlte.io/AdminLTE3.png "AdminLTE Presentation")
2014-02-01 17:15:26 +01:00
2018-03-17 18:07:55 +01:00
**AdminLTE** has been carefully coded with clear comments in all of its JS, SCSS and HTML files.
SCSS has been used to increase code customizability.
2014-02-01 17:15:26 +01:00
2021-02-14 14:27:47 +01:00
## Quick start
2015-02-22 20:12:01 +01:00
There are multiple ways to install AdminLTE.
### Download & Changelog:
2021-01-28 20:09:32 +01:00
Always Recommended to download from GitHub latest release [AdminLTE 3](https://github.com/ColorlibHQ/AdminLTE/releases/latest) for bug free and latest features.\
Visit the [releases](https://github.com/ColorlibHQ/AdminLTE/releases) page to view the changelog.\
Legacy Releases are [AdminLTE 2](https://github.com/ColorlibHQ/AdminLTE/releases/tag/v2.4.18) / [AdminLTE 1](https://github.com/ColorlibHQ/AdminLTE/releases/tag/1.3.1).
2015-02-22 20:12:01 +01:00
2021-03-15 23:25:08 +01:00
## Stable release
### Grab from [jsdelivr](https://www.jsdelivr.com/package/npm/admin-lte) CDN:
2021-01-28 20:09:32 +01:00
_**Important Note**: You needed to add separately cdn links for plugins in your project._
```html
2021-03-22 08:29:43 +01:00
<script src="https://cdn.jsdelivr.net/npm/admin-lte@3.1/dist/js/adminlte.min.js"></script>
2021-01-28 20:09:32 +01:00
```
```html
2021-03-22 08:29:43 +01:00
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/admin-lte@3.1/dist/css/adminlte.min.css">
2021-01-28 20:09:32 +01:00
```
2020-06-01 10:33:08 +02:00
### Using The Command Line:
_**Important Note**: To install it via npm/Yarn, you need at least Node.js 10 or higher._
2021-03-15 23:25:08 +01:00
#### Via npm
```bash
2021-03-22 08:29:43 +01:00
npm install admin-lte@^3.1 --save
2021-03-15 23:25:08 +01:00
```
#### Via Yarn
```bash
2021-03-22 08:29:43 +01:00
yarn add admin-lte@^3.1
2021-03-15 23:25:08 +01:00
```
#### Via Composer
```bash
2021-03-22 08:29:43 +01:00
composer require "almasaeed2010/adminlte=~3.1"
2021-03-15 23:25:08 +01:00
```
#### Via Git
```bash
git clone https://github.com/ColorlibHQ/AdminLTE.git
```
2021-03-15 23:25:08 +01:00
## Unstable release
### Grab from [jsdelivr](https://www.jsdelivr.com/package/npm/admin-lte) CDN:
_**Important Note**: You needed to add separately cdn links for plugins in your project._
```html
2021-03-22 08:29:43 +01:00
<script src="https://cdn.jsdelivr.net/npm/admin-lte@3.1.0/dist/js/adminlte.min.js"></script>
2021-03-15 23:25:08 +01:00
```
```html
2021-03-22 08:29:43 +01:00
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/admin-lte@3.1.0/dist/css/adminlte.min.css">
2021-03-15 23:25:08 +01:00
```
### Using The Command Line:
_**Important Note**: To install it via npm/Yarn, you need at least Node.js 10 or higher._
#### Via npm
```bash
2021-03-22 08:29:43 +01:00
npm install admin-lte@^3.1.0 --save
2021-03-15 23:25:08 +01:00
```
#### Via Yarn
```bash
2021-03-22 08:29:43 +01:00
yarn add admin-lte@^3.1.0
2021-03-15 23:25:08 +01:00
```
#### Via Composer
```bash
2021-03-22 08:29:43 +01:00
composer require "almasaeed2010/adminlte=~3.1.0"
2021-03-15 23:25:08 +01:00
```
#### Via Git
```bash
git clone https://github.com/ColorlibHQ/AdminLTE.git
```
2020-06-01 10:33:08 +02:00
## Documentation
2015-02-22 20:12:01 +01:00
2020-11-25 10:12:46 +01:00
Visit the [online documentation](https://adminlte.io/docs/3.1/) for the most
2015-02-22 20:12:01 +01:00
updated guide. Information will be added on a weekly basis.
## Browsers support
2020-06-01 10:33:08 +02:00
| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>IE / Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>Safari | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari-ios/safari-ios_48x48.png" alt="iOS Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>iOS Safari | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/samsung-internet/samsung-internet_48x48.png" alt="Samsung" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>Samsung | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png" alt="Opera" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>Opera | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/vivaldi/vivaldi_48x48.png" alt="Vivaldi" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>Vivaldi | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/electron/electron_48x48.png" alt="Electron" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>Electron |
| --------- | --------- | --------- | --------- | --------- | --------- | --------- | --------- | --------- |
| IE10, IE11, Edge| last 2 versions| last 2 versions| last 2 versions| last 2 versions| last 2 versions| last 2 versions| last 2 versions| last 2 versions
2015-02-22 20:12:01 +01:00
### Compile dist files
2020-06-01 10:33:08 +02:00
To compile the dist files you need Node.js/npm, clone/download the repo then:
1. `npm install` (install npm deps)
2. _Optional:_ `npm run dev` (developer mode, autocompile with browsersync support for live demo)
3. `npm run production` (compile css/js files)
2015-02-22 20:12:01 +01:00
2021-02-14 14:27:47 +01:00
## Contributing
Please read through our [contributing guidelines](https://github.com/ColorlibHQ/AdminLTE/tree/master/.github/CONTRIBUTING.md). Included are directions for opening issues, coding standards, and notes on development.
Editor preferences are available in the [editor config](https://github.com/twbs/bootstrap/blob/main/.editorconfig) for easy use in common text editors. Read more and download plugins at <https://editorconfig.org/>.
2020-06-01 10:33:08 +02:00
## License
AdminLTE is an open source project by [AdminLTE.io](https://adminlte.io) that is licensed under [MIT](https://opensource.org/licenses/MIT).
AdminLTE.io reserves the right to change the license of future releases.
## Image Credits
2014-02-01 17:15:26 +01:00
2020-06-01 10:33:08 +02:00
- [Pixeden](http://www.pixeden.com/psd-web-elements/flat-responsive-showcase-psd)
- [Graphicsfuel](https://www.graphicsfuel.com/2013/02/13-high-resolution-blur-backgrounds/)
- [Pickaface](https://pickaface.net/)
- [Unsplash](https://unsplash.com/)
- [Uifaces](http://uifaces.com/)