X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fchatty;a=blobdiff_plain;f=root%2Ftt%2Fchat%2Fview.tt;fp=root%2Ftt%2Fchat%2Fview.tt;h=bfb459018436831f5d5806e28cdedb90432a7045;hp=0000000000000000000000000000000000000000;hb=6177b7c3d795a2505f95269ab2dd1d4c6f05a525;hpb=65447d848567b9383f01ab73d8d7eb42b9d8844d diff --git a/root/tt/chat/view.tt b/root/tt/chat/view.tt new file mode 100644 index 0000000..bfb4590 --- /dev/null +++ b/root/tt/chat/view.tt @@ -0,0 +1,13 @@ +[% META title = 'Live' -%] +[% BLOCK js -%] +$('form').validationEngine(); +[% END -%] +

Room: [% room.name %]

+[% IF messages.count == 0 -%] +[% FOREACH msg IN messages -%] +

[% msg.author.username %] ([% msg.posted %]): [% msg.content %]

+[% END -%] +[% ELSE -%] +

No messages, yet.

+[% END -%] +[% form.render -%]