diff --git a/frontend/views/accounts/_blog_form.php b/frontend/views/accounts/_blog_form.php index 2347f8a..a46fc65 100644 --- a/frontend/views/accounts/_blog_form.php +++ b/frontend/views/accounts/_blog_form.php @@ -67,9 +67,10 @@ use yii\helpers\Html;
-
+
isNewRecord?'Добавить':'Обновить', [ 'class' => 'input-blocks-wrapper button' ]) ?> - + isNewRecord) { echo Html::a('Удалить', [ 'accounts/blog-delete', @@ -82,8 +83,12 @@ use yii\helpers\Html; 'data-pjax' => 0, ]); } - ?> - + ?> +
+ +
+ +
diff --git a/frontend/views/accounts/_gallery_form.php b/frontend/views/accounts/_gallery_form.php index 5c2013a..eb3df5c 100644 --- a/frontend/views/accounts/_gallery_form.php +++ b/frontend/views/accounts/_gallery_form.php @@ -53,9 +53,10 @@
-
+
isNewRecord?'Добавить':'Обновить', [ 'class' => 'input-blocks-wrapper button' ]) ?> - + isNewRecord) { echo Html::a('Удалить', [ 'accounts/gallery-delete', @@ -68,8 +69,12 @@ 'data-pjax' => 0, ]); } - ?> - + ?> +
+ +
+ +
diff --git a/frontend/views/accounts/_portfolio_form.php b/frontend/views/accounts/_portfolio_form.php index b8ebea0..b8102cf 100644 --- a/frontend/views/accounts/_portfolio_form.php +++ b/frontend/views/accounts/_portfolio_form.php @@ -146,9 +146,10 @@ use yii\web\JsExpression;
-
+
isNewRecord?'Добавить':'Обновить', [ 'class' => 'input-blocks-wrapper button' ]) ?> - + isNewRecord) { echo Html::a('Удалить', [ 'accounts/portfolio-delete', @@ -161,8 +162,12 @@ use yii\web\JsExpression; 'data-pjax' => 0, ]); } - ?> - + ?> +
+ +
+ +
-
+
isNewRecord?'Добавить':'Обновить', [ 'class' => 'input-blocks-wrapper button' ]) ?> - isNewRecord) { - echo Html::a('Удалить', [ - 'accounts/projects-delete', - 'id' => $project->project_id, - ], [ - 'title' => 'Удалить', - 'aria-label' => 'Удалить', - 'data-confirm' => 'Вы уверены, что хотите удалить этот элемент?', - 'data-method' => 'post', - 'data-pjax' => 0, - ]); - } - ?> - +
+ isNewRecord) { + echo Html::a('Удалить', [ + 'accounts/projects-delete', + 'id' => $project->project_id, + ], [ + 'title' => 'Удалить', + 'aria-label' => 'Удалить', + 'data-confirm' => 'Вы уверены, что хотите удалить этот элемент?', + 'data-method' => 'post', + 'data-pjax' => 0, + ]); + } + ?> +
+
+ +
diff --git a/frontend/views/accounts/_team_form.php b/frontend/views/accounts/_team_form.php index 18580d1..ad5a04e 100644 --- a/frontend/views/accounts/_team_form.php +++ b/frontend/views/accounts/_team_form.php @@ -115,24 +115,27 @@
-
+
'input-blocks-wrapper button' ]) ?> - isNewRecord) { - echo Html::a('Удалить', [ - 'accounts/team-delete', - 'id' => $team->team_id, - ], [ - 'title' => 'Удалить', - 'aria-label' => 'Удалить', - 'data-confirm' => 'Вы уверены, что хотите удалить этот элемент?', - 'data-method' => 'post', - 'data-pjax' => 0, - 'class'=>'btn' - ]); - } - ?> - +
+ isNewRecord) { + echo Html::a('Удалить', [ + 'accounts/team-delete', + 'id' => $team->team_id, + ], [ + 'title' => 'Удалить', + 'aria-label' => 'Удалить', + 'data-confirm' => 'Вы уверены, что хотите удалить этот элемент?', + 'data-method' => 'post', + 'data-pjax' => 0, + ]); + } + ?> +
+
+ +
diff --git a/frontend/views/accounts/_vacancy_form.php b/frontend/views/accounts/_vacancy_form.php index 1804a31..a1a5a36 100644 --- a/frontend/views/accounts/_vacancy_form.php +++ b/frontend/views/accounts/_vacancy_form.php @@ -173,9 +173,10 @@
-
+
isNewRecord?'Добавить':'Обновить', [ 'class' => 'input-blocks-wrapper button' ]) ?> - + isNewRecord) { echo Html::a('Удалить', [ 'accounts/vacancy-delete', @@ -188,8 +189,11 @@ 'data-pjax' => 0, ]); } - ?> - + ?> +
+
+ +
diff --git a/frontend/views/accounts/gallery-video.php b/frontend/views/accounts/gallery-video.php index a571f9d..0bfdecb 100644 --- a/frontend/views/accounts/gallery-video.php +++ b/frontend/views/accounts/gallery-video.php @@ -28,7 +28,7 @@ $this->params[ 'breadcrumbs' ][] = $this->title;
-
+
diff --git a/frontend/views/accounts/projects.php b/frontend/views/accounts/projects.php index d61a4e2..4a3aa67 100755 --- a/frontend/views/accounts/projects.php +++ b/frontend/views/accounts/projects.php @@ -13,9 +13,9 @@ $this->params[ 'breadcrumbs' ][] = $this->title; ?>
title ?>
-

+

'btn btn-success' ]) ?> -

+
['class'=>'style admin-all-pages-wr'], 'dataProvider' => $dataProvider, diff --git a/frontend/web/css/style.css b/frontend/web/css/style.css index 19d31af..4be0314 100755 --- a/frontend/web/css/style.css +++ b/frontend/web/css/style.css @@ -6092,4 +6092,62 @@ a {color: #0072bc} input[disabled], select[disabled] { cursor: default; background: #f1f1f1; +} +.admin-remove-note {float: right} +.admin-remove-note a{ + width: 160px; + height: 29px; + color: #D40000; + display: block; + border: 1px solid #D40000; + font-size: 13px; + line-height: 29px; + margin-top: 0; + outline: none; + border-radius: 4px; + text-decoration: none; +} + +.admin-remove-note a:hover{ + transition: 0.2s; + color: #fff; + background: #D40000; +} +.admin-remove-note a:focus { + background: #BB0202; + color: #fff; + border: 1px solid #BB0202; +} +.admin-back-note {float: left} +.admin-back-note a{ + height: 29px; + display: block; + font-size: 13px; + line-height: 29px; + margin-top: 0; + outline: none; + text-decoration: none; + float: left; + position: relative; + padding-left: 21px; +} +.admin-back-note a:before { + content: ''; + width: 11px; + height: 8px; + position: absolute; + left: 0; + top: 50%; + margin-top: -4px; + background: url("/images/arrow_back_01.png") no-repeat; +} +.admin-back-note a:hover { + text-decoration: underline; +} +.admin-back-note:hover a::before { + background: url("/images/arrow_back_01-hover.png") no-repeat; +} +.admin-add-remove-wr button{ + float: right; + margin-left: 10px; } \ No newline at end of file -- libgit2 0.21.4