From 6f0a9499aaf37505495b519b4b242f6509d94093 Mon Sep 17 00:00:00 2001 From: Gustavo Cortez Date: Sun, 20 Apr 2014 16:21:33 -0300 Subject: [PATCH 1/2] Removed "sendTest" link. --- index.html | 4 ---- js/controllers/send.js | 6 ------ 2 files changed, 10 deletions(-) diff --git a/index.html b/index.html index b9f10e7ce..6773f7b4b 100644 --- a/index.html +++ b/index.html @@ -347,10 +347,6 @@ missing -
-
- sendTest -
diff --git a/js/controllers/send.js b/js/controllers/send.js index c027ae04c..cd6226bdb 100644 --- a/js/controllers/send.js +++ b/js/controllers/send.js @@ -38,10 +38,4 @@ angular.module('copay.send').controller('SendController', $rootScope.flashMessage = { message: 'You send a proposal transaction succefully', type: 'success'}; }; - $scope.sendTest = function() { - var w = $rootScope.wallet; - w.createTx( 'mimoZNLcP2rrMRgdeX5PSnR7AjCqQveZZ4', '12345',function() { - $rootScope.$digest(); - }); - }; }); From cb887ca778bec77b44b68ad36d853e195992a564 Mon Sep 17 00:00:00 2001 From: Gustavo Cortez Date: Sun, 20 Apr 2014 19:39:16 -0300 Subject: [PATCH 2/2] Fix navbar menu on small devices --- css/main.css | 9 +++++++++ index.html | 4 ++-- js/controllers/header.js | 1 + 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/css/main.css b/css/main.css index bedc96ff4..980cc0d13 100644 --- a/css/main.css +++ b/css/main.css @@ -185,6 +185,15 @@ small.has-error { color: #f04124; } +@media (max-width: 641px) { + .hide_menu { + display: none; + } + .show_menu { + display: block; + } +} + hr { margin: 2.25rem 0;} button.primary { background-color: #111; } diff --git a/index.html b/index.html index 6773f7b4b..6544f6617 100644 --- a/index.html +++ b/index.html @@ -27,11 +27,11 @@ -
+
  • {{item.title}} diff --git a/js/controllers/header.js b/js/controllers/header.js index d6680e76b..4236c486f 100644 --- a/js/controllers/header.js +++ b/js/controllers/header.js @@ -47,4 +47,5 @@ angular.module('copay.header').controller('HeaderController', $rootScope.flashMessage = {}; }; + $rootScope.isCollapsed = true; });