openvibers/openvibe.host Commits
Inner pages: no site name above the title (#372)
Changes
@@@ -39,7 +39,7 @@ function page({ viewer, config, data, csrf, notice, available }) {const totals = Object.entries(data.totals).map(([cur, n]) => money(n, cur)).join(' + ') || '—';const body = `<section class="cs"><header class="cs-head">-- <div><p class="cs-eyebrow">OpenVibe.Host · console</p><h1>Your servers, every provider</h1>++ <div><p class="cs-eyebrow">Console</p><h1>Your servers, every provider</h1><p class="cs-lede">Connect your own hosting accounts and see and run all your servers in one place, with where the catalog has the same size for less.</p></div><div class="cs-stats"><div><b>${data.servers.length}</b><span>servers</span></div><div><b>${data.running}</b><span>running</span></div><div><b>${esc(totals)}</b><span>a month</span></div></div></header>@@@ -48,7 +48,7 @@ function list({ result, query = {} }) {const rows = result.benchmarks;const next = result.next_cursor ? `<p class="hc-more">${link(`/catalog/benchmarks?${new URLSearchParams({ ...q, cursor: result.next_cursor })}`, 'Next 50 results →', 'button hc-button-quiet')}</p>` : '';const filtered = q.provider || q.plan;-- return `<header class="hc-head hc-head-row"><div><p class="hc-eyebrow">OpenVibe.Host · benchmarks</p><h1>Server benchmarks</h1>++ return `<header class="hc-head hc-head-row"><div><h1>Server benchmarks</h1><p class="hc-lede">CPU, disk and network results people ran on their own servers with YABS, by provider and plan.</p></div><p>${link('/catalog/benchmarks/new', 'Submit a benchmark', 'button')}</p></header>${rows.length || filtered ? `<form class="hc-filters" method="get" action="/catalog/benchmarks" role="search" aria-label="Sort benchmarks">
@@ -39,7 +39,7 @@ function page({ viewer, config, data, csrf, notice, available }) {
@@ -39,7 +39,7 @@ function page({ viewer, config, data, csrf, notice, available }) {
const totals = Object.entries(data.totals).map(([cur, n]) => money(n, cur)).join(' + ') || '—';
const totals = Object.entries(data.totals).map(([cur, n]) => money(n, cur)).join(' + ') || '—';
const body = `<section class="cs">
const body = `<section class="cs">
<header class="cs-head">
<header class="cs-head">
- <div><p class="cs-eyebrow">OpenVibe.Host · console</p><h1>Your servers, every provider</h1>
+ <div><p class="cs-eyebrow">Console</p><h1>Your servers, every provider</h1>
<p class="cs-lede">Connect your own hosting accounts and see and run all your servers in one place, with where the catalog has the same size for less.</p></div>
<p class="cs-lede">Connect your own hosting accounts and see and run all your servers in one place, with where the catalog has the same size for less.</p></div>
<div class="cs-stats"><div><b>${data.servers.length}</b><span>servers</span></div><div><b>${data.running}</b><span>running</span></div><div><b>${esc(totals)}</b><span>a month</span></div></div>
<div class="cs-stats"><div><b>${data.servers.length}</b><span>servers</span></div><div><b>${data.running}</b><span>running</span></div><div><b>${esc(totals)}</b><span>a month</span></div></div>
</header>
</header>
@@ -48,7 +48,7 @@ function list({ result, query = {} }) {
@@ -48,7 +48,7 @@ function list({ result, query = {} }) {
const rows = result.benchmarks;
const rows = result.benchmarks;
const next = result.next_cursor ? `<p class="hc-more">${link(`/catalog/benchmarks?${new URLSearchParams({ ...q, cursor: result.next_cursor })}`, 'Next 50 results →', 'button hc-button-quiet')}</p>` : '';
const next = result.next_cursor ? `<p class="hc-more">${link(`/catalog/benchmarks?${new URLSearchParams({ ...q, cursor: result.next_cursor })}`, 'Next 50 results →', 'button hc-button-quiet')}</p>` : '';
const filtered = q.provider || q.plan;
const filtered = q.provider || q.plan;
- return `<header class="hc-head hc-head-row"><div><p class="hc-eyebrow">OpenVibe.Host · benchmarks</p><h1>Server benchmarks</h1>
+ return `<header class="hc-head hc-head-row"><div><h1>Server benchmarks</h1>
<p class="hc-lede">CPU, disk and network results people ran on their own servers with YABS, by provider and plan.</p></div>
<p class="hc-lede">CPU, disk and network results people ran on their own servers with YABS, by provider and plan.</p></div>
<p>${link('/catalog/benchmarks/new', 'Submit a benchmark', 'button')}</p></header>
<p>${link('/catalog/benchmarks/new', 'Submit a benchmark', 'button')}</p></header>
${rows.length || filtered ? `<form class="hc-filters" method="get" action="/catalog/benchmarks" role="search" aria-label="Sort benchmarks">
${rows.length || filtered ? `<form class="hc-filters" method="get" action="/catalog/benchmarks" role="search" aria-label="Sort benchmarks">