aboutsummaryrefslogtreecommitdiff
path: root/src/js/profile.js
diff options
context:
space:
mode:
authorCamil Staps2015-05-13 17:42:31 +0200
committerCamil Staps2015-05-13 17:42:31 +0200
commit9f3483fccf26e43eed5ccb9945c17cbb7c82a56d (patch)
tree92ccdc39825f9a88b0b16414182b579df6722aaf /src/js/profile.js
parentDifferent 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.js13
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