admin-reception-screen changes
Tests & Lint & Deploy to Railway / build (20.x, 8.2) (pull_request) Failing after 2m13s Details

This commit is contained in:
ROMANGOLIENKO 2024-02-01 14:22:47 +03:00
parent 42a9fe816f
commit 42d674cbd6
1 changed files with 29 additions and 8 deletions

View File

@ -1,5 +1,20 @@
@extends('layouts.admin-layout') @extends('layouts.admin-layout')
@section('content') @section('content')
<style>
.accordion-button:not(.collapsed)
{
color:#006147;
background-color: rgb(255, 255, 255);
box-shadow:inset 0 -1px 0 rgba(0,0,0,.125)
}
.accordion-button:focus {
z-index: 3;
border-color: #006147;
outline: 0;
box-shadow: 0 0 0 0.25rem #006147;
}
</style>
<div class="container"> <div class="container">
<h2>Экран Приема</h2> <h2>Экран Приема</h2>
<br> <br>
@ -19,7 +34,7 @@
<tbody class="accordion" id="accordionExample"> <tbody class="accordion" id="accordionExample">
@foreach($receptionScreens as $receptionScreen) @foreach($receptionScreens as $receptionScreen)
<?php $accordion_tmp = str_replace(' ','', $receptionScreen->name) ?> <?php $accordion_tmp = str_replace(' ','', $receptionScreen->name) ?>
<tr class="accordion-item"> <tr class="accordion-item ">
<th scope="row">{{ $receptionScreen->position }}</th> <th scope="row">{{ $receptionScreen->position }}</th>
<td>{{ $receptionScreen->name }}</td> <td>{{ $receptionScreen->name }}</td>
@ -30,7 +45,7 @@
</a> </a>
</td> </td>
<th class="accordion-header" id="heading<?php echo $accordion_tmp ?>"> <th class="accordion-header" id="heading<?php echo $accordion_tmp ?>">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapse<?php echo $accordion_tmp ?> " aria-expanded="false" aria-controls="collapse<?php echo $accordion_tmp ?>"> <button class="accordion-button collapsed btn btn-secondary" type="button" data-bs-toggle="collapse" data-bs-target="#collapse<?php echo $accordion_tmp ?> " aria-expanded="false" aria-controls="collapse<?php echo $accordion_tmp ?>">
Показать Показать
</button> </button>
</th> </th>
@ -46,6 +61,7 @@
<th scope="col">Имя Файла</th> <th scope="col">Имя Файла</th>
<th scope="col">действия</th> <th scope="col">действия</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -64,18 +80,23 @@
</a> </a>
</td> </td>
</tr> </tr>
@endforeach @endforeach
<tr class=" border border-white border-bottom-0 border-start-0 border-end-0">
<td colspan="3"><div class="mb-2">
<a href="{{ route('files.create', $receptionScreen->id) }}"
class="btn btn-primary">
Добавить файл
</a>
</div></td>
</tr>
</tbody> </tbody>
</table> </table>
<div class="mb-2">
<a href="{{ route('files.create', $receptionScreen->id) }}"
class="btn btn-primary">
Добавить файл
</a>
</div>
</td> </td>
</tr> </tr>