Skip to content

Commit

Permalink
styling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeelio committed Apr 8, 2018
1 parent 5a30ba6 commit f842e86
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
2 changes: 2 additions & 0 deletions app/Support/Metar.php
Expand Up @@ -381,6 +381,8 @@ public static function parse($metar, $taf = '')

/**
* Gets the value from result array as class property.
* @param $parameter
* @return mixed|null
*/
public function __get($parameter)
{
Expand Down
2 changes: 1 addition & 1 deletion resources/views/admin/pireps/pirep_card.blade.php
Expand Up @@ -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>
Expand Down
11 changes: 7 additions & 4 deletions resources/views/layouts/default/pireps/pirep_card.blade.php
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/layouts/default/pireps/table.blade.php
@@ -1,2 +1,2 @@
@each("pireps.pirep_card", $pireps, 'pirep')
@each('pireps.pirep_card', $pireps, 'pirep')

0 comments on commit f842e86

Please sign in to comment.