Add a UI to restore archived cards

This commit is contained in:
Maxime Quandalle 2015-06-07 18:55:26 +02:00
parent 915a7e5c68
commit 98d7278d08
17 changed files with 137 additions and 84 deletions

View file

@ -20,10 +20,11 @@ position()
.board-overlay
position: cover
top: -100px
right: -400px
background: black
opacity: 0.33
animation: fadeIn 0.2s
z-index: 10
z-index: 16
&.next-sidebar
margin-right: 248px

View file

@ -47,7 +47,7 @@ template(name="headerBoard")
template(name="boardMenuPopup")
if currentUser.isBoardMember
ul.pop-over-list
li: a Archived elements
li: a.js-open-archives Archived elements
li: a.js-change-board-color Change color
li: a Permissions
hr

View file

@ -1,5 +1,9 @@
Template.boardMenuPopup.events({
'click .js-rename-board': Popup.open('boardChangeTitle'),
'click .js-open-archives': function() {
Sidebar.setView('archives');
Popup.close();
},
'click .js-change-board-color': Popup.open('boardChangeColor'),
'click .js-change-language': Popup.open('setLanguage')
});