diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-03-19 21:27:42 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-03-19 22:02:59 -0400 |
commit | 37792bc4b18182e73b5a9e8dfbbe600333cef08c (patch) | |
tree | 3bc04b35e001d2fb402cf25fdf2766bd4852e153 | |
parent | 27cf6e18ba78b3a2fe0a8d0ed258e5445508437e (diff) |
index.html.gen: use heredoc, tab indent
-rwxr-xr-x | public-src/index.html.gen | 44 |
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 |