Skip to content

Commit

Permalink
Dev: show modal on create new question
Browse files Browse the repository at this point in the history
  • Loading branch information
lacrioque committed Oct 9, 2018
1 parent cbacc81 commit 71f642c
Show file tree
Hide file tree
Showing 6 changed files with 78 additions and 16 deletions.
Expand Up @@ -367,6 +367,7 @@
<input type='hidden' name='action' value='insertquestion' />
<input type='hidden' id='sid' name='sid' value='<?php echo $surveyid; ?>' />
<p><input type='submit' class="hidden" value='<?php eT("Add question"); ?>' /></p>
<div id="loader" class="blocker-loading"><div class="blocker-loading-container"><i class="loading-icon-fa fa fa-cog fa-spin"></i></div></div>
<?php elseif ($copying): ?>
<input type='hidden' name='action' value='copyquestion' />
<input type='hidden' id='oldqid' name='oldqid' value='<?php echo $qid; ?>' />
Expand Down
23 changes: 23 additions & 0 deletions assets/packages/adminpanel/build/lsadminpanel.css
Expand Up @@ -254,6 +254,29 @@ ol.breadcrumb.title-bar-breadcrumb {
.btn-group .btn input[type=checkbox]:before {
display: none; }

.blocker-loading {
display: block;
height: 96%;
width: 96%;
top: 3%;
left: 3%;
box-shadow: 0 0 3% rgba(255, 255, 255, 0.3);
background-color: rgba(255, 255, 255, 0.3);
z-index: 9997;
position: fixed;
justify-content: center;
align-items: center; }
.blocker-loading .blocker-loading-container {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
width: 100%; }
.blocker-loading .blocker-loading-container .loading-icon-fa {
display: flex;
z-index: 9999;
font-size: 13rem; }

.ls-flex, .ls-flex-row, .ls-flex-column {
display: -moz-flex;
display: -webkit-flex;
Expand Down
24 changes: 12 additions & 12 deletions assets/packages/adminpanel/build/lsadminpanel.js
Expand Up @@ -27375,7 +27375,7 @@ var Component = __webpack_require__(0)(
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/opt/web/LimeSurvey/assets/packages/adminpanel/src/components/subcomponents/_menuicon.vue"
Component.options.__file = "C:\\IISPages\\LimeSurvey\\assets\\packages\\adminpanel\\src\\components\\subcomponents\\_menuicon.vue"

This comment has been minimized.

Copy link
@Shnoulle

Shnoulle Oct 9, 2018

Collaborator

???????

This comment has been minimized.

Copy link
@LouisGac

LouisGac Oct 9, 2018

Contributor

I second this "???????"
plus a "boooo" for using Windows :)

This comment has been minimized.

Copy link
@Shnoulle

Shnoulle Oct 9, 2018

Collaborator

Not windows : IIS 😱

/opt/web still uneeded

This comment has been minimized.

Copy link
@lacrioque

lacrioque Oct 9, 2018

Author Contributor

C'mon it's not even half as bad as i thought. ;)
It's just for debugging, and if you are debugging and checking the adminpanel you should rebuild it anyway.

This comment has been minimized.

Copy link
@LouisGac

LouisGac Oct 10, 2018

Contributor

still "booo" :)

This comment has been minimized.

Copy link
@Shnoulle

Shnoulle Oct 10, 2018

Collaborator

I thinkn all debugging related part (and all specific part) must be out of distribution …

if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key.substr(0, 2) !== "__"})) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] _menuicon.vue: functional components are not supported with templates, they should use render functions.")}

Expand Down Expand Up @@ -27607,7 +27607,7 @@ var Component = __webpack_require__(0)(
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/opt/web/LimeSurvey/assets/packages/adminpanel/src/components/sidebar.vue"
Component.options.__file = "C:\\IISPages\\LimeSurvey\\assets\\packages\\adminpanel\\src\\components\\sidebar.vue"
if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key.substr(0, 2) !== "__"})) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] sidebar.vue: functional components are not supported with templates, they should use render functions.")}

