Style all the buttons the same

This commit is contained in:
Nabeel Shahzad 2018-01-03 12:52:01 -06:00
parent 2394b8e419
commit a1696d3007
11 changed files with 18 additions and 19 deletions

View File

@ -44,7 +44,7 @@
<!-- Submit Field --> <!-- Submit Field -->
<div class="form-group col-sm-12"> <div class="form-group col-sm-12">
<div class="pull-right"> <div class="pull-right">
{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!} {!! Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) !!}
<a href="{!! route('admin.aircraft.index') !!}" class="btn btn-default">Cancel</a> <a href="{!! route('admin.aircraft.index') !!}" class="btn btn-default">Cancel</a>
</div> </div>
</div> </div>

View File

@ -38,7 +38,7 @@
<!-- Submit Field --> <!-- Submit Field -->
<div class="form-group col-sm-12"> <div class="form-group col-sm-12">
<div class="pull-right"> <div class="pull-right">
{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!} {!! Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) !!}
<a href="{!! route('admin.airlines.index') !!}" class="btn btn-default">Cancel</a> <a href="{!! route('admin.airlines.index') !!}" class="btn btn-default">Cancel</a>
</div> </div>
</div> </div>

View File

@ -61,7 +61,7 @@
<!-- Submit Field --> <!-- Submit Field -->
<div class="form-group col-sm-8"> <div class="form-group col-sm-8">
<div class="text-right"> <div class="text-right">
{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!} {!! Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) !!}
<a href="{!! route('admin.airports.index') !!}" class="btn btn-default">Cancel</a> <a href="{!! route('admin.airports.index') !!}" class="btn btn-default">Cancel</a>
</div> </div>
</div> </div>

View File

@ -74,8 +74,8 @@
<!-- Submit Field --> <!-- Submit Field -->
<div class="form-group col-sm-12"> <div class="form-group col-sm-12">
<div class="pull-right"> <div class="pull-right">
{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!} {!! Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) !!}
<a href="{!! route('admin.fares.index') !!}" class="btn btn-default">Cancel</a> <a href="{!! route('admin.fares.index') !!}" class="btn btn-warn">Cancel</a>
</div> </div>
</div> </div>
</div> </div>

View File

@ -93,7 +93,7 @@ SAME ROW
</div> </div>
<div class="col-8"> <div class="col-8">
<div class="text-right"> <div class="text-right">
{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!} {!! Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) !!}
<a href="{!! route('admin.flights.index') !!}" class="btn btn-default">Cancel</a> <a href="{!! route('admin.flights.index') !!}" class="btn btn-default">Cancel</a>
</div> </div>
</div> </div>

View File

@ -14,7 +14,7 @@
<div class="row"> <div class="row">
<!-- Submit Field --> <!-- Submit Field -->
<div class="form-group col-sm-12"> <div class="form-group col-sm-12">
{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!} {!! Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) !!}
<a href="{!! route('admin.pirepfields.index') !!}" class="btn btn-default">Cancel</a> <a href="{!! route('admin.pirepfields.index') !!}" class="btn btn-default">Cancel</a>
</div> </div>
</div> </div>

View File

@ -73,8 +73,8 @@
<!-- Submit Field --> <!-- Submit Field -->
<div class="form-group col-sm-12"> <div class="form-group col-sm-12">
<div class="pull-right"> <div class="pull-right">
{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!} {!! Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) !!}
<a href="{!! route('admin.pireps.index') !!}" class="btn btn-default">Cancel</a> <a href="{!! route('admin.pireps.index') !!}" class="btn btn-warn">Cancel</a>
</div> </div>
</div> </div>
</div> </div>

View File

@ -1,25 +1,25 @@
<div class="row"> <div class="row">
<!-- Name Field --> <!-- Name Field -->
<div class="col-sm-6"> <div class="form-group col-sm-6">
{!! Form::label('name', 'Name:') !!} {!! Form::label('name', 'Name:') !!}
{!! Form::text('name', null, ['class' => 'form-control']) !!} {!! Form::text('name', null, ['class' => 'form-control']) !!}
</div> </div>
<!-- Hours Field --> <!-- Hours Field -->
<div class="col-sm-6"> <div class="form-group col-sm-6">
{!! Form::label('hours', 'Hours:') !!} {!! Form::label('hours', 'Hours:') !!}
{!! Form::number('hours', null, ['class' => 'form-control']) !!} {!! Form::number('hours', null, ['class' => 'form-control']) !!}
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="form-group col-md-12">
{!! Form::label('image_link', 'Image Link:') !!} {!! Form::label('image_link', 'Image Link:') !!}
{!! Form::number('image_link', null, ['class' => 'form-control']) !!} {!! Form::number('image_link', null, ['class' => 'form-control']) !!}
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<!-- Auto Approve Acars Field --> <!-- Auto Approve Acars Field -->
<div class="col-sm-4 text-center"> <div class="form-group col-sm-4 text-center">
<div class="checkbox"> <div class="checkbox">
<label class="checkbox-inline"> <label class="checkbox-inline">
{!! Form::hidden('auto_approve_acars', false) !!} {!! Form::hidden('auto_approve_acars', false) !!}
@ -30,7 +30,7 @@
</div> </div>
<!-- Auto Approve Manual Field --> <!-- Auto Approve Manual Field -->
<div class="col-sm-4 text-center"> <div class="form-group col-sm-4 text-center">
<div class="checkbox"> <div class="checkbox">
<label class="checkbox-inline"> <label class="checkbox-inline">
{!! Form::hidden('auto_approve_manual', false) !!} {!! Form::hidden('auto_approve_manual', false) !!}
@ -41,7 +41,7 @@
</div> </div>
<!-- Auto Promote Field --> <!-- Auto Promote Field -->
<div class="col-sm-4 text-center"> <div class="form-group col-sm-4 text-center">
<div class="checkbox"> <div class="checkbox">
<label class="checkbox-inline"> <label class="checkbox-inline">
{!! Form::hidden('auto_promote', false) !!} {!! Form::hidden('auto_promote', false) !!}
@ -53,7 +53,6 @@
</div> </div>
<div class="row"> <div class="row">
<!-- Submit Field -->
<div class="col-sm-12"> <div class="col-sm-12">
<div class="text-right"> <div class="text-right">
{!! Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) !!} {!! Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) !!}

View File

@ -40,7 +40,7 @@
<div class="card"> <div class="card">
<div class="content"> <div class="content">
<div class="text-right"> <div class="text-right">
{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!} {!! Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) !!}
<a href="{!! route('admin.subfleets.index') !!}" class="btn btn-default">Cancel</a> <a href="{!! route('admin.subfleets.index') !!}" class="btn btn-default">Cancel</a>
</div> </div>
</div> </div>

View File

@ -21,7 +21,7 @@
<div class="form-group col-sm-12"> <div class="form-group col-sm-12">
<div class="pull-right"> <div class="pull-right">
{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!} {!! Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) !!}
<a href="{!! route('admin.subfleets.index') !!}" class="btn btn-default">Cancel</a> <a href="{!! route('admin.subfleets.index') !!}" class="btn btn-default">Cancel</a>
</div> </div>
</div> </div>

View File

@ -59,7 +59,7 @@
<!-- Submit Field --> <!-- Submit Field -->
<div class="form-group col-sm-6"> <div class="form-group col-sm-6">
<div class="pull-right"> <div class="pull-right">
{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!} {!! Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) !!}
<a href="{!! route('admin.users.index') !!}" class="btn btn-default">Cancel</a> <a href="{!! route('admin.users.index') !!}" class="btn btn-default">Cancel</a>
</div> </div>
</div> </div>