]> Dogcows Code - chaz/chatty/blobdiff - root/tt/wrapper.tt
some user interface tweaks
[chaz/chatty] / root / tt / wrapper.tt
index 6fad196f4d97108a65fce37dc85403d6812f773b..87d510628de4799a1f458950054dd445a607bf23 100644 (file)
                        </div>
 [% END -%]
                        <div id="inner">
+                               <div class="right">
+[% IF c.user_exists -%]
+                                       Logged in as [% c.user.obj.username %]. <a href="[% c.uri_for_action('logout') %]">Log Out</a>
+[% END -%]
+                               </div>
+                               <a href="[% c.uri_for('/') %]">
+                                       <img src="[% c.uri_for('/static/img/chat.png') %]" alt="Chat!">
+                               </a>
 [% content -%]
-                               <hr>
                                <div id="footer">
                                        Copyright &copy; 2011 Charles McGarvey. Some rights reserved.
                                        <div class="right">
                                $('#message').delay(200).slideDown('fast');
                                setTimeout("$('#message').slideUp()", 5000);
 [% END -%]
-$.tools.validator.localize("en", {
-       ':email'                : 'Please enter a valid email address.',
-       '[required]'    : 'This field is required.'
-});
 [% TRY; INCLUDE js; CATCH; ''; END -%]
                        });
                </script>
This page took 0.017354 seconds and 4 git commands to generate.