Files
wekan/client/components/settings/adminProblems.css
T
Lauri Ojansivu b7589737f5 File docs/Features the way the WeKan menus are.
A feature's guide now sits under the menu it is used from, read from the
templates rather than from where somebody once put it: Header-Bar,
All-Boards, Pages, Board-Header (search and every Board View), Board-Sidebar
(Board Settings, Filter, Members, Labels, Archive), Rules, Swimlanes, Lists,
Cards, Member-Settings, Admin-Panel and Login-Page. Topics used from several
menus (editor, history, theme, translations, email, troubleshooting) are in
General.

- Each area has a README mapping its menu entries to their guides and to the
  template or server module that implements them. Board-Header/README.md
  lists all 40 Board View entries with the template boardBody.jade renders;
  five views (Table, Calendar Mode, Time, Timeline, Map) have no guide of
  their own yet and say so.
- Board-View.md listed 25 views while BOARD_VIEWS has 40; it now lists all
  of them with their English labels.
- Pages keep their file names. Where a released changelog links an old path,
  a "# Moved" page stays there and points to the new one; test-menu.sh skips
  folders holding only those.
- Undo was filed under Login; it is General/Undo now.
- Every link in docs, code comments, scripts and tests follows the move;
  docsLinksResolve checks them all.

Tests that read a doc follow it to its new place. boardViewSettings now fails
when Board-View.md or Board-Header/README.md differs from BOARD_VIEWS, or
names a template boardBody.jade does not render.

Thanks to xet7 !
2026-10-16 23:45:35 +03:00

53 lines
1.7 KiB
CSS

/* Admin Panel → Problems: the few styles that are NOT part of the shared table
page. Everything the reports have in common - title, status row, search +
pagination controls, and the table itself - now lives in tablePage.css and is
defined once. See docs/Features/General/Table-Page.md. */
/* The menu separator and the "Reports" group title are styled with the menu itself
(settingBody.css): the shared left menu renders `li.left-menu-separator` and
`li.left-menu-heading`, not the `.admin-reports-separator` this file used to
target - so the rule that lived here, twice, never applied to anything. */
/* Admin Panel → Problems → CPU usage: the live figure between the page title and
the search box. The table underneath is a history of past high-CPU periods, so
this line is the only place the page says what the CPU is doing right now. */
.admin-cpu-current {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 8px;
margin-bottom: 12px;
padding: 8px 10px;
border: 1px solid var(--theme-accent, #01628c);
border-radius: 6px;
}
.admin-cpu-label {
font-weight: 700;
}
.admin-cpu-percent {
font-size: 1.4em;
font-weight: 700;
color: var(--theme-accent, #01628c);
}
/* Sustained high CPU: warn without inventing a second colour system. */
.admin-cpu-current.admin-cpu-high {
border-color: #b04632;
}
.admin-cpu-current.admin-cpu-high .admin-cpu-percent {
color: #b04632;
}
.file-status-audit { margin-bottom: 1rem; }
.file-status-audit-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.file-status-audit-actions button { margin: 0; min-height: 34px; }
.file-status-audit pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.rule-email-recovery-identifiers {
overflow-wrap: anywhere;
max-width: 32rem;
}