Skip to content
Snippets Groups Projects
Unverified Commit 5f7ded89 authored by Robb Lewis's avatar Robb Lewis
Browse files

Start

parent da3acb60
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -13,14 +13,14 @@
 
<ul class="list-group">
 
<a href="/{!!$month->year!!}" class="list-group-item year-heading">
<a href="@if (isset($search))/search/{{$search}}@endif/{!!$month->year!!}" class="list-group-item year-heading">
<span class="badge">{!!$monthCounts['year_counts'][$month->year]!!}</span>
{!! $month->year !!}
</a>
 
@endif
 
<a href="/{!!$month->year!!}/{!!$month->month!!}" class="list-group-item month-item">
<a href="@if (isset($search))/search/{{$search}}@endif/{!!$month->year!!}/{!!$month->month!!}" class="list-group-item month-item">
<span class="badge">{!!$month->count!!}</span>
{!! displayMonth($month->month) !!} {!! $month->year !!}
<div class="tweet-percentage" style="width:{!!$month->percentage!!}%;"></div>
Loading
Loading
@@ -35,7 +35,7 @@
<ul class="list-group">
 
@foreach ($dayCounts['tweet_count'] as $day)
<a href="{!!$day->month!!}/{!!$day->day!!}" class="list-group-item month-item">
<a href="@if (isset($search))/search/{{$search}}@endif/{!! $day->year !!}/{!!$day->month!!}/{!!$day->day!!}" class="list-group-item month-item">
<span class="badge">{!!$day->count!!}</span>
{!! displayMonth($day->month) !!} {!! displayDate($day->day) !!} {!! $day->year !!}
<div class="tweet-percentage" style="width:{!!$day->percentage!!}%;"></div>
Loading
Loading
Loading
Loading
@@ -34,7 +34,7 @@ Route::group(['middleware' => ['private']], function() {
Route::get('/search', function() { return redirect('/'); });
Route::post('/search', 'TweetController@search');
 
Route::get('/search/{search?}', [
Route::get('/search/{search?}/{year?}/{month?}/{day?}', [
'as' => 'search',
'uses' => 'TweetController@searchResults'
]);
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment