Commit bf9aa90fb198062d5b80a616c1d91e2cd9113ac8

Authored by Administrator
1 parent 8f939a27

add Vitaliy's widgets

.bowerrc 100644 → 100755
common/models/CompanyInfo.php 100644 → 100755
common/models/CompanyInfoSearch.php 100644 → 100755
common/models/Job.php 100644 → 100755
common/models/JobSearch.php 100644 → 100755
composer.lock
... ... @@ -204,16 +204,16 @@
204 204 },
205 205 {
206 206 "name": "bower-asset/jquery.inputmask",
207   - "version": "3.2.5",
  207 + "version": "3.2.7",
208 208 "source": {
209 209 "type": "git",
210 210 "url": "https://github.com/RobinHerbots/jquery.inputmask.git",
211   - "reference": "d08264a678865849c808359d126e3bddb9ec87a6"
  211 + "reference": "5a72c563b502b8e05958a524cdfffafe9987be38"
212 212 },
213 213 "dist": {
214 214 "type": "zip",
215   - "url": "https://api.github.com/repos/RobinHerbots/jquery.inputmask/zipball/d08264a678865849c808359d126e3bddb9ec87a6",
216   - "reference": "d08264a678865849c808359d126e3bddb9ec87a6",
  215 + "url": "https://api.github.com/repos/RobinHerbots/jquery.inputmask/zipball/5a72c563b502b8e05958a524cdfffafe9987be38",
  216 + "reference": "5a72c563b502b8e05958a524cdfffafe9987be38",
217 217 "shasum": ""
218 218 },
219 219 "require": {
... ... @@ -615,16 +615,16 @@
615 615 },
616 616 {
617 617 "name": "kartik-v/yii2-krajee-base",
618   - "version": "v1.7.9",
  618 + "version": "1.8.2",
619 619 "source": {
620 620 "type": "git",
621 621 "url": "https://github.com/kartik-v/yii2-krajee-base.git",
622   - "reference": "6f10fd0a0bfccd729764c65fa65eb4ccf2cbade9"
  622 + "reference": "0c274e31e4392cbafc5fe158eae81738794e02ce"
623 623 },
624 624 "dist": {
625 625 "type": "zip",
626   - "url": "https://api.github.com/repos/kartik-v/yii2-krajee-base/zipball/6f10fd0a0bfccd729764c65fa65eb4ccf2cbade9",
627   - "reference": "6f10fd0a0bfccd729764c65fa65eb4ccf2cbade9",
  626 + "url": "https://api.github.com/repos/kartik-v/yii2-krajee-base/zipball/0c274e31e4392cbafc5fe158eae81738794e02ce",
  627 + "reference": "0c274e31e4392cbafc5fe158eae81738794e02ce",
628 628 "shasum": ""
629 629 },
630 630 "require": {
... ... @@ -657,7 +657,7 @@
657 657 "widget",
658 658 "yii2"
659 659 ],
660   - "time": "2015-11-25 07:03:35"
  660 + "time": "2016-01-10 12:26:29"
661 661 },
662 662 {
663 663 "name": "kartik-v/yii2-widget-select2",
... ... @@ -665,12 +665,12 @@
665 665 "source": {
666 666 "type": "git",
667 667 "url": "https://github.com/kartik-v/yii2-widget-select2.git",
668   - "reference": "701bf8069a85fafbac1ced54dcd00e579e60471b"
  668 + "reference": "519241c7360a0470624f24d872741e1ea880de75"
669 669 },
670 670 "dist": {
671 671 "type": "zip",
672 672 "url": "https://api.github.com/repos/kartik-v/yii2-widget-select2/zipball/519241c7360a0470624f24d872741e1ea880de75",
673   - "reference": "701bf8069a85fafbac1ced54dcd00e579e60471b",
  673 + "reference": "519241c7360a0470624f24d872741e1ea880de75",
674 674 "shasum": ""
675 675 },
676 676 "require": {
... ... @@ -705,7 +705,7 @@
705 705 "widget",
706 706 "yii2"
707 707 ],
708   - "time": "2016-01-10 16:51:42"
  708 + "time": "2016-02-01 02:19:01"
709 709 },
710 710 {
711 711 "name": "lusitanian/oauth",
... ... @@ -1080,12 +1080,12 @@
1080 1080 "source": {
1081 1081 "type": "git",
1082 1082 "url": "https://github.com/yiisoft/yii2-framework.git",
1083   - "reference": "e4359f68b70caede1e09ecefb56e9435f7d140af"
  1083 + "reference": "7ccbfdf4cfb0ce025e27455dc3e516af23eb2800"
1084 1084 },
1085 1085 "dist": {
1086 1086 "type": "zip",
1087 1087 "url": "https://api.github.com/repos/yiisoft/yii2-framework/zipball/7ccbfdf4cfb0ce025e27455dc3e516af23eb2800",
1088   - "reference": "e4359f68b70caede1e09ecefb56e9435f7d140af",
  1088 + "reference": "7ccbfdf4cfb0ce025e27455dc3e516af23eb2800",
1089 1089 "shasum": ""
1090 1090 },
1091 1091 "require": {
... ... @@ -1166,7 +1166,7 @@
1166 1166 "framework",
1167 1167 "yii2"
1168 1168 ],
1169   - "time": "2016-01-23 08:43:29"
  1169 + "time": "2016-01-28 20:15:10"
1170 1170 },
1171 1171 {
1172 1172 "name": "yiisoft/yii2-bootstrap",
... ... @@ -1319,12 +1319,12 @@
1319 1319 "source": {
1320 1320 "type": "git",
1321 1321 "url": "https://github.com/yiisoft/yii2-jui.git",
1322   - "reference": "7ab7ff56bd54500212523e38f5fe3b9210325041"
  1322 + "reference": "1425ab29929dd195f468d3c4eb340ab509f28b83"
1323 1323 },
1324 1324 "dist": {
1325 1325 "type": "zip",
1326 1326 "url": "https://api.github.com/repos/yiisoft/yii2-jui/zipball/1425ab29929dd195f468d3c4eb340ab509f28b83",
1327   - "reference": "7ab7ff56bd54500212523e38f5fe3b9210325041",
  1327 + "reference": "1425ab29929dd195f468d3c4eb340ab509f28b83",
1328 1328 "shasum": ""
1329 1329 },
1330 1330 "require": {
... ... @@ -1361,7 +1361,7 @@
1361 1361 "jQuery UI",
1362 1362 "yii2"
1363 1363 ],
1364   - "time": "2015-12-07 11:33:55"
  1364 + "time": "2015-12-24 06:23:53"
1365 1365 },
1366 1366 {
1367 1367 "name": "yiisoft/yii2-swiftmailer",
... ... @@ -1448,12 +1448,12 @@
1448 1448 "source": {
1449 1449 "type": "git",
1450 1450 "url": "https://github.com/fzaninotto/Faker.git",
1451   - "reference": "de2ed3bbe68254efeff68db60092fc8ed5298055"
  1451 + "reference": "b312ab9d0c446971069e22a524fec01c7cddc75e"
1452 1452 },
1453 1453 "dist": {
1454 1454 "type": "zip",
1455   - "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/e493d3dc48d15a6d44e213d02c729ad61cc758a9",
1456   - "reference": "de2ed3bbe68254efeff68db60092fc8ed5298055",
  1455 + "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/b312ab9d0c446971069e22a524fec01c7cddc75e",
  1456 + "reference": "b312ab9d0c446971069e22a524fec01c7cddc75e",
1457 1457 "shasum": ""
1458 1458 },
1459 1459 "require": {
... ... @@ -1490,7 +1490,7 @@
1490 1490 "faker",
1491 1491 "fixtures"
1492 1492 ],
1493   - "time": "2016-01-08 14:16:18"
  1493 + "time": "2016-02-01 17:08:46"
1494 1494 },
1495 1495 {
1496 1496 "name": "phpspec/php-diff",
... ... @@ -1671,12 +1671,12 @@
1671 1671 "source": {
1672 1672 "type": "git",
1673 1673 "url": "https://github.com/yiisoft/yii2-gii.git",
1674   - "reference": "d1a58d8c64f9075960665dc5347f5906ecb063cf"
  1674 + "reference": "bb0eba84639a99bff6c8bc9e803bd8ac3ab66297"
1675 1675 },
1676 1676 "dist": {
1677 1677 "type": "zip",
1678   - "url": "https://api.github.com/repos/yiisoft/yii2-gii/zipball/d1a58d8c64f9075960665dc5347f5906ecb063cf",
1679   - "reference": "d1a58d8c64f9075960665dc5347f5906ecb063cf",
  1678 + "url": "https://api.github.com/repos/yiisoft/yii2-gii/zipball/bb0eba84639a99bff6c8bc9e803bd8ac3ab66297",
  1679 + "reference": "bb0eba84639a99bff6c8bc9e803bd8ac3ab66297",
1680 1680 "shasum": ""
1681 1681 },
1682 1682 "require": {
... ... @@ -1716,7 +1716,7 @@
1716 1716 "gii",
1717 1717 "yii2"
1718 1718 ],
1719   - "time": "2016-01-15 17:12:14"
  1719 + "time": "2016-02-02 07:11:51"
1720 1720 }
1721 1721 ],
1722 1722 "aliases": [],
... ...
console/migrations/m160202_090343_user_add_fields.php 100644 → 100755
console/migrations/m160202_094943_user_info_country_city.php 100644 → 100755
console/migrations/m160203_133308_add_field_specialization.php 100644 → 100755
console/migrations/m160203_140144_add_field_user_info.php 100644 → 100755
frontend/assets/AppAsset.php
... ... @@ -20,7 +20,7 @@ class AppAsset extends AssetBundle
20 20 public $css = [
21 21 'css/style.css',
22 22 '/admin/css/flags32.css',
23   - //'https://fonts.googleapis.com/css?family=Roboto:400,700&subset=cyrillic,latin',
  23 + 'https://fonts.googleapis.com/css?family=Roboto:400,700&subset=cyrillic,latin',
24 24 ];
25 25 public $js = [
26 26 '/js/script.js',
... ...
frontend/controllers/CompanyInfoController.php 100644 → 100755
frontend/controllers/JobController.php 100644 → 100755
frontend/views/accounts/_job_form.php 100644 → 100755
frontend/views/accounts/add-skills.php 100644 → 100755
frontend/views/accounts/contacts.php 100644 → 100755
frontend/views/accounts/employment.php 100644 → 100755
frontend/views/accounts/gallery.php 100644 → 100755
frontend/views/accounts/general.php 100644 → 100755
... ... @@ -20,7 +20,7 @@
20 20 <?php
21 21 $form = ActiveForm::begin ();
22 22 echo $form->field ($user, 'isPerformer', ['template' => "{label}:\n{input}\n{hint}\n{error}"])
23   - ->label ('Я - исполнитель')
  23 + ->label ('<span1></span>Я - исполнитель')
24 24 ->hint ('Отображается если указать специализации услуг в личном кабинете.')
25 25 ->checkbox ([], false);
26 26 echo $form->field ($user, 'isCustomer', ['template' => "{label}:\n{input}\n{hint}\n{error}"])
... ...
frontend/views/accounts/portfolio.php 100644 → 100755
frontend/views/accounts/service.php 100644 → 100755
frontend/views/accounts/setting.php 100644 → 100755
frontend/views/company-info/_form.php 100644 → 100755
frontend/views/company-info/_search.php 100644 → 100755
frontend/views/company-info/create.php 100644 → 100755
frontend/views/company-info/index.php 100644 → 100755
frontend/views/company-info/update.php 100644 → 100755
frontend/views/company-info/view.php 100644 → 100755
frontend/views/job/_form.php 100644 → 100755
frontend/views/job/_search.php 100644 → 100755
frontend/views/job/create.php 100644 → 100755
frontend/views/job/index.php 100644 → 100755
frontend/views/job/update.php 100644 → 100755
frontend/views/job/view.php 100644 → 100755
frontend/views/layouts/admin.php
... ... @@ -9,18 +9,6 @@ $this-&gt;beginContent(&#39;@app/views/layouts/main.php&#39;);
9 9 ?>
10 10 <div class="wrap">
11 11 <div class="container">
12   - <div class="left_block">
13   - <?php
14   - echo Menu::widget([
15   - 'options' => ['class' => 'nav nav-pills nav-stacked'],
16   - 'items' => [
17   - ['label' => 'Кабинет', 'url' => ['accounts/cabinet']],
18   -
19   - ['label' => 'Выход', 'url' => ['/site/logout']],
20   - ],
21   - ]);
22   - ?>
23   - </div>
24 12 <div class="right_block">
25 13 <?= Breadcrumbs::widget([
26 14 'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],
... ... @@ -71,6 +59,10 @@ $this-&gt;beginContent(&#39;@app/views/layouts/main.php&#39;);
71 59 'label' => 'Галерея',
72 60 'url' => ['accounts/gallery'],
73 61 ],
  62 + [
  63 + 'label' => 'Выход',
  64 + 'url' => ['/site/logout']
  65 + ],
74 66 ],
75 67 ]);
76 68 ?>
... ...
frontend/views/layouts/performer.php
... ... @@ -3,7 +3,7 @@
3 3 use yii\widgets\Breadcrumbs;
4 4 use yii\widgets\Menu;
5 5  
6   -\frontend\assets\AdminAsset::register($this);
  6 +\frontend\assets\AppAsset::register($this);
7 7 /* @var $content string */
8 8 $this->beginContent('@app/views/layouts/main.php');
9 9 ?>
... ...