From 85e944ad80a1cbe84899f525f4ac653a68660bda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20LEUILLIOT?= Date: Sun, 26 Nov 2017 15:38:11 +0100 Subject: [PATCH] standardizing incoming, ongoing and faded operation display when they are displayed on more than one sized row --- src/resources/assets/css/calendar.css | 4 ++++ .../views/operation/includes/faded.blade.php | 18 +++++++++--------- .../operation/includes/incoming.blade.php | 18 +++++++++--------- .../views/operation/includes/ongoing.blade.php | 18 +++++++++--------- 4 files changed, 31 insertions(+), 27 deletions(-) diff --git a/src/resources/assets/css/calendar.css b/src/resources/assets/css/calendar.css index 981a438..1c435cd 100755 --- a/src/resources/assets/css/calendar.css +++ b/src/resources/assets/css/calendar.css @@ -7,6 +7,10 @@ padding : 5px 10px; } +.text-middle { + vertical-align: middle; +} + .modal-calendar-green, .text-bg-green { background-color: #baffc9; } diff --git a/src/resources/views/operation/includes/faded.blade.php b/src/resources/views/operation/includes/faded.blade.php index c982774..5424558 100755 --- a/src/resources/views/operation/includes/faded.blade.php +++ b/src/resources/views/operation/includes/faded.blade.php @@ -27,33 +27,33 @@ @else @endif - + {{ $op->title }} @include('calendar::operation.includes.attendees') - + @include('calendar::operation.includes.tags') - + @include('calendar::operation.includes.importance') @include('calendar::operation.includes.actions') - {{ $op->start_at }} - {{ $op->end_at }} - + {{ $op->start_at }} + {{ $op->end_at }} + @include('calendar::operation.includes.fleet_commander') - + @include('calendar::operation.includes.staging') - + @include('calendar::operation.includes.subscription') - + @include('calendar::operation.includes.actions') diff --git a/src/resources/views/operation/includes/incoming.blade.php b/src/resources/views/operation/includes/incoming.blade.php index 47f9e20..f2039c7 100755 --- a/src/resources/views/operation/includes/incoming.blade.php +++ b/src/resources/views/operation/includes/incoming.blade.php @@ -27,41 +27,41 @@ @else @endif - + {{ $op->title }} @include('calendar::operation.includes.attendees') - + @include('calendar::operation.includes.tags') - + @include('calendar::operation.includes.importance') @include('calendar::operation.includes.actions') - + @if(\Carbon\Carbon::parse($op->start_at)->diffInDays(\Carbon\Carbon::now()) > 1 ) {{ $op->start_at }} @else {{ $op->starts_in }} @endif - + {{ $op->duration }} - + @include('calendar::operation.includes.fleet_commander') - + @include('calendar::operation.includes.staging') - + @include('calendar::operation.includes.subscription') - + @include('calendar::operation.includes.actions') diff --git a/src/resources/views/operation/includes/ongoing.blade.php b/src/resources/views/operation/includes/ongoing.blade.php index 12e8058..f039275 100755 --- a/src/resources/views/operation/includes/ongoing.blade.php +++ b/src/resources/views/operation/includes/ongoing.blade.php @@ -27,37 +27,37 @@ @else @endif - + {{ $op->title }} @include('calendar::operation.includes.attendees') - + @include('calendar::operation.includes.tags') - + @include('calendar::operation.includes.importance') @include('calendar::operation.includes.actions') - + {{ $op->started }} ago - + {{ $op->ends_in }} - + @include('calendar::operation.includes.fleet_commander') - + @include('calendar::operation.includes.staging') - + @include('calendar::operation.includes.subscription') - + @include('calendar::operation.includes.actions')