aboutsummaryrefslogtreecommitdiff
path: root/src/js/profile.js
diff options
context:
space:
mode:
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