diff --git a/frontend/views/accounts/team.php b/frontend/views/accounts/team.php
index c5b0801..292423a 100644
--- a/frontend/views/accounts/team.php
+++ b/frontend/views/accounts/team.php
@@ -12,11 +12,14 @@
$this->title = 'Команда';
$this->params[ 'breadcrumbs' ][] = $this->title;
?>
-
= $this->title ?>
-
+
= $this->title ?>
+
= Html::a(Yii::t('app', 'Добавить'), [ 'team-create' ], [ 'class' => 'btn btn-success' ]) ?>
-
+
+
+
= GridView::widget([
+ 'options' => ['class'=>'style admin-all-pages-wr'],
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'columns' => [
@@ -50,13 +53,13 @@
'label' => 'Опыт, лет',
'filter' => "
-
+
-
+
",
],
@@ -67,10 +70,14 @@
'class' => 'yii\grid\ActionColumn',
'buttons' => [
'update' => function($url, $model, $key) {
- return Html::a('Update', ['team-update', 'id' => $model->team_id]);
+ return Html::a('
', [
+ 'team-update', 'id' => $model->team_id
+ ],[
+ 'title' => 'Редактировать',
+ ]);
},
'delete' => function($url, $model, $key) {
- return Html::a('Delete', ['team-delete', 'id' => $model->team_id], [
+ return Html::a('
', ['team-delete', 'id' => $model->team_id], [
'title' => 'Удалить',
'aria-label' => 'Удалить',
'data-confirm' => 'Вы уверены, что хотите удалить этот элемент?',
diff --git a/frontend/views/accounts/vacancy.php b/frontend/views/accounts/vacancy.php
index b108b20..13f2478 100644
--- a/frontend/views/accounts/vacancy.php
+++ b/frontend/views/accounts/vacancy.php
@@ -31,7 +31,11 @@
'class' => ActionColumn::className(),
'buttons' => [
'update' => function($url, $model, $key) {
- return Html::a('
', ['vacancy-update', 'id' => $model->vacancy_id]);
+ return Html::a('
',
+ ['vacancy-update', 'id' => $model->vacancy_id
+ ],[
+ 'title' => 'Редактировать',
+ ]);
},
'delete' => function($url, $model, $key) {
return Html::a('
', ['vacancy-delete', 'id' => $model->vacancy_id], [
diff --git a/frontend/web/css/style.css b/frontend/web/css/style.css
index 8e03cf5..79f4907 100755
--- a/frontend/web/css/style.css
+++ b/frontend/web/css/style.css
@@ -5640,9 +5640,10 @@ a {color: #0072bc}
.admin-all-pages-wr table tbody tr td {padding: 4px 8px; vertical-align: middle}
.admin-all-pages-wr table {font-size: 13px}
.admin-all-pages-wr table > thead > tr > th {vertical-align: middle}
-.admin-all-pages-wr table tr td:last-child{width: 52px; padding: 0 8px}
+.admin-all-pages-wr table tr td:last-child{min-width: 52px; padding: 0 8px}
.admin-all-pages-wr table tr td:last-child a{margin-left: 5px}
.admin-all-pages-wr table tr td:last-child a:first-child{margin-left: 0}
+.admin-all-pages-wr table tr td:first-child {min-width: 61px}
.admin-all-pages-wr table .empty{font-size: 15px; margin: 10px 0}
.admin-all-pages-wr .pagination {float: right}
.admin-all-pages-wr .pagination > li > a, .pagination > li > span {
--
libgit2 0.21.4