mirror of
https://github.com/wekan/wekan.git
synced 2026-02-18 14:08:06 +01:00
Add a UI to restore archived cards
This commit is contained in:
parent
915a7e5c68
commit
98d7278d08
17 changed files with 137 additions and 84 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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')
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue