From 046812b9723b39787aac074b7667aa38b7c84271 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Sun, 21 Oct 2012 12:44:16 +0200 Subject: widget base url fixes --- templates/apps/room/widget.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'templates') diff --git a/templates/apps/room/widget.html b/templates/apps/room/widget.html index a658a17..c44bc0e 100644 --- a/templates/apps/room/widget.html +++ b/templates/apps/room/widget.html @@ -18,24 +18,26 @@ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script type="text/javascript" - src="{% baseurl %}/site-media/js/jquery.meetingtools.js"></script> - <link href="{% baseurl %}/site-media/css/jquery.meetingtools.css" + src="/statc/js/jquery.meetingtools.js"></script> + <link href="/static/css/jquery.meetingtools.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> $(function() { - $("#meetings").meetingtools({tags: '{{tags}}',url: '{% baseurl %}'}); + $("#meetings").meetingtools({tags: '{{tags}}',url: '{{BASE_URL}}'}); }); </script> </head> <body> <h1>Meetings...</h1> - <div id="meetings"><img src="{% baseurl %}/site-media/img/ajax-loader.gif"/></div> + <div id="meetings"><img src="/static/img/ajax-loader.gif"/></div> </body> </html>

Change the tags option in the call to 'meetingtools' in order to list other rooms. Override - the CSS elements in jquery.meetingtools.css in order to apply your own skin to the generated html. + the CSS elements in jquery.meetingtools.css in order to apply your own skin to the generated html. + Also remember to change http to https if you are serving your widget + over TLS since most browsers will otherwize block insecure content.

{% endblock %} \ No newline at end of file -- cgit v1.1