forked from aslan/applicant-site
Compare commits
No commits in common. "794b0db6a1a463c37b007922d7499d17b9bc46a4" and "22e6a16c328f51378e54685fc3aa1c88fa46e8c8" have entirely different histories.
794b0db6a1
...
22e6a16c32
|
@ -14,7 +14,7 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
php-version: [ '8.2' ]
|
||||
php-version: [ '8.3' ]
|
||||
node-version: ['20.x']
|
||||
composer-version: ['2.6.6']
|
||||
|
||||
|
@ -28,6 +28,7 @@ jobs:
|
|||
coverage: xdebug
|
||||
extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite, gd
|
||||
tools: composer:${{ matrix.composer-version }}
|
||||
ini-values: opcache.enable_cli=1
|
||||
env:
|
||||
debug: true
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@ namespace App\Services;
|
|||
|
||||
use Illuminate\Support\Facades\URL;
|
||||
|
||||
// phpcs:disable
|
||||
class DirectonHtmlBuilder
|
||||
{
|
||||
private array $direction;
|
||||
|
@ -81,6 +80,7 @@ class DirectonHtmlBuilder
|
|||
<br>
|
||||
<div class=" d-inline-block p-2 text-start">';
|
||||
if(array_key_exists('СПО', $direction['entrance_examinations'])){
|
||||
|
||||
foreach ($direction['entrance_examinations']['СПО']['Обязательные'] as $key => $el) {
|
||||
$SPO .= '<span style="font-family: Geologica-ExtraLight">' . $key . '</span> - ' . '<strong>' . $el . '</strong><br>' ;
|
||||
}
|
||||
|
@ -93,6 +93,7 @@ class DirectonHtmlBuilder
|
|||
|
||||
$mgtu = '';
|
||||
if(array_key_exists('МГТУ', $direction['budget_places'])){
|
||||
|
||||
foreach ($direction['budget_places']['МГТУ'] as $profile_name => $profile) {
|
||||
$profile_content ='';
|
||||
foreach($profile as $forms => $budget_places){
|
||||
|
@ -127,6 +128,7 @@ class DirectonHtmlBuilder
|
|||
|
||||
$filial = '';
|
||||
if(array_key_exists('Филиал МГТУ (пос. Яблоновский)', $direction['budget_places'])){
|
||||
|
||||
foreach ($direction['budget_places']['Филиал МГТУ (пос. Яблоновский)'] as $profile_name => $profile) {
|
||||
$profile_content ='';
|
||||
foreach($profile as $forms => $budget_places){
|
||||
|
@ -149,12 +151,14 @@ class DirectonHtmlBuilder
|
|||
</div>
|
||||
</div>" ;
|
||||
}
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
$filial = '<div class="w-100 h-100 d-flex justify-content-center align-items-center" >Этой специальности нет в филиалле</div>';
|
||||
}
|
||||
$paid_places_content = '';
|
||||
foreach ($direction['paid_places'] as $institution) {
|
||||
foreach ($institution as $profile_name => $profile) {
|
||||
|
||||
$profile_content = '';
|
||||
foreach ($profile as $forms => $paid_places) {
|
||||
$profile_content .= "<strong> {$forms} </strong> - " . "<span style=\'font-family: Geologica-ExtraLight\'> {$paid_places} </span><br>";
|
||||
|
@ -175,6 +179,7 @@ class DirectonHtmlBuilder
|
|||
</div>
|
||||
</div>
|
||||
</div>" ;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -420,7 +420,7 @@
|
|||
type="button" data-bs-toggle="offcanvas"
|
||||
data-bs-target="#offcanvasScrolling-{{ $direction['id'] }}"
|
||||
aria-controls="offcanvasScrolling"
|
||||
role="button" style="background: white">{{ $direction['name'] }}</a>
|
||||
role="button">{{ $direction['name'] }}</a>
|
||||
|
||||
@php
|
||||
$DirectonHtmlBuilder = new DirectonHtmlBuilder($direction);
|
||||
|
@ -486,7 +486,7 @@
|
|||
<div
|
||||
style="background-image: url({{ URL::to('img/front-page/bakalavr-special/fon2_blok.png') }}); background-repeat: no-repeat; background-attachment: fixed;">
|
||||
|
||||
<div class="container-fluid ms-sm-5 py-5">
|
||||
<div class="container-fluid ms-sm-5 pt-5">
|
||||
<div class="row">
|
||||
<div class="display-5 col-12 text-white mb-3 text-center text-md-start "
|
||||
style=" font-weight: 700; letter-spacing: 0em; ">
|
||||
|
@ -588,14 +588,14 @@
|
|||
|
||||
|
||||
</div>
|
||||
<div class="d-md-block d-none"><br><br><br><br><br><br><br><br><br><br><br><br><br></div>
|
||||
<br><br><br><br><br><br><br><br><br><br><br><br><br>
|
||||
</div>
|
||||
<div
|
||||
style="background-image: url({{ URL::to('img/front-page/bakalavr-special/fon4_blok.png') }}); background-repeat: no-repeat; background-attachment: fixed;">
|
||||
|
||||
<div class="container-fluid ms-sm-5 pt-5">
|
||||
<div class="row">
|
||||
<div class="col d-lg-block d-flex justify-content-center">
|
||||
<div class="col-6">
|
||||
<div class="display-5 col-12 mb-3 text-center text-md-start gradient-text "
|
||||
style=" font-weight: 700; letter-spacing: 0em; ">
|
||||
ЭКРАН ПРИЕМА
|
||||
|
@ -624,8 +624,8 @@
|
|||
</a>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="mt-3 d-flex justify-content-start scroll-1 ps-lg-0 ms-lg-0 ps-3 ms-3">
|
||||
<div class="row ps-2 scroll-1 mb-4 " style=" overflow:auto; width: 95%; height: 60em;">
|
||||
<div class="mt-3 d-flex justify-content-center scroll-1">
|
||||
<div class="row w-75 h-75 ps-2 scroll-1" style=" overflow:auto;">
|
||||
<div class="col-11 ">
|
||||
<div class="row shadow-lg mt-3 bg-white" style=" border-radius: 20px;">
|
||||
<div class="col-9 m-3">
|
||||
|
@ -796,10 +796,13 @@
|
|||
|
||||
</div>
|
||||
|
||||
<br><br><br><br><br><br><br><br>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br>
|
||||
<br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue