diff options
author | Camil Staps | 2015-05-13 17:42:31 +0200 |
---|---|---|
committer | Camil Staps | 2015-05-13 17:42:31 +0200 |
commit | 9f3483fccf26e43eed5ccb9945c17cbb7c82a56d (patch) | |
tree | 92ccdc39825f9a88b0b16414182b579df6722aaf /src/js/profile.js | |
parent | Different styles structure (relies on gulpfile concatenation); new styles added (diff) |
Fixed BotleaguesFrontend -> Botleagues changes (JS); added profile page with different jade base layout
Diffstat (limited to 'src/js/profile.js')
-rw-r--r-- | src/js/profile.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/js/profile.js b/src/js/profile.js new file mode 100644 index 0000000..48600db --- /dev/null +++ b/src/js/profile.js @@ -0,0 +1,13 @@ +$(document).ready(function(){ + setupGreeter(); +}); + +function setupGreeter() { + $('#greeter').append(' ' + $.cookie(Botleagues.cookie_login_email)); + $('#banner').append( + $('<span>') + .attr('id', 'banner-email') + .addClass('text-muted') + .text(' / ' + $.cookie(Botleagues.cookie_login_email)) + ); +}
\ No newline at end of file |