From 8e7bb3b87733083186a2b96d2dbcdebc6b3c15b6 Mon Sep 17 00:00:00 2001 From: Ravi Chandra Padmala Date: Sun, 25 Nov 2012 20:16:37 +0530 Subject: [PATCH] Add Logout button --- app/assets/javascripts/views/links/links_index.js.coffee | 1 + app/assets/stylesheets/link.css.scss | 11 +++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/views/links/links_index.js.coffee b/app/assets/javascripts/views/links/links_index.js.coffee index a9ecd93..317d5d2 100644 --- a/app/assets/javascripts/views/links/links_index.js.coffee +++ b/app/assets/javascripts/views/links/links_index.js.coffee @@ -24,6 +24,7 @@ class B4.Views.NewLinkForm extends Backbone.View



+ """ $(@el).find("form").unbind("submit") diff --git a/app/assets/stylesheets/link.css.scss b/app/assets/stylesheets/link.css.scss index d6479c9..b3d10ea 100644 --- a/app/assets/stylesheets/link.css.scss +++ b/app/assets/stylesheets/link.css.scss @@ -63,8 +63,8 @@ body { text-transform: uppercase; } -#new_link_form input[type="submit"] { - margin-left: 60px; +input[type="submit"] { + margin-left: 40px; text-align: center; float: center; width: 45px; @@ -77,6 +77,13 @@ body { text-transform: uppercase; } +input[type="button"] { + @extend input[type="submit"]; + margin-right: 50px; + float: right; + width: 80px; +} + #new_link_form div { width: 90%; } -- 2.11.4.GIT