aboutsummaryrefslogtreecommitdiffstats
path: root/public/partials/login.html
diff options
context:
space:
mode:
Diffstat (limited to 'public/partials/login.html')
-rw-r--r--public/partials/login.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/public/partials/login.html b/public/partials/login.html
new file mode 100644
index 0000000..f3dd614
--- /dev/null
+++ b/public/partials/login.html
@@ -0,0 +1,15 @@
+<h1>{{title}}</h1>
+
+<!--
+ Below we include the Login Button social plugin. This button uses
+ the JavaScript SDK to present a graphical Login button that triggers
+ the FB.login() function when clicked.
+-->
+
+<fb:login-button scope="public_profile,email,user_friends" onlogin="checkLoginState();">
+</fb:login-button>
+
+<input type="button" onclick="logout()" value="logout"></input>
+
+<div id="status">
+</div>