mirror of
https://github.com/wekan/wekan.git
synced 2026-01-19 07:46:09 +01:00
Added back feature: Toggle Drag Handles. Improved positions of Add List etc buttons.
Thanks to xet7 !
This commit is contained in:
parent
00793c39f8
commit
5cb712bee4
12 changed files with 85 additions and 86 deletions
|
|
@ -30,6 +30,14 @@ template(name="header")
|
|||
span.zoom-display {{zoomLevel}}%
|
||||
input.zoom-input.js-zoom-input(type="number" value=zoomLevel min="50" max="300" step="10" style="display: none;")
|
||||
|
||||
// Drag handles toggle - between zoom and mobile mode toggle
|
||||
a.board-header-btn.js-toggle-desktop-drag-handles(title="{{_ 'show-desktop-drag-handles'}}")
|
||||
| ↕️
|
||||
if isShowDesktopDragHandles
|
||||
| ✅
|
||||
unless isShowDesktopDragHandles
|
||||
| 🚫
|
||||
|
||||
if isMiniScreen
|
||||
ul.header-quick-access-list
|
||||
if currentList
|
||||
|
|
@ -44,12 +52,6 @@ template(name="header")
|
|||
a(href="{{pathFor 'board' id=_id slug=slug}}")
|
||||
+viewer
|
||||
= title
|
||||
//a.js-toggle-desktop-drag-handles(title="{{_ 'show-desktop-drag-handles'}}" alt="{{_ 'show-desktop-drag-handles'}}")
|
||||
// i.fa.fa-arrows
|
||||
// if isShowDesktopDragHandles
|
||||
// i.fa.fa-check-square-o
|
||||
// unless isShowDesktopDragHandles
|
||||
// i.fa.fa-ban
|
||||
#header-new-board-icon
|
||||
else
|
||||
ul.header-quick-access-list
|
||||
|
|
@ -64,12 +66,7 @@ template(name="header")
|
|||
= title
|
||||
else
|
||||
li.current.empty {{_ 'quick-access-description'}}
|
||||
//a.js-toggle-desktop-drag-handles(title="{{_ 'show-desktop-drag-handles'}}" alt="{{_ 'show-desktop-drag-handles'}}")
|
||||
// i.fa.fa-arrows
|
||||
// if isShowDesktopDragHandles
|
||||
// i.fa.fa-check-square-o
|
||||
// unless isShowDesktopDragHandles
|
||||
// i.fa.fa-ban
|
||||
#header-new-board-icon
|
||||
// Next line is used only for spacing at header,
|
||||
// there is no visible clickable icon.
|
||||
#header-new-board-icon
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue