Fix compliance of generated HTML.

Also tab-align generated source code for readability. Removed an extra
div.
This commit is contained in:
Joachim Desroches 2021-02-22 17:00:04 +01:00
parent a807c58b41
commit 8d323b4ef3
No known key found for this signature in database
GPG key ID: 6778C9C29C02D691

View file

@ -2,7 +2,7 @@
cat << EOF
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>e-Durable Tooling</title>
@ -12,7 +12,7 @@ cat << EOF
</head>
<body>
<div id="header">
<img id="header-logo" src="assets/edurable-logo.png" />
<img id="header-logo" alt="e-Durable logo" src="assets/edurable-logo.png" />
<p>
Convenience webpage to quickly access e-Durable services. Sources on <a
@ -24,10 +24,10 @@ cat << EOF
EOF
for entry in services/*; do
cat <<- EOF
cat << EOF
<div class="row">
<div class="col-3 horizontal-align-center vertical-align-center">
<img src="$entry/logo.png" class="service-logo" />
<img src="$entry/logo.png" alt="$entry logo" class="service-logo" />
</div>
<div class="col-3 vertical-align-center">
<a href="$(cat "$entry/url")">$(basename "$entry")</a>
@ -41,7 +41,6 @@ done
cat << EOF
</div>
</div>
</body>
</html>
EOF