mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 17:45:18 -05:00
- The General/ level is gone: its 109 files moved up into the folders of the same name, and its topic table is the "Shared topics" section of Features.md. - Accessibility is one folder, docs/Features/Accessibility/, with the Admin Panel's accessibility page in it. - Every folder's main page is README.md (110 X/X.md pages renamed with git mv, five merged with an existing README.md, 26 index pages added for folders that had none), so a folder opened on GitHub shows its page. - The 73 "# Moved" forwarding pages are deleted, with the folders that held only them; every link that went to one goes to its final page. - docs/Features/README.md has the website's "Features in WeKan" overview, each feature linking to its page here. 1,129 Markdown links in 262 files and 352 doc paths in code, tests, compose, snap and release files follow. tests/docsFeaturesLayout.test.cjs fails when General/ or a "# Moved" page comes back, a folder has no README.md, or a relative link in the docs or README.md does not resolve. Thanks to xet7 !
49 lines
2.4 KiB
Plaintext
49 lines
2.4 KiB
Plaintext
//- Shared "Select Color" picker (docs/Features/Theme/Change-Color.md), used by Board Settings,
|
|
Member Settings and Admin Panel / Settings / Visibility. Colors are shown as VISIBLE swatches grouped by category, with
|
|
the category name as a header above each group; the native color wheel(s) appear
|
|
for the flat (1) / clear (2) categories once such a color is selected. `data.scope`
|
|
is 'board', 'global' or 'admin' - the only difference between the three places.
|
|
template(name="themeColorPicker")
|
|
form.theme-color-picker.edit-label
|
|
if isGlobal
|
|
//- Two switches on ONE row: what the theme IS on the start side, and where
|
|
it also applies on the end side. "Default (no override)" clears the
|
|
user's theme; "All Boards" paints the overview's tiles in the theme's
|
|
lighter colour instead of each board's own (models/users.js
|
|
profile.allBoardsThemeTiles). Only the user's own scope has the second
|
|
one - a site admin does not decide this for everybody.
|
|
ul.pop-over-list.theme-scope-row
|
|
li(class="{{#if isNoneSelected}}active{{/if}}")
|
|
a.js-theme-none
|
|
i.fa.fa-ban
|
|
| {{_ 'theme-default'}}
|
|
if isNoneSelected
|
|
i.fa.fa-check
|
|
if isUserScope
|
|
li(class="{{#if allBoardsTilesOn}}active{{/if}}")
|
|
a.js-theme-all-boards
|
|
i.fa.fa-th-large
|
|
| {{_ 'all-boards'}}
|
|
if allBoardsTilesOn
|
|
i.fa.fa-check
|
|
each themeGroups
|
|
.theme-category-group
|
|
.theme-category-label {{label}}
|
|
.board-backgrounds-list.clearfix
|
|
each colors
|
|
.board-background-select.js-select-theme(data-color="{{name}}")
|
|
span.background-box(class="board-color-{{name}}")
|
|
span {{name}}
|
|
if selected
|
|
i.fa.fa-check
|
|
if showCustom
|
|
.color-wheel-wrap
|
|
label {{_ 'custom-color'}}
|
|
each customWheels
|
|
input.js-theme-wheel(type="color" data-index="{{index}}" value="{{value}}" title="{{_ 'custom-color'}}")
|
|
.theme-preview
|
|
span.background-box(class="{{previewClass}}" style="{{previewStyle}}")
|
|
//- WCAG 1.4.3: a colour that white text cannot be read on is darkened; this says so.
|
|
if customAdjusted
|
|
p.theme-custom-adjusted.js-theme-custom-adjusted {{_ 'custom-color'}}: {{customAdjusted}} (4.5:1)
|