summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-03-19 21:27:42 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-03-19 22:02:59 -0400
commit37792bc4b18182e73b5a9e8dfbbe600333cef08c (patch)
tree3bc04b35e001d2fb402cf25fdf2766bd4852e153
parent27cf6e18ba78b3a2fe0a8d0ed258e5445508437e (diff)
index.html.gen: use heredoc, tab indent
-rwxr-xr-xpublic-src/index.html.gen44
1 files changed, 23 insertions, 21 deletions
diff --git a/public-src/index.html.gen b/public-src/index.html.gen
index 384f533..02d72d5 100755
--- a/public-src/index.html.gen
+++ b/public-src/index.html.gen
@@ -8,28 +8,30 @@ col() {
echo '</div>'
}
-echo '<!DOCTYPE html>
+cat <<EOT
+<!DOCTYPE html>
<html lang="en">
-<head>
- <meta charset="utf-8">
- <title>Dashboard</title>
+ <head>
+ <meta charset="utf-8">
+ <title>Dashboard</title>
- <!-- Scripts: DHTML (run before DOMContentLoaded) -->
- <script src="./3rd-party/yarn/sorttable/sorttable.js"></script>
- <script src="./colordate.js"></script>
+ <!-- Scripts: DHTML (run before DOMContentLoaded) -->
+ <script src="./3rd-party/yarn/sorttable/sorttable.js"></script>
+ <script src="./colordate.js"></script>
- <!-- Scripts: Modules (run asynchronously after DOMContentLoaded) -->
- <script src="./require.config.js"></script>
- <script src="./3rd-party/yarn/requirejs/require.js" data-main="/main.js"></script>
+ <!-- Scripts: Modules (run asynchronously after DOMContentLoaded) -->
+ <script src="./require.config.js"></script>
+ <script src="./3rd-party/yarn/requirejs/require.js" data-main="/main.js"></script>
- <!-- CSS -->
- <link rel="stylesheet" href="./style.css">
- <link rel="stylesheet" href="./jarmon-style/style.css" />
- <link rel="stylesheet" href="./jarmon-style/jquerytools.tabs.tabs-no-images.css" />
-</head>
-<body>'
-col sed 's/@name@/proton/' jarmon.html.in
-col sed 's/@name@/winston/' jarmon.html.in
-col cat tls.html.part crtsh.html.part diff.html.part
-echo '</body>
-</html>'
+ <!-- CSS -->
+ <link rel="stylesheet" href="./style.css">
+ <link rel="stylesheet" href="./jarmon-style/style.css" />
+ <link rel="stylesheet" href="./jarmon-style/jquerytools.tabs.tabs-no-images.css" />
+ </head>
+ <body>
+ $(col sed 's/@name@/proton/' jarmon.html.in)
+ $(col sed 's/@name@/winston/' jarmon.html.in)
+ $(col cat tls.html.part crtsh.html.part diff.html.part)
+ </body>
+</html>
+EOT