X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fchatty;a=blobdiff_plain;f=root%2Ftt%2Fwrapper.tt;h=87d510628de4799a1f458950054dd445a607bf23;hp=951a19e4fb007c5bb161ff8e7f595c7e81736687;hb=99657a2f36e38272de6820fce26839109bf05747;hpb=ce10e1dfe911071e99c51edbcd34b74b2615f847 diff --git a/root/tt/wrapper.tt b/root/tt/wrapper.tt index 951a19e..87d5106 100644 --- a/root/tt/wrapper.tt +++ b/root/tt/wrapper.tt @@ -4,24 +4,63 @@ - + + Chatty - [% template.title or 'Toy chat application written in Perl/Catalyst' %]
+[% IF error -%] +
+ [% error %] +
+[% END -%] +[% IF message -%] +
+ [% message %] +
+[% END -%]
-[% content %] -
+
+[% IF c.user_exists -%] + Logged in as [% c.user.obj.username %]. Log Out +[% END -%] +
+ + Chat! + +[% content -%]
- + + + +