Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ pre-releases for test devices only.
## 0.3.0-beta.18

- **Disk change: the wizard did not start.** `shareos-migrate` was not installed into the firmware (0.3.0-beta.16 and beta.17), so *Storage → DISK CHANGE* only showed "shareos-migrate: not found" and kept loading. It is installed now; the page shows an error instead of loading forever, and the static analysis checks that every program of `shareos-core` is installed.
- *System → Firmware*: the left column is as high as the right one, the release notes use the space below. In tables, buttons with and without an icon sit on one line (*Open ↗* was a few pixels lower than *User* and *Remove* in the list of apps).

## 0.3.0-beta.17

Expand Down
4 changes: 2 additions & 2 deletions src/shareos-core/parts/web/system-firmware.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Object.assign(SYS, {
${(u.pending_reboot || u.state === 'flashed') && !busy ? html`<div class="banner">${svg(I.reboot)}<span style="flex:1;min-width:240px"><b>Reboot needed</b> – the new system is installed on the next start (about 1 minute, do not switch off the box).</span><button class="btn primary" type="button" data-act="reboot">Reboot now</button></div>` : ''}
${u.last_upgrade ? html`<div class="banner" style="${u.last_upgrade.startsWith('ok') ? 'border-color:var(--dim)' : ''}">${svg(u.last_upgrade.startsWith('ok') ? I.ok : I.warn)}<span style="flex:1">Last update: <b>${u.last_upgrade.startsWith('ok') ? 'installed successfully (' + u.last_upgrade.slice(3) + ')' : u.last_upgrade}</b></span>${closeX('upd-ack')}</div>` : ''}
${!bootOk && i.boot ? html`<div class="banner">${svg(I.warn)}<span>The box is not running from the flash right now (<b>${i.boot}</b>). Updates on this page only work after a normal start from the flash.</span></div>` : ''}
<div class="split">
<div class="split fill">
<section class="main">
<div class="panel">
<div class="ph"><span class="pt">FIRMWARE UPDATE</span><span class="tag ml">Source: GitHub releases · ${c?.repo || 'UniqueDroid/ShareOS'}</span></div>
Expand Down Expand Up @@ -132,7 +132,7 @@ Object.assign(SYS, {
<a class="btn sm ghost" href="${r.url}" target="_blank" rel="noopener">Notes ↗</a></td></tr>`)}
</tbody></table></div>
${c.releases.length > 3 ? html`<div class="acts" style="margin-top:8px"><button class="btn sm ghost" type="button" data-act="rel-all">${S.relAll ? 'Show fewer' : `Show all (${c.releases.length})`}</button></div>` : ''}</div>` : ''}
${latest?.notes ? html`<div class="panel"><div class="ph"><span class="pt">CHANGES IN ${latest.version}</span></div><pre class="notes">${latest.notes}</pre></div>` : ''}
${latest?.notes ? html`<div class="panel grow"><div class="ph"><span class="pt">CHANGES IN ${latest.version}</span></div><pre class="notes">${latest.notes}</pre></div>` : ''}
</section>
<aside class="aside">
<div class="panel">
Expand Down
6 changes: 5 additions & 1 deletion src/shareos-core/www/shareos.css
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ kbd{font:inherit;font-size:11px;color:var(--muted);border:1px solid var(--line);
.rx{color:var(--accent)}.tx{color:var(--amber)}

/* Buttons, Tags, Formulare */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 16px;font:inherit;font-size:13px;font-weight:600;cursor:pointer;color:var(--accent);background:var(--panel);border:1px solid var(--dim);border-radius:8px;text-decoration:none;white-space:nowrap}
.btn{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 16px;font:inherit;font-size:13px;font-weight:600;cursor:pointer;color:var(--accent);background:var(--panel);border:1px solid var(--dim);border-radius:8px;text-decoration:none;white-space:nowrap}
.btn:hover{background:var(--ph);box-shadow:var(--glow)}
.btn.primary{color:var(--bg);background:var(--accent);border-color:var(--accent)}
.btn.ghost{color:var(--muted);border-color:var(--line)}
Expand Down Expand Up @@ -199,6 +199,10 @@ table.t{width:100%;border-collapse:collapse;font-size:13px;min-width:760px}
.split{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}
.split>.main{flex:999 1 560px;min-width:0;display:grid;gap:16px}
.split>.aside{flex:1 1 300px;min-width:0;display:grid;gap:16px}
/* .fill: both columns as high as the higher one; a .grow panel of the main column takes the rest (Firmware: the notes) */
.split.fill{align-items:stretch}.split.fill>.main{display:flex;flex-direction:column}
.split.fill>.main>.grow{flex:1 1 auto;display:flex;flex-direction:column;min-height:0}
.split.fill>.main>.grow>.notes{flex:1 1 0;max-height:none;min-height:220px}
.stack{display:grid;gap:16px}
.kv{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;font-size:13px}
.kv dt{color:var(--muted)}.kv dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}
Expand Down
Loading