2010-11-10 23:43:02 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2011-03-14 00:06:28 +00:00
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
2010-11-13 19:31:49 +00:00
|
|
|
<title> {{ text.title }} </title>
|
2011-03-14 00:11:55 +00:00
|
|
|
<link rel="shortcut icon" href="/static/images/favicon.ico" />
|
2010-11-10 23:43:02 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="/static/css/text.css" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="/static/css/jquery.tooltip.css" />
|
2011-01-02 09:19:51 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="/static/css/fancybox/jquery.fancybox-1.3.4.css" />
|
2010-11-10 23:43:02 +00:00
|
|
|
<script type="text/javascript" src="/static/js/jquery.js"></script>
|
|
|
|
<script type="text/javascript" src="/static/js/padma/jquery.tooltip.js"></script>
|
2011-01-02 09:19:51 +00:00
|
|
|
<script type="text/javascript" src="/static/js/jquery.fancybox-1.3.4.pack.js"></script>
|
2010-11-10 23:43:02 +00:00
|
|
|
<script type="text/javascript" src="/static/js/padma/padma.layers.js"></script>
|
|
|
|
<script type="text/javascript" src="/static/js/padma/padma.links.js"></script>
|
2011-01-02 09:19:51 +00:00
|
|
|
<script type="text/javascript" src="/static/js/padma/padma.playlist.js"></script>
|
2011-03-14 01:46:31 +00:00
|
|
|
<script type="text/javascript" src="/static/js/views/{{ text.view }}.js?1"></script>
|
2010-11-10 23:43:02 +00:00
|
|
|
<script type="text/javascript" src="/static/js/padma/utils.js"></script>
|
2011-01-02 09:19:51 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
$(function() {
|
|
|
|
if ($('.imageGallery').length > 0) {
|
|
|
|
$('.imageGallery a').fancybox();
|
|
|
|
}
|
2011-01-02 11:47:37 +00:00
|
|
|
$('a').each(function() {
|
|
|
|
var t = $(this);
|
2011-02-21 12:28:19 +00:00
|
|
|
if (t.attr("href") != undefined) {
|
|
|
|
var href = t.attr("href");
|
|
|
|
if (href.indexOf("http://maps.google.com") != -1) {
|
|
|
|
if (t.data("mapLoaded")) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
var embedUrl = href + "&output=embed";
|
|
|
|
var iframe = $('<iframe />').attr("src", embedUrl).attr("width", "425").attr("height", "350");
|
|
|
|
var parentP = t.parents('p');
|
|
|
|
parentP.append("<br />").append(iframe);
|
|
|
|
t.data("mapLoaded", true);
|
|
|
|
t.toggle(function() {
|
|
|
|
iframe.slideUp();
|
|
|
|
}, function() {
|
|
|
|
iframe.slideDown();
|
|
|
|
});
|
2011-01-03 07:16:39 +00:00
|
|
|
}
|
2011-01-02 11:47:37 +00:00
|
|
|
}
|
|
|
|
});
|
2011-01-02 09:19:51 +00:00
|
|
|
});
|
|
|
|
</script>
|
2010-11-10 23:43:02 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<script type="text/html" id="tmpl_tcRange">
|
|
|
|
<div class="padmaWrapper">
|
|
|
|
<!-- <img src="<%= video.getFrame(linkData.tcIn) %>" /> -->
|
|
|
|
<video width="400" src="<%= video.getLayerVideo(linkData.tcIn, linkData.tcOut) %>" controls="controls" autoplay="autoplay"></video>
|
|
|
|
<!-- <img src="<%= video.getFrame(linkData.tcOut) %>" /> -->
|
|
|
|
<div class="annotation">
|
|
|
|
Transcripts / annotations will appear here.
|
|
|
|
</div>
|
|
|
|
<div class="closeButton">x</div>
|
|
|
|
</div>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<script type="text/html" id="tmpl_layers">
|
|
|
|
<div class="layersWrapper">
|
|
|
|
<% for (var i=0; i<layers.length; i++) { var layer = layers[i]; %>
|
|
|
|
<div class="layerWrapper">
|
|
|
|
<div class="layerTrack"><%= layer.track %></div>
|
|
|
|
<div class="layerText"><%= layer.value_html %></div>
|
|
|
|
</div>
|
|
|
|
<% } %>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<script type="text/html" id="tmpl_tooltip">
|
|
|
|
<div class="padmaTooltip">
|
|
|
|
<img src="<%= thumbUrl %>" />
|
|
|
|
<h4 class="padmaTitle">
|
|
|
|
<%= video.video.title %>
|
|
|
|
</h4>
|
|
|
|
</div>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<script type="text/html" id="tmpl_sidebar">
|
|
|
|
<div class="padmaViewer">
|
2010-11-14 14:46:34 +00:00
|
|
|
<div class="padmaButtons">
|
|
|
|
<span class="viewOnPadma">
|
2010-11-23 17:05:08 +00:00
|
|
|
<a title="Click to view clip on Pad.ma" target="_blank" href="<%= linkData.url %>">p</a>
|
2010-11-14 14:46:34 +00:00
|
|
|
</span>
|
|
|
|
<span class="videoInfo">
|
|
|
|
<a title="Click to get more info about video" target="_blank" href="<%= video.infoUrl %>">¡</a>
|
|
|
|
</span>
|
|
|
|
<span class="downloadVideo">
|
2011-03-14 02:46:01 +00:00
|
|
|
<a title="Right-click and Save Link As to download video" target="_blank" href="<%= video.getDownloadLink(linkData.tcIn, linkData.tcOut) %>">↓</a>
|
2010-11-14 14:46:34 +00:00
|
|
|
</span>
|
|
|
|
</div>
|
2012-02-15 09:35:06 +00:00
|
|
|
<video src="<%= video.getVideo(0, '240') %>" width="320" poster="<%= video.getFrame(linkData.tcIn) %>" controls="controls"></video>
|
2010-11-10 23:43:02 +00:00
|
|
|
|
|
|
|
<div class="annotationWrapper">
|
|
|
|
<div class="annotationText">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</script>
|
|
|
|
{% autoescape off %}
|
|
|
|
<div id="wrapper">
|
2010-12-30 16:17:36 +00:00
|
|
|
{% ifnotequal text.left_bar '' %}
|
|
|
|
<div id="leftBar">
|
|
|
|
{{ text.left_bar }}
|
|
|
|
</div>
|
|
|
|
{% endifnotequal %}
|
|
|
|
<div id="essayWrapper">
|
2010-12-30 09:52:52 +00:00
|
|
|
<h1>
|
|
|
|
{{ text.title }}
|
|
|
|
</h1>
|
|
|
|
<h4>
|
2011-06-27 18:30:42 +00:00
|
|
|
by <a class="authorLink" href="#bio">{{ text.author }}</a>, {{text.date|date:"F Y"}}
|
2010-12-30 09:52:52 +00:00
|
|
|
</h4>
|
|
|
|
<div id="essayAbstract">
|
|
|
|
<p>
|
|
|
|
{{ text.abstract }}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div id="padmaSidebar">
|
|
|
|
<div id="padmaSidebarWrapper"></div>
|
2010-11-10 23:43:02 +00:00
|
|
|
</div>
|
|
|
|
|
2010-12-30 09:52:52 +00:00
|
|
|
<div id="essay">
|
|
|
|
{{ text.html }}
|
|
|
|
</div>
|
|
|
|
<div id="authorBio">
|
2010-12-30 12:44:57 +00:00
|
|
|
<a name="bio"></a>
|
2010-12-30 12:52:17 +00:00
|
|
|
<h3>{{ text.author }}</h3>
|
2010-12-30 09:52:52 +00:00
|
|
|
{{ text.author_bio }}
|
|
|
|
</div>
|
2010-11-10 23:43:02 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endautoescape %}
|
|
|
|
</body>
|
|
|
|
</html>
|