forked from aslan/applicant-site
Compare commits
No commits in common. "bc0cd7989c8721efb25ecebb0462f69098093daf" and "794b0db6a1a463c37b007922d7499d17b9bc46a4" have entirely different histories.
bc0cd7989c
...
794b0db6a1
|
@ -14,7 +14,7 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
php-version: [ '8.3' ]
|
||||
php-version: [ '8.2' ]
|
||||
node-version: ['20.x']
|
||||
composer-version: ['2.6.6']
|
||||
|
||||
|
@ -25,9 +25,9 @@ jobs:
|
|||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php-version }}
|
||||
coverage: xdebug
|
||||
extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite, gd
|
||||
tools: composer:${{ matrix.composer-version }}
|
||||
ini-values: opcache.enable_cli=1, extension=gd
|
||||
env:
|
||||
debug: true
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ class DirectonHtmlBuilder
|
|||
$paid_cost = '<div class="col-auto ">
|
||||
<strong class="fs-3"> Стоимость обучения </strong>
|
||||
<br>
|
||||
|
||||
<br>
|
||||
<div class="fs-4 text-start">';
|
||||
foreach ($direction['cost_paid_place'] as $key => $el) {
|
||||
$paid_cost .= '<span style="font-family: Geologica-ExtraLight">' . $key . '</span> - ' . '<strong>' . $el . '</strong><br>' ;
|
||||
|
@ -53,7 +53,7 @@ class DirectonHtmlBuilder
|
|||
$EGE = '<div class="col-auto ">
|
||||
<strong> ЕГЭ </strong>
|
||||
<br>
|
||||
|
||||
<br>
|
||||
<div class=" d-inline-block p-2 text-start">';
|
||||
foreach ($direction['entrance_examinations']['ЕГЭ']['Обязательные'] as $key => $el) {
|
||||
$EGE .= '<span style="font-family: Geologica-ExtraLight">' . $key . '</span> - ' . '<strong>' . $el . '</strong><br>' ;
|
||||
|
@ -63,7 +63,7 @@ class DirectonHtmlBuilder
|
|||
$po_viboru = '<div class="col-auto ">
|
||||
<strong> Предметы по выбору </strong>
|
||||
<br>
|
||||
|
||||
<br>
|
||||
<div class=" d-inline-block p-2 text-start">';
|
||||
if (array_key_exists('Предметы по выбору', $direction['entrance_examinations']['ЕГЭ'])) {
|
||||
foreach ($direction['entrance_examinations']['ЕГЭ']['Предметы по выбору'] as $key => $el) {
|
||||
|
@ -78,7 +78,7 @@ class DirectonHtmlBuilder
|
|||
$SPO = '<div class="col-auto ">
|
||||
<strong> СПО </strong>
|
||||
<br>
|
||||
|
||||
<br>
|
||||
<div class=" d-inline-block p-2 text-start">';
|
||||
if (array_key_exists('СПО', $direction['entrance_examinations'])) {
|
||||
foreach ($direction['entrance_examinations']['СПО']['Обязательные'] as $key => $el) {
|
||||
|
@ -100,9 +100,9 @@ class DirectonHtmlBuilder
|
|||
}
|
||||
$tmp = str_replace(' ', '', $profile_name);
|
||||
$tmp = str_replace(',', '', $tmp);
|
||||
$mgtu .= "<div class=\"accordion\" id=\"accordionExample\" >
|
||||
<div class=\"accordion-item\" style='border-radius: 20px;'>
|
||||
<h2 class=\"accordion-header\" style='border-radius: 20px;'>
|
||||
$mgtu .= "<div class=\"accordion\" id=\"accordionExample\">
|
||||
<div class=\"accordion-item\">
|
||||
<h2 class=\"accordion-header\">
|
||||
<button class=\"accordion-button\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#collapse-{$tmp}\" aria-expanded=\"true\" aria-controls=\"collapse-{$tmp}\">
|
||||
$profile_name
|
||||
</button>
|
||||
|
@ -135,8 +135,8 @@ class DirectonHtmlBuilder
|
|||
$tmp = str_replace(' ', '', $profile_name);
|
||||
$tmp = str_replace(',', '', $tmp);
|
||||
$filial .= "<div class=\"accordion \" id=\"accordionExample\">
|
||||
<div class=\"accordion-item\" style='border-radius: 20px;'>
|
||||
<h2 class=\"accordion-header\" style='border-radius: 20px;'>
|
||||
<div class=\"accordion-item\">
|
||||
<h2 class=\"accordion-header\">
|
||||
<button class=\"accordion-button\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#collapse-{$tmp}\" aria-expanded=\"true\" aria-controls=\"collapse-{$tmp}\">
|
||||
$profile_name
|
||||
</button>
|
||||
|
@ -162,8 +162,8 @@ class DirectonHtmlBuilder
|
|||
$tmp = str_replace(' ', '', $profile_name);
|
||||
$tmp = str_replace(',', '', $tmp);
|
||||
$paid_places_content .= "<div class=\"accordion \" id=\"accordionExample\">
|
||||
<div class=\"accordion-item\" style='border-radius: 20px;'>
|
||||
<h2 class=\"accordion-header\" style='border-radius: 20px;'>
|
||||
<div class=\"accordion-item\">
|
||||
<h2 class=\"accordion-header\">
|
||||
<button class=\"accordion-button\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#collapse-{$tmp}{$tmp}\" aria-expanded=\"true\" aria-controls=\"collapse-{$tmp}{$tmp}\">
|
||||
$profile_name
|
||||
</button>
|
||||
|
@ -196,12 +196,12 @@ class DirectonHtmlBuilder
|
|||
<div class=\"fs-5 mb-3 \" style=\"font-family: Geologica-Light\">
|
||||
|
||||
<button type='button' class='button_chng_instit hover2 btn btn-outline-success' data-institut='mgtu' data-id='{$direction['id']}'>
|
||||
<img style='width: 12px; height: auto;' id = 'id_mgtu_{$direction['id']}' src='img/front-page/green-circle.png'>
|
||||
<img style='width: 8px; height: auto;' id = 'id_mgtu_{$direction['id']}' src='img/front-page/green-circle.png'>
|
||||
МГТУ
|
||||
</button> |
|
||||
|
||||
<button type='button' class='button_chng_instit hover2 btn btn-outline-success' data-institut='filial' data-id='{$direction['id']}'>
|
||||
<img style='display: none; width: 12px; height: auto;' id = 'id_filial_{$direction['id']}' src='img/front-page/green-circle.png'> Филиал МГТУ (пос. Яблоновский)
|
||||
<img style='display: none; width: 8px; height: auto;' id = 'id_filial_{$direction['id']}' src='img/front-page/green-circle.png'> Филиал МГТУ (пос. Яблоновский)
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -224,19 +224,6 @@
|
|||
background-image: linear-gradient(to right, rgb(38, 159, 239), 20%, rgb(2, 142, 229));
|
||||
transition: 0.3s;
|
||||
}
|
||||
.accordion-button:not(.collapsed) {
|
||||
color: #007337;
|
||||
background-color: transparent;
|
||||
box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
|
||||
}
|
||||
.accordion-button:focus {
|
||||
|
||||
box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
|
||||
}
|
||||
.accordion-button:not(.collapsed)::after {
|
||||
background-image: url({{ URL::to("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#35af00' %3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}});
|
||||
transform: rotate(-180deg);
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue