mirror of
https://github.com/wekan/wekan.git
synced 2026-01-31 13:45:17 +01:00
Flex-Box Layout of "Move Attachment" buttons
This commit is contained in:
parent
c6212c7d62
commit
5c890e4cc3
2 changed files with 13 additions and 8 deletions
|
|
@ -18,10 +18,11 @@ template(name="attachments")
|
|||
+moveAttachments
|
||||
|
||||
template(name="moveAttachments")
|
||||
.js-move-attachment
|
||||
button.js-move-all-attachments-to-fs {{_ 'move-all-attachments-to-fs'}}
|
||||
.js-move-attachment
|
||||
button.js-move-all-attachments-to-gridfs {{_ 'move-all-attachments-to-gridfs'}}
|
||||
.move-attachment-buttons
|
||||
.js-move-attachment
|
||||
button.js-move-all-attachments-to-fs {{_ 'move-all-attachments-to-fs'}}
|
||||
.js-move-attachment
|
||||
button.js-move-all-attachments-to-gridfs {{_ 'move-all-attachments-to-gridfs'}}
|
||||
|
||||
each board in getBoardsWithAttachments
|
||||
+moveBoardAttachments board
|
||||
|
|
@ -36,10 +37,11 @@ template(name="moveBoardAttachments")
|
|||
td {{ _id }}
|
||||
td {{ title }}
|
||||
|
||||
.js-move-attachment
|
||||
button.js-move-all-attachments-of-board-to-fs {{_ 'move-all-attachments-of-board-to-fs'}}
|
||||
.js-move-attachment
|
||||
button.js-move-all-attachments-of-board-to-gridfs {{_ 'move-all-attachments-of-board-to-gridfs'}}
|
||||
.move-attachment-buttons
|
||||
.js-move-attachment
|
||||
button.js-move-all-attachments-of-board-to-fs {{_ 'move-all-attachments-of-board-to-fs'}}
|
||||
.js-move-attachment
|
||||
button.js-move-all-attachments-of-board-to-gridfs {{_ 'move-all-attachments-of-board-to-gridfs'}}
|
||||
|
||||
.board-attachments
|
||||
table
|
||||
|
|
|
|||
3
client/components/settings/attachments.styl
Normal file
3
client/components/settings/attachments.styl
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
.move-attachment-buttons
|
||||
display: flex
|
||||
gap: 10px
|
||||
Loading…
Add table
Add a link
Reference in a new issue