diff --git a/frontend/views/accounts/blog.php b/frontend/views/accounts/blog.php index 41b75ed..bb554f2 100644 --- a/frontend/views/accounts/blog.php +++ b/frontend/views/accounts/blog.php @@ -12,11 +12,12 @@ $this->title = 'Блог'; $this->params[ 'breadcrumbs' ][] = $this->title; ?> -

title ?>

-

+

title ?>
+
'btn btn-success' ]) ?> -

+
['class'=>'style admin-all-pages-wr'], 'dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'columns' => [ @@ -31,13 +32,15 @@ 'class' => ActionColumn::className(), 'buttons' => [ 'update' => function($url, $model, $key) { - return Html::a('Update', [ + return Html::a('', [ 'blog-update', 'id' => $model->blog_id, + ],[ + 'title' => 'Редактировать', ]); }, 'delete' => function($url, $model, $key) { - return Html::a('Delete', [ + return Html::a('', [ 'blog-delete', 'id' => $model->blog_id, ], [ diff --git a/frontend/views/accounts/portfolio.php b/frontend/views/accounts/portfolio.php index bc814e8..b42caae 100755 --- a/frontend/views/accounts/portfolio.php +++ b/frontend/views/accounts/portfolio.php @@ -12,11 +12,12 @@ $this->title = 'Портфолио'; $this->params[ 'breadcrumbs' ][] = $this->title; ?> -

title ?>

-

+

title ?>
+
'btn btn-success' ]) ?> -

+
['class'=>'style admin-all-pages-wr'], 'dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'columns' => [ diff --git a/frontend/web/css/style.css b/frontend/web/css/style.css index d6b7ea1..0f5b6b0 100755 --- a/frontend/web/css/style.css +++ b/frontend/web/css/style.css @@ -5433,7 +5433,7 @@ ul.menu-admin li.logout-li, ul.menu-admin li.logout-li a, ul.menu-admin li:last- margin-left: 193px; margin-top: 7px; } -.skills-admin-wrapper .btn:focus, .skills-admin-wrapper .btn:active, .add-field-employment .btn:focus, .add-field-employment .btn:active, .admin-contacts-wr .btn:focus, .admin-contacts-wr .btn:active { +.skills-admin-wrapper .btn:focus, .skills-admin-wrapper .btn:active, .add-field-employment .btn:focus, .add-field-employment .btn:active, .admin-contacts-wr .btn:focus, .admin-contacts-wr .btn:active, .admin-all-pages-add .btn:active, .skills-admin-wrapper .btn:focus, .skills-admin-wrapper .btn:active, .add-field-employment .btn:focus, .add-field-employment .btn:active, .admin-contacts-wr .btn:focus, .admin-contacts-wr .btn:active, .admin-all-pages-add .btn:focus { background: none; color: #003AA7; box-shadow: none; @@ -5590,4 +5590,72 @@ background: #f3f3f3; padding: 2px 0 !important; border: 1px solid #0072bc !important; } -a {color: #0072bc} \ No newline at end of file +a {color: #0072bc} +.admin-all-pages-add { + margin-top: 20px; + margin-bottom: 20px; +} +.admin-all-pages-add .btn{ + width: 160px; + height: 29px; + color: #fff; + background: #0072bc; + border: 1px solid #0072bc; + font-size: 13px; + margin-top: 0 !important; + float: none; + outline: none; + border-radius: 4px; +} +.admin-all-pages-add .btn:hover { + background: #fff; + color: #0072bc; +} +.admin-all-pages-add .btn:focus { + border: 1px solid #00558C; + color: #00558C; +} +.table-striped > tbody > tr:nth-of-type(odd) { + background-color: #F1F1F1; +} +.table-striped tr:hover{ + background-color: #eef8ff !important; +} +.admin-all-pages-wr {margin-bottom: 30px} +.admin-all-pages-wr .form-control { + height: 29px; + border: 1px solid #dcdcdc; + box-sizing: border-box; + outline: none; + color: #636363; + font-size: 13px; + line-height: 27px; + padding-left: 8px; + border-radius: 0; + outline: none; +} +.admin-all-pages-wr table .form-control:focus {border: 1px solid #dcdcdc;box-shadow: 1px 2px 2px 0px rgba(215, 215, 215, 0.75) inset; transition: 0.1s; outline: none} +.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 .pagination {float: right} +.admin-all-pages-wr .pagination > li > a, .pagination > li > span { + background: none; + border: 0; +} +.admin-all-pages-wr .pagination > li.active:hover { + cursor: default; + +} +.admin-all-pages-wr .pagination > li.active > a, .admin-all-pages-wr .pagination > li.active > span { + color: inherit; +} +.admin-all-pages-wr .pagination > li.active a:hover, .admin-all-pages-wr .pagination > li.active span:hover { + color: inherit; + background: none; +} + + + + + diff --git a/frontend/web/images/ico_pencil.png b/frontend/web/images/ico_pencil.png new file mode 100644 index 0000000..d188d74 Binary files /dev/null and b/frontend/web/images/ico_pencil.png differ -- libgit2 0.21.4