{% load i18n %}
{% load analytics %}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{LANGUAGE_CODE}}" lang="{{LANGUAGE_CODE}}">
	<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="{{LDT_MEDIA_PREFIX}}js/jquery.min.js"></script>
		<script type="text/javascript" src="{{LDT_MEDIA_PREFIX}}js/jquery.qtip.min.js"></script>
		<script type="text/javascript">
			var $j = jQuery.noConflict();
		</script>
		<script type="text/javascript" src="{{LDT_MEDIA_PREFIX}}js/embed_popup.js"></script>
		
		<link rel="stylesheet" href="{{LDT_MEDIA_PREFIX}}css/workspace.css" type="text/css"/>
		<link rel="stylesheet" href="{{LDT_MEDIA_PREFIX}}css/embed_popup.css" type="text/css"/>
		<link rel="stylesheet" href="{{LDT_MEDIA_PREFIX}}css/jq-css/jquery.qtip.css" type="text/css"/>
		<script type="text/javascript">
			$j(document).ready(function(){
	            $j("#project_id_select").click(function(){
	            	$j("#project_id_input").focus();
	            	$j("#project_id_input").select();
	            });
	        });
        </script>
		
	</head>

	<body id="init_embed_popup">

		<div id='ldt_id'>
			<div id='ldt_id_title'>{% trans 'project id' %} <span id="project_id_select">({% trans 'Select' %})</span> : <input id="project_id_input" value="{{ldt_id}}"/></div>
        </div>
	
		<div class="ldt_player" id="wrapper_{{player_id}}">
		{% include "ldt/ldt_utils/partial/embed_player.html" %}  
		</div>

		<div id="button_row">
		    <div id="display_select">
		    	<input type="button" value="{% trans 'popup_player'%}" id="player_button"/><input id="seo_body_button" type="button" value="{% trans 'popup_seo_body' %}"/><input id="seo_meta_button" type="button" value="{% trans 'popup_seo_meta' %}"/><input id="links_button" type="button" value="{% trans 'popup_links' %}"/>
		    </div>
		</div>
		
		<div class="ldt_player_code">
			<code id ="code_{{player_id}}" >		
				<div  id="player_code"><pre>{{ embed_rendered.player }}</pre></div>
				<div id="seo_body_code"><pre>{{ embed_rendered.seo_body }}</pre></div>
				<div id="seo_meta_code"><pre>{{ embed_rendered.seo_meta }}</pre></div>			
			</code>
	
			<div id="links_code">{% include "ldt/ldt_utils/partial/embed_links.html" %}</div>
		</div>
						
		<a href="{{json_url}}?escape=true&mimetype=text/plain" class="ldt_json_link" >{% trans 'clik here to see the project content' %}</a>		
{% analytics %}		
	</body>
</html>

