fix a load of spacing issues in frontend content (#9281)

This commit is contained in:
chris48s
2023-06-18 09:05:42 +01:00
committed by GitHub
parent 50ea7068a8
commit a5f91a40e5
27 changed files with 180 additions and 251 deletions

View File

@@ -10,23 +10,18 @@ import { BaseService } from '../index.js'
import trace from '../../core/base-service/trace.js'
const documentation = `
<p>
The badge is of the form
<code>https://img.shields.io/website/PROTOCOL/URLREST.svg</code>.
</p>
<p>
The whole URL is obtained by concatenating the <code>PROTOCOL</code>
(<code>http</code> or <code>https</code>, for example) with the
<code>URLREST</code> (separating them with <code>://</code>).
</p>
<p>
The existence of a specific path on the server can be checked by appending
a path after the domain name, e.g.
<code>https://img.shields.io/website/http/www.website.com/path/to/page.html.svg</code>.
</p>
<p>
The messages and colors for the up and down states can also be customized.
</p>
The badge is of the form
\`https://img.shields.io/website/PROTOCOL/URLREST.svg\`.
The whole URL is obtained by concatenating the \`PROTOCOL\`
(\`http\` or \`https\`, for example) with the
\`URLREST\` (separating them with \`://\`).
The existence of a specific path on the server can be checked by appending
a path after the domain name, e.g.
\`https://img.shields.io/website/http/www.website.com/path/to/page.html.svg\`.
The messages and colors for the up and down states can also be customized.
`
const urlQueryParamSchema = Joi.object({