Commit 77ca3110 authored by PedroLopesUPE's avatar PedroLopesUPE
Browse files

Modificação de estilo dos PADs de tabela para lista de informações

Com refatorações de nomes de variáveis e  adição de mais uma camada de informações no array $treated_model
parent fb910965
This diff is collapsed.
<header style="display: flex; direction: rtl"> <header style="display: flex; direction: rtl">
</header> </header>
<div style="display: flex; flex-direction: column; gap: 4rem"> <div style="display: flex; flex-direction: column; gap: 2.5rem">
@foreach ($data['model'] as $nome_dimensao=>$dimensao) @foreach ($data['model'] as $nome_dimensao=>$dimensao)
<h1>{{$nome_dimensao}}</h1> <h1 style="font-size: 16px; font-weight: bold">
{{$nome_dimensao}}
</h1>
<div> <div>
@foreach ($dimensao as $nome_categoria=>$categoria) @foreach ($dimensao as $nome_categoria=>$categoria)
<h3>{{$nome_categoria}}</h3> <h4 style="font-size: 14px">
{{$nome_categoria}}
</h4>
@foreach ($categoria as $item_name=>$item) @foreach ($categoria as $nome_item=>$item)
<table style="border-radius: 5px; background-color: #F2F2F2; <ul style="font-size: 14px">
min-width: 600px; box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25); min-height: 50px; "> @foreach ($item as $nome_tarefa=>$tarefa)
<li style="font-weight: bold">
<thead class="thead-dark"> {{$nome_tarefa}}
<tr> </li>
@foreach ($item as $value_name=>$value) <ul style="font-size: 13px">
<th style="font-weight: 600; padding: 0.3rem 0.7rem 0.7rem 0.3rem" scope="col"> @foreach ($tarefa as $nome_valor=>$valor)
{{$value_name}} <li>
</th> {{$nome_valor}}: {{$valor}}
@endforeach </li>
</tr>
</thead>
<tbody>
<tr>
@foreach ($item as $value_name=>$value)
<td style="border: 1px solid #000; vertical-align: middle;
padding: 0.3rem 0.5rem 0.5rem 0.3rem">
{{$value}}
</td>
@endforeach @endforeach
</tr> </ul>
</tbody>
</table>
<div style="height: 3rem"></div>
@endforeach @endforeach
</ul>
<div style="height: 1.5rem"></div> <div style="height: 1.5rem"></div>
@endforeach @endforeach
<table style="border-radius: 10px; background-color: #F2F2F2; <div style="height: 1rem"></div>
min-width: 600px; box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25); @endforeach
min-height: 50px;"> <ul style="font-size: 14px; list-style-type: square">
<li>TOTAL DE HORAS: {{ $data['horas'][$nome_dimensao] }}</li>
<thead class="thead-dark"> </ul>
<tr>
<th style="text-align: center" scope="col">TOTAL DE HORAS</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border: 1px solid #000; vertical-align: middle; text-align: center;
padding: 0.3rem 0.5rem 0.5rem 0.3rem">
{{ $data['horas'][$nome_dimensao] }}
</td>
</tr>
</tbody>
</table>
</div> </div>
@endforeach @endforeach
</div> </div>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment