+ = GridView::widget([
+ 'options' => ['class'=>'style admin-all-pages-wr'],
+ 'dataProvider' => $dataProvider,
+ 'filterModel' => $searchModel,
+ 'columns' => [
+ [
+ 'attribute' => 'portfolio_id',
+ 'label' => 'ID',
+ ],
+ 'name',
+ [
+ 'attribute' => 'date_add',
+ 'filter' => "
".
- DatePicker::widget([
- 'model' => $searchModel,
- 'attribute' => 'date_add_from',
- 'language' => 'ru',
- 'dateFormat' => 'yyyy-MM-dd',
- 'clientOptions' => [
- 'changeYear' => true,
- 'changeMonth' => true,
- ],
- ]).
- "
+ DatePicker::widget([
+ 'model' => $searchModel,
+ 'attribute' => 'date_add_from',
+ 'language' => 'ru',
+ 'dateFormat' => 'yyyy-MM-dd',
+ 'clientOptions' => [
+ 'changeYear' => true,
+ 'changeMonth' => true,
+ ],
+ ]).
+ "
".
- DatePicker::widget([
- 'model' => $searchModel,
- 'attribute' => 'date_add_to',
- 'language' => 'ru',
- 'dateFormat' => 'yyyy-MM-dd',
- 'clientOptions' => [
- 'changeYear' => true,
- 'changeMonth' => true,
- ],
- ])
- ."
+ DatePicker::widget([
+ 'model' => $searchModel,
+ 'attribute' => 'date_add_to',
+ 'language' => 'ru',
+ 'dateFormat' => 'yyyy-MM-dd',
+ 'clientOptions' => [
+ 'changeYear' => true,
+ 'changeMonth' => true,
+ ],
+ ])
+ ."
",
- 'format' => 'html',
- ],
- 'view_count',
- [
- 'attribute' => 'specializationString',
- ],
- [
- 'class' => ActionColumn::className(),
- 'buttons' => [
- 'update' => function($url, $model, $key) {
- return Html::a('

', [
- 'portfolio-update',
- 'id' => $model->portfolio_id,
- ],[
- 'title' => 'Редактировать',
- ]);
- },
- 'delete' => function($url, $model, $key) {
- return Html::a('

', [
- 'portfolio-delete',
- 'id' => $model->portfolio_id,
- ], [
- 'title' => 'Удалить',
- 'aria-label' => 'Удалить',
- 'data-confirm' => 'Вы уверены, что хотите удалить этот элемент?',
- 'data-method' => 'post',
- 'data-pjax' => '0',
- ]);
- },
+ 'format' => 'html',
+ ],
+ 'view_count',
+ [
+ 'attribute' => 'specializationString',
+ ],
+ [
+ 'class' => ActionColumn::className(),
+ 'buttons' => [
+ 'update' => function($url, $model, $key) {
+ return Html::a('

', [
+ 'portfolio-update',
+ 'id' => $model->portfolio_id,
+ ],[
+ 'title' => 'Редактировать',
+ ]);
+ },
+ 'delete' => function($url, $model, $key) {
+ return Html::a('

', [
+ 'portfolio-delete',
+ 'id' => $model->portfolio_id,
+ ], [
+ 'title' => 'Удалить',
+ 'aria-label' => 'Удалить',
+ 'data-confirm' => 'Вы уверены, что хотите удалить этот элемент?',
+ 'data-method' => 'post',
+ 'data-pjax' => '0',
+ ]);
+ },
+ ],
+ 'template' => '{update} {delete}',
],
- 'template' => '{update} {delete}',
],
- ],
-]); ?>
+ ]); ?>
+
diff --git a/frontend/web/css/style.css b/frontend/web/css/style.css
index 9a22c3f..d70d5b3 100755
--- a/frontend/web/css/style.css
+++ b/frontend/web/css/style.css
@@ -6188,9 +6188,37 @@ input[disabled], select[disabled] {
width: 360px;
height: 29px;
cursor: pointer;
+ margin-top: 8px;
}
.admin-project-file .not-file-mb-adm{
position: static;
margin-left: 10px;
width: 540px;
-}
\ No newline at end of file
+}
+.admin-table-portfolio .input-group.input-group-xs input{
+ height: 29px;
+ border: 1px solid #dcdcdc;
+ outline: none;
+ padding-left: 8px;
+ width: 85px;
+ float: left;
+}
+.admin-table-portfolio .input-group.input-group-xs input:focus{
+ box-shadow: 1px 2px 2px 0px rgba(215, 215, 215, 0.75) inset; transition: 0.1s; outline: none
+}
+.admin-table-portfolio .field-teamsearch-experience_from_from, .admin-table-portfolio .field-teamsearch-experience_from_to {float: left}
+.admin-table-portfolio .input-group-addon.kv-field-separator {
+ float: left;
+ width: 30px;
+ margin-top: -1px;
+ padding: 0;
+ height: 31px;
+ line-height: 31px;
+}
+.admin-table-portfolio .input-group.input-group-xs.input-daterange {width: 200px}
+.admin-page .content-menu-first {border-top: 1px solid #dfdfdf;}
+
+
+
+
+
--
libgit2 0.21.4