diff options
author | EuAndreh <eu@euandre.org> | 2021-08-20 19:24:16 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-08-20 19:24:16 -0300 |
commit | e7825683d291ddfa6e378293c7c278a7d88909ec (patch) | |
tree | 26153c111a25651fb9721d20f2a40d4fa2a7db04 /aux | |
parent | aux/workflow/repocheck.sh: Run dev-check, adapt scripts that depend on Git repo (diff) | |
download | git-permalink-e7825683d291ddfa6e378293c7c278a7d88909ec.tar.gz git-permalink-e7825683d291ddfa6e378293c7c278a7d88909ec.tar.xz |
aux/ci/report.sh: Add description metadata, use <ol>, use spaces for HTML
Diffstat (limited to 'aux')
-rwxr-xr-x | aux/ci/report.sh | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/aux/ci/report.sh b/aux/ci/report.sh index 7fa3d08..2a4ad65 100755 --- a/aux/ci/report.sh +++ b/aux/ci/report.sh @@ -48,27 +48,29 @@ done cat <<EOF >> "$OUT" <!DOCTYPE html> <html lang="en"> - <head> - <meta charset="UTF-8" /> - <meta name="viewport" - content="width=device-width, initial-scale=1" /> - <link rel="icon" type="image/svg+xml" href="favicon.svg" /> - <title>CI logs for $PROJECT</title> + <head> + <meta charset="UTF-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + <meta name="description" content="CI logs for $PROJECT" /> + <link rel="icon" type="image/svg+xml" href="favicon.svg" /> + <title>CI logs for $PROJECT</title> - <style> - pre { - display: inline; - } - </style> - </head> - <body> - <h1> - CI logs for - <a href="https://$TLD/$PROJECT/en/"> - $PROJECT - </a> - </h1> - <ul> + <style> + pre { + display: inline; + } + ol { + list-style-type: disc; + } + </style> + </head> + <body> + <main> + <h1> + CI logs for + <a href="https://$TLD/$PROJECT/en/">$PROJECT</a> + </h1> + <ol> EOF for f in $(find "$OUTDIR/ci-data/" -type f | LANG=C.UTF-8 sort -r); do @@ -83,17 +85,15 @@ for f in $(find "$OUTDIR/ci-data/" -type f | LANG=C.UTF-8 sort -r); do fi cat <<EOF >> "$OUT" - <li> - <a href="ci-logs/$FILENAME"> - $STATUS_MARKER <pre>$FILENAME</pre> - </a> - </li> + <li> + <a href="ci-logs/$FILENAME">$STATUS_MARKER <pre>$FILENAME</pre></a> + </li> EOF done cat <<EOF >> "$OUT" - </ul> - </body> + </ol> + </body> </html> EOF |