diff --git a/public_html/page/settings.php b/public_html/page/settings.php
new file mode 100644
index 0000000..dfea50c
--- /dev/null
+++ b/public_html/page/settings.php
@@ -0,0 +1,48 @@
+
+
+
+
+
+
+
+
+
+ Gestion des enseignants
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/webpack.config.js b/webpack.config.js
index 5029084..2a75ec5 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -1,5 +1,5 @@
-var path = require('path')
-var webpack = require('webpack')
+var path = require('path');
+var webpack = require('webpack');
const ExtractTextPlugin = require("extract-text-webpack-plugin");
@@ -50,15 +50,51 @@ module.exports = [ {
}, {
- name: "teacher",
- entry: './webpack/page/teacher.js',
- output: {
- path: path.resolve(__dirname, './public_html/js/bundle'),
- publicPath: '/js/bundle/',
- filename: 'teacher@0.js'
- },
- module: mod_common,
- devtool: (process.env.NODE_ENV==='development') ? '#eval-source-map' : false
+ name: "teacher",
+ entry: './webpack/page/teacher.js',
+ output: {
+ path: path.resolve(__dirname, './public_html/js/bundle'),
+ publicPath: '/js/bundle/',
+ filename: 'teacher@0.js'
+ },
+ module: mod_common,
+ devtool: (process.env.NODE_ENV==='development') ? '#eval-source-map' : false
+
+}, {
+
+ name: "ue",
+ entry: './webpack/page/ue.js',
+ output: {
+ path: path.resolve(__dirname, './public_html/js/bundle'),
+ publicPath: '/js/bundle/',
+ filename: 'ue@0.js'
+ },
+ module: mod_common,
+ devtool: (process.env.NODE_ENV==='development') ? '#eval-source-map' : false
+
+}, {
+
+ name: "fiche",
+ entry: './webpack/page/fiche.js',
+ output: {
+ path: path.resolve(__dirname, './public_html/js/bundle'),
+ publicPath: '/js/bundle/',
+ filename: 'fiche@0.js'
+ },
+ module: mod_common,
+ devtool: (process.env.NODE_ENV==='development') ? '#eval-source-map' : false
+
+}, {
+
+ name: "settings",
+ entry: './webpack/page/settings.js',
+ output: {
+ path: path.resolve(__dirname, './public_html/js/bundle'),
+ publicPath: '/js/bundle/',
+ filename: 'settings@0.js'
+ },
+ module: mod_common,
+ devtool: (process.env.NODE_ENV==='development') ? '#eval-source-map' : false
}, {
diff --git a/webpack/component/settings/view.vue b/webpack/component/settings/view.vue
new file mode 100644
index 0000000..39c13cc
--- /dev/null
+++ b/webpack/component/settings/view.vue
@@ -0,0 +1,23 @@
+
+
+
+
+
Ici c'est la page Adiministration
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/webpack/data/settings.js b/webpack/data/settings.js
new file mode 100644
index 0000000..e69de29
diff --git a/webpack/page/settings.js b/webpack/page/settings.js
new file mode 100644
index 0000000..856afe2
--- /dev/null
+++ b/webpack/page/settings.js
@@ -0,0 +1,35 @@
+/* (1) Imports
+---------------------------------------------------------*/
+/* (1) NPM libs */
+import Vue from 'vue'
+import VueRouter from 'vue-router'
+import routes from '../routes/settings'
+
+/* (2) Vues */
+import wrapper_vue from '../vue/wrapper.vue'
+
+/* (3) Data */
+require('../data/common');
+require('../data/settings');
+
+
+
+
+/* (2) Initialisation
+---------------------------------------------------------*/
+/* (1) Init Router */
+const router = new VueRouter({
+ mode: 'history',
+ routes: routes[0]
+});
+
+/* (2) Store router in gstore */
+gstore.add('router', router);
+
+/* (3) Render view */
+Vue.use(VueRouter);
+new Vue({
+ el: '#main-vue',
+ router,
+ render: h => h(wrapper_vue)
+});
\ No newline at end of file
diff --git a/webpack/routes/settings.js b/webpack/routes/settings.js
new file mode 100644
index 0000000..767a198
--- /dev/null
+++ b/webpack/routes/settings.js
@@ -0,0 +1,11 @@
+export default{ 0: [
+
+ {
+ path: '/settings/view/',
+ component: require('../component/settings/view.vue').default
+ }, {
+ path: '*',
+ redirect: '/settings/view/'
+ }
+
+]}
\ No newline at end of file