From 81e3dd0eab002661cd730c2ee12a6999602afa03 Mon Sep 17 00:00:00 2001 From: REJack Date: Thu, 3 Oct 2019 13:22:51 +0200 Subject: [PATCH 1/7] moved fs-extra to deps instead of devDeps --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8484a71c8..21f1335b0 100644 --- a/package.json +++ b/package.json @@ -84,6 +84,7 @@ "filterizr": "^2.2.3", "flag-icon-css": "^3.4.0", "flot": "^3.2.9", + "fs-extra": "^5.0.0", "icheck-bootstrap": "^3.0.1", "inputmask": "^4.0.8", "ion-rangeslider": "^2.3.0", @@ -120,7 +121,6 @@ "eslint": "^4.19.1", "eslint-plugin-compat": "^2.7.0", "extract-text-webpack-plugin": "^3.0.2", - "fs-extra": "^5.0.0", "node-sass": "^4.12.0", "node-sass-package-importer": "^5.3.2", "nodemon": "^1.19.1", From c22642766e0f951e953f6c0808da3a69a3d79d32 Mon Sep 17 00:00:00 2001 From: REJack Date: Thu, 3 Oct 2019 13:26:35 +0200 Subject: [PATCH 2/7] fixed accent build error --- build/scss/_mixins.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/scss/_mixins.scss b/build/scss/_mixins.scss index 68f03f9a3..b3e3dca45 100644 --- a/build/scss/_mixins.scss +++ b/build/scss/_mixins.scss @@ -513,7 +513,7 @@ // Accent Variant @mixin accent-variant($name, $color) { - &.accent-#{$name} { + .accent-#{$name} { $link-color: $color; $link-hover-color: darken($color, 15%); $pagination-active-bg: $color; From 3be22b6be940fcb46f94bafd2df758eb163ff88c Mon Sep 17 00:00:00 2001 From: REJack Date: Thu, 3 Oct 2019 13:51:18 +0200 Subject: [PATCH 3/7] fixed npm i prepare plugins error --- build/npm/Publish.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build/npm/Publish.js b/build/npm/Publish.js index 4e65e05c3..46ae93870 100644 --- a/build/npm/Publish.js +++ b/build/npm/Publish.js @@ -28,7 +28,11 @@ class Publish { // Publish files Plugins.forEach((module) => { try { - fse.copySync(module.from, module.to) + if (fse.existsSync(module.from)) { + fse.copySync(module.from, module.to) + } else { + fse.copySync(module.from.replace('node_modules/', '../'), module.to) + } if (this.options.verbose) { console.log(`Copied ${module.from} to ${module.to}`) From c2d3d8595c2105b6d5d534cf9e40617f87cc2863 Mon Sep 17 00:00:00 2001 From: REJack Date: Thu, 3 Oct 2019 13:57:39 +0200 Subject: [PATCH 4/7] fixed margin of input-group, nav & pagination inside card-tools --- build/scss/_cards.scss | 5 +++-- pages/tables/simple.html | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/build/scss/_cards.scss b/build/scss/_cards.scss index dc764e899..fbd685290 100644 --- a/build/scss/_cards.scss +++ b/build/scss/_cards.scss @@ -108,10 +108,11 @@ html.maximized-card { float: right; margin-right: -$card-spacer-x / 2; + .input-group, .nav, .pagination { - margin-bottom: -$card-spacer-y / 2; - margin-top: -$card-spacer-y / 2; + margin-bottom: -$card-spacer-y / 2.5; + margin-top: -$card-spacer-y / 2.5; } [data-toggle='tooltip'] { diff --git a/pages/tables/simple.html b/pages/tables/simple.html index f4b99f5fd..e97c692f7 100644 --- a/pages/tables/simple.html +++ b/pages/tables/simple.html @@ -841,7 +841,7 @@

Simple Full Width Table

-
    +
    • «
    • 1
    • 2
    • From c09241069bc3013542340dfcaa0579b3db3ea954 Mon Sep 17 00:00:00 2001 From: REJack Date: Thu, 3 Oct 2019 14:09:27 +0200 Subject: [PATCH 5/7] fixed invoice-print loading from file:// --- pages/examples/invoice-print.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pages/examples/invoice-print.html b/pages/examples/invoice-print.html index 2680cdc2f..ae2b9a203 100644 --- a/pages/examples/invoice-print.html +++ b/pages/examples/invoice-print.html @@ -18,7 +18,7 @@ - +
      @@ -162,5 +162,9 @@
      + + From 99e51bc31a520eb4ede2b86771bd359cc2b4dd91 Mon Sep 17 00:00:00 2001 From: REJack Date: Thu, 3 Oct 2019 14:18:35 +0200 Subject: [PATCH 6/7] updated install instruction in docs --- docs/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/index.md b/docs/index.md index 9c9136c21..374af488e 100755 --- a/docs/index.md +++ b/docs/index.md @@ -15,17 +15,17 @@ Visit the releases section on Github and download the [latest release](https://g ###### __Via NPM__ ```bash -npm install admin-lte@3.0.0-beta.2 --save +npm install admin-lte@v3-latest --save ``` ###### __Via Yarn__ ```bash -yarn add admin-lte@3.0.0-beta.2 +yarn add admin-lte@v3-latest ``` ###### __Via Bower__ ```bash -bower install admin-lte#3.0.0-beta.2 +bower install admin-lte#v3-latest ``` > If bower asks which version of jQuery to use, choose version 3 or above. {: .quote-info} From c011e42b770df74feef6940a3a177edc8d1e7d92 Mon Sep 17 00:00:00 2001 From: REJack Date: Thu, 3 Oct 2019 14:34:22 +0200 Subject: [PATCH 7/7] overhauled top-nav layout with a collapsable menu --- build/scss/_navs.scss | 9 ++++ pages/layout/top-nav.html | 108 ++++++++++++++++++++------------------ 2 files changed, 65 insertions(+), 52 deletions(-) diff --git a/build/scss/_navs.scss b/build/scss/_navs.scss index 5913cb04d..e8d0d578b 100644 --- a/build/scss/_navs.scss +++ b/build/scss/_navs.scss @@ -63,6 +63,15 @@ } } +.navbar-no-expand { + flex-direction: row; + + .nav-link { + padding-left: $navbar-nav-link-padding-x; + padding-right: $navbar-nav-link-padding-x; + } +} + // Color variants @each $color, $value in $theme-colors { @if $color == dark or $color == light { diff --git a/pages/layout/top-nav.html b/pages/layout/top-nav.html index e52d779db..e7189ce6e 100644 --- a/pages/layout/top-nav.html +++ b/pages/layout/top-nav.html @@ -22,73 +22,77 @@ scratch. This page gets rid of all links and provides the needed markup only.
      -