Expand Down Expand Up @@ -27665,7 +27665,7 @@ exports = module.exports = __webpack_require__(1)(true);


// module
exports.push([module.i, "\n.sidebar_loader[data-v-3ebf670a] {\n height: 100%;\n position: absolute;\n width: 100%;\n background: rgba(231, 231, 231, 0.3);\n z-index: 4501;\n box-shadow: 8px 0px 15px rgba(231, 231, 231, 0.3);\n top: 0;\n}\n", "", {"version":3,"sources":["/opt/web/LimeSurvey/assets/packages/adminpanel/src/components/sidebar.vue"],"names":[],"mappings":";AAAA;EACE,aAAa;EACb,mBAAmB;EACnB,YAAY;EACZ,qCAAqC;EACrC,cAAc;EACd,kDAAkD;EAClD,OAAO;CAAE","file":"sidebar.vue","sourcesContent":[".sidebar_loader {\n height: 100%;\n position: absolute;\n width: 100%;\n background: rgba(231, 231, 231, 0.3);\n z-index: 4501;\n box-shadow: 8px 0px 15px rgba(231, 231, 231, 0.3);\n top: 0; }\n"],"sourceRoot":""}]);
exports.push([module.i, "\n.sidebar_loader[data-v-3ebf670a] {\n height: 100%;\n position: absolute;\n width: 100%;\n background: rgba(231, 231, 231, 0.3);\n z-index: 4501;\n box-shadow: 8px 0px 15px rgba(231, 231, 231, 0.3);\n top: 0;\n}\n", "", {"version":3,"sources":["C:/IISPages/LimeSurvey/assets/packages/adminpanel/src/components/sidebar.vue"],"names":[],"mappings":";AAAA;EACE,aAAa;EACb,mBAAmB;EACnB,YAAY;EACZ,qCAAqC;EACrC,cAAc;EACd,kDAAkD;EAClD,OAAO;CAAE","file":"sidebar.vue","sourcesContent":[".sidebar_loader {\n height: 100%;\n position: absolute;\n width: 100%;\n background: rgba(231, 231, 231, 0.3);\n z-index: 4501;\n box-shadow: 8px 0px 15px rgba(231, 231, 231, 0.3);\n top: 0; }\n"],"sourceRoot":""}]);

// exports

Expand Down Expand Up @@ -28129,7 +28129,7 @@ var Component = __webpack_require__(0)(
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/opt/web/LimeSurvey/assets/packages/adminpanel/src/components/subcomponents/_questionsgroups.vue"
Component.options.__file = "C:\\IISPages\\LimeSurvey\\assets\\packages\\adminpanel\\src\\components\\subcomponents\\_questionsgroups.vue"
if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key.substr(0, 2) !== "__"})) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] _questionsgroups.vue: functional components are not supported with templates, they should use render functions.")}

Expand Down Expand Up @@ -28187,7 +28187,7 @@ exports = module.exports = __webpack_require__(1)(true);


// module
exports.push([module.i, "\n.display-as-container {\n display: block;\n}\n#questionexplorer {\n overflow: auto;\n}\n", "", {"version":3,"sources":["/opt/web/LimeSurvey/assets/packages/adminpanel/src/components/subcomponents/_questionsgroups.vue"],"names":[],"mappings":";AAAA;EACE,eAAe;CAAE;AAEnB;EACE,eAAe;CAAE","file":"_questionsgroups.vue","sourcesContent":[".display-as-container {\n display: block; }\n\n#questionexplorer {\n overflow: auto; }\n"],"sourceRoot":""}]);
exports.push([module.i, "\n.display-as-container {\n display: block;\n}\n#questionexplorer {\n overflow: auto;\n}\n", "", {"version":3,"sources":["C:/IISPages/LimeSurvey/assets/packages/adminpanel/src/components/subcomponents/_questionsgroups.vue"],"names":[],"mappings":";AAAA;EACE,eAAe;CAAE;AAEnB;EACE,eAAe;CAAE","file":"_questionsgroups.vue","sourcesContent":[".display-as-container {\n display: block; }\n\n#questionexplorer {\n overflow: auto; }\n"],"sourceRoot":""}]);

