From c7a148c2726dc1848077b7ebdd8adf7ba592fcee Mon Sep 17 00:00:00 2001 From: Todd Morey Date: Wed, 5 Nov 2014 15:29:06 +0100 Subject: [PATCH] Added keynote videos as a top section and labelled the top video as the most recently added. --- themes/openstack/css/videos.css | 8 + .../Layout/Includes/VideoThumbnails.ss | 21 -- .../Layout/PresentationCategoryPage.ss | 224 ++++++++++++++++++ 3 files changed, 232 insertions(+), 21 deletions(-) diff --git a/themes/openstack/css/videos.css b/themes/openstack/css/videos.css index ff7bf27..2397284 100644 --- a/themes/openstack/css/videos.css +++ b/themes/openstack/css/videos.css @@ -404,4 +404,12 @@ a.media-btn.left { min-height: 2em; } +.latest-video { + text-transform: uppercase; + font-size: 90%; + color: #1E9DE5!important; + font-weight:bold; + margin-bottom: 3px; +} + /*End Video Inner Page*/ diff --git a/themes/openstack/templates/Layout/Includes/VideoThumbnails.ss b/themes/openstack/templates/Layout/Includes/VideoThumbnails.ss index 7a9b1b1..c2e9fa7 100644 --- a/themes/openstack/templates/Layout/Includes/VideoThumbnails.ss +++ b/themes/openstack/templates/Layout/Includes/VideoThumbnails.ss @@ -1,24 +1,3 @@ -
-
-
- - -
-
- -
-
-
-
<% control Presentations.GroupedBy(PresentationDay) %> diff --git a/themes/openstack/templates/Layout/PresentationCategoryPage.ss b/themes/openstack/templates/Layout/PresentationCategoryPage.ss index 7608178..c95627f 100644 --- a/themes/openstack/templates/Layout/PresentationCategoryPage.ss +++ b/themes/openstack/templates/Layout/PresentationCategoryPage.ss @@ -14,6 +14,7 @@
+

Latest Video

$Name

$FormattedStartTime GMT

$Description

@@ -73,4 +74,227 @@
+
+
+
+ + +
+
+ +
+
+
+ + + <% include VideoThumbnails %>