Added NProgress #437

Open
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+7 −1
Diff settings

Always

Just for now

View
@@ -4,7 +4,8 @@
"bootstrap": "3.3.7",
"font-awesome": "4.7.0",
"jquery": "3.2.1",
- "moment": "2.18.1"
+ "moment": "2.18.1",
+ "nprogress": "https://github.com/lipis/nprogress.git#master"
},
"overrides": {
"bootstrap": {
View
@@ -4,6 +4,7 @@ config =
ext: [
"#{paths.static.ext}/jquery/dist/jquery.js"
"#{paths.static.ext}/moment/moment.js"
+ "#{paths.static.ext}/nprogress/nprogress.js"
"#{paths.static.ext}/bootstrap/js/alert.js"
"#{paths.static.ext}/bootstrap/js/button.js"
"#{paths.static.ext}/bootstrap/js/transition.js"
@@ -1,5 +1,6 @@
@import "../../ext/font-awesome/less/font-awesome";
@import "../../ext/bootstrap/less/bootstrap";
+@import "../../ext/nprogress/nprogress";
@import "base";
@import "variables";
@@ -2,3 +2,6 @@
@icon-font-path: "/p/ext/bootstrap/fonts/";
@footer-height: @line-height-computed * 5;
+
+@nprogress-color: @brand-primary;
+@nprogress-spinner-top: @navbar-height + @nprogress-spinner-right;