Index: appengine/monorail/templates/framework/user-bar.ezt |
diff --git a/appengine/monorail/templates/framework/user-bar.ezt b/appengine/monorail/templates/framework/user-bar.ezt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..29a6c2081b81c813344985e5144b50483880d08a |
--- /dev/null |
+++ b/appengine/monorail/templates/framework/user-bar.ezt |
@@ -0,0 +1,14 @@ |
+<span style="padding: 0 1em"> |
+ [if-any logged_in_user] |
+ <span id="account-menu" style="color:#0000cc"> |
+ <b><u>[logged_in_user.email]</u></b> |
+ <small>▼</small> |
+ </span> |
+ | <a href="[logged_in_user.profile_url]" |
+ title="Profile, Updates, and Settings" |
+ ><u>Profile</u></a> |
+ | <a href="[logout_url]"><u>Sign out</u></a> |
+ [else] |
+ <a href="[login_url]"><u>Sign in</u></a> |
+ [end] |
+</span> |