From 84d008be8a35d3a19607de669042ddb5c6540f0c Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Sun, 1 Sep 2013 18:26:50 -0700 Subject: Adding outline link to frontend --- src/templates/templates/training.ftl | 6 +++++- web/style.css | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/templates/templates/training.ftl b/src/templates/templates/training.ftl index a6d30ea..1e17ace 100644 --- a/src/templates/templates/training.ftl +++ b/src/templates/templates/training.ftl @@ -38,7 +38,11 @@ <#list videos as video>
${video.title}
-

${video.title}

<@hms seconds=video.length /> +

${video.title}

+ <@hms seconds=video.length /> + <#if (video.pdf!"") != ""> + Outline +
diff --git a/web/style.css b/web/style.css index b374150..0f70bd6 100644 --- a/web/style.css +++ b/web/style.css @@ -261,6 +261,10 @@ footer a:hover { margin: -19px 0 0 -19px; } +#videos .pdf { + float: right; +} + #thefeed { float: left; width: 30%; -- cgit v1.2.3