// exports

Expand Down Expand Up @@ -28578,7 +28578,7 @@ var Component = __webpack_require__(0)(
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/opt/web/LimeSurvey/assets/packages/adminpanel/src/components/subcomponents/_sidemenu.vue"
Component.options.__file = "C:\\IISPages\\LimeSurvey\\assets\\packages\\adminpanel\\src\\components\\subcomponents\\_sidemenu.vue"
if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key.substr(0, 2) !== "__"})) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] _sidemenu.vue: functional components are not supported with templates, they should use render functions.")}

Expand Down Expand Up @@ -28780,7 +28780,7 @@ var Component = __webpack_require__(0)(
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/opt/web/LimeSurvey/assets/packages/adminpanel/src/components/subcomponents/_submenu.vue"
Component.options.__file = "C:\\IISPages\\LimeSurvey\\assets\\packages\\adminpanel\\src\\components\\subcomponents\\_submenu.vue"
if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key.substr(0, 2) !== "__"})) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] _submenu.vue: functional components are not supported with templates, they should use render functions.")}

Expand Down Expand Up @@ -29101,7 +29101,7 @@ var Component = __webpack_require__(0)(
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/opt/web/LimeSurvey/assets/packages/adminpanel/src/components/subcomponents/_quickmenu.vue"
Component.options.__file = "C:\\IISPages\\LimeSurvey\\assets\\packages\\adminpanel\\src\\components\\subcomponents\\_quickmenu.vue"
if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key.substr(0, 2) !== "__"})) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] _quickmenu.vue: functional components are not supported with templates, they should use render functions.")}

Expand Down Expand Up @@ -29494,7 +29494,7 @@ var Component = __webpack_require__(0)(
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/opt/web/LimeSurvey/assets/packages/adminpanel/src/components/topbar.vue"
Component.options.__file = "C:\\IISPages\\LimeSurvey\\assets\\packages\\adminpanel\\src\\components\\topbar.vue"
if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key.substr(0, 2) !== "__"})) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] topbar.vue: functional components are not supported with templates, they should use render functions.")}

Expand Down Expand Up @@ -29600,7 +29600,7 @@ var Component = __webpack_require__(0)(
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/opt/web/LimeSurvey/assets/packages/adminpanel/src/components/subcomponents/_dropdown.vue"
Component.options.__file = "C:\\IISPages\\LimeSurvey\\assets\\packages\\adminpanel\\src\\components\\subcomponents\\_dropdown.vue"
if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key.substr(0, 2) !== "__"})) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] _dropdown.vue: functional components are not supported with templates, they should use render functions.")}

Expand Down Expand Up @@ -29936,7 +29936,7 @@ var Component = __webpack_require__(0)(
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/opt/web/LimeSurvey/assets/packages/adminpanel/src/components/parameter-table.vue"
Component.options.__file = "C:\\IISPages\\LimeSurvey\\assets\\packages\\adminpanel\\src\\components\\parameter-table.vue"
if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key.substr(0, 2) !== "__"})) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] parameter-table.vue: functional components are not supported with templates, they should use render functions.")}

Expand Down Expand Up @@ -30107,7 +30107,7 @@ var Component = __webpack_require__(0)(
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/opt/web/LimeSurvey/assets/packages/adminpanel/src/components/parameter-popup.vue"
Component.options.__file = "C:\\IISPages\\LimeSurvey\\assets\\packages\\adminpanel\\src\\components\\parameter-popup.vue"
if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key.substr(0, 2) !== "__"})) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] parameter-popup.vue: functional components are not supported with templates, they should use render functions.")}

Expand Down

1 comment on commit 71f642c

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PS : need test fix for travis : e9575df

Please sign in to comment.