From aa1b05da9e3956c5bf39a790ba6900ef66e2fc0d Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 9 Aug 2017 08:54:16 -0400 Subject: [PATCH] added conditions to pinery trail, adding more styles to the output of the trail reports adding margin around each of the train info rows, increasing font size for the main trail report date. added conditions to the pinery trail admin menu --- css/front.css | 10 +++++++--- views/admin/trailreports/parts/pinery.html | 4 ++-- views/front/trailreports/list.html | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/css/front.css b/css/front.css index 17e281d..4afbae0 100644 --- a/css/front.css +++ b/css/front.css @@ -8,9 +8,9 @@ font-weight: bold; } .trail-row{ - border-top: 1px solid #1e4178; - border-right: 1px solid #1e4178; - border-left: 1px solid #1e4178; + border: 1px solid #1e4178; + border-radius: 5px; + margin: 3px 0; } .trail-row:last-child{ border-bottom: 1px solid #1e4178; @@ -19,4 +19,8 @@ } .trail-name-front{ padding: 5px 0 0 5px; +} +.report-date{ + font-size: 18px; + font-weight: bold; } \ No newline at end of file diff --git a/views/admin/trailreports/parts/pinery.html b/views/admin/trailreports/parts/pinery.html index 362a51a..ff7319b 100644 --- a/views/admin/trailreports/parts/pinery.html +++ b/views/admin/trailreports/parts/pinery.html @@ -1,12 +1,12 @@
- +
Trail Name
Date Groomed
diff --git a/views/front/trailreports/list.html b/views/front/trailreports/list.html index d780bb2..cbc7a70 100644 --- a/views/front/trailreports/list.html +++ b/views/front/trailreports/list.html @@ -3,7 +3,7 @@ {if $trail.report_info.report_active.value == 1}
- Report Date: {$trail.report_info.report_date.date|date_format:"%B %e, %Y"} + Report Date: {$trail.report_info.report_date.date|date_format:"%B %e, %Y"}

{$trail.report_info.report_notes}

-- 2.17.1