diff --git a/README.md b/README.md index 073d309f..f79de136 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -**CoPilot** is a fully responsive admin template that is forked from [AdminLTE](https://almsaeedstudio.com). The difference here is that this repo is tailored to use with [Vue.js](https://vuejs.org). The UI is based on the [Bootstrap 3](https://github.com/twbs/bootstrap) framework. Highly customizable and easy to use. Fits many screen resolutions from small mobile devices to large desktops. +Starter repo for supply chain -✈️️ Take it for a spin. +✈️️ Take it for a spin. [![Build Status](https://travis-ci.org/misterGF/CoPilot.svg?branch=master)](https://travis-ci.org/misterGF/CoPilot) [![Build status](https://ci.appveyor.com/api/projects/status/wenct56narbt6r1l?svg=true)](https://ci.appveyor.com/project/misterGF/copilot) diff --git a/build/webpack.base.conf.js b/build/webpack.base.conf.js index cd79c65d..5704fc6e 100644 --- a/build/webpack.base.conf.js +++ b/build/webpack.base.conf.js @@ -28,15 +28,15 @@ module.exports = { }, module: { rules: [ - { - test: /\.(js|vue)$/, - loader: 'eslint-loader', - enforce: "pre", - include: [resolve('src'), resolve('test')], - options: { - formatter: require('eslint-friendly-formatter') - } - }, + // { + // test: /\.(js|vue)$/, + // loader: 'eslint-loader', + // enforce: "pre", + // include: [resolve('src'), resolve('test')], + // options: { + // formatter: require('eslint-friendly-formatter') + // } + // }, { test: /\.vue$/, loader: 'vue-loader', diff --git a/src/components/App.vue b/src/components/App.vue index 10fb8136..bb4355c9 100644 --- a/src/components/App.vue +++ b/src/components/App.vue @@ -1,6 +1,9 @@ @@ -27,3 +30,18 @@ } } + + \ No newline at end of file diff --git a/src/components/Dash.vue b/src/components/Dash.vue index aa775e1c..e93ae711 100644 --- a/src/components/Dash.vue +++ b/src/components/Dash.vue @@ -11,7 +11,7 @@
-

+

- + + + +
@@ -70,6 +73,21 @@ export default { diff --git a/src/components/views/Form2.vue b/src/components/views/Form2.vue new file mode 100644 index 00000000..03fcddc9 --- /dev/null +++ b/src/components/views/Form2.vue @@ -0,0 +1,82 @@ + + + + diff --git a/src/components/views/Form3.vue b/src/components/views/Form3.vue new file mode 100644 index 00000000..25f923f3 --- /dev/null +++ b/src/components/views/Form3.vue @@ -0,0 +1,87 @@ + + + + diff --git a/src/components/views/Form4.vue b/src/components/views/Form4.vue new file mode 100644 index 00000000..ae595d22 --- /dev/null +++ b/src/components/views/Form4.vue @@ -0,0 +1,29 @@ + + + + diff --git a/src/components/views/KitchenSink.vue b/src/components/views/KitchenSink.vue new file mode 100644 index 00000000..955a346e --- /dev/null +++ b/src/components/views/KitchenSink.vue @@ -0,0 +1,41 @@ + + + + diff --git a/src/components/views/Setting.vue b/src/components/views/Setting.vue index d8b33d33..a51c7308 100644 --- a/src/components/views/Setting.vue +++ b/src/components/views/Setting.vue @@ -12,12 +12,6 @@
-
- - - - -


diff --git a/src/components/views/Start.vue b/src/components/views/Start.vue new file mode 100644 index 00000000..5a927942 --- /dev/null +++ b/src/components/views/Start.vue @@ -0,0 +1,106 @@ + + + + diff --git a/src/components/views/Start2.vue b/src/components/views/Start2.vue new file mode 100644 index 00000000..be61f640 --- /dev/null +++ b/src/components/views/Start2.vue @@ -0,0 +1,176 @@ + + + + diff --git a/src/components/views/Start3.vue b/src/components/views/Start3.vue new file mode 100644 index 00000000..7deef0f4 --- /dev/null +++ b/src/components/views/Start3.vue @@ -0,0 +1,99 @@ + + + + + diff --git a/src/components/views/newStart2.vue b/src/components/views/newStart2.vue new file mode 100644 index 00000000..18f90e26 --- /dev/null +++ b/src/components/views/newStart2.vue @@ -0,0 +1,191 @@ + + + + diff --git a/src/components/views/newStart3.vue b/src/components/views/newStart3.vue new file mode 100644 index 00000000..b3ac7a64 --- /dev/null +++ b/src/components/views/newStart3.vue @@ -0,0 +1,120 @@ + + + + + diff --git a/src/routes.js b/src/routes.js index 8192e253..ab5e846b 100644 --- a/src/routes.js +++ b/src/routes.js @@ -10,6 +10,20 @@ import SettingView from './components/views/Setting.vue' import AccessView from './components/views/Access.vue' import ServerView from './components/views/Server.vue' import ReposView from './components/views/Repos.vue' +import KitchenSink from './components/views/KitchenSink.vue'; + + +import Form1 from './components/views/Form1.vue'; +import Form2 from './components/views/Form2.vue'; +import Form3 from './components/views/Form3.vue'; +import Form4 from './components/views/Form4.vue'; + +import Start from './components/views/Start.vue'; +import Start2 from './components/views/Start2.vue'; +import Start3 from './components/views/Start3.vue'; + +import newStart2 from './components/views/newStart2.vue'; +import newStart3 from './components/views/newStart3.vue'; // Routes const routes = [ @@ -17,6 +31,18 @@ const routes = [ path: '/login', component: LoginView }, + { + path:'/oldstart', + component: Start + }, + { + path:'/start2', + component: Start2 + }, + { + path:'/start3', + component: Start3 + }, { path: '/', component: DashView, @@ -27,6 +53,63 @@ const routes = [ component: DashboardView, name: 'Dashboard', meta: {description: 'Overview of environment'} + }, + + { + path: '/route1', + alias: '', + component: newStart2, + name: 'Dashboard', + meta: {description: 'Overview of environment'} + }, + + { + path: '/route2', + alias: '', + component: newStart3, + name: 'Dashboard', + meta: {description: 'Overview of environment'} + }, + + { + path: 'action1', + alias: '', + component: Form1, + name: 'Dashboard', + meta: {description: 'Overview of environment'} + }, + { + path: 'action2', + alias: '', + component: Form2, + name: 'Dashboard', + meta: {description: 'Overview of environment'} + }, + { + path: 'action3', + alias: '', + component: Form3, + name: 'Dashboard', + meta: {description: 'Overview of environment'} + }, + { + path: 'action4', + alias: '', + component: Form4, + name: 'Dashboard', + meta: {description: 'Overview of environment'} + }, + + + + + + { + path: 'kitchensink', + alias: '', + component: KitchenSink, + name: 'KitchenSink', + meta: {description: 'Overview of environment'} }, { path: 'tables', component: TablesView, diff --git a/src/store/mutations.js b/src/store/mutations.js index a4d5cc11..8598bf3c 100644 --- a/src/store/mutations.js +++ b/src/store/mutations.js @@ -10,5 +10,12 @@ export default { }, SET_TOKEN (state, token) { state.token = token - } + }, + + setMultiple(state, payload) { + for (let key in payload) { + state[key] = payload[key]; + } + }, + } diff --git a/src/store/state.js b/src/store/state.js index 317896da..34cfc1ce 100644 --- a/src/store/state.js +++ b/src/store/state.js @@ -1,4 +1,13 @@ export default { + testData: '', + purchaseChoice: 'Ship now - Economy', + + + multipleValues:[], + radioButton: null, + selection: null, + textareaModel: null, + callingAPI: false, searching: '', serverURI: 'http://10.110.1.136:8080', diff --git a/static/img/background_sap.jpg b/static/img/background_sap.jpg new file mode 100644 index 00000000..513653dd Binary files /dev/null and b/static/img/background_sap.jpg differ