diff --git a/package.json b/package.json
index d3fd31d..d1b4727 100644
--- a/package.json
+++ b/package.json
@@ -111,6 +111,9 @@
"devDependencies": {
"adal-angular": "^1.0.17",
"babel-core": "^6.26.0",
+ "babel-loader": "^7.1.4",
+ "babel-plugin-syntax-dynamic-import": "^6.18.0",
+ "babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babel-preset-es2015": "^6.24.1",
"babelify": "^8.0.0",
@@ -123,13 +126,21 @@
"gulp-uglify": "^3.0.0",
"gulp-uglifyes": "^0.1.2",
"highcharts": "^6.1.0",
+ "html-loader": "^0.5.5",
"node-glob": "^1.2.0",
"popup-es": "0.2.1",
"quill": "^1.3.6",
"rimraf": "^2.6.2",
"run-sequence": "^2.2.0",
+ "sha1": "^1.1.1",
+ "style-loader": "^0.21.0",
+ "stylus": "^0.54.5",
+ "stylus-loader": "^3.0.2",
+ "uglifyjs-webpack-plugin": "^1.2.7",
+ "url-loader": "^1.0.1",
"vinyl-buffer": "^1.0.0",
"vinyl-source-stream": "^1.1.0",
+ "webpack": "^4.14.0",
"workbox-build": "^2.1.1"
},
"postinstall": "install-app-deps"
diff --git a/src/assets/css/default.css b/src/assets/css/default.css
index 8ab32be..ffdad4d 100644
--- a/src/assets/css/default.css
+++ b/src/assets/css/default.css
@@ -32,44 +32,8 @@ summary{
outline:none;
}
-.navbar-top{
- background: rgb(60,60,60) !important;
- margin-bottom: 0;
-}
-.nav-top-menu li a{
- color: rgb(255,184,12) !important;
-}
-/*main menu*/
-.main-menu{
- margin-top: 50px;
-}
-
-.main-menu li{
- padding: 10px 5px 10px 5px;
- margin-bottom: 2px;
- cursor:pointer;
- font-size: 13px;
-}
-
-.main-menu li.sub {
- color: #bbbbbb;
-}
-
-.main-menu li.sub .material-icons {
- font-size: 20px !important;
-}
-.main-menu li.active{
- background: rgb(255,184,12);
- color: #000;
-}
-.main-menu li.deactivated{
- opacity: 0.5;
-}
-.main-menu-list{
- color: rgb(240,240,240);
-}
.btn-group-xs > .btn, .btn-xs {
padding : .25rem .4rem;
diff --git a/src/assets/css/modules/suppliers/list.css b/src/assets/css/modules/suppliers/list.css
index 20f6d9d..a1d3140 100644
--- a/src/assets/css/modules/suppliers/list.css
+++ b/src/assets/css/modules/suppliers/list.css
@@ -148,26 +148,7 @@
}
-.dropdown-section{
- position: absolute;
- width: 150px;
- height: 200px;
- background: #fff;
- z-index: 3;
- right:0px;
- display: none;
- visibility:hidden;
- opacity: 0;
- transition: all 0.3s ease-in-out;
- box-shadow: 0 0 7px rgba(0,0,0,.4)
-}
-
-.dropdown-section.open{
- transition: opacity 0.3s ease-in-out;
- visibility: visible;
- display: block;
- opacity: 1;
-}
+
.bidding-status-info{
float: left;
diff --git a/src/assets/img/mail.png b/src/assets/img/mail.png
new file mode 100644
index 0000000..c06560e
Binary files /dev/null and b/src/assets/img/mail.png differ
diff --git a/src/assets/js/_default.js b/src/assets/js/_default.js
deleted file mode 100644
index dae7cc6..0000000
--- a/src/assets/js/_default.js
+++ /dev/null
@@ -1,112 +0,0 @@
-
- //sideBar
- let sideBar=false
-
- //list of scripts loaded by lazyLoader using once option
- window.bms.default.loadedScript=[]
-
- const sideBarInit=()=>{
- let sideBar=new window.bms.exports.Sidebar('.docker-menu ','#docker-sidebar')
- sideBar.toggle()
- }
-
-
- window.bms.default.activateMenu=(name)=>{
- document.querySelectorAll('.main-menu-list-item').forEach((el,index)=>{
- el.classList.remove('active')
- if(el.getAttribute('data-status')==name) el.classList.add('active')
- })
- }
-
- //parse script and link from DOM
- //since XHR DOESn't execute js
- window.bms.default.scriptLoader=(scope)=>{
- console.log(scope)
- scope.querySelectorAll(`script`).forEach((sc,index)=>{
-
- let el=document.createElement('script')
- el.src=sc.getAttribute('src')
- if(sc.async) el.setAttribute('async','')
- sc.replaceWith(el)
- })
-
- scope.querySelectorAll(`link`).forEach((sc,index)=>{
- let el=document.createElement('link')
- el.href=sc.getAttribute('href')
- el.type="text/css"
- el.rel="stylesheet"
- sc.replaceWith(el)
- })
-
- }
-
-
- //inject
-
+