# HG changeset patch # User grandjoncl # Date 1352393954 -3600 # Node ID a374c17243146c8fcfe941d323517ec73ecf75fb # Parent f5fe14b94ef5dc72d7d84c7fc4f5b592fe338863 embed_config almost over diff -r f5fe14b94ef5 -r a374c1724314 src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/embed_iframe.html --- a/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/embed_iframe.html Tue Nov 06 10:52:51 2012 +0100 +++ b/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/embed_iframe.html Thu Nov 08 17:59:14 2012 +0100 @@ -70,13 +70,15 @@ { type: "Polemic", annotation_type: false, - defaultcolor: "{{polemic_defaultColor}}", - foundcolor: "{{polemic_foundColor}}" + defaultcolor: "#{{ polemic_defaultColor }}", + foundcolor: "#{{ polemic_foundColor }}" } {% endif %} {% if sparkline %} ,{ - type: "Sparkline" + type: "Sparkline", + lineColor: "#{{ sparkline_lineColor }}", + fillColor: "#{{ sparkline_fillColor }}", } {% endif %} ,{ @@ -136,6 +138,11 @@ {% if social %},{ type: "Social", container: "Social_ext", + show_url: {% if show_url %}true{% else %}false{% endif %}, + show_twitter: {% if show_twitter %}true{% else %}false{% endif %}, + show_fb: {% if show_fb %}true{% else %}false{% endif %}, + show_gplus: {% if show_gplus %}true{% else %}false{% endif %}, + show_mail: {% if show_mail %}true{% else %}false{% endif %}, url: document.location.href.replace(/#.*$/,""), text: document.title } diff -r f5fe14b94ef5 -r a374c1724314 src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/embed_popup.html --- a/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/embed_popup.html Tue Nov 06 10:52:51 2012 +0100 +++ b/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/embed_popup.html Thu Nov 08 17:59:14 2012 +0100 @@ -1,11 +1,13 @@ {% extends "ldt/ldt_utils/workspace_base.html" %} {% load i18n %} +{% load front_tags %} {% load analytics %} {% block js_import %} {{ block.super }} + {{ content_form.media.js }} {% endblock %} @@ -38,9 +40,10 @@ {{ block.super }} {{ content_form.media.css }} - + + {% endblock %} @@ -49,15 +52,33 @@
{% trans 'project id' %} ({% trans 'Select' %}) :
{% trans 'Show Player' %} -