PageRenderTime 21ms CodeModel.GetById 17ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/templates/simple.html

http://django-jchat.googlecode.com/
HTML | 33 lines | 29 code | 3 blank | 1 comment | 0 complexity | 3b21a17d3e9b22b256b9c553cd9c244a MD5 | raw file
 1{% extends 'base.html' %}
 2
 3{% block content %}
 4<div id="instructions"> 
 5  <p>Simple chat example here. Please refer to the documentation at my blog, the wiki and/or read the source code for the project's main views.py file, under the simple() function, it's all there... and here watch it in action:</p> 
 6</div> 
 7
 8<div id="chat"></div>
 9<!-- You should try to include this at another place at your convenience :D -->
10<script type="text/javascript" src="/static/js/jchat.js"></script>
11<script type="text/javascript">
12/* chat_id is passed form the view, the init_chat function then does all the magic */
13$(window).ready(function(){
14	init_chat({{chat_id}}, "chat");
15})
16</script>
17<div id="explanation">
18<strong>Emoticon Reference</strong> (try these)<br />
19<pre>
20>:D
21:D
22=D
23:)
24:O
25:P
26:(
27:3
28;)
29(ball)
30</pre>
31</div>
32
33{% endblock %}