{% load i18n %}
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
		<meta http-equiv="Pragma" content="no-cache" />
		<meta http-equiv="Cache" content="no store" />
		<meta http-equiv="Expires" content="-1" />
		<title>Ligne de Temps - IRI</title>
		<script type="text/javascript" src="{{MEDIA_URL}}js/jquery.min.js"></script>
		<script type="text/javascript" src="{{MEDIA_URL}}js/swfobject.js"></script>
		<script type="text/javascript" src="{{MEDIA_URL}}js/ui/jquery.ui.core.js"></script>
		<script type="text/javascript" src="{{MEDIA_URL}}js/ui/jquery.ui.widget.js"></script>
		<script type="text/javascript" src="{{MEDIA_URL}}js/ui/jquery.ui.mouse.js"></script>
		<script type="text/javascript" src="{{MEDIA_URL}}js/ui/jquery.ui.slider.js"></script>
		<script type="text/javascript" src="{{MEDIA_URL}}js/ui/jquery.ui.button.js"></script>
		<script type="text/javascript" src="{{MEDIA_URL}}js/jquery.tools.min.js"></script>
		<script type="text/javascript">
			var $jIRI = $;
		</script>
		<script type="text/javascript" src="{{MEDIA_URL}}js/LdtPlayer.js"></script>
		<script type="text/javascript">
			$(document).ready(function(){
				$('.ldt_json_link').click(function(e) {
		 	    	e.preventDefault();
		 	 		link = $(e.target);
		 	 		$("#res_link_{{player_id}}").load(link.attr("href"));
		 	 		$("#res_link_{{player_id}}").show();
		 	 		return false;
		 	    });
			});
		</script>
		
		<link rel="stylesheet" href="{{MEDIA_URL}}css/custom_player.css" type="text/css"/>
		<link rel="stylesheet" href="{{MEDIA_URL}}css/workspace.css" type="text/css"/>
		<link type="text/css" href="{{MEDIA_URL}}css/jq-css/themes/base/jquery.ui.all.css" rel="stylesheet" />
		<link type="text/css" href="{{MEDIA_URL}}css/jq-css/demos.css" rel="stylesheet" />
		
	</head>

	<body id="init_embed_popup">
	
		<div class="ldt_player" id="wrapper_{{player_id}}">
		{% include "eulalie/partial/embed.html" %}  
		</div>
		
		<code id ="code_{{player_id}}" >
		<div class="ldt_player_code"><pre>
{{ player_embed_rendered }}<br/>
		</pre></div>
		</code>
		
		
		<a href="{{json_url}}?escape=true&mimetype=text/plain" class="ldt_json_link" >{% trans 'clik here to see the project content' %}</a>
		
		<code id ="json_{{player_id}}" ><pre>
		<div id="res_link_{{player_id}}" class="ldt_player_code" style="display: none;">
		</div>
		</pre></code>
	</body>
</html>

