forked from aslan/applicant-site
Compare commits
No commits in common. "bc0c9b6987b72bf2d8f52641d0d442316936f4a1" and "d2b14996595372a4421e7f89f9617d033ae62aef" have entirely different histories.
bc0c9b6987
...
d2b1499659
|
@ -196,12 +196,12 @@ class DirectonHtmlBuilderForCalculator
|
||||||
<div class=\"fs-5 mb-3 d-flex \" style=\"font-family: Geologica-Light\">
|
<div class=\"fs-5 mb-3 d-flex \" style=\"font-family: Geologica-Light\">
|
||||||
|
|
||||||
<button type='button' class='calc_green_circle_button hover2 btn btn-outline-success' data-institut='mgtu' data-id='{$direction['id']}calc'>
|
<button type='button' class='calc_green_circle_button hover2 btn btn-outline-success' data-institut='mgtu' data-id='{$direction['id']}calc'>
|
||||||
<img style='width: 12px; height: auto;' id = 'id_mgtu_{$direction['id']}calc' src='img/front-page/green-circle.png'>
|
<img style='width: 8px; height: auto;' id = 'id_mgtu_{$direction['id']}calc' src='img/front-page/green-circle.png'>
|
||||||
МГТУ
|
МГТУ
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button type='button' class='ms-2 calc_green_circle_button hover2 btn btn-outline-success' data-institut='filial' data-id='{$direction['id']}calc'>
|
<button type='button' class='ms-2 calc_green_circle_button hover2 btn btn-outline-success' data-institut='filial' data-id='{$direction['id']}calc'>
|
||||||
<img style='display: none; width: 12px; height: auto;' id = 'id_filial_{$direction['id']}calc' src='img/front-page/green-circle.png'> Филиал МГТУ (пос. Яблоновский)
|
<img style='display: none; width: 8px; height: auto;' id = 'id_filial_{$direction['id']}calc' src='img/front-page/green-circle.png'> Филиал МГТУ (пос. Яблоновский)
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -220,9 +220,7 @@
|
||||||
.disabled {
|
.disabled {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.visually-impaired-text {
|
|
||||||
font-size: 150%!important;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -231,15 +229,6 @@
|
||||||
$(document).on("click", ".visually_impaired_mode_button", function () {
|
$(document).on("click", ".visually_impaired_mode_button", function () {
|
||||||
|
|
||||||
|
|
||||||
if(!$("body").hasClass('visually-impaired-text')){
|
|
||||||
$("body").addClass('visually-impaired-text')
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
$("body").removeClass('visually-impaired-text')
|
|
||||||
}
|
|
||||||
|
|
||||||
if($('div, a, p').hasClass('visually_impaired_mode_bg')){
|
if($('div, a, p').hasClass('visually_impaired_mode_bg')){
|
||||||
$(".visually_impaired_mode").removeClass('visually_impaired_mode_bg');
|
$(".visually_impaired_mode").removeClass('visually_impaired_mode_bg');
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@ class FeedbackTest extends TestCase
|
||||||
->withSession(['banned' => false])
|
->withSession(['banned' => false])
|
||||||
->post(route('feedback.store'), $this->data);
|
->post(route('feedback.store'), $this->data);
|
||||||
|
|
||||||
$response->assertRedirect();
|
$response->assertJson(["result" => "success"]);
|
||||||
|
|
||||||
$this->assertDatabaseHas('feedback', $this->data);
|
$this->assertDatabaseHas('feedback', $this->data);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue