minimal implementation of light bootstrap

This commit is contained in:
Nabeel Shahzad 2017-08-17 15:39:00 -05:00
parent 9429a23312
commit e85c660e3d
6 changed files with 37 additions and 25 deletions

View File

@ -256,10 +256,12 @@ input:focus {
color: #FFFFFF;
opacity: 1;
background: rgba(255, 255, 255, 0.23); }
.sidebar .nav li h4, .sidebar .nav li h5 {
margin: 10px; }
.sidebar .nav h1, .sidebar .nav h2, .sidebar .nav h3, .sidebar .nav h4, .sidebar .nav h5 {
padding-left: 10px; }
.sidebar .nav p {
margin: 0;
margin: 10px 0;
padding-left: 10px;
line-height: 30px;
font-size: 12px;

File diff suppressed because one or more lines are too long

View File

@ -76,6 +76,7 @@
margin-top: 20px;
li{
> a{
color: #FFFFFF;
margin: 5px 15px;
@ -94,6 +95,11 @@
background: rgba(255,255,255,0.23);
}
h4, h5 {
margin: 10px;
}
}
h1,h2,h3,h4,h5 {
@ -101,7 +107,7 @@
}
p{
margin: 0;
margin: 10px 0;
padding-left: 10px;
line-height: 30px;
font-size: 12px;

View File

@ -1,13 +1,15 @@
@extends('admin.app')
@section('content')
<section class="content-header">
<h1 class="pull-left">Flights</h1>
<h1 class="pull-right">
<a class="btn btn-primary pull-right" style="margin-top: -10px;margin-bottom: 5px" href="{!! route('admin.flights.create') !!}">Add New</a>
</h1>
</section>
<div class="content">
<div class="card">
<div class="header">
<a class="btn btn-primary pull-right" style="margin-top: -10px;margin-bottom: 5px"
href="{!! route('admin.flights.create') !!}">Add New</a>
<h4 class="title">Flights</h4>
</div>
@include('admin.flights.table')
</div>
{{--<div class="content">
<div class="clearfix"></div>
@include('flash::message')
@ -15,9 +17,9 @@
<div class="clearfix"></div>
<div class="box box-primary">
<div class="box-body">
@include('admin.flights.table')
</div>
</div>
</div>
</div>--}}
@endsection

View File

@ -1,4 +1,5 @@
<table class="table table-responsive" id="flights-table">
<div class="content table-responsive table-full-width">
<table class="table table-hover table-striped" id="flights-table">
<thead>
<th>Flight #</th>
<th>Dep</th>
@ -49,3 +50,4 @@
@endforeach
</tbody>
</table>
</div>

View File

@ -1,19 +1,19 @@
<li class="active">
<a href="{!! url('/admin/dashboard') !!}"><i class="fa fa-dashboard"></i>dashboard</a>
<a href="{!! url('/admin/dashboard') !!}"><i class="pe-7s-display1"></i>dashboard</a>
</li>
<li><h3>operations</h3></li>
<li><a href="{!! url('/admin/pireps') !!}"><i class="fa fa-inbox"></i>&nbsp;pireps
<li><h4>operations</h4></li>
<li><a href="{!! url('/admin/pireps') !!}"><i class="pe-7s-cloud-upload"></i>pireps
<span data-toggle="tooltip" title="3 New" class="badge bg-light-blue pull-right">3</span>
</a>
</li>
<li><a href="{!! url('/admin/flights') !!}"><i class="fa fa-map"></i>&nbsp;flights</a></li>
<li><a href="{!! url('/admin/aircraft') !!}"><i class="fa fa-plane" aria-hidden="true"></i>&nbsp;fleet</a></li>
<li><a href="{!! url('/admin/fares') !!}"><i class="fa fa-dollar"></i>&nbsp;fares</a></li>
<li><a href="{!! url('/admin/flights') !!}"><i class="pe-7s-vector"></i>flights</a></li>
<li><a href="{!! url('/admin/aircraft') !!}"><i class="pe-7s-plane"></i>fleet</a></li>
<li><a href="{!! url('/admin/fares') !!}"><i class="pe-7s-graph2"></i>fares</a></li>
<li class="header">config</li>
<li><a href="{!! url('/admin/airlines') !!}"><i class="fa fa-navicon"></i>&nbsp;airlines</a></li>
<li><a href="{!! url('/admin/airports') !!}"><i class="fa fa-globe"></i>&nbsp;airports</a></li>
<li><h4>config</h4></li>
<li><a href="{!! url('/admin/airlines') !!}"><i class="pe-7s-paper-plane"></i>airlines</a></li>
<li><a href="{!! url('/admin/airports') !!}"><i class="pe-7s-map-marker"></i>airports</a></li>
{{--<li><a href="{!! url('/admin/aircraftclasses') !!}"><i class="fa fa-tag"></i>&nbsp;aircraft classes</a></li>--}}
<li><a href="{!! url('/admin/users') !!}"><i class="fa fa-user-circle-o" aria-hidden="true"></i>&nbsp;users</a></li>
<li><a href="{!! url('/admin/ranks') !!}"><i class="fa fa-id-card-o" aria-hidden="true"></i>&nbsp;ranks</a></li>
<li><a href="{!! url('/admin/users') !!}"><i class="pe-7s-users" ></i>users</a></li>
<li><a href="{!! url('/admin/ranks') !!}"><i class="pe-7s-id"></i>ranks</a></li>