From 9f65a6849197a4bc44e7d7beb93e0c6bd531413e Mon Sep 17 00:00:00 2001 From: markusfluer Date: Tue, 4 Jul 2017 18:29:28 +0200 Subject: [PATCH] Dev: Recreated create new survey. Did a Wizard like styling. Not final but working solution. Still to be redesigned. --- application/config/packages.php | 3 + application/controllers/admin/surveyadmin.php | 93 ++-- .../admin/survey/editLocalSettings_view.php | 55 +- .../survey/subview/_create_survey_text.php | 160 ++++++ .../accordion/_generaloptions_panel.php | 26 +- .../admin/survey/subview/tabCreate_view.php | 177 +++--- .../admin/survey/subview/tab_edit_view.php | 4 +- .../adminpanel/build/lsadminpanel.css | 192 ++++++- .../packages/adminpanel/build/lsadminpanel.js | 502 +----------------- assets/packages/adminpanel/gulpfile.js | 2 +- assets/packages/adminpanel/scss/lsflex.scss | 11 +- assets/packages/adminpanel/scss/lsspaces.scss | 44 ++ assets/packages/adminpanel/scss/main.scss | 1 + assets/packages/adminpanel/webpack.config.js | 2 +- 14 files changed, 611 insertions(+), 661 deletions(-) create mode 100644 application/views/admin/survey/subview/_create_survey_text.php create mode 100644 assets/packages/adminpanel/scss/lsspaces.scss diff --git a/application/config/packages.php b/application/config/packages.php index 45adb871952..a704a2681a8 100644 --- a/application/config/packages.php +++ b/application/config/packages.php @@ -112,6 +112,9 @@ 'position' =>CClientScript::POS_END, 'js' => array( 'lsadminpanel.js' + ), + 'css' => array( + 'lsadminpanel.css' ) ) diff --git a/application/controllers/admin/surveyadmin.php b/application/controllers/admin/surveyadmin.php index 42bb40f0282..3a978e08597 100644 --- a/application/controllers/admin/surveyadmin.php +++ b/application/controllers/admin/surveyadmin.php @@ -146,11 +146,17 @@ public function newsurvey() $aViewUrls['output'] = PrepareEditorScript(false, $this->getController()); $aData = $this->_generalTabNewSurvey(); + $aData = array_merge($aData, $this->_getGeneralTemplateData(0)); $aData['esrow'] = $esrow; - $aData = array_merge($aData, $this->_tabPresentationNavigation($esrow)); - $aData = array_merge($aData, $this->_tabPublicationAccess($esrow)); - $aData = array_merge($aData, $this->_tabNotificationDataManagement($esrow)); - $aData = array_merge($aData, $this->_tabTokens($esrow)); + + //Prepare the edition panes + + $aData['edittextdata'] = array_merge($aData, $this->_getTextEditData(0,$esrow)); + $aData['generalsettingsdata'] = array_merge($aData, $this->_generalTabEditSurvey(0,$esrow)); + $aData['presentationsettingsdata'] = array_merge($aData, $this->_tabPresentationNavigation(0,$esrow)); + $aData['publicationsettingsdata'] = array_merge($aData, $this->_tabPublicationAccess(0,$esrow)); + $aData['notificationsettingsdata'] = array_merge($aData, $this->_tabNotificationDataManagement(0,$esrow)); + $aData['tokensettingsdata'] = array_merge($aData, $this->_tabTokens(0,$esrow)); $aViewUrls[] = 'newSurvey_view'; @@ -1100,7 +1106,7 @@ public function editlocalsettings($iSurveyID) // this one is created to get the right default texts fo each language Yii::app()->loadHelper('database'); Yii::app()->loadHelper('surveytranslator'); - + $esrow = SurveyLanguageSetting::model()->findByPk(array('surveyls_survey_id' => $iSurveyID, 'surveyls_language' => $sLang))->getAttributes(); $aTabTitles[$sLang] = getLanguageNameFromCode($esrow['surveyls_language'], false); @@ -1606,39 +1612,60 @@ private function _getGeneralTemplateData($iSurveyID){ private function _getTextEditData($iSurveyID, $esrow){ Yii::app()->loadHelper("admin/htmleditor"); - $aTabTitles = $aTabContents= array(); - $grplangs = Survey::model()->findByPk($iSurveyID)->additionalLanguages; - $baselang = Survey::model()->findByPk($iSurveyID)->language; - array_unshift($grplangs, $baselang); - + $aData = $aTabTitles = $aTabContents = array(); + $aData['scripts'] = PrepareEditorScript(false, $this->getController()); - foreach ($grplangs as $i => $sLang) - { - $aLanguageData = $this->_getGeneralTemplateData($iSurveyID); + + if($iSurveyID !== 0){ + $grplangs = Survey::model()->findByPk($iSurveyID)->additionalLanguages; + $baselang = Survey::model()->findByPk($iSurveyID)->language; + array_unshift($grplangs, $baselang); - // this one is created to get the right default texts fo each language - Yii::app()->loadHelper('database'); - Yii::app()->loadHelper('surveytranslator'); + foreach ($grplangs as $i => $sLang) + { + $aLanguageData = $this->_getGeneralTemplateData($iSurveyID); + // this one is created to get the right default texts fo each language + Yii::app()->loadHelper('database'); + Yii::app()->loadHelper('surveytranslator'); + + $aSurveyLanguageSettings = SurveyLanguageSetting::model()->findByPk(array('surveyls_survey_id' => $iSurveyID, 'surveyls_language' => $sLang))->getAttributes(); - $aSurveyLanguageSettings = SurveyLanguageSetting::model()->findByPk(array('surveyls_survey_id' => $iSurveyID, 'surveyls_language' => $sLang))->getAttributes(); - $aTabTitles[$sLang] = getLanguageNameFromCode($aSurveyLanguageSettings['surveyls_language'], false); + $aTabTitles[$sLang] = getLanguageNameFromCode($aSurveyLanguageSettings['surveyls_language'], false); - if ($aSurveyLanguageSettings['surveyls_language'] == Survey::model()->findByPk($iSurveyID)->language) - { - $aTabTitles[$sLang] .= ' (' . gT("Base language") . ')'; - } + if ($aSurveyLanguageSettings['surveyls_language'] == Survey::model()->findByPk($iSurveyID)->language) + { + $aTabTitles[$sLang] .= ' (' . gT("Base language") . ')'; + } - $aLanguageData['aSurveyLanguageSettings'] = $aSurveyLanguageSettings; - $aLanguageData['action'] = "surveygeneralsettings"; - $aLanguageData['i'] = $i; - $aLanguageData['dateformatdetails'] = getDateFormatData(Yii::app()->session['dateformat']); - $aTabContents[$sLang] = $this->getController()->renderPartial('/admin/survey/editLocalSettings_view', $aLanguageData, true); + $aLanguageData['aSurveyLanguageSettings'] = $aSurveyLanguageSettings; + $aLanguageData['action'] = "surveygeneralsettings"; + $aLanguageData['i'] = $i; + $aLanguageData['dateformatdetails'] = getDateFormatData(Yii::app()->session['dateformat']); + $aTabContents[$sLang] = $this->getController()->renderPartial('/admin/survey/editLocalSettings_view', $aLanguageData, true); + } + } else { + + $baseLang = Yii::app()->session['adminlang']; + $aTabTitles[$baseLang] = getLanguageNameFromCode($baseLang,false).' (' . gT("Base language") . ')'; + $aLanguageData['aSurveyLanguageSettings'] = [ + 'surveyls_language' => $baseLang, + 'surveyls_title' => '', + 'surveyls_description' => '', + 'surveyls_url' => '', + 'surveyls_urldescription' => '', + 'surveyls_numberformat' => '', + 'surveyls_welcometext' => '', + 'surveyls_endtext' => '', + 'surveyls_dateformat' => Yii::app()->session['dateformat'], + ]; + $aLanguageData['surveyid'] = 0; + + $aTabContents = $aLanguageData; } $aData['aTabContents'] = $aTabContents; $aData['aTabTitles'] = $aTabTitles; return $aData; - } /** @@ -1915,7 +1942,7 @@ function insert($iSurveyID=null) if (Yii::app()->request->getPost('surveyls_title')=='') { Yii::app()->session['flashmessage'] = gT("Survey could not be created because it did not have a title"); - redirect($this->getController()->createUrl('admin')); + $this->getController()->redirect($this->getController()->createUrl('admin')); return; } @@ -1962,7 +1989,7 @@ function insert($iSurveyID=null) 'faxto' => App()->request->getPost('faxto'), 'format' => App()->request->getPost('format'), 'savetimings' => App()->request->getPost('savetimings')=='1'?'Y':'N', - 'language' => App()->request->getPost('language'), + 'language' => App()->request->getPost('language', Yii::app()->session['adminlang']), 'datestamp' => App()->request->getPost('datestamp')=='1'?'Y':'N', 'ipaddr' => App()->request->getPost('ipaddr')=='1'?'Y':'N', 'refurl' => App()->request->getPost('refurl')=='1'?'Y':'N', @@ -1994,6 +2021,7 @@ function insert($iSurveyID=null) 'emailresponseto' => App()->request->getPost('emailresponseto'), 'tokenlength' => $iTokenLength, ); + //var_dump($aInsertData); $warning = ''; // make sure we only update emails if they are valid @@ -2018,9 +2046,10 @@ function insert($iSurveyID=null) } $iNewSurveyid = Survey::model()->insertNewSurvey($aInsertData); - if (!$iNewSurveyid) + if (!$iNewSurveyid){ die('Survey could not be created.'); - + App()->end(); + } // Prepare locale data for surveys_language_settings table $sTitle = Yii::app()->request->getPost('surveyls_title'); $sDescription = Yii::app()->request->getPost('description'); diff --git a/application/views/admin/survey/editLocalSettings_view.php b/application/views/admin/survey/editLocalSettings_view.php index bbbaa7bb43c..f13842b44cf 100644 --- a/application/views/admin/survey/editLocalSettings_view.php +++ b/application/views/admin/survey/editLocalSettings_view.php @@ -17,7 +17,7 @@
center-box">
-
+
- +
+
+
+
+
@@ -38,29 +42,8 @@
- - -
- -
-
- 'form-control','cols'=>'80','rows'=>'15','id'=>"welcome_{$aSurveyLanguageSettings['surveyls_language']}")); ?> - -
-
-
- -
- -
-
- 'form-control','cols'=>'80','rows'=>'15','id'=>"endtext_{$aSurveyLanguageSettings['surveyls_language']}")); ?> - -
-
-
@@ -117,5 +100,31 @@
+
+
+ +
+ +
+
+ 'form-control','cols'=>'80','rows'=>'15','id'=>"welcome_{$aSurveyLanguageSettings['surveyls_language']}")); ?> + +
+
+
+
+
+ +
+ +
+
+ 'form-control','cols'=>'80','rows'=>'15','id'=>"endtext_{$aSurveyLanguageSettings['surveyls_language']}")); ?> + +
+
+
+
+
diff --git a/application/views/admin/survey/subview/_create_survey_text.php b/application/views/admin/survey/subview/_create_survey_text.php new file mode 100644 index 00000000000..4a2576cc3fb --- /dev/null +++ b/application/views/admin/survey/subview/_create_survey_text.php @@ -0,0 +1,160 @@ + + + + + + + + +
+
+
+ +
+ +
+ 'form-control','size'=>"80",'id'=>"surveyls_title")); ?> +
+
+
+
+
+
+
+ +
+ +
+
+ 'form-control','cols'=>'80','rows'=>'15','id'=>"description")); ?> + +
+
+
+
+
+ +
+ +
+ 'form-control','size'=>"80",'placeholder'=>'http://','id'=>"url")); ?> +
+
+ + +
+ +
+ 'form-control','size'=>"80",'id'=>"urldescrip")); ?> +
+
+ + +
+ + +
+ +
+
+ + +
+ +
+ $radixptdata) + { + $aRadixPoint[$index]=html_entity_decode($radixptdata['desc']); + } + $this->widget('yiiwheels.widgets.buttongroup.WhButtonGroup', array( + 'name' => 'numberformat_'.$aSurveyLanguageSettings['surveyls_language'], + 'value'=> $aSurveyLanguageSettings['surveyls_numberformat'] , + 'selectOptions'=>$aRadixPoint, + 'htmlOptions' => array( + "style" => "z-index:0" + ) + )); + ?> +
+
+
+
+
+
+ +
+ +
+
+ 'form-control','cols'=>'80','rows'=>'15','id'=>"welcome")); ?> + +
+
+
+
+
+ +
+ +
+
+ 'form-control','cols'=>'80','rows'=>'15','id'=>"endtext")); ?> + +
+
+
+
+
+
\ No newline at end of file diff --git a/application/views/admin/survey/subview/accordion/_generaloptions_panel.php b/application/views/admin/survey/subview/accordion/_generaloptions_panel.php index 8b62c2ee5c1..716606aa4b2 100644 --- a/application/views/admin/survey/subview/accordion/_generaloptions_panel.php +++ b/application/views/admin/survey/subview/accordion/_generaloptions_panel.php @@ -56,7 +56,9 @@ function checkSelect2Languages(mylangs) return true; };"; Yii::app()->getClientScript()->registerScript('confirmLanguage',$sConfirmLanguage,CClientScript::POS_BEGIN); + // var_dump($owner); ?> +
@@ -65,7 +67,7 @@ function checkSelect2Languages(mylangs)
- +
@@ -75,7 +77,8 @@ function checkSelect2Languages(mylangs)
findByPk($surveyid)->additionalLanguages as $sSurveyLang) + $aAdditionalLanguages = (isset($surveyid) && $surveyid!=0) ? Survey::model()->findByPk($surveyid)->additionalLanguages : []; + foreach( $aAdditionalLanguages as $sSurveyLang) { if(!array_key_exists($sSurveyLang,$aAllLanguages)) { @@ -88,13 +91,13 @@ function checkSelect2Languages(mylangs) 'asDropDownList' => true, 'htmlOptions'=>array('multiple'=>'multiple','style'=>"width: 100%"), 'data' => $aAllLanguages, - 'value' => Survey::model()->findByPk($surveyid)->additionalLanguages, + 'value' => $aAdditionalLanguages, 'name' => 'additional_languages', 'pluginOptions' => array( 'placeholder' => gt('Select additional languages','unescaped'), ))); ?> - findByPk($surveyid)->additionalLanguages); ?>'> + '>
@@ -107,7 +110,7 @@ function checkSelect2Languages(mylangs) Yii::app()->getController()->widget('yiiwheels.widgets.select2.WhSelect2', array( 'asDropDownList' => true, 'htmlOptions'=>array('style'=>"width: 80%"), - 'data' => $users, + 'data' => isset($users) ? $users : [], 'value' => $esrow['owner_id'], 'name' => 'owner_id', 'pluginOptions' => array( @@ -118,28 +121,33 @@ function checkSelect2Languages(mylangs)
-
+ +
- +
+ +
- +
+ +
- +
diff --git a/application/views/admin/survey/subview/tabCreate_view.php b/application/views/admin/survey/subview/tabCreate_view.php index 0d4a6baa3c1..9251adb93b9 100755 --- a/application/views/admin/survey/subview/tabCreate_view.php +++ b/application/views/admin/survey/subview/tabCreate_view.php @@ -9,101 +9,106 @@ Yii::app()->loadHelper('admin/htmleditor'); PrepareEditorScript(false, $this); ?> - -'addnewsurvey', 'name'=>'addnewsurvey', 'class'=>'form-horizontal')); ?> -
- - -
+ + +'addnewsurvey', 'name'=>'addnewsurvey', 'class'=>'form-horizontal')); ?> +
+
+ +
- - -
- -
- 'form-control','maxlength'=>"200",'required'=>'required','autofocus'=>'autofocus','id'=>"surveyls_title")); ?> -
- +
+
- - -
- -
- widget('yiiwheels.widgets.switch.WhSwitch', array( - 'name' => 'createsample', - 'value'=> false, - 'onLabel'=>gT('On'), - 'offLabel'=>gT('Off') - )); - ?> -
- +
+ +
- - -
- -
-
- 'form-control','cols'=>'80','rows'=>'10','id'=>"description")); ?> - +
+
+
+
+
+ renderPartial('/admin/survey/subview/accordion/_generaloptions_panel', $generalsettingsdata); ?>
-
-
- - -
- -
-
- 'form-control','cols'=>'80','rows'=>'10','id'=>"welcome")); ?> - +
+ renderPartial('/admin/survey/subview/_create_survey_text', $edittextdata); ?>
-
-
- - -
- -
-
- 'form-control','cols'=>'80','rows'=>'10','id'=>"endtext")); ?> - +
+ renderPartial('/admin/survey/subview/accordion/_presentation_panel', $presentationsettingsdata); ?> +
+
+ renderPartial('/admin/survey/subview/accordion/_publication_panel', $publicationsettingsdata); ?> +
+
+ renderPartial('/admin/survey/subview/accordion/_notification_panel', $notificationsettingsdata); ?> +
+
+ renderPartial('/admin/survey/subview/accordion/_tokens_panel', $tokensettingsdata); ?>
-
-
+
+ + +
+ - -
- renderPartial('/admin/survey/subview/accordion/_accordion_container', array('data'=>$data)); ?> -
+ diff --git a/application/views/admin/survey/subview/tab_edit_view.php b/application/views/admin/survey/subview/tab_edit_view.php index f9dac0ef025..dce329f438e 100755 --- a/application/views/admin/survey/subview/tab_edit_view.php +++ b/application/views/admin/survey/subview/tab_edit_view.php @@ -6,7 +6,9 @@ * @var $surveyid * @var $surveyls_language */ - +if(isset($data)){ + extract($data); +} $count=0; if(isset($scripts)) echo $scripts; diff --git a/assets/packages/adminpanel/build/lsadminpanel.css b/assets/packages/adminpanel/build/lsadminpanel.css index 6243dea5f46..d1bc4a4fdbb 100644 --- a/assets/packages/adminpanel/build/lsadminpanel.css +++ b/assets/packages/adminpanel/build/lsadminpanel.css @@ -2,27 +2,27 @@ display: -moz-flex; display: -webkit-flex; display: flex; } - .ls-flex.align-item-center, .align-item-center.ls-flex-row, .align-item-center.ls-flex-column { + .ls-flex.align-items-center, .align-items-center.ls-flex-row, .align-items-center.ls-flex-column { -ms-align-items: center; -webkit-align-items: center; -moz-align-items: center; align-items: center; } - .ls-flex.align-item-flex-start, .align-item-flex-start.ls-flex-row, .align-item-flex-start.ls-flex-column { + .ls-flex.align-items-flex-start, .align-items-flex-start.ls-flex-row, .align-items-flex-start.ls-flex-column { -ms-align-items: flex-start; -webkit-align-items: flex-start; -moz-align-items: flex-start; align-items: flex-start; } - .ls-flex.align-item-flex-end, .align-item-flex-end.ls-flex-row, .align-item-flex-end.ls-flex-column { + .ls-flex.align-items-flex-end, .align-items-flex-end.ls-flex-row, .align-items-flex-end.ls-flex-column { -ms-align-items: flex-end; -webkit-align-items: flex-end; -moz-align-items: flex-end; align-items: flex-end; } - .ls-flex.align-item-baseline, .align-item-baseline.ls-flex-row, .align-item-baseline.ls-flex-column { + .ls-flex.align-items-baseline, .align-items-baseline.ls-flex-row, .align-items-baseline.ls-flex-column { -ms-align-items: baseline; -webkit-align-items: baseline; -moz-align-items: baseline; align-items: baseline; } - .ls-flex.align-item-stretch, .align-item-stretch.ls-flex-row, .align-item-stretch.ls-flex-column { + .ls-flex.align-items-stretch, .align-items-stretch.ls-flex-row, .align-items-stretch.ls-flex-column { -ms-align-items: stretch; -webkit-align-items: stretch; -moz-align-items: stretch; @@ -57,6 +57,54 @@ -webkit-flex-wrap: wrap; -moz-flex-wrap: wrap; flex-wrap: wrap; } + .ls-flex .grow-1, .ls-flex-row .grow-1, .ls-flex-column .grow-1 { + flex-grow: 1; } + .ls-flex .col-1, .ls-flex-row .col-1, .ls-flex-column .col-1 { + width: 8.33333%; } + .ls-flex .grow-2, .ls-flex-row .grow-2, .ls-flex-column .grow-2 { + flex-grow: 2; } + .ls-flex .col-2, .ls-flex-row .col-2, .ls-flex-column .col-2 { + width: 16.66667%; } + .ls-flex .grow-3, .ls-flex-row .grow-3, .ls-flex-column .grow-3 { + flex-grow: 3; } + .ls-flex .col-3, .ls-flex-row .col-3, .ls-flex-column .col-3 { + width: 25%; } + .ls-flex .grow-4, .ls-flex-row .grow-4, .ls-flex-column .grow-4 { + flex-grow: 4; } + .ls-flex .col-4, .ls-flex-row .col-4, .ls-flex-column .col-4 { + width: 33.33333%; } + .ls-flex .grow-5, .ls-flex-row .grow-5, .ls-flex-column .grow-5 { + flex-grow: 5; } + .ls-flex .col-5, .ls-flex-row .col-5, .ls-flex-column .col-5 { + width: 41.66667%; } + .ls-flex .grow-6, .ls-flex-row .grow-6, .ls-flex-column .grow-6 { + flex-grow: 6; } + .ls-flex .col-6, .ls-flex-row .col-6, .ls-flex-column .col-6 { + width: 50%; } + .ls-flex .grow-7, .ls-flex-row .grow-7, .ls-flex-column .grow-7 { + flex-grow: 7; } + .ls-flex .col-7, .ls-flex-row .col-7, .ls-flex-column .col-7 { + width: 58.33333%; } + .ls-flex .grow-8, .ls-flex-row .grow-8, .ls-flex-column .grow-8 { + flex-grow: 8; } + .ls-flex .col-8, .ls-flex-row .col-8, .ls-flex-column .col-8 { + width: 66.66667%; } + .ls-flex .grow-9, .ls-flex-row .grow-9, .ls-flex-column .grow-9 { + flex-grow: 9; } + .ls-flex .col-9, .ls-flex-row .col-9, .ls-flex-column .col-9 { + width: 75%; } + .ls-flex .grow-10, .ls-flex-row .grow-10, .ls-flex-column .grow-10 { + flex-grow: 10; } + .ls-flex .col-10, .ls-flex-row .col-10, .ls-flex-column .col-10 { + width: 83.33333%; } + .ls-flex .grow-11, .ls-flex-row .grow-11, .ls-flex-column .grow-11 { + flex-grow: 11; } + .ls-flex .col-11, .ls-flex-row .col-11, .ls-flex-column .col-11 { + width: 91.66667%; } + .ls-flex .grow-12, .ls-flex-row .grow-12, .ls-flex-column .grow-12 { + flex-grow: 12; } + .ls-flex .col-12, .ls-flex-row .col-12, .ls-flex-column .col-12 { + width: 100%; } .ls-flex-row { -ms-flex-direction: row; @@ -70,6 +118,128 @@ -webkit-flex-direction: column; -moz-flex-direction: column; flex-direction: column; } + .ls-flex-column.fill { + height: 100%; } + +.ls-space.margin.left-5 { + margin-left: 5px; } + +.ls-space.margin.right-5 { + margin-right: 5px; } + +.ls-space.margin.top-5 { + margin-top: 5px; } + +.ls-space.margin.bottom-5 { + margin-bottom: 5px; } + +.ls-space.margin.left-10 { + margin-left: 10px; } + +.ls-space.margin.right-10 { + margin-right: 10px; } + +.ls-space.margin.top-10 { + margin-top: 10px; } + +.ls-space.margin.bottom-10 { + margin-bottom: 10px; } + +.ls-space.margin.left-15 { + margin-left: 15px; } + +.ls-space.margin.right-15 { + margin-right: 15px; } + +.ls-space.margin.top-15 { + margin-top: 15px; } + +.ls-space.margin.bottom-15 { + margin-bottom: 15px; } + +.ls-space.margin.left-25 { + margin-left: 25px; } + +.ls-space.margin.right-25 { + margin-right: 25px; } + +.ls-space.margin.top-25 { + margin-top: 25px; } + +.ls-space.margin.bottom-25 { + margin-bottom: 25px; } + +.ls-space.margin.left-30 { + margin-left: 30px; } + +.ls-space.margin.right-30 { + margin-right: 30px; } + +.ls-space.margin.top-30 { + margin-top: 30px; } + +.ls-space.margin.bottom-30 { + margin-bottom: 30px; } + +.ls-space.padding.left-5 { + padding-left: 5px; } + +.ls-space.padding.right-5 { + padding-right: 5px; } + +.ls-space.padding.top-5 { + padding-top: 5px; } + +.ls-space.padding.bottom-5 { + padding-bottom: 5px; } + +.ls-space.padding.left-10 { + padding-left: 10px; } + +.ls-space.padding.right-10 { + padding-right: 10px; } + +.ls-space.padding.top-10 { + padding-top: 10px; } + +.ls-space.padding.bottom-10 { + padding-bottom: 10px; } + +.ls-space.padding.left-15 { + padding-left: 15px; } + +.ls-space.padding.right-15 { + padding-right: 15px; } + +.ls-space.padding.top-15 { + padding-top: 15px; } + +.ls-space.padding.bottom-15 { + padding-bottom: 15px; } + +.ls-space.padding.left-25 { + padding-left: 25px; } + +.ls-space.padding.right-25 { + padding-right: 25px; } + +.ls-space.padding.top-25 { + padding-top: 25px; } + +.ls-space.padding.bottom-25 { + padding-bottom: 25px; } + +.ls-space.padding.left-30 { + padding-left: 30px; } + +.ls-space.padding.right-30 { + padding-right: 30px; } + +.ls-space.padding.top-30 { + padding-top: 30px; } + +.ls-space.padding.bottom-30 { + padding-bottom: 30px; } .background-muted { background: #cdcdcd; } @@ -90,3 +260,15 @@ border-bottom: 0; } .ls-ba .list-group > .list-group-item .list-group:first-of-type { border-top: 1px solid #323232; } + +#sidebar { + padding-top: 15px; } + +.menubar.surveybar { + position: absolute; + top: 105px; + left: 305px; + width: 85%; } + +#in_survey_common { + padding-top: 65px; } diff --git a/assets/packages/adminpanel/build/lsadminpanel.js b/assets/packages/adminpanel/build/lsadminpanel.js index e6734f9e400..b4530cf184d 100644 --- a/assets/packages/adminpanel/build/lsadminpanel.js +++ b/assets/packages/adminpanel/build/lsadminpanel.js @@ -27369,8 +27369,7 @@ module.exports = function(obj) { /* 10 */ /***/ (function(module, exports, __webpack_require__) { -__webpack_require__(11); -module.exports = __webpack_require__(56); +module.exports = __webpack_require__(11); /***/ }), @@ -30320,504 +30319,5 @@ module.exports = function() { } -/***/ }), -/* 56 */ -/***/ (function(module, exports, __webpack_require__) { - -// style-loader: Adds some css to the DOM by adding a