styling fixes

This commit is contained in:
Nabeel Shahzad 2018-04-08 16:00:22 -05:00
parent 5a30ba683e
commit f842e86885
4 changed files with 11 additions and 6 deletions

View File

@ -381,6 +381,8 @@ class Metar implements \ArrayAccess
/**
* Gets the value from result array as class property.
* @param $parameter
* @return mixed|null
*/
public function __get($parameter)
{

View File

@ -6,7 +6,7 @@
<h5>
<a class="text-c"
href="{{ route('admin.pireps.edit', [$pirep->id]) }}">
{{ $pirep->ident }}
{{ $pirep->airline->code }}{{ $pirep->ident }}
</a>
</h5>
<div>

View File

@ -2,9 +2,14 @@
<div class="card-block" style="min-height: 0px">
<div class="row">
<div class="col-12">
<p class="float-right">
<a href="{{ route('frontend.pireps.edit', [
'id' => $pirep->id,
]) }}" class="btn btn-sm btn-info">edit</a>
</p>
<h5>
<a href="{{ route('frontend.pireps.show', [$pirep->id]) }}">
{{ $pirep->ident }}
{{ $pirep->airline->code }}{{ $pirep->ident }}
</a>
-
{{ $pirep->dpt_airport->name }}
@ -58,9 +63,7 @@
</table>
</div>
<div class="col-sm-6">
<p style="text-align: right;">
<a href="{{ route('frontend.pireps.edit', ['id'=>$pirep->id]) }}">edit</a>
</p>
</div>
</div>
</div>

View File

@ -1,2 +1,2 @@
@each("pireps.pirep_card", $pireps, 'pirep')
@each('pireps.pirep_card', $pireps, 'pirep')