Skip to content
This repository was archived by the owner on Dec 3, 2021. It is now read-only.

v2.1.7 #9

Merged
merged 6 commits into from
Oct 25, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## v2.1.7
- fix(pug): crossplatform use `path.sep` instead of `/` - thanks @vasilevich
- fix(cards): smooth collapse card - thanks @MartijnBastiaansen #378
- fix(header): migrate .divider to .dropdown-divider - thanks @vanam #406
- update: `@coreui/coreui` to `2.0.21`
- feat(sidebar): mobile clickout behaviour
- fix(layout): sidebar on mobile issue [#23](https://github.com/coreui/coreui-angular/issues/23)
- fix: sidebar, sidebar-minimizer `rtl` ie issues, tweaks
- refactor(sidebar.js): ps minor cleanup
- update: `chart.js` to `2.7.3`
- update: `flag-icon-css` to `3.2.1`
- update: `autoprefixer` to `9.3.1`
- update: `browser-sync` to `2.26.3`
- update: `eslint` to `5.7.0`
- update: `eslint-plugin-compat` to `2.6.2`
- update: `js-beautify` to `1.8.8`
- update: `node-sass` to `4.9.4`
- update: `postcss-cli` to `6.0.1`
- update: `stylelint-scss` to `3.3.2`

22 changes: 14 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
# CoreUI Free Bootstrap Admin Template [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social&logo=twitter)](https://twitter.com/intent/tweet?text=CoreUI%20-%20Free%20Bootstrap%204%20Admin%20Template%20&url=https://coreui.io&hashtags=bootstrap,admin,template,dashboard,panel,free,angular,react,vue)

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Please help us on [Product Hunt](https://www.producthunt.com/posts/coreui-open-source-bootstrap-4-admin-template-with-angular-2-react-js-vue-js-support) and [Designer News](https://www.designernews.co/stories/81127). Thanks in advance!

[![Bootstrap Admin Template](https://coreui.io/assets/img/example-coureui.jpg)](https://coreui.io/)

Curious why I decided to create CoreUI? Please read this article: [Jack of all trades, master of none. Why Bootstrap Admin Templates suck.](https://medium.com/@lukaszholeczek/jack-of-all-trades-master-of-none-5ea53ef8a1f#.7eqx1bcd8)

CoreUI is an Open Source Bootstrap Admin Template. But CoreUI is not just another Admin Template. It goes way beyond hitherto admin templates thanks to transparent code and file structure. And if that's not enough, let’s just add that CoreUI consists bunch of unique features and over 1000 high quality icons.

CoreUI is based on Bootstrap 4 and offers 6 versions: [HTML5 AJAX](https://github.com/coreui/coreui-free-bootstrap-admin-template-ajax), [HTML5](https://github.com/coreui/free-angular-admin-template), [Angular 2+](https://github.com/coreui/free-angular-admin-template), [React.js](https://github.com/coreui/free-react-admin-template) & [Vue.js](https://github.com/coreui/free-vue-admin-template), [.NET Core 2](https://github.com/coreui/free-dotnet-admin-template).
CoreUI is based on Bootstrap 4 and offers 6 versions: [HTML5 AJAX](https://github.com/coreui/coreui-free-bootstrap-admin-template-ajax), [HTML5](https://github.com/coreui/coreui-free-angular-admin-template), [Angular 2+](https://github.com/coreui/coreui-free-angular-admin-template), [React.js](https://github.com/coreui/coreui-free-react-admin-template) & [Vue.js](https://github.com/coreui/coreui-free-vue-admin-template), [.NET Core 2](https://github.com/mrholek/CoreUI-NET).

CoreUI is meant to be the UX game changer. Pure & transparent code is devoid of redundant components, so the app is light enough to offer ultimate user experience. This means mobile devices also, where the navigation is just as easy and intuitive as on a desktop or laptop. The CoreUI Layout API lets you customize your project for almost any device – be it Mobile, Web or WebApp – CoreUI covers them all!

## Table of Contents

* [Versions](#versions)
* [CoreUI Pro](#coreui-pro)
* [CoreUI Pro based admin templates](#coreui-pro-based-admin-templates)
* [Admin Templates built on top of CoreUI Pro](#admin-templates-built-on-top-of-coreui-pro)
* [Installation](#installation)
* [Usage](#usage)
* [What's included](#whats-included)
Expand All @@ -25,18 +29,18 @@ CoreUI is meant to be the UX game changer. Pure & transparent code is devoid of
* [Community](#community)
* [Community Projects](#community-projects)
* [License](#license)
* [Support CoreUI development](#support-coreui-development)
* [Support CoreUI Development](#support-coreui-development)

## Versions

CoreUI is built on top of Bootstrap 4 and supports popular frameworks.

* [CoreUI Free Bootstrap Admin Template](https://github.com/coreui/coreui-free-bootstrap-admin-template)
* [CoreUI Free Bootstrap Admin Template (Ajax)](https://github.com/coreui/coreui-free-bootstrap-admin-template-ajax)
* [CoreUI Free Angular 2+ Admin Template](https://github.com/coreui/coreui-free-angular-admin-template)
* 🚧 CoreUI Free .NET Core 2 Admin Template (Available Soon)
* 🚧 CoreUI Free React.js Admin Template (Available Soon)
* 🚧 CoreUI Free Vue.js Admin Template (Available Soon)
<!-- * [CoreUI Free .NET Core 2 Admin Template](https://github.com/coreui/coreui-free-dotnet-admin-template)
* [CoreUI Free React.js Admin Template](https://github.com/coreui/coreui-free-react-admin-template)
* [CoreUI Free Vue.js Admin Template](https://github.com/coreui/coreui-free-vue-admin-template) -->
* [CoreUI Free Vue.js Admin Template](https://github.com/coreui/coreui-free-vue-admin-template)

## CoreUI Pro

Expand All @@ -46,14 +50,16 @@ CoreUI is meant to be the UX game changer. Pure & transparent code is devoid of
* 💪 [CoreUI Pro React Admin Template](https://coreui.io/pro/react)
* 💪 [CoreUI Pro Vue Admin Template](https://coreui.io/pro/vue)

## CoreUI Pro based admin templates
## Admin Templates built on top of CoreUI Pro

| CoreUI Pro | Prime | Root | Alba | Leaf |
| --- | --- | --- | --- | --- |
| [![CoreUI Pro Admin Template](https://coreui.io/assets/img/example-coureui.jpg)](https://coreui.io/pro/) | [![Prime Admin Template](https://genesisui.com/assets/img/templates/prime1280.jpg)](https://genesisui.com/admin-templates/bootstrap/prime/?support=1) | [![Root Admin Template](https://genesisui.com/assets/img/templates/root1280.jpg)](https://genesisui.com/admin-templates/bootstrap/root/?support=1) | [![Alba Admin Template](https://genesisui.com/assets/img/templates/alba1280.jpg)](https://genesisui.com/admin-templates/bootstrap/alba/?support=1) | [![Leaf Admin Template](https://genesisui.com/assets/img/templates/leaf1280.jpg)](https://genesisui.com/admin-templates/bootstrap/leaf/?support=1)

## Installation

### Clone repo

``` bash
# clone the repo
$ git clone https://github.com/coreui/coreui-free-bootstrap-admin-template-ajax.git my-project
Expand Down
8 changes: 4 additions & 4 deletions build/pug.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const isPug = (filename) => {
}

const compile = (filename, basedir) => {
const levels = filename.replace('pug/views/', '').replace('pug/pages/', '').split('/').length
const levels = filename.replace(`pug${path.sep}views${path.sep}`, '').replace(`pug${path.sep}pages${path.sep}`, '').split(`${path.sep}`).length
const base = (levels) => {
let path = './'
while (levels > 1) {
Expand Down Expand Up @@ -83,9 +83,9 @@ const compileHtml = () => {
const html = compile(view, './pug/layout/')
let file
if (version === 'ajax') {
file = view.replace('pug/', '').replace('.pug', '.html')
file = view.replace(`pug${path.sep}`, '').replace('.pug', '.html')
} else {
file = view.replace('pug/views/', '').replace('.pug', '.html')
file = view.replace(`pug${path.sep}views${path.sep}`, '').replace('.pug', '.html')
}
// Create tree
mkdirp.sync(resolve(dest, dirname(file)))
Expand All @@ -103,7 +103,7 @@ const compileHtml = () => {
pages.forEach((page) => {
if (isPug(page)) {
const html = compile(page, './pug/layout/')
const file = page.replace('pug/pages/', '').replace('.pug', '.html')
const file = page.replace(`pug${path.sep}pages${path.sep}`, '').replace('.pug', '.html')
// Create tree
mkdirp.sync(resolve(dest, dirname(file)))
// Create HTML file
Expand Down
Loading