X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=root%2Ftt%2Fwrapper.tt;h=87d510628de4799a1f458950054dd445a607bf23;hb=99657a2f36e38272de6820fce26839109bf05747;hp=7599375496479d2ef5ef3f76523a27faca3f2e14;hpb=9b343fd3d0f46473e2f5804ac09caeaed95e4283;p=chaz%2Fchatty diff --git a/root/tt/wrapper.tt b/root/tt/wrapper.tt index 7599375..87d5106 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 -%]
- + + +