From 8ec72f599578c03e4afce6b380a2c0cbea1b63cd Mon Sep 17 00:00:00 2001 From: Andrii Vasyliev Date: Wed, 22 Apr 2015 08:56:12 +0000 Subject: [PATCH] inited --- .gitignore | 27 ++++++++++++++++ CHANGELOG.md | 7 +++++ LICENSE.md | 32 +++++++++++++++++++ Module.php | 12 +++++++ README.md | 7 +++++ composer.json | 49 +++++++++++++++++++++++++++++ controllers/AccountController.php | 13 ++++++++ controllers/BackupController.php | 13 ++++++++ controllers/BackupingController.php | 13 ++++++++ controllers/CrontabController.php | 13 ++++++++ controllers/DBController.php | 13 ++++++++ controllers/HdomainController.php | 13 ++++++++ controllers/IpController.php | 13 ++++++++ controllers/MailController.php | 13 ++++++++ controllers/RequestController.php | 13 ++++++++ controllers/ServiceController.php | 13 ++++++++ grid/AccountGridView.php | 23 ++++++++++++++ grid/BackupGridView.php | 23 ++++++++++++++ grid/BackupingGridView.php | 23 ++++++++++++++ grid/CrontabGridView.php | 23 ++++++++++++++ grid/DBGridView.php | 23 ++++++++++++++ grid/HdomainGridView.php | 23 ++++++++++++++ grid/IpGridView.php | 23 ++++++++++++++ grid/MailGridView.php | 23 ++++++++++++++ grid/RequestGridView.php | 23 ++++++++++++++ grid/ServiceGridView.php | 23 ++++++++++++++ models/Account.php | 35 +++++++++++++++++++++ models/AccountSearch.php | 12 +++++++ models/Backup.php | 35 +++++++++++++++++++++ models/BackupSearch.php | 12 +++++++ models/Backuping.php | 35 +++++++++++++++++++++ models/BackupingSearch.php | 12 +++++++ models/Crontab.php | 35 +++++++++++++++++++++ models/CrontabSearch.php | 12 +++++++ models/DB.php | 35 +++++++++++++++++++++ models/DBSearch.php | 12 +++++++ models/Hdomain.php | 35 +++++++++++++++++++++ models/HdomainSearch.php | 12 +++++++ models/Ip.php | 35 +++++++++++++++++++++ models/IpSearch.php | 12 +++++++ models/Mail.php | 35 +++++++++++++++++++++ models/MailSearch.php | 12 +++++++ models/Request.php | 35 +++++++++++++++++++++ models/RequestSearch.php | 12 +++++++ models/Service.php | 35 +++++++++++++++++++++ models/ServiceSearch.php | 12 +++++++ views/account/index.php | 24 ++++++++++++++ views/account/view.php | 32 +++++++++++++++++++ views/backup/index.php | 24 ++++++++++++++ views/backup/view.php | 32 +++++++++++++++++++ views/backuping/index.php | 24 ++++++++++++++ views/backuping/view.php | 32 +++++++++++++++++++ views/crontab/index.php | 24 ++++++++++++++ views/crontab/view.php | 32 +++++++++++++++++++ views/db/index.php | 24 ++++++++++++++ views/db/view.php | 32 +++++++++++++++++++ views/hdomain/index.php | 24 ++++++++++++++ views/hdomain/view.php | 32 +++++++++++++++++++ views/ip/index.php | 24 ++++++++++++++ views/ip/view.php | 32 +++++++++++++++++++ views/mail/index.php | 24 ++++++++++++++ views/mail/view.php | 32 +++++++++++++++++++ views/request/index.php | 24 ++++++++++++++ views/request/view.php | 32 +++++++++++++++++++ views/service/index.php | 24 ++++++++++++++ views/service/view.php | 32 +++++++++++++++++++ 66 files changed, 1524 insertions(+) create mode 100644 .gitignore create mode 100644 CHANGELOG.md create mode 100644 LICENSE.md create mode 100644 Module.php create mode 100644 README.md create mode 100644 composer.json create mode 100644 controllers/AccountController.php create mode 100644 controllers/BackupController.php create mode 100644 controllers/BackupingController.php create mode 100644 controllers/CrontabController.php create mode 100644 controllers/DBController.php create mode 100644 controllers/HdomainController.php create mode 100644 controllers/IpController.php create mode 100644 controllers/MailController.php create mode 100644 controllers/RequestController.php create mode 100644 controllers/ServiceController.php create mode 100644 grid/AccountGridView.php create mode 100644 grid/BackupGridView.php create mode 100644 grid/BackupingGridView.php create mode 100644 grid/CrontabGridView.php create mode 100644 grid/DBGridView.php create mode 100644 grid/HdomainGridView.php create mode 100644 grid/IpGridView.php create mode 100644 grid/MailGridView.php create mode 100644 grid/RequestGridView.php create mode 100644 grid/ServiceGridView.php create mode 100644 models/Account.php create mode 100644 models/AccountSearch.php create mode 100644 models/Backup.php create mode 100644 models/BackupSearch.php create mode 100644 models/Backuping.php create mode 100644 models/BackupingSearch.php create mode 100644 models/Crontab.php create mode 100644 models/CrontabSearch.php create mode 100644 models/DB.php create mode 100644 models/DBSearch.php create mode 100644 models/Hdomain.php create mode 100644 models/HdomainSearch.php create mode 100644 models/Ip.php create mode 100644 models/IpSearch.php create mode 100644 models/Mail.php create mode 100644 models/MailSearch.php create mode 100644 models/Request.php create mode 100644 models/RequestSearch.php create mode 100644 models/Service.php create mode 100644 models/ServiceSearch.php create mode 100644 views/account/index.php create mode 100644 views/account/view.php create mode 100644 views/backup/index.php create mode 100644 views/backup/view.php create mode 100644 views/backuping/index.php create mode 100644 views/backuping/view.php create mode 100644 views/crontab/index.php create mode 100644 views/crontab/view.php create mode 100644 views/db/index.php create mode 100644 views/db/view.php create mode 100644 views/hdomain/index.php create mode 100644 views/hdomain/view.php create mode 100644 views/ip/index.php create mode 100644 views/ip/view.php create mode 100644 views/mail/index.php create mode 100644 views/mail/view.php create mode 100644 views/request/index.php create mode 100644 views/request/view.php create mode 100644 views/service/index.php create mode 100644 views/service/view.php diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..a427d3ae --- /dev/null +++ b/.gitignore @@ -0,0 +1,27 @@ +# yii console command +/yii + +# composer vendor dir +/vendor + +# composer itself and lock file +composer.phar +composer.lock + +# phpunit itself and local config +phpunit.phar +/phpunit.xml + +# IDE project files +.idea +nbproject +.buildpath +.project +.settings + +# windows thumbnail cache +Thumbs.db + +# Mac DS_Store Files +.DS_Store + diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..2e3895c5 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,7 @@ +hiqdev/hipanel-module-hosting changelog +--------------------------------------- + +### 0.1.0 under development + +- inited + diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 00000000..9834ee89 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,32 @@ +The hipanel-module-hosting extension is free software. +It is released under the terms of the following BSD 3-clause License. + +Copyright © 2014-2015 by HiQDev (http://hiqdev.com) +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of HiQDev nor HiPanel nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. diff --git a/Module.php b/Module.php new file mode 100644 index 00000000..5e4b2584 --- /dev/null +++ b/Module.php @@ -0,0 +1,12 @@ + [ + 'class' => MainColumn::className(), + 'filterAttribute' => 'account_like', + ], + ]; + } +} diff --git a/grid/BackupGridView.php b/grid/BackupGridView.php new file mode 100644 index 00000000..a6e4a860 --- /dev/null +++ b/grid/BackupGridView.php @@ -0,0 +1,23 @@ + [ + 'class' => MainColumn::className(), + 'filterAttribute' => 'backup_like', + ], + ]; + } +} diff --git a/grid/BackupingGridView.php b/grid/BackupingGridView.php new file mode 100644 index 00000000..b44647e2 --- /dev/null +++ b/grid/BackupingGridView.php @@ -0,0 +1,23 @@ + [ + 'class' => MainColumn::className(), + 'filterAttribute' => 'backuping_like', + ], + ]; + } +} diff --git a/grid/CrontabGridView.php b/grid/CrontabGridView.php new file mode 100644 index 00000000..9554cba4 --- /dev/null +++ b/grid/CrontabGridView.php @@ -0,0 +1,23 @@ + [ + 'class' => MainColumn::className(), + 'filterAttribute' => 'crontab_like', + ], + ]; + } +} diff --git a/grid/DBGridView.php b/grid/DBGridView.php new file mode 100644 index 00000000..72903db8 --- /dev/null +++ b/grid/DBGridView.php @@ -0,0 +1,23 @@ + [ + 'class' => MainColumn::className(), + 'filterAttribute' => 'db_like', + ], + ]; + } +} diff --git a/grid/HdomainGridView.php b/grid/HdomainGridView.php new file mode 100644 index 00000000..accc88c5 --- /dev/null +++ b/grid/HdomainGridView.php @@ -0,0 +1,23 @@ + [ + 'class' => MainColumn::className(), + 'filterAttribute' => 'hdomain_like', + ], + ]; + } +} diff --git a/grid/IpGridView.php b/grid/IpGridView.php new file mode 100644 index 00000000..c40cd098 --- /dev/null +++ b/grid/IpGridView.php @@ -0,0 +1,23 @@ + [ + 'class' => MainColumn::className(), + 'filterAttribute' => 'ip_like', + ], + ]; + } +} diff --git a/grid/MailGridView.php b/grid/MailGridView.php new file mode 100644 index 00000000..8d581ef5 --- /dev/null +++ b/grid/MailGridView.php @@ -0,0 +1,23 @@ + [ + 'class' => MainColumn::className(), + 'filterAttribute' => 'mail_like', + ], + ]; + } +} diff --git a/grid/RequestGridView.php b/grid/RequestGridView.php new file mode 100644 index 00000000..00e8e226 --- /dev/null +++ b/grid/RequestGridView.php @@ -0,0 +1,23 @@ + [ + 'class' => MainColumn::className(), + 'filterAttribute' => 'request_like', + ], + ]; + } +} diff --git a/grid/ServiceGridView.php b/grid/ServiceGridView.php new file mode 100644 index 00000000..b049b477 --- /dev/null +++ b/grid/ServiceGridView.php @@ -0,0 +1,23 @@ + [ + 'class' => MainColumn::className(), + 'filterAttribute' => 'service_like', + ], + ]; + } +} diff --git a/models/Account.php b/models/Account.php new file mode 100644 index 00000000..ff8e8a1e --- /dev/null +++ b/models/Account.php @@ -0,0 +1,35 @@ +mergeAttributeLabels([ + 'remoteid' => Yii::t('app', 'Remote ID'), + ]); + } +} diff --git a/models/AccountSearch.php b/models/AccountSearch.php new file mode 100644 index 00000000..c95149d4 --- /dev/null +++ b/models/AccountSearch.php @@ -0,0 +1,12 @@ +mergeAttributeLabels([ + 'remoteid' => Yii::t('app', 'Remote ID'), + ]); + } +} diff --git a/models/BackupSearch.php b/models/BackupSearch.php new file mode 100644 index 00000000..59281ead --- /dev/null +++ b/models/BackupSearch.php @@ -0,0 +1,12 @@ +mergeAttributeLabels([ + 'remoteid' => Yii::t('app', 'Remote ID'), + ]); + } +} diff --git a/models/BackupingSearch.php b/models/BackupingSearch.php new file mode 100644 index 00000000..e988eb1d --- /dev/null +++ b/models/BackupingSearch.php @@ -0,0 +1,12 @@ +mergeAttributeLabels([ + 'remoteid' => Yii::t('app', 'Remote ID'), + ]); + } +} diff --git a/models/CrontabSearch.php b/models/CrontabSearch.php new file mode 100644 index 00000000..9ee9b320 --- /dev/null +++ b/models/CrontabSearch.php @@ -0,0 +1,12 @@ +mergeAttributeLabels([ + 'remoteid' => Yii::t('app', 'Remote ID'), + ]); + } +} diff --git a/models/DBSearch.php b/models/DBSearch.php new file mode 100644 index 00000000..ce984e7f --- /dev/null +++ b/models/DBSearch.php @@ -0,0 +1,12 @@ +mergeAttributeLabels([ + 'remoteid' => Yii::t('app', 'Remote ID'), + ]); + } +} diff --git a/models/HdomainSearch.php b/models/HdomainSearch.php new file mode 100644 index 00000000..23f7e8d2 --- /dev/null +++ b/models/HdomainSearch.php @@ -0,0 +1,12 @@ +mergeAttributeLabels([ + 'remoteid' => Yii::t('app', 'Remote ID'), + ]); + } +} diff --git a/models/IpSearch.php b/models/IpSearch.php new file mode 100644 index 00000000..9c5b5959 --- /dev/null +++ b/models/IpSearch.php @@ -0,0 +1,12 @@ +mergeAttributeLabels([ + 'remoteid' => Yii::t('app', 'Remote ID'), + ]); + } +} diff --git a/models/MailSearch.php b/models/MailSearch.php new file mode 100644 index 00000000..6913fdad --- /dev/null +++ b/models/MailSearch.php @@ -0,0 +1,12 @@ +mergeAttributeLabels([ + 'remoteid' => Yii::t('app', 'Remote ID'), + ]); + } +} diff --git a/models/RequestSearch.php b/models/RequestSearch.php new file mode 100644 index 00000000..97e97c6d --- /dev/null +++ b/models/RequestSearch.php @@ -0,0 +1,12 @@ +mergeAttributeLabels([ + 'remoteid' => Yii::t('app', 'Remote ID'), + ]); + } +} diff --git a/models/ServiceSearch.php b/models/ServiceSearch.php new file mode 100644 index 00000000..b32d80ae --- /dev/null +++ b/models/ServiceSearch.php @@ -0,0 +1,12 @@ +title = Yii::t('app', 'Accounts'); +$this->params['breadcrumbs'][] = $this->title; +$this->params['subtitle'] = Yii::$app->request->queryParams ? 'filtered list' : 'full list'; + +?> + + $dataProvider, + 'filterModel' => $searchModel, + 'columns' => [ + 'checkbox', + 'seller_id','client_id', + 'account' + ], +]) ?> diff --git a/views/account/view.php b/views/account/view.php new file mode 100644 index 00000000..960e9860 --- /dev/null +++ b/views/account/view.php @@ -0,0 +1,32 @@ +title = Html::encode($model->domain); +$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Domains'), 'url' => ['index']]; +$this->params['breadcrumbs'][] = $this->title; + +?> + +params['pjax']) ?> +
+ +
+ $model, + 'columns' => [ + 'seller_id','client_id', + ['attribute' => 'account'], + ], + ]) ?> +
+ +
+ diff --git a/views/backup/index.php b/views/backup/index.php new file mode 100644 index 00000000..4e934285 --- /dev/null +++ b/views/backup/index.php @@ -0,0 +1,24 @@ +title = Yii::t('app', 'Backups'); +$this->params['breadcrumbs'][] = $this->title; +$this->params['subtitle'] = Yii::$app->request->queryParams ? 'filtered list' : 'full list'; + +?> + + $dataProvider, + 'filterModel' => $searchModel, + 'columns' => [ + 'checkbox', + 'seller_id','client_id', + 'backup' + ], +]) ?> diff --git a/views/backup/view.php b/views/backup/view.php new file mode 100644 index 00000000..4378a74e --- /dev/null +++ b/views/backup/view.php @@ -0,0 +1,32 @@ +title = Html::encode($model->domain); +$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Domains'), 'url' => ['index']]; +$this->params['breadcrumbs'][] = $this->title; + +?> + +params['pjax']) ?> +
+ +
+ $model, + 'columns' => [ + 'seller_id','client_id', + ['attribute' => 'backup'], + ], + ]) ?> +
+ +
+ diff --git a/views/backuping/index.php b/views/backuping/index.php new file mode 100644 index 00000000..03e4dd2d --- /dev/null +++ b/views/backuping/index.php @@ -0,0 +1,24 @@ +title = Yii::t('app', 'Backupings'); +$this->params['breadcrumbs'][] = $this->title; +$this->params['subtitle'] = Yii::$app->request->queryParams ? 'filtered list' : 'full list'; + +?> + + $dataProvider, + 'filterModel' => $searchModel, + 'columns' => [ + 'checkbox', + 'seller_id','client_id', + 'backuping' + ], +]) ?> diff --git a/views/backuping/view.php b/views/backuping/view.php new file mode 100644 index 00000000..bac4ff62 --- /dev/null +++ b/views/backuping/view.php @@ -0,0 +1,32 @@ +title = Html::encode($model->domain); +$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Domains'), 'url' => ['index']]; +$this->params['breadcrumbs'][] = $this->title; + +?> + +params['pjax']) ?> +
+ +
+ $model, + 'columns' => [ + 'seller_id','client_id', + ['attribute' => 'backuping'], + ], + ]) ?> +
+ +
+ diff --git a/views/crontab/index.php b/views/crontab/index.php new file mode 100644 index 00000000..52d97e0a --- /dev/null +++ b/views/crontab/index.php @@ -0,0 +1,24 @@ +title = Yii::t('app', 'Crontabs'); +$this->params['breadcrumbs'][] = $this->title; +$this->params['subtitle'] = Yii::$app->request->queryParams ? 'filtered list' : 'full list'; + +?> + + $dataProvider, + 'filterModel' => $searchModel, + 'columns' => [ + 'checkbox', + 'seller_id','client_id', + 'crontab' + ], +]) ?> diff --git a/views/crontab/view.php b/views/crontab/view.php new file mode 100644 index 00000000..15b7a50f --- /dev/null +++ b/views/crontab/view.php @@ -0,0 +1,32 @@ +title = Html::encode($model->domain); +$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Domains'), 'url' => ['index']]; +$this->params['breadcrumbs'][] = $this->title; + +?> + +params['pjax']) ?> +
+ +
+ $model, + 'columns' => [ + 'seller_id','client_id', + ['attribute' => 'crontab'], + ], + ]) ?> +
+ +
+ diff --git a/views/db/index.php b/views/db/index.php new file mode 100644 index 00000000..e5628232 --- /dev/null +++ b/views/db/index.php @@ -0,0 +1,24 @@ +title = Yii::t('app', 'DBs'); +$this->params['breadcrumbs'][] = $this->title; +$this->params['subtitle'] = Yii::$app->request->queryParams ? 'filtered list' : 'full list'; + +?> + + $dataProvider, + 'filterModel' => $searchModel, + 'columns' => [ + 'checkbox', + 'seller_id','client_id', + 'db' + ], +]) ?> diff --git a/views/db/view.php b/views/db/view.php new file mode 100644 index 00000000..99298fd3 --- /dev/null +++ b/views/db/view.php @@ -0,0 +1,32 @@ +title = Html::encode($model->domain); +$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Domains'), 'url' => ['index']]; +$this->params['breadcrumbs'][] = $this->title; + +?> + +params['pjax']) ?> +
+ +
+ $model, + 'columns' => [ + 'seller_id','client_id', + ['attribute' => 'db'], + ], + ]) ?> +
+ +
+ diff --git a/views/hdomain/index.php b/views/hdomain/index.php new file mode 100644 index 00000000..f17dea90 --- /dev/null +++ b/views/hdomain/index.php @@ -0,0 +1,24 @@ +title = Yii::t('app', 'Hdomains'); +$this->params['breadcrumbs'][] = $this->title; +$this->params['subtitle'] = Yii::$app->request->queryParams ? 'filtered list' : 'full list'; + +?> + + $dataProvider, + 'filterModel' => $searchModel, + 'columns' => [ + 'checkbox', + 'seller_id','client_id', + 'hdomain' + ], +]) ?> diff --git a/views/hdomain/view.php b/views/hdomain/view.php new file mode 100644 index 00000000..b4418b4f --- /dev/null +++ b/views/hdomain/view.php @@ -0,0 +1,32 @@ +title = Html::encode($model->domain); +$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Domains'), 'url' => ['index']]; +$this->params['breadcrumbs'][] = $this->title; + +?> + +params['pjax']) ?> +
+ +
+ $model, + 'columns' => [ + 'seller_id','client_id', + ['attribute' => 'hdomain'], + ], + ]) ?> +
+ +
+ diff --git a/views/ip/index.php b/views/ip/index.php new file mode 100644 index 00000000..86917d62 --- /dev/null +++ b/views/ip/index.php @@ -0,0 +1,24 @@ +title = Yii::t('app', 'Ips'); +$this->params['breadcrumbs'][] = $this->title; +$this->params['subtitle'] = Yii::$app->request->queryParams ? 'filtered list' : 'full list'; + +?> + + $dataProvider, + 'filterModel' => $searchModel, + 'columns' => [ + 'checkbox', + 'seller_id','client_id', + 'ip' + ], +]) ?> diff --git a/views/ip/view.php b/views/ip/view.php new file mode 100644 index 00000000..b7ab4df4 --- /dev/null +++ b/views/ip/view.php @@ -0,0 +1,32 @@ +title = Html::encode($model->domain); +$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Domains'), 'url' => ['index']]; +$this->params['breadcrumbs'][] = $this->title; + +?> + +params['pjax']) ?> +
+ +
+ $model, + 'columns' => [ + 'seller_id','client_id', + ['attribute' => 'ip'], + ], + ]) ?> +
+ +
+ diff --git a/views/mail/index.php b/views/mail/index.php new file mode 100644 index 00000000..af9f75ac --- /dev/null +++ b/views/mail/index.php @@ -0,0 +1,24 @@ +title = Yii::t('app', 'Mails'); +$this->params['breadcrumbs'][] = $this->title; +$this->params['subtitle'] = Yii::$app->request->queryParams ? 'filtered list' : 'full list'; + +?> + + $dataProvider, + 'filterModel' => $searchModel, + 'columns' => [ + 'checkbox', + 'seller_id','client_id', + 'mail' + ], +]) ?> diff --git a/views/mail/view.php b/views/mail/view.php new file mode 100644 index 00000000..fc6a5774 --- /dev/null +++ b/views/mail/view.php @@ -0,0 +1,32 @@ +title = Html::encode($model->domain); +$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Domains'), 'url' => ['index']]; +$this->params['breadcrumbs'][] = $this->title; + +?> + +params['pjax']) ?> +
+ +
+ $model, + 'columns' => [ + 'seller_id','client_id', + ['attribute' => 'mail'], + ], + ]) ?> +
+ +
+ diff --git a/views/request/index.php b/views/request/index.php new file mode 100644 index 00000000..aa9a9b05 --- /dev/null +++ b/views/request/index.php @@ -0,0 +1,24 @@ +title = Yii::t('app', 'Requests'); +$this->params['breadcrumbs'][] = $this->title; +$this->params['subtitle'] = Yii::$app->request->queryParams ? 'filtered list' : 'full list'; + +?> + + $dataProvider, + 'filterModel' => $searchModel, + 'columns' => [ + 'checkbox', + 'seller_id','client_id', + 'request' + ], +]) ?> diff --git a/views/request/view.php b/views/request/view.php new file mode 100644 index 00000000..873c607c --- /dev/null +++ b/views/request/view.php @@ -0,0 +1,32 @@ +title = Html::encode($model->domain); +$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Domains'), 'url' => ['index']]; +$this->params['breadcrumbs'][] = $this->title; + +?> + +params['pjax']) ?> +
+ +
+ $model, + 'columns' => [ + 'seller_id','client_id', + ['attribute' => 'request'], + ], + ]) ?> +
+ +
+ diff --git a/views/service/index.php b/views/service/index.php new file mode 100644 index 00000000..2e66dfa8 --- /dev/null +++ b/views/service/index.php @@ -0,0 +1,24 @@ +title = Yii::t('app', 'Services'); +$this->params['breadcrumbs'][] = $this->title; +$this->params['subtitle'] = Yii::$app->request->queryParams ? 'filtered list' : 'full list'; + +?> + + $dataProvider, + 'filterModel' => $searchModel, + 'columns' => [ + 'checkbox', + 'seller_id','client_id', + 'service' + ], +]) ?> diff --git a/views/service/view.php b/views/service/view.php new file mode 100644 index 00000000..1041814b --- /dev/null +++ b/views/service/view.php @@ -0,0 +1,32 @@ +title = Html::encode($model->domain); +$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Domains'), 'url' => ['index']]; +$this->params['breadcrumbs'][] = $this->title; + +?> + +params['pjax']) ?> +
+ +
+ $model, + 'columns' => [ + 'seller_id','client_id', + ['attribute' => 'service'], + ], + ]) ?> +
+ +
+