X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=inline;f=root%2Ftt%2Fwrapper.tt;h=82e3403d0bc870099694a85e76f57f66fcaccc73;hb=05b5135c2b3d5b658704029010909b651c767a3f;hp=7599375496479d2ef5ef3f76523a27faca3f2e14;hpb=9b343fd3d0f46473e2f5804ac09caeaed95e4283;p=chaz%2Fchatty diff --git a/root/tt/wrapper.tt b/root/tt/wrapper.tt index 7599375..82e3403 100644 --- a/root/tt/wrapper.tt +++ b/root/tt/wrapper.tt @@ -5,19 +5,31 @@ + Chatty - [% template.title or 'Toy chat application written in Perl/Catalyst' %]
[% IF error -%] -

[% error %]

+
+ [% error %] +
[% END -%] [% IF message -%] -

[% message %]

+
+ [% message %] +
[% END -%]
-[% content %] -
+
+[% IF c.user_exists -%] + Logged in as [% c.user.obj.username %]. Log Out +[% END -%] +
+ + Chat! + +[% content -%]
- + + + +[% TRY; INCLUDE js_include; CATCH; ''; END -%]