From e8196ceb39db6c8c120c8607ef58248d15783b2f Mon Sep 17 00:00:00 2001 From: saeid Date: Mon, 22 Apr 2019 21:47:43 +0430 Subject: [PATCH] new Edit --- .../2019_04_11_104800_create_users_table.php | 2 +- public/0.js | 2 +- public/1.js | 2 +- public/17.js | 2 +- public/2.js | 2 +- public/3.js | 84 ++- public/mix-manifest.json | 2 +- public/vue/js/app.js | 12 +- resources/js/vue/views/Role.vue | 2 +- resources/js/vue/views/TestCreator.vue | 693 +++++++++--------- 10 files changed, 440 insertions(+), 363 deletions(-) diff --git a/database/migrations/2019_04_11_104800_create_users_table.php b/database/migrations/2019_04_11_104800_create_users_table.php index 792c58d7..f44a41b7 100644 --- a/database/migrations/2019_04_11_104800_create_users_table.php +++ b/database/migrations/2019_04_11_104800_create_users_table.php @@ -24,7 +24,7 @@ class CreateUsersTable extends Migration $table->unsignedBigInteger('medical_center_id'); $table->foreign('medical_center_id')->references('id')->on('medical_centers'); $table->string('password'); - $table->text('address')->nullable(); + $table->string('address')->nullable(); $table->rememberToken(); $table->timestamps(); }); diff --git a/public/0.js b/public/0.js index dc38cd7b..55a1392b 100644 --- a/public/0.js +++ b/public/0.js @@ -166,7 +166,7 @@ var debugs = {}; var debugEnviron; exports.debuglog = function(set) { if (isUndefined(debugEnviron)) - debugEnviron = Object({"MIX_PUSHER_APP_KEY":"","MIX_PUSHER_APP_CLUSTER":"mt1","MIX_APP_ROOT_API":"/api/","MIX_APP_CLIENT_ID":"2","MIX_APP_CLIENT_SECRET":"I1VA4V6AVGjNb5LAYHMqFcMIvj4FF957uIpBKZu3","NODE_ENV":"development"}).NODE_DEBUG || ''; + debugEnviron = Object({"MIX_APP_CLIENT_ID":"2","MIX_APP_CLIENT_SECRET":"vAhCu2Y4mxfjlr8uTSxpBmjn2rWPIEolnr73ETAE","MIX_APP_ROOT_API":"/api/","MIX_PUSHER_APP_CLUSTER":"mt1","MIX_PUSHER_APP_KEY":"","NODE_ENV":"development"}).NODE_DEBUG || ''; set = set.toUpperCase(); if (!debugs[set]) { if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) { diff --git a/public/1.js b/public/1.js index 37b929ef..f2ad2905 100644 --- a/public/1.js +++ b/public/1.js @@ -210,7 +210,7 @@ __webpack_require__.r(__webpack_exports__); exports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js")(false); // Module -exports.push([module.i, "\n.WM-Border[data-v-308d838e] {\n border: 1px solid;\n}\n.WM-Border-Black[data-v-308d838e] {\n border-color: #2f353b !important;\n}\n.WM-Border-Gray[data-v-308d838e] {\n border-color: #aaa !important;\n}\n.WM-Color-LightGrey[data-v-308d838e] {\n background-color : #F5F5F5;\n}\n.WM-Relative[data-v-308d838e] {\n position: relative;\n}\n.v-btn--top.v-btn--absolute.v-btn--small[data-v-308d838e] {\n top: -25px !important;\n}\n", ""]); +exports.push([module.i, "\n.WM-Border[data-v-308d838e] {\r\n border: 1px solid;\n}\n.WM-Border-Black[data-v-308d838e] {\r\n border-color: #2f353b !important;\n}\n.WM-Border-Gray[data-v-308d838e] {\r\n border-color: #aaa !important;\n}\n.WM-Color-LightGrey[data-v-308d838e] {\r\n background-color : #F5F5F5;\n}\n.WM-Relative[data-v-308d838e] {\r\n position: relative;\n}\n.v-btn--top.v-btn--absolute.v-btn--small[data-v-308d838e] {\r\n top: -25px !important;\n}\r\n", ""]); diff --git a/public/17.js b/public/17.js index fdbb63c2..65a77764 100644 --- a/public/17.js +++ b/public/17.js @@ -48,7 +48,7 @@ __webpack_require__.r(__webpack_exports__); name: "", data: function data() { return { - items: ['SuperAdmin', 'Admin', 'SuperVisior', 'User'] + items: ['SuperAdmin', 'Admin', 'Supervisor', 'User'] }; } }); diff --git a/public/2.js b/public/2.js index 367b3fed..25968129 100644 --- a/public/2.js +++ b/public/2.js @@ -217,7 +217,7 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar exports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js")(false); // Module -exports.push([module.i, "\n.WM-ActionButton[data-v-1305c16e] {\n padding: 8px 22px;\n}\n", ""]); +exports.push([module.i, "\n.WM-ActionButton[data-v-1305c16e] {\r\n padding: 8px 22px;\n}\r\n", ""]); diff --git a/public/3.js b/public/3.js index ac4eed18..2a09647d 100644 --- a/public/3.js +++ b/public/3.js @@ -281,10 +281,29 @@ __webpack_require__.r(__webpack_exports__); // // // +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// /* harmony default export */ __webpack_exports__["default"] = ({ name: "", data: function data() { return { + form: {}, SelectedType: { 0: 0, 1: {} @@ -423,7 +442,7 @@ __webpack_require__.r(__webpack_exports__); exports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js")(false); // Module -exports.push([module.i, "\n.WM-Border-Gray[data-v-d05735bc] {\n border-color: #aaa !important;\n}\n.WM-Color-LightGrey[data-v-d05735bc] {\n background-color : #F5F5F5;\n}\n.v-btn--top.v-btn--absolute.v-btn--small[data-v-d05735bc] {\n top: -25px !important;\n}\n.v-btn--bottom.v-btn--absolute.v-btn--small[data-v-d05735bc] {\n bottom: -24px !important;\n}\n", ""]); +exports.push([module.i, "\n.WM-Border-Gray[data-v-d05735bc] {\r\n border-color: #aaa !important;\n}\n.WM-Color-LightGrey[data-v-d05735bc] {\r\n background-color : #F5F5F5;\n}\n.v-btn--top.v-btn--absolute.v-btn--small[data-v-d05735bc] {\r\n top: -25px !important;\n}\n.v-btn--bottom.v-btn--absolute.v-btn--small[data-v-d05735bc] {\r\n bottom: -24px !important;\n}\r\n", ""]); @@ -486,6 +505,44 @@ var render = function() { "material-card", { attrs: { color: "black", title: "Add a New Test" } }, [ + _c( + "v-layout", + { + staticClass: "ma-2", + attrs: { row: "", wrap: "", id: "Form" } + }, + [ + _c( + "v-flex", + { attrs: { xs12: "", md3: "", sm3: "" } }, + [ + _c("v-text-field", { + staticClass: "pa-2", + attrs: { name: "name", label: "Name", color: "black" } + }) + ], + 1 + ), + _vm._v(" "), + _c( + "v-flex", + { attrs: { xs12: "", md3: "", sm3: "" } }, + [ + _c("v-text-field", { + staticClass: "pa-2", + attrs: { + name: "uniquecode", + label: "Unique Code", + color: "black" + } + }) + ], + 1 + ) + ], + 1 + ), + _vm._v(" "), _c( "v-layout", { @@ -508,10 +565,9 @@ var render = function() { _c("v-text-field", { staticClass: "pa-2", attrs: { - name: "name", - label: "Name", - color: "black", - id: "name" + name: "inputname", + label: "Input Name", + color: "black" } }) ], @@ -645,7 +701,9 @@ var render = function() { }, [_vm._v("fas fa-times")] ), - _vm._v("\n REMOVE") + _vm._v( + "\n REMOVE" + ) ], 1 ) @@ -844,9 +902,9 @@ var render = function() { _c("v-text-field", { staticClass: "pa-2", attrs: { - name: "name", - label: "Name", - id: "" + name: "inputname", + label: "Input Name", + color: "black" } }) ], @@ -1002,7 +1060,7 @@ var render = function() { ] ), _vm._v( - "\n REMOVE" + "\n REMOVE" ) ], 1 @@ -1153,7 +1211,7 @@ var render = function() { ] ), _vm._v( - "\n REMOVE" + "\n REMOVE" ) ], 1 @@ -1235,7 +1293,7 @@ var render = function() { }, [_vm._v("fas fa-times")] ), - _vm._v("\n REMOVE") + _vm._v("\n REMOVE") ], 1 ) @@ -1263,7 +1321,7 @@ var render = function() { { staticClass: "white--text mr-2 caption" }, [_vm._v("fas fa-plus")] ), - _vm._v("\n ADD") + _vm._v("\nADD") ], 1 ) diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 8e803172..7c6c075a 100644 --- a/public/mix-manifest.json +++ b/public/mix-manifest.json @@ -1,3 +1,3 @@ { - "/vue/js/app.js": "/vue/js/app.js?id=ab1390f42a1283f0db66" + "/vue/js/app.js": "/vue/js/app.js?id=83db251ea150b123e82c" } diff --git a/public/vue/js/app.js b/public/vue/js/app.js index 13af534a..3af07a4e 100644 --- a/public/vue/js/app.js +++ b/public/vue/js/app.js @@ -8247,7 +8247,7 @@ exports.push([module.i, "/*!\n* Vuetify v1.5.11\n* Forged by John Leider\n* Rele exports = module.exports = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js")(false); // Module -exports.push([module.i, "\n#core-footer {\n z-index: 0;\n}\n", ""]); +exports.push([module.i, "\n#core-footer {\r\n z-index: 0;\n}\r\n", ""]); @@ -62549,7 +62549,7 @@ var UserService = { }, auth: { username: "2", - password: "I1VA4V6AVGjNb5LAYHMqFcMIvj4FF957uIpBKZu3" + password: "vAhCu2Y4mxfjlr8uTSxpBmjn2rWPIEolnr73ETAE" } }; _context.prev = 1; @@ -62609,7 +62609,7 @@ var UserService = { }, auth: { username: "2", - password: "I1VA4V6AVGjNb5LAYHMqFcMIvj4FF957uIpBKZu3" + password: "vAhCu2Y4mxfjlr8uTSxpBmjn2rWPIEolnr73ETAE" } }; _context2.prev = 1; @@ -62664,7 +62664,7 @@ var UserService = { }, auth: { username: "2", - password: "I1VA4V6AVGjNb5LAYHMqFcMIvj4FF957uIpBKZu3" + password: "vAhCu2Y4mxfjlr8uTSxpBmjn2rWPIEolnr73ETAE" } }; _context3.prev = 1; @@ -62718,7 +62718,7 @@ var UserService = { }, auth: { username: "2", - password: "I1VA4V6AVGjNb5LAYHMqFcMIvj4FF957uIpBKZu3" + password: "vAhCu2Y4mxfjlr8uTSxpBmjn2rWPIEolnr73ETAE" } }; _context4.prev = 2; @@ -63891,7 +63891,7 @@ module.exports = webpackAsyncContext; /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -module.exports = __webpack_require__(/*! /home/saeid/Projects/Git/CSSD/resources/js/vue/main.js */"./resources/js/vue/main.js"); +module.exports = __webpack_require__(/*! D:\Atom\Git\Laravel_CSSD\resources\js\vue\main.js */"./resources/js/vue/main.js"); /***/ }) diff --git a/resources/js/vue/views/Role.vue b/resources/js/vue/views/Role.vue index b43f7c04..50b8d70a 100644 --- a/resources/js/vue/views/Role.vue +++ b/resources/js/vue/views/Role.vue @@ -40,7 +40,7 @@ export default { items : [ 'SuperAdmin', 'Admin', - 'SuperVisior', + 'Supervisor', 'User' ] }) diff --git a/resources/js/vue/views/TestCreator.vue b/resources/js/vue/views/TestCreator.vue index 2a2e05df..7afd16fc 100644 --- a/resources/js/vue/views/TestCreator.vue +++ b/resources/js/vue/views/TestCreator.vue @@ -1,129 +1,147 @@