admin design

This commit is contained in:
Nabeel Shahzad 2017-08-21 13:24:16 -05:00
parent 27a22ab39c
commit 23e38f2670
9 changed files with 45 additions and 36 deletions

View File

@ -2,7 +2,7 @@
body{
color: $font-color;
font-size: $font-size-base;
font-family: 'Muli', Arial, sans-serif;
font-family: "Roboto","Helvetica Neue",Arial,sans-serif; //'Muli', Arial, sans-serif;
.wrapper{
min-height: 100vh;
position: relative;

View File

@ -15,24 +15,27 @@
.navbar-brand{
color: $white-color;
font-weight: $font-weight-light;;
margin: $navbar-margin-brand;
padding: $navbar-padding-brand;
/*margin: $navbar-margin-brand;
padding: $navbar-padding-brand;*/
font-size: $font-size-large-navbar;
}
.navbar-nav{
> li > a {
line-height: 1.42857;
margin: $navbar-margin-a;
padding: $navbar-padding-a;
/*margin: $navbar-margin-a;
padding: $navbar-padding-a;*/
i,
p{
padding-top: 12px;
font-weight: $font-weight-light;
i, p {
display: inline-block;
margin: 0;
}
i{
i {
position: relative;
top: 1px;
margin-right: 3px;
}
}
> li > a.btn{

View File

@ -1,6 +1,6 @@
@media (min-width: 992px){
.navbar{
min-height: 75px;
height: 30px;
}
.navbar-form {
margin-top: 21px;
@ -53,7 +53,7 @@
.navbar{
.navbar-header{
margin-left: 10px;
//margin-left: 10px;
}
}

View File

@ -35,10 +35,13 @@
font-weight: 200;
.logo{
padding: 18px 0px;
margin: 0 20px;
/*padding: 18px 0px;
margin: 0 20px;*/
padding: 6px;
background: #067ec1;
text-align: center;
p{
p {
float: left;
font-size: 20px;
margin: 10px 10px;
@ -57,7 +60,7 @@
}
.nav{
margin-top: 20px;
margin-top: 10px;
li{
> a{

View File

@ -24,8 +24,9 @@ $black-hr: #444444 !default;
$white-background-color: #FFFFFF !default;
//$black-background-color: #212120 !default;
//$black-background-color: #1a2932 !default;
$black-background-color: #0c1419 !default;
$black-background-color: #1a2932 !default;
//$black-background-color: #0c1419 !default;
$light-gray: #E3E3E3 !default;

View File

@ -5,7 +5,7 @@
}
.logo{
border-bottom: 1px solid rgba($font-color,.3);
//border-bottom: 1px solid rgba($font-color,.3);
p{
color: $font-color;

View File

@ -21,16 +21,18 @@
<td><a href="{!! route('admin.aircraft.show', [$ac->id]) !!}">{!! $ac->name !!}</a></td>
<td>{!! $ac->registration !!}</td>
<td style="text-align: center;">
<i class="fa fa-{{$ac->active == 1?"check":""}}-square-o" aria-hidden="true"
style="color: {{$ac->active==1?"darkgreen":"darkred"}};font-size:20px;"></i>
@if($ac->active == 1)
<span class="label label-success">Active</span>
@else
<span class="label label-default">Inactive</span>
@endif
</td>
<td style="width: 10%; text-align: right;" class="form-inline">
<td style="width: 10%; text-align: right;">
{!! Form::open(['route' => ['admin.aircraft.destroy', $ac->id], 'method' => 'delete']) !!}
<div class='btn-group'>
{{--<a href="{!! route('admin.aircraft.show', [$ac->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-eye-open"></i></a>--}}
<a href="{!! route('admin.aircraft.edit', [$ac->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-edit"></i></a>
{!! Form::button('<i class="glyphicon glyphicon-trash"></i>', ['type' => 'submit', 'class' => 'btn btn-danger btn-xs', 'onclick' => "return confirm('Are you sure?')"]) !!}
</div>
<a href="{!! route('admin.aircraft.edit', [$ac->id]) !!}" class='btn btn-sm btn-success btn-icon'>
<i class="fa fa-pencil-square-o"></i>
</a>
{!! Form::button('<i class="fa fa-times"></i>', ['type' => 'submit', 'class' => 'btn btn-sm btn-danger btn-icon', 'onclick' => "return confirm('Are you sure?')"]) !!}
{!! Form::close() !!}
</td>
</tr>

View File

@ -13,16 +13,18 @@
<td>{!! $al->iata !!}</td>
<td>{!! $al->name !!}</td>
<td style="text-align: center;">
<i class="fa fa-{{$al->active == 1?"check":""}}-square-o" aria-hidden="true"
style="color: {{$al->active==1?"darkgreen":"darkred"}};font-size:20px;"></i>
@if($al->active == 1)
<span class="label label-success">Active</span>
@else
<span class="label label-default">Inactive</span>
@endif
</td>
<td style="text-align: right;">
{!! Form::open(['route' => ['admin.airlines.destroy', $al->id], 'method' => 'delete']) !!}
<div class='btn-group'>
<a href="{!! route('admin.airlines.show', [$al->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-eye-open"></i></a>
<a href="{!! route('admin.airlines.edit', [$al->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-edit"></i></a>
{!! Form::button('<i class="glyphicon glyphicon-trash"></i>', ['type' => 'submit', 'class' => 'btn btn-danger btn-xs', 'onclick' => "return confirm('Are you sure?')"]) !!}
</div>
{{--<a href="{!! route('admin.airlines.show', [$al->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-eye-open"></i></a>--}}
<a href="{!! route('admin.airlines.edit', [$al->id]) !!}" class='btn btn-sm btn-success btn-icon'>
<i class="fa fa-pencil-square-o"></i></a>
{!! Form::button('<i class="fa fa-times"></i>', ['type' => 'submit', 'class' => 'btn btn-sm btn-danger btn-icon', 'onclick' => "return confirm('Are you sure?')"]) !!}
{!! Form::close() !!}
</td>
</tr>

View File

@ -7,12 +7,10 @@
<div class="sidebar-wrapper">
<div class="logo" style="background: #067ec1; margin: 0px; text-align: center; min-height: 74px;">
<div class="logo">
<img src="/assets/frontend/img/logo_blue_bg.svg" width="110px" style="">
</div>
<ul class="nav">
@include('admin.menu')
</ul>
@include('admin.menu')
</div>
</div>