@extends('layouts.election_app')
@section('content')

	<div class="container-fluid text-center" style="margin-top:2%;">	 

		<div class="d-flex justify-content-center " style="padding:5px;margin-left:30px;margin-right:30px;">
			<div class="col-3"  style="">
	
				@include('layouts.left_menu',['general_election'=>$general_election])

			</div>
		</div>
		<div class="col-9"  style="border:1px solid lightgrey;margin:5px;border-radius:3px;">
			<ul style="list-style:none; padding: 0; margin: 0;" >
			 <!-- <li  style="background-color:#D9EDF6 !important;border:none !important;text-align:left !important;"><i class="fa fa-user"></i>&nbsp;About Us</li>
			  <li >
				<nav aria-label="breadcrumb">
				  <ol class="breadcrumb">
					<li class="breadcrumb-item"><a style="text-decoration:none" href="{{url('/')}}"><i class="fa fa-home"></i>&nbsp;Home</a></li>
					<li class="breadcrumb-item active" aria-current="page">About Us</li>
				  </ol>
				</nav>
			  </li >
			  <li >
				<img src="{{asset('build/assets/images/banner.jpg')}}" alt="" style="width:100%;height:240px;">
			  </li>
			  -->
				<li>	
					<h1 class="text-center p-3 text-info-emphasis">{{__('labels.ward_wise_election_results')}}</h1>
					<div>
					<nav aria-label="breadcrumb">
					  <ol class="breadcrumb">
						<li class="breadcrumb-item"><a href="{{url('/')}}">Home</a></li>
						<li class="breadcrumb-item active" aria-current="page">Ward-wise election result wards</li>
					  </ol>
					</nav>
					</div>
					<div class="" style="border:1px solid #000;">
						<ul class="list-group list-group-flush"> 	 
							<div class="container text-center p-5">
								<div class="row">
									@foreach($general_election->wardwise_election_results as $wardwise_election_result)
										<div class="col-2 p-3" onclick="location.href='{{route('wardwise_election_results.wardwise_documents',$wardwise_election_result)}}'" style="border:1px solid black;margin:5px;padding:5px;border-radius:30px; font-size:24px;font-weight:bold;background-color:#11B2C4;color:white;cursor:pointer;">
											@if($currentLocale=='en')
												{{$wardwise_election_result->ward_en}}
											@else
												{{$wardwise_election_result->ward_mr}}  
											@endif
										</div>
									@endforeach
								</div>
							</div>						  
						</ul>
					</div>			 
				</li>
			</ul> 
			
		</div>

	  </div>
	  
	  
	</div>
@endsection