Files
wekan/client/components/cloud/cloudPanel.css
T
Lauri Ojansivu 1032b472f3 Budget and billing, Workload and the Cloud Panel: saves show, forms render, PDFs print.
Found by running their Chromium specs through build.sh:

- Budget and billing did not refresh after a save: the board pane read the
  current template data inside a promise, where there is none. It uses its
  own instance's data now, and a save refreshes only the board's detail and
  its row, without the spinner that took the pane down and without the
  billingBoards call that ran into its rate limit.
- Workload's capacity form lost its "saved" note: the refresh after a save
  showed the spinner, which replaces the form. The spinner is now only for the
  first load.
- The Cloud Panel's forms did not render: a function passed to an inclusion as
  done=done is called by Spacebars, so they received its result. Errors and
  the domain being edited are module state now.
- The checkboxes of the three pages were hidden by the app-wide form styles;
  each page shows its own again.
- An invoice PDF failed in the bundle with "Cannot find module
  #standard-fonts/Helvetica": pdfkit is given the bundled font.

Tests: templateDataInPromise, spacebarsFunctionArgs and nativeCheckboxesShown
find each shape anywhere in the client, invoiceFiles requires the font in
every PDFDocument, and workload pins the spinner to the first load.

Thanks to xet7 !
2026-11-22 07:20:48 +02:00

79 lines
1.7 KiB
CSS

/* Cloud Panel (docs/Features/Admin-Panel/Cloud-Panel.md). The layout is the
Admin Panel's (.setting-content, the left menu, the table page); only the
panel's own forms, the plan, the Caddyfile and the chat are styled here. */
.cloud-form {
display: flex;
flex-direction: column;
max-width: 40em;
gap: 0.3em;
}
.cloud-form .billing-checkbox {
display: flex;
align-items: center;
gap: 0.4em;
}
.cloud-database {
display: flex;
flex-direction: column;
gap: 0.3em;
}
.cloud-actions {
display: flex;
flex-wrap: wrap;
gap: 0.5em;
margin-block: 0.8em;
}
.cloud-caddyfile {
white-space: pre-wrap;
overflow-wrap: anywhere;
background: #f5f5f5;
padding: 0.8em;
}
.cloud-plan .cloud-plan-create {
color: #2e7d32;
}
.cloud-plan .cloud-plan-update {
color: #8a6d00;
}
.cloud-chat-messages {
list-style: none;
padding-inline-start: 0;
max-height: 60vh;
overflow-y: auto;
}
.cloud-chat-messages li {
margin-block-end: 0.6em;
}
.cloud-chat-messages li.is-mine {
text-align: end;
}
.cloud-chat-who {
font-weight: bold;
}
.cloud-chat-text {
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.cloud-invoice-void td {
text-decoration: line-through;
color: #777;
}
/* Labelled native checkboxes: the app-wide material form rule
(client/components/forms/forms.css) hides native checkboxes three ways -
display, visibility, an offset - which left these with a label and no box
to tick or see ticked. All three are undone, as in cardFlow.css. */
.cloud-panel input[type="checkbox"],
.js-cloud-panel-settings input[type="checkbox"] {
display: inline-block;
visibility: visible;
position: static;
inset-inline-start: auto;
width: 16px;
height: 16px;
min-height: 0;
margin: 0;
margin-inline-end: 4px;
flex: none;
}