update v 1.0.7.5

This commit is contained in:
Sujit Prasad
2016-06-13 20:41:55 +05:30
parent aa9786d829
commit 283d97e3ea
5078 changed files with 339851 additions and 175995 deletions

View File

@@ -22,7 +22,6 @@ class="active"
<!-- breadcrumbs -->
@section('breadcrumbs')
<ol class="breadcrumb">
</ol>
@stop
<!-- /breadcrumbs -->
@@ -32,16 +31,12 @@ class="active"
<div class="col-md-12">
<div class="box box-primary">
<div class="box-header">
<h2 class="box-title">{{Lang::get('lang.teams')}}</h2><a href="{{route('teams.create')}}" class="btn btn-primary pull-right">{{Lang::get('lang.create_team')}}</a></div>
<h2 class="box-title">{{Lang::get('lang.list_of_teams')}}</h2><a href="{{route('teams.create')}}" class="btn btn-primary pull-right">{{Lang::get('lang.create_team')}}</a></div>
<div class="box-body table-responsive">
<!-- check whether success or not -->
@if(Session::has('success'))
<div class="alert alert-success alert-dismissable">
<i class="fa fa-check-circle"></i>
<b>Success!</b>
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
{{Session::get('success')}}
</div>
@@ -55,7 +50,6 @@ class="active"
{{Session::get('fails')}}
</div>
@endif
<table class="table table-bordered dataTable" style="overflow:hidden;">
<tr>
<th>{{Lang::get('lang.name')}}</th>
@@ -66,14 +60,13 @@ class="active"
</tr>
@foreach($teams as $team)
<tr>
<td><a href="{{route('teams.edit', $team->id)}}"> {{$team -> name }}</a></td>
<td><a href="{{route('teams.edit', $team->id)}}"> {{$team->name }}</a></td>
<td>
@if($team->status=='1')
<span style="color:green">{{'Active'}}</span>
<span style="color:green">{{Lang::get('lang.active')}}</span>
@else
<span style="color:red">{{'Inactive'}}</span>
<span style="color:red">{{Lang::get('lang.inactive')}}</span>
@endif
<?php
if ($team->team_lead == 0) {
$team_lead = "";
@@ -87,8 +80,8 @@ class="active"
<td>
{!! Form::open(['route'=>['teams.destroy', $team->id],'method'=>'DELETE']) !!}
<!-- To pop up a confirm Message -->
<a href="{{route('teams.edit', $team->id)}}" class="btn btn-info btn-xs btn-flat"><i class="fa fa-edit" style="color:black;"> </i> Edit</a>
{!! Form::button('<i class="fa fa-trash" style="color:black;"> </i> Delete',
<a href="{{route('teams.edit', $team->id)}}" class="btn btn-info btn-xs btn-flat"><i class="fa fa-edit" style="color:black;"> </i> {!! Lang::get('lang.edit') !!}</a>
{!! Form::button('<i class="fa fa-trash" style="color:black;"> </i> '.Lang::get('lang.delete'),
['type' => 'submit',
'class'=> 'btn btn-warning btn-xs btn-flat',
'onclick'=>'return confirm("Are you sure?")'])