-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #277 from NizarBerjawi/develop
Develop
- Loading branch information
Showing
9 changed files
with
368 additions
and
306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,37 @@ | ||
@extends('layouts.base') | ||
|
||
@section('content') | ||
<div class="content"> | ||
<article class="panel pb-4"> | ||
<p class="panel-heading">Continents</p> | ||
<div class="container"> | ||
<section class="section"> | ||
<div class="content"> | ||
<div class="columns"> | ||
<div class="column is-10 is-offset-1"> | ||
<article class="panel pb-4"> | ||
<p class="panel-heading">Continents</p> | ||
|
||
<div class="table-container"> | ||
<table class='table'> | ||
<tr> | ||
<th>Code</th> | ||
<th>Name</th> | ||
</tr> | ||
<div class="table-container"> | ||
<table class='table'> | ||
<tr> | ||
<th>Code</th> | ||
<th>Name</th> | ||
</tr> | ||
|
||
<tbody> | ||
@foreach ($continents as $continent) | ||
<tr> | ||
<td>{{ $continent->code }}</td> | ||
<td>{{ $continent->name }}</td> | ||
</tr> | ||
@endforeach | ||
</tbody> | ||
</table> | ||
<tbody> | ||
@foreach ($continents as $continent) | ||
<tr> | ||
<td>{{ $continent->code }}</td> | ||
<td>{{ $continent->name }}</td> | ||
</tr> | ||
@endforeach | ||
</tbody> | ||
</table> | ||
</div> | ||
|
||
{{ $continents->onEachSide(1)->links('partials.pagination') }} | ||
</article> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
{{ $continents->onEachSide(1)->links('partials.pagination') }} | ||
</article> | ||
</section> | ||
</div> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,37 @@ | ||
@extends('layouts.base') | ||
|
||
@section('content') | ||
<div class="content"> | ||
<article class="panel pb-4"> | ||
<p class="panel-heading">Countries</p> | ||
<div class="container"> | ||
<section class="section"> | ||
<div class="content"> | ||
<div class="columns"> | ||
<div class="column is-10 is-offset-1"> | ||
<article class="panel pb-4"> | ||
<p class="panel-heading">Countries</p> | ||
|
||
<div class="table-container"> | ||
<table class='table'> | ||
<tr> | ||
<th>Code</th> | ||
<th>Name</th> | ||
</tr> | ||
<div class="table-container"> | ||
<table class='table'> | ||
<tr> | ||
<th>Code</th> | ||
<th>Name</th> | ||
</tr> | ||
|
||
<tbody> | ||
@foreach ($countries as $country) | ||
<tr> | ||
<td>{{ $country->iso3166_alpha2 }}</td> | ||
<td>{{ $country->name }}</td> | ||
</tr> | ||
@endforeach | ||
</tbody> | ||
</table> | ||
<tbody> | ||
@foreach ($countries as $country) | ||
<tr> | ||
<td>{{ $country->iso3166_alpha2 }}</td> | ||
<td>{{ $country->name }}</td> | ||
</tr> | ||
@endforeach | ||
</tbody> | ||
</table> | ||
</div> | ||
|
||
{{ $countries->onEachSide(1)->links('partials.pagination') }} | ||
</article> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
{{ $countries->onEachSide(1)->links('partials.pagination') }} | ||
</article> | ||
</section> | ||
</div> | ||
@endsection |
96 changes: 52 additions & 44 deletions
96
resources/views/additionalResources/featureCodes.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,61 @@ | ||
@extends('layouts.base') | ||
|
||
@section('content') | ||
<div class="content"> | ||
<article class="panel pb-4"> | ||
<p class="panel-heading">Feature Codes</p> | ||
<p class="panel-tabs"> | ||
<a href={{ route('featureCodes') }} @class([ | ||
'is-active' => !request()->has('filter'), | ||
])> | ||
All | ||
</a> | ||
<div class="container"> | ||
<section class="section"> | ||
<div class="content"> | ||
<div class="columns"> | ||
<div class="column is-10 is-offset-1"> | ||
<article class="panel pb-4"> | ||
<p class="panel-heading">Feature Codes</p> | ||
<p class="panel-tabs"> | ||
<a href={{ route('featureCodes') }} @class([ | ||
'is-active' => !request()->has('filter'), | ||
])> | ||
All | ||
</a> | ||
|
||
@foreach ($featureClasses as $featureClass) | ||
<a href="{{ route('featureCodes', ['filter' => ['featureClassCode' => $featureClass->code]]) }}" | ||
@class([ | ||
'is-active' => | ||
$featureClass->code === request()->input('filter.featureClassCode'), | ||
])> | ||
{{ $featureClass->code }} | ||
</a> | ||
@endforeach | ||
</p> | ||
@foreach ($featureClasses as $featureClass) | ||
<a href="{{ route('featureCodes', ['filter' => ['featureClassCode' => $featureClass->code]]) }}" | ||
@class([ | ||
'is-active' => | ||
$featureClass->code === request()->input('filter.featureClassCode'), | ||
])> | ||
{{ $featureClass->code }} | ||
</a> | ||
@endforeach | ||
</p> | ||
|
||
<div class="table-container"> | ||
<table class='table'> | ||
<tr class="is-selected has-text-centered has-text-weight-bold"> | ||
<td colspan="3"> | ||
{{ $selectedFeatureClass ?? 'ALL' }} | ||
</td> | ||
</tr> | ||
<tr> | ||
<th>Code</th> | ||
<th>Short Description</th> | ||
<th>Full Description</th> | ||
</tr> | ||
<div class="table-container"> | ||
<table class='table'> | ||
<tr class="is-selected has-text-centered has-text-weight-bold"> | ||
<td colspan="3"> | ||
{{ $selectedFeatureClass ?? 'ALL' }} | ||
</td> | ||
</tr> | ||
<tr> | ||
<th>Code</th> | ||
<th>Short Description</th> | ||
<th>Full Description</th> | ||
</tr> | ||
|
||
<tbody> | ||
@foreach ($featureCodes as $featureCode) | ||
<tr> | ||
<td>{{ $featureCode->code }}</td> | ||
<td>{{ $featureCode->short_description }}</td> | ||
<td>{{ $featureCode->full_description }}</td> | ||
</tr> | ||
@endforeach | ||
</tbody> | ||
</table> | ||
<tbody> | ||
@foreach ($featureCodes as $featureCode) | ||
<tr> | ||
<td>{{ $featureCode->code }}</td> | ||
<td>{{ $featureCode->short_description }}</td> | ||
<td>{{ $featureCode->full_description }}</td> | ||
</tr> | ||
@endforeach | ||
</tbody> | ||
</table> | ||
</div> | ||
|
||
{{ $featureCodes->onEachSide(1)->links('partials.pagination') }} | ||
</article> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
{{ $featureCodes->onEachSide(1)->links('partials.pagination') }} | ||
</article> | ||
</section> | ||
</div> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,41 @@ | ||
@extends('layouts.base') | ||
|
||
@section('content') | ||
<div class="content"> | ||
<article class="panel pb-4"> | ||
<p class="panel-heading">Languages</p> | ||
<div class="container"> | ||
<section class="section"> | ||
<div class="content"> | ||
<div class="columns"> | ||
<div class="column is-10 is-offset-1"> | ||
<article class="panel pb-4"> | ||
<p class="panel-heading">Languages</p> | ||
|
||
<div class="table-container"> | ||
<table class='table'> | ||
<tr> | ||
<th>Name</th> | ||
<th>ISO639-1</th> | ||
<th>ISO639-2</th> | ||
<th>ISO639-3</th> | ||
</tr> | ||
<div class="table-container"> | ||
<table class='table'> | ||
<tr> | ||
<th>Name</th> | ||
<th>ISO639-1</th> | ||
<th>ISO639-2</th> | ||
<th>ISO639-3</th> | ||
</tr> | ||
|
||
<tbody> | ||
@foreach ($languages as $language) | ||
<tr> | ||
<td>{{ $language->name }}</td> | ||
<td>{{ $language->iso639_1 }}</td> | ||
<td>{{ $language->iso639_2 }}</td> | ||
<td>{{ $language->iso639_3 }}</td> | ||
</tr> | ||
@endforeach | ||
</tbody> | ||
</table> | ||
<tbody> | ||
@foreach ($languages as $language) | ||
<tr> | ||
<td>{{ $language->name }}</td> | ||
<td>{{ $language->iso639_1 }}</td> | ||
<td>{{ $language->iso639_2 }}</td> | ||
<td>{{ $language->iso639_3 }}</td> | ||
</tr> | ||
@endforeach | ||
</tbody> | ||
</table> | ||
</div> | ||
|
||
{{ $languages->onEachSide(1)->links('partials.pagination') }} | ||
</article> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
{{ $languages->onEachSide(1)->links('partials.pagination') }} | ||
</article> | ||
</section> | ||
</div> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,39 @@ | ||
@extends('layouts.base') | ||
|
||
@section('content') | ||
<div class="content"> | ||
<article class="panel pb-4"> | ||
<p class="panel-heading">Time Zones</p> | ||
<div class="container"> | ||
<section class="section"> | ||
<div class="content"> | ||
<div class="columns"> | ||
<div class="column is-10 is-offset-1"> | ||
<article class="panel pb-4"> | ||
<p class="panel-heading">Time Zones</p> | ||
|
||
<div class="table-container"> | ||
<table class='table'> | ||
<tr> | ||
<th>Code</th> | ||
<th>Time Zone</th> | ||
<th>GMT Offset</th> | ||
</tr> | ||
<div class="table-container"> | ||
<table class='table'> | ||
<tr> | ||
<th>Code</th> | ||
<th>Time Zone</th> | ||
<th>GMT Offset</th> | ||
</tr> | ||
|
||
<tbody> | ||
@foreach ($timeZones as $timeZone) | ||
<tr> | ||
<td>{{ $timeZone->code }}</td> | ||
<td>{{ $timeZone->time_zone }}</td> | ||
<td>{{ $timeZone->gmt_offset }}</td> | ||
</tr> | ||
@endforeach | ||
</tbody> | ||
</table> | ||
</div> | ||
<tbody> | ||
@foreach ($timeZones as $timeZone) | ||
<tr> | ||
<td>{{ $timeZone->code }}</td> | ||
<td>{{ $timeZone->time_zone }}</td> | ||
<td>{{ $timeZone->gmt_offset }}</td> | ||
</tr> | ||
@endforeach | ||
</tbody> | ||
</table> | ||
</div> | ||
|
||
{{ $timeZones->onEachSide(1)->links('partials.pagination') }} | ||
</article> | ||
{{ $timeZones->onEachSide(1)->links('partials.pagination') }} | ||
</article> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
</div> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.