summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/account/LogoutView.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-11-09 00:30:45 -0500
committerJules Laplace <jules@okfoc.us>2015-11-09 00:33:08 -0500
commitdad5f3f0c3c13e8334a6a0ea522c5a2bfe8cd830 (patch)
tree61bf4e1e9d3718e363a6cf27cb85ba63316fa6b4 /StoneIsland/www/js/lib/account/LogoutView.js
parent8524ed64401bd53dce1b5412fb732c9667a66ecc (diff)
faq view and other structure
Diffstat (limited to 'StoneIsland/www/js/lib/account/LogoutView.js')
-rw-r--r--StoneIsland/www/js/lib/account/LogoutView.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/StoneIsland/www/js/lib/account/LogoutView.js b/StoneIsland/www/js/lib/account/LogoutView.js
new file mode 100644
index 00000000..fffe661a
--- /dev/null
+++ b/StoneIsland/www/js/lib/account/LogoutView.js
@@ -0,0 +1,24 @@
+var LogoutView = View.extend({
+
+ el: "#logout",
+
+ events: {
+ },
+
+ show: function(){
+ document.body.classList.add("logout")
+ },
+
+ hide: function(){
+ document.body.classList.remove("logout")
+ },
+
+ submit: function(e){
+ e.preventDefault()
+ },
+
+ success: function(){
+ // change login in ui to logout or whatever
+ },
+
+}) \ No newline at end of file