diff --git a/frontend/views/accounts/_projects_form.php b/frontend/views/accounts/_projects_form.php index 4d4b071..1fa2439 100644 --- a/frontend/views/accounts/_projects_form.php +++ b/frontend/views/accounts/_projects_form.php @@ -142,47 +142,83 @@
- field($project, 'payment_variant') - ->radioList([ - 1 => 'Без предоплаты', - 2 => 'Предоплата возможна', - ],[ - 'item' => function($index, $label, $name, $checked, $value) { - $return = '
'; - $return .= ''; - $return .= ''; - $return .= '
'; - return $return; - } - ]) ?> +
+ field($project, 'payment_variant') + ->radioList([ + 1 => 'Без предоплаты', + 2 => 'Предоплата возможна', + ],[ + 'item' => function($index, $label, $name, $checked, $value) { + $return = '
'; + $return .= ''; + $return .= ''; + $return .= '
'; + return $return; + } + ]) ?> +
+
+
+ field($project, 'paymentInput') + ->checkboxList($payment,[ + 'item' => function($index, $label, $name, $checked, $value) { + $return = '
'; + $return .= ''; + $return .= ''; + $return .= '
'; + return $return; + } + ]) ?> +
+
-field($project, 'paymentInput') - ->checkboxList($payment) ?>
+
+ field($project, 'deadline', [ 'template' => "{label}
{input}дней\n{hint}\n{error}" ]) + ->textInput (['class'=> 'custom-input-2 custom-input-2-date','type'=>'number']) ?> +
+
+ +
- field($project, 'deadline', [ 'template' => "{label}{input} дней\n{hint}\n{error}" ]) - ->textInput (['class'=> 'custom-input-2','type'=>'number']) ?> + field($project, 'description') + ->widget(CKEditor::className()) ?>
+
+
+
+
Присоединить файл
+
Загрузить
+
До 3 Мб файл
+
+
+ field($project, 'file') -field($project, 'description') - ->widget(CKEditor::className()) ?> + ->fileInput([ 'multiple' => 'multiple' ]) ?> +
-field($project, 'file') - ->fileInput([ 'multiple' => 'multiple' ]) ?> +
+
-field($project, 'date_end') - ->dropDownList([ - 1 => 'Неделя', - 2 => '2 неделю', - 3 => 'Месяц', - ]) ?> +
+
+ field($project, 'date_end') + ->dropDownList([ + 1 => 'Неделя', + 2 => '2 неделю', + 3 => 'Месяц', + ]) ?> +
+
@@ -228,5 +264,14 @@ $('.admin-project-list-two input, .admin-project-list-two select').removeAttr('disabled') } }) + + + $('.admin-project-file input[type="file"]').change(function(){ + var strInput = this.value + $('.admin-project-file .not-file-mb-adm').html(strInput.replace(/^.*\\/, "")) + + }); + + }) - \ No newline at end of file + diff --git a/frontend/web/css/style.css b/frontend/web/css/style.css index 4be0314..9a22c3f 100755 --- a/frontend/web/css/style.css +++ b/frontend/web/css/style.css @@ -4571,7 +4571,7 @@ ul.download-list-files li:hover .download-link {transition: 0.2s; opacity: 1; -m } .custom-input-2.fix-input-2 {width: 100%} .custom-input-2:focus, .selectize-input input:focus {border: 1px solid #dcdcdc;box-shadow: 1px 2px 2px 0px rgba(215, 215, 215, 0.75) inset; transition: 0.1s; outline: none} - +.input-blocks select {margin-top: 5px} .input-blocks label, .skills-title { font-size: 13px; color: inherit; @@ -4636,7 +4636,7 @@ input.custom-radio + label span { input.custom-radio:checked + label span, input.custom-radio:checked + label:hover span { background: url(/images/sets-ico/radio.png) no-repeat;transition: .2s; } -input.custom-radio + label:hover{ border-bottom: 1px solid #333;} +input.custom-radio + label:hover, input.custom-check + label:hover{ border-bottom: 1px solid #333;} input.custom-check + label span { width: 12px; height: 12px; @@ -6150,4 +6150,47 @@ input[disabled], select[disabled] { .admin-add-remove-wr button{ float: right; margin-left: 10px; +} +#project-budget_currency[disabled]{ + background: #f1f1f1 url("/images/sets-ico/select-arrow-disabled.jpg")right center no-repeat; +} +.admin-project-days input{margin-left: 0!important;} +.select2-container--krajee .select2-selection {border: 1px solid #dcdcdc !important;} +.admin-project-file { + position: relative; + height: 54px; +} +.admin-project-file .admin-project-file-btn{ + background: #fff; + color: #0072bc; + height: 29px; + border: 1px solid #0072bc; + padding: 0; + width: 160px; + line-height: 29px; + font-size: 13px; + text-align: center; + float: left; + border-radius: 4px; + cursor: pointer; +} +.admin-project-file .admin-project-file-btn:hover{ + transition: 0.2s; + background: #0072bc; + color: #fff; +} +.admin-project-file .gen-admin-title{ + font-size: 13px; + font-weight: 700; + margin-bottom: 10px; +} +.admin-project-file input[type="file"]{ + width: 360px; + height: 29px; + cursor: pointer; +} +.admin-project-file .not-file-mb-adm{ + position: static; + margin-left: 10px; + width: 540px; } \ No newline at end of file -- libgit2 0.21.4