From 0cb4f3f912ac0755ac4f631c3d840983945c7abf Mon Sep 17 00:00:00 2001 From: Michael Parenteau Date: Fri, 13 Aug 2010 17:43:36 -0400 Subject: [PATCH] started to mockup the add watchers form --- public/javascripts/application.js | 11 +++++++++++ public/mockup.html | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 101 insertions(+), 0 deletions(-) create mode 100644 public/mockup.html diff --git a/public/javascripts/application.js b/public/javascripts/application.js index 2026986..1bb920b 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -2,6 +2,17 @@ $(function(){ activateTabbedPanels(); + + $('#watcher_name').live("click", function() { + $(this).closest('form').find('.show').removeClass('show'); + $('#app_watchers_attributes_0_user_id').addClass('show'); + }); + + $('#watcher_email').live("click", function() { + $(this).closest('form').find('.show').removeClass('show'); + $('#app_watchers_attributes_0_email').addClass('show'); + }); + }); function activateTabbedPanels() { diff --git a/public/mockup.html b/public/mockup.html new file mode 100644 index 0000000..85e0123 --- /dev/null +++ b/public/mockup.html @@ -0,0 +1,90 @@ + + + + + Errbit — + Add App + + + + + + + + + + + + + + + + + + + +
+
+

Add App

+ +
+ cancel +
+
+
+ +
+
+ + +
+
+ + +
+
+ Watchers +
+
+    +

+
+
+ + +
+
+
+
+
+
+
+ + + + \ No newline at end of file -- libgit2 0.21.2