Initial commit. In user-questionnaire add checkAnswers and calculateScore
This commit is contained in:
parent
bfeb8d08c7
commit
2882b8767c
@ -59,11 +59,17 @@ return [
|
||||
'achievements' => [
|
||||
'class' => 'backend\modules\achievements\Achievements',
|
||||
],
|
||||
'test' => [
|
||||
'class' => 'backend\modules\test\Test',
|
||||
],
|
||||
'questionnaire' => [
|
||||
'class' => 'backend\modules\questionnaire\Questionnaire',
|
||||
],
|
||||
],
|
||||
'components' => [
|
||||
'request' => [
|
||||
'csrfParam' => '_csrf-backend',
|
||||
'baseUrl' => '/secure',
|
||||
'baseUrl' => '', // /secure
|
||||
],
|
||||
'user' => [
|
||||
'identityClass' => 'common\models\User',
|
||||
|
0
backend/modules/accesses/views/accesses/_expand-row-details.php
Normal file → Executable file
0
backend/modules/accesses/views/accesses/_expand-row-details.php
Normal file → Executable file
0
backend/modules/accesses/views/accesses/all.php
Normal file → Executable file
0
backend/modules/accesses/views/accesses/all.php
Normal file → Executable file
0
backend/modules/calendar/Calendar.php
Normal file → Executable file
0
backend/modules/calendar/Calendar.php
Normal file → Executable file
0
backend/modules/calendar/controllers/AjaxController.php
Normal file → Executable file
0
backend/modules/calendar/controllers/AjaxController.php
Normal file → Executable file
0
backend/modules/calendar/controllers/CalendarController.php
Normal file → Executable file
0
backend/modules/calendar/controllers/CalendarController.php
Normal file → Executable file
0
backend/modules/calendar/views/ajax/_gridView.php
Normal file → Executable file
0
backend/modules/calendar/views/ajax/_gridView.php
Normal file → Executable file
0
backend/modules/calendar/views/calendar/index.php
Normal file → Executable file
0
backend/modules/calendar/views/calendar/index.php
Normal file → Executable file
0
backend/modules/calendar/views/calendar/table.php
Normal file → Executable file
0
backend/modules/calendar/views/calendar/table.php
Normal file → Executable file
0
backend/modules/card/views/user-card/password.php
Normal file → Executable file
0
backend/modules/card/views/user-card/password.php
Normal file → Executable file
0
backend/modules/holiday/views/holiday/calendar.php
Normal file → Executable file
0
backend/modules/holiday/views/holiday/calendar.php
Normal file → Executable file
0
backend/modules/interview/Interview.php
Normal file → Executable file
0
backend/modules/interview/Interview.php
Normal file → Executable file
0
backend/modules/interview/controllers/DefaultController.php
Normal file → Executable file
0
backend/modules/interview/controllers/DefaultController.php
Normal file → Executable file
0
backend/modules/interview/controllers/InterviewController.php
Normal file → Executable file
0
backend/modules/interview/controllers/InterviewController.php
Normal file → Executable file
0
backend/modules/interview/models/InterviewRequest.php
Normal file → Executable file
0
backend/modules/interview/models/InterviewRequest.php
Normal file → Executable file
0
backend/modules/interview/models/InterviewRequestSearch.php
Normal file → Executable file
0
backend/modules/interview/models/InterviewRequestSearch.php
Normal file → Executable file
0
backend/modules/interview/views/default/index.php
Normal file → Executable file
0
backend/modules/interview/views/default/index.php
Normal file → Executable file
0
backend/modules/interview/views/interview/_form.php
Normal file → Executable file
0
backend/modules/interview/views/interview/_form.php
Normal file → Executable file
0
backend/modules/interview/views/interview/_search.php
Normal file → Executable file
0
backend/modules/interview/views/interview/_search.php
Normal file → Executable file
0
backend/modules/interview/views/interview/create.php
Normal file → Executable file
0
backend/modules/interview/views/interview/create.php
Normal file → Executable file
0
backend/modules/interview/views/interview/index.php
Normal file → Executable file
0
backend/modules/interview/views/interview/index.php
Normal file → Executable file
0
backend/modules/interview/views/interview/update.php
Normal file → Executable file
0
backend/modules/interview/views/interview/update.php
Normal file → Executable file
0
backend/modules/interview/views/interview/view.php
Normal file → Executable file
0
backend/modules/interview/views/interview/view.php
Normal file → Executable file
0
backend/modules/options/Options.php
Normal file → Executable file
0
backend/modules/options/Options.php
Normal file → Executable file
0
backend/modules/options/controllers/DefaultController.php
Normal file → Executable file
0
backend/modules/options/controllers/DefaultController.php
Normal file → Executable file
0
backend/modules/options/controllers/OptionsController.php
Normal file → Executable file
0
backend/modules/options/controllers/OptionsController.php
Normal file → Executable file
0
backend/modules/options/models/Options.php
Normal file → Executable file
0
backend/modules/options/models/Options.php
Normal file → Executable file
0
backend/modules/options/models/OptionsSearch.php
Normal file → Executable file
0
backend/modules/options/models/OptionsSearch.php
Normal file → Executable file
0
backend/modules/options/views/default/index.php
Normal file → Executable file
0
backend/modules/options/views/default/index.php
Normal file → Executable file
0
backend/modules/options/views/options/_form.php
Normal file → Executable file
0
backend/modules/options/views/options/_form.php
Normal file → Executable file
0
backend/modules/options/views/options/_search.php
Normal file → Executable file
0
backend/modules/options/views/options/_search.php
Normal file → Executable file
0
backend/modules/options/views/options/create.php
Normal file → Executable file
0
backend/modules/options/views/options/create.php
Normal file → Executable file
0
backend/modules/options/views/options/index.php
Normal file → Executable file
0
backend/modules/options/views/options/index.php
Normal file → Executable file
0
backend/modules/options/views/options/update.php
Normal file → Executable file
0
backend/modules/options/views/options/update.php
Normal file → Executable file
0
backend/modules/options/views/options/view.php
Normal file → Executable file
0
backend/modules/options/views/options/view.php
Normal file → Executable file
0
backend/modules/reports/Reports.php
Normal file → Executable file
0
backend/modules/reports/Reports.php
Normal file → Executable file
0
backend/modules/reports/controllers/AjaxController.php
Normal file → Executable file
0
backend/modules/reports/controllers/AjaxController.php
Normal file → Executable file
0
backend/modules/reports/controllers/DefaultController.php
Normal file → Executable file
0
backend/modules/reports/controllers/DefaultController.php
Normal file → Executable file
0
backend/modules/reports/controllers/ReportsController.php
Normal file → Executable file
0
backend/modules/reports/controllers/ReportsController.php
Normal file → Executable file
0
backend/modules/reports/models/Month.php
Normal file → Executable file
0
backend/modules/reports/models/Month.php
Normal file → Executable file
0
backend/modules/reports/models/ReportsSearch.php
Normal file → Executable file
0
backend/modules/reports/models/ReportsSearch.php
Normal file → Executable file
0
backend/modules/reports/models/ReportsTaskSearch.php
Normal file → Executable file
0
backend/modules/reports/models/ReportsTaskSearch.php
Normal file → Executable file
0
backend/modules/reports/views/ajax/_gridViewAllUsers.php
Normal file → Executable file
0
backend/modules/reports/views/ajax/_gridViewAllUsers.php
Normal file → Executable file
0
backend/modules/reports/views/ajax/_gridViewOneUser.php
Normal file → Executable file
0
backend/modules/reports/views/ajax/_gridViewOneUser.php
Normal file → Executable file
0
backend/modules/reports/views/default/index.php
Normal file → Executable file
0
backend/modules/reports/views/default/index.php
Normal file → Executable file
0
backend/modules/reports/views/reports/_expand-row-details.php
Normal file → Executable file
0
backend/modules/reports/views/reports/_expand-row-details.php
Normal file → Executable file
0
backend/modules/reports/views/reports/_form.php
Normal file → Executable file
0
backend/modules/reports/views/reports/_form.php
Normal file → Executable file
0
backend/modules/reports/views/reports/_search.php
Normal file → Executable file
0
backend/modules/reports/views/reports/_search.php
Normal file → Executable file
0
backend/modules/reports/views/reports/_user.php
Normal file → Executable file
0
backend/modules/reports/views/reports/_user.php
Normal file → Executable file
0
backend/modules/reports/views/reports/calendarOneUser.php
Normal file → Executable file
0
backend/modules/reports/views/reports/calendarOneUser.php
Normal file → Executable file
0
backend/modules/reports/views/reports/create.php
Normal file → Executable file
0
backend/modules/reports/views/reports/create.php
Normal file → Executable file
0
backend/modules/reports/views/reports/group.php
Normal file → Executable file
0
backend/modules/reports/views/reports/group.php
Normal file → Executable file
0
backend/modules/reports/views/reports/index.php
Normal file → Executable file
0
backend/modules/reports/views/reports/index.php
Normal file → Executable file
0
backend/modules/reports/views/reports/list.php
Normal file → Executable file
0
backend/modules/reports/views/reports/list.php
Normal file → Executable file
0
backend/modules/reports/views/reports/non-exist_user_id.php
Normal file → Executable file
0
backend/modules/reports/views/reports/non-exist_user_id.php
Normal file → Executable file
0
backend/modules/reports/views/reports/update.php
Normal file → Executable file
0
backend/modules/reports/views/reports/update.php
Normal file → Executable file
0
backend/modules/reports/views/reports/view.php
Normal file → Executable file
0
backend/modules/reports/views/reports/view.php
Normal file → Executable file
0
backend/modules/settings/controllers/SkillCategoryController.php
Normal file → Executable file
0
backend/modules/settings/controllers/SkillCategoryController.php
Normal file → Executable file
0
backend/modules/settings/models/SkillCategorySearch.php
Normal file → Executable file
0
backend/modules/settings/models/SkillCategorySearch.php
Normal file → Executable file
0
backend/modules/settings/models/SkillsOnMainPageForm.php
Normal file → Executable file
0
backend/modules/settings/models/SkillsOnMainPageForm.php
Normal file → Executable file
0
backend/modules/settings/views/skill-category/_form.php
Normal file → Executable file
0
backend/modules/settings/views/skill-category/_form.php
Normal file → Executable file
0
backend/modules/settings/views/skill-category/_search.php
Normal file → Executable file
0
backend/modules/settings/views/skill-category/_search.php
Normal file → Executable file
0
backend/modules/settings/views/skill-category/create.php
Normal file → Executable file
0
backend/modules/settings/views/skill-category/create.php
Normal file → Executable file
0
backend/modules/settings/views/skill-category/index.php
Normal file → Executable file
0
backend/modules/settings/views/skill-category/index.php
Normal file → Executable file
0
backend/modules/settings/views/skill-category/update.php
Normal file → Executable file
0
backend/modules/settings/views/skill-category/update.php
Normal file → Executable file
0
backend/modules/settings/views/skill-category/view.php
Normal file → Executable file
0
backend/modules/settings/views/skill-category/view.php
Normal file → Executable file
0
backend/modules/settings/views/skill/skills-on-main-page.php
Normal file → Executable file
0
backend/modules/settings/views/skill/skills-on-main-page.php
Normal file → Executable file
@ -46,7 +46,7 @@
|
||||
],
|
||||
'visible' => Yii::$app->user->can('confidential_information')
|
||||
],
|
||||
['label' => 'Баланс', 'icon' => 'dollar', 'url' => ['/balan ce/balance'], 'active' => \Yii::$app->controller->id == 'balance', 'visible' => Yii::$app->user->can('confidential_information')],
|
||||
['label' => 'Баланс', 'icon' => 'dollar', 'url' => ['/balance/balance'], 'active' => \Yii::$app->controller->id == 'balance', 'visible' => Yii::$app->user->can('confidential_information')],
|
||||
['label' => 'Отпуска', 'icon' => 'plane', 'url' => ['/holiday/holiday'], 'active' => \Yii::$app->controller->id == 'holiday', 'visible' => Yii::$app->user->can('confidential_information')],
|
||||
['label' => 'Достижения', 'icon' => 'trophy', 'url' => ['/achievements/achievements'], 'active' => \Yii::$app->controller->id == 'achievements', 'visible' => Yii::$app->user->can('confidential_information')],
|
||||
['label' => 'Доступы', 'icon' => 'key', 'url' => ['/accesses/accesses'], 'active' => \Yii::$app->controller->id == 'accesses', 'visible' => Yii::$app->user->can('confidential_information')],
|
||||
@ -62,6 +62,20 @@
|
||||
'visible' => Yii::$app->user->can('confidential_information'),
|
||||
'badge' => '<span class="badge badge-info right">4</span>'
|
||||
],
|
||||
[
|
||||
'label' => 'Анкеты', 'icon' => 'gears', 'url' => '#',
|
||||
'items' => [
|
||||
['label' => 'Категории анкет', 'icon' => 'file-text-o', 'url' => ['/questionnaire/questionnaire-category'], 'active' => \Yii::$app->controller->id == 'questionnaire-category'],
|
||||
['label' => 'Список анкет', 'icon' => 'file-text-o', 'url' => ['/questionnaire/questionnaire'], 'active' => \Yii::$app->controller->id == 'questionnaire'],
|
||||
['label' => 'Типы вопросов', 'icon' => 'file-text-o', 'url' => ['/questionnaire/question-type'], 'active' => \Yii::$app->controller->id == 'question-type'],
|
||||
['label' => 'Вопросы', 'icon' => 'file-text-o', 'url' => ['/questionnaire/question'], 'active' => \Yii::$app->controller->id == 'question'],
|
||||
['label' => 'Ответы', 'icon' => 'file-text-o', 'url' => ['/questionnaire/answer'], 'active' => \Yii::$app->controller->id == 'answer'],
|
||||
['label' => 'Анкеты пользователей', 'icon' => 'file-text-o', 'url' => ['/questionnaire/user-questionnaire'], 'active' => \Yii::$app->controller->id == 'user-questionnaire'],
|
||||
['label' => 'Ответы пользователей', 'icon' => 'file-text-o', 'url' => ['/questionnaire/user-response'], 'active' => \Yii::$app->controller->id == 'user-response'],
|
||||
],
|
||||
|
||||
// 'visible' => Yii::$app->user->can('confidential_information')
|
||||
],
|
||||
|
||||
/*['label' => 'Gii', 'icon' => 'file-code-o', 'url' => ['/gii']],
|
||||
['label' => 'Debug', 'icon' => 'dashboard', 'url' => ['/debug']],
|
||||
|
0
backend/web/css/calendar.css
Normal file → Executable file
0
backend/web/css/calendar.css
Normal file → Executable file
0
backend/web/js/site.js
Normal file → Executable file
0
backend/web/js/site.js
Normal file → Executable file
0
backend/widgets/AppAsset.php
Normal file → Executable file
0
backend/widgets/AppAsset.php
Normal file → Executable file
0
backend/widgets/Calendar.php
Normal file → Executable file
0
backend/widgets/Calendar.php
Normal file → Executable file
0
backend/widgets/Calendar/assets/css/style.css
Normal file → Executable file
0
backend/widgets/Calendar/assets/css/style.css
Normal file → Executable file
0
backend/widgets/Calendar/assets/js/script.js
Normal file → Executable file
0
backend/widgets/Calendar/assets/js/script.js
Normal file → Executable file
0
backend/widgets/Calendar/assets/js/src/CalendarHelper.js
Normal file → Executable file
0
backend/widgets/Calendar/assets/js/src/CalendarHelper.js
Normal file → Executable file
0
backend/widgets/Calendar/assets/js/src/DateHelper.js
Normal file → Executable file
0
backend/widgets/Calendar/assets/js/src/DateHelper.js
Normal file → Executable file
0
common/behaviors/GsCors.php
Normal file → Executable file
0
common/behaviors/GsCors.php
Normal file → Executable file
0
common/behaviors/LogBehavior.php
Normal file → Executable file
0
common/behaviors/LogBehavior.php
Normal file → Executable file
0
common/models/Achievement.php
Normal file → Executable file
0
common/models/Achievement.php
Normal file → Executable file
0
common/models/AchievementUserCard.php
Normal file → Executable file
0
common/models/AchievementUserCard.php
Normal file → Executable file
0
common/models/AuthAssignment.php
Normal file → Executable file
0
common/models/AuthAssignment.php
Normal file → Executable file
0
common/models/ChangeHistory.php
Normal file → Executable file
0
common/models/ChangeHistory.php
Normal file → Executable file
0
common/models/InterviewRequest.php
Normal file → Executable file
0
common/models/InterviewRequest.php
Normal file → Executable file
0
common/models/Options.php
Normal file → Executable file
0
common/models/Options.php
Normal file → Executable file
0
common/models/Reports.php
Normal file → Executable file
0
common/models/Reports.php
Normal file → Executable file
0
common/models/ReportsTask.php
Normal file → Executable file
0
common/models/ReportsTask.php
Normal file → Executable file
0
common/models/SkillCategory.php
Normal file → Executable file
0
common/models/SkillCategory.php
Normal file → Executable file
@ -33,7 +33,10 @@
|
||||
"edofre/yii2-fullcalendar-scheduler": "V1.1.12",
|
||||
"asmoday74/yii2-ckeditor5": "*",
|
||||
"kavalar/telegram_bot": "^0.2.0",
|
||||
"kavalar/yii2-telegram-bot": "^0.1.0"
|
||||
"kavalar/yii2-telegram-bot": "^0.1.0",
|
||||
"ramsey/uuid": "^4.2",
|
||||
"kartik-v/yii2-widget-depdrop": "dev-master",
|
||||
"2amigos/yii2-transliterator-helper": "*"
|
||||
},
|
||||
"require-dev": {
|
||||
"yiisoft/yii2-debug": "~2.0.0",
|
||||
|
1189
composer.lock
generated
1189
composer.lock
generated
File diff suppressed because it is too large
Load Diff
0
console/controllers/RbacController.php
Normal file → Executable file
0
console/controllers/RbacController.php
Normal file → Executable file
0
console/controllers/SqlController.php
Normal file → Executable file
0
console/controllers/SqlController.php
Normal file → Executable file
0
console/migrations/m200121_115737_drop_access_column_from_accesses_table.php
Normal file → Executable file
0
console/migrations/m200121_115737_drop_access_column_from_accesses_table.php
Normal file → Executable file
0
console/migrations/m200121_120006_add_login_column_to_accesses_table.php
Normal file → Executable file
0
console/migrations/m200121_120006_add_login_column_to_accesses_table.php
Normal file → Executable file
0
console/migrations/m200121_120121_add_password_column_to_accesses_table.php
Normal file → Executable file
0
console/migrations/m200121_120121_add_password_column_to_accesses_table.php
Normal file → Executable file
0
console/migrations/m200204_125649_create_reports_table.php
Normal file → Executable file
0
console/migrations/m200204_125649_create_reports_table.php
Normal file → Executable file
0
console/migrations/m200729_104128_create_change_history_table.php
Normal file → Executable file
0
console/migrations/m200729_104128_create_change_history_table.php
Normal file → Executable file
0
console/migrations/m200803_135837_add_table_options_to_company_table.php
Normal file → Executable file
0
console/migrations/m200803_135837_add_table_options_to_company_table.php
Normal file → Executable file
0
console/migrations/m200805_113316_add_columns_links_to_user_card_table.php
Normal file → Executable file
0
console/migrations/m200805_113316_add_columns_links_to_user_card_table.php
Normal file → Executable file
0
console/migrations/m210607_102350_create_reports_task_table.php
Normal file → Executable file
0
console/migrations/m210607_102350_create_reports_task_table.php
Normal file → Executable file
0
console/migrations/m210608_131432_create_skill_category_table.php
Normal file → Executable file
0
console/migrations/m210608_131432_create_skill_category_table.php
Normal file → Executable file
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user