diff options
author | Leif Johansson <leifj@sunet.se> | 2012-10-21 12:44:16 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2012-10-21 12:44:16 +0200 |
commit | 046812b9723b39787aac074b7667aa38b7c84271 (patch) | |
tree | e93f053a4ae6bfa81f3d0cb9381920a4c644e0b4 /templates | |
parent | ed94b9e357936461e38aab83244d4fbee35c45e1 (diff) |
widget base url fixes
Diffstat (limited to 'templates')
-rw-r--r-- | templates/apps/room/widget.html | 12 |
1 files changed, 7 insertions, 5 deletions
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> </pre> <p> 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 <code>http</code> to <code>https</code> if you are serving your widget + over TLS since most browsers will otherwize block insecure content. </p> {% endblock %}
\ No newline at end of file |