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