--- /dev/null
+{% extends "site_base.html" %}
+
+{% block head_title %}Chat Client{% endblock %}
+
+{% block extra_head %}
+<!-- Load the JS for the chat window and start retrieving messages. -->
+<script type="text/javascript" src="/static/jqchat/jqchat.js"></script>
+<style type="text/css">
+ /* Example styling for the chat window */
+ #chatwindow {
+ height: 250px;
+ width: 400px;
+ border: 1px solid;
+ padding: 5px;
+ margin: 10px 0;
+ overflow: auto;
+ background-color: white;
+ }
+</style>
+
-{% extends "site_base.html" %}
+{% extends "jqchat/base.html" %}
{# An example chat window #}
-{% block head_title %}Chat Client{% endblock %}
-
{% block extra_head %}
-<!-- Load the JS for the chat window and start retrieving messages. -->
-<script type="text/javascript" src="/static/jqchat/jqchat.js"></script>
+{{ block.super }}
<script type="text/javascript">
$(document).ready(function(){
InitChatWindow("{% url jqchat_ajax room.id %}", null);
});
</script>
-<style type="text/css">
- /* Example styling for the chat window */
- #chatwindow {
- height: 250px;
- width: 400px;
- border: 1px solid;
- padding: 5px;
- margin: 10px 0;
- overflow: auto;
- background-color: white;
- }
-</style>
{% endblock %}
{% block body %}
-{% extends "site_base.html" %}
+{% extends "jqchat/base.html" %}
{# An example chat window #}
-{% block head_title %}Chat Client{% endblock %}
-
{% block extra_head %}
-<!-- Load the JS for the chat window and start retrieving messages. -->
-<script type="text/javascript" src="/static/jqchat/jqchat.js"></script>
+{{ block.super }}
<script type="text/javascript">
$(document).ready(function(){
InitChatWindow("{% url jqchat_test_window_with_description_ajax room.id %}", HandleRoomDescription);
InitChatDescription();
});
</script>
-<style type="text/css">
- /* Example styling for the chat window */
- #chatwindow {
- height: 250px;
- width: 400px;
- border: 1px solid;
- padding: 5px;
- margin: 10px 0;
- overflow: auto;
- background-color: white;
- }
-</style>
-
{% endblock %}
{% block body %}