From b513313c2fbfb0e5f15cab97ea74929b5c0d0a60 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Fri, 20 Jun 2014 21:59:59 -0300 Subject: Add a board selector instead of the list of projects --- assets/css/app.css | 2 +- assets/js/board.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'assets') diff --git a/assets/css/app.css b/assets/css/app.css index f98a7b16..60d37abc 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -485,7 +485,7 @@ nav .active a { /* board */ .page-header.board { - margin-bottom: 0; + margin-bottom: 5px; } .project-menu li { diff --git a/assets/js/board.js b/assets/js/board.js index 7ff7445b..fb6413ab 100644 --- a/assets/js/board.js +++ b/assets/js/board.js @@ -190,6 +190,10 @@ $(function() { board_load_events(); filter_load_events(); + + $("#form-board-selector").change(function() { + window.location = "?controller=board&action=show&project_id=" + $(this).val(); + }); }); }()); -- cgit v1.2.3