diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-03-19 22:01:53 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-03-19 22:02:59 -0400 |
commit | de3d574804637c5f99e0993c0d4750c218fde07c (patch) | |
tree | 3f5429646ac1b9a7f6f20c86aa55ca593dbef4df /public-src/index.html.gen | |
parent | 51ad09fc770f9eb24a0f143156610dfe850c6e8e (diff) |
do page layout with golden-layout
Diffstat (limited to 'public-src/index.html.gen')
-rwxr-xr-x | public-src/index.html.gen | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/public-src/index.html.gen b/public-src/index.html.gen index 02d72d5..75ededa 100755 --- a/public-src/index.html.gen +++ b/public-src/index.html.gen @@ -2,12 +2,6 @@ set -e cd "$(dirname -- "$0")" -col() { - echo '<div>' - eval "$*" - echo '</div>' -} - cat <<EOT <!DOCTYPE html> <html lang="en"> @@ -23,15 +17,19 @@ cat <<EOT <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" /> + <!-- CSS (3rd-party first, then ours) --> + <link rel="stylesheet" href="./3rd-party/yarn/golden-layout/src/css/goldenlayout-base.css" /> + <link rel="stylesheet" href="./3rd-party/yarn/golden-layout/src/css/goldenlayout-light-theme.css" /> <link rel="stylesheet" href="./jarmon-style/jquerytools.tabs.tabs-no-images.css" /> + <link rel="stylesheet" href="./jarmon-style/style.css" /> + <link rel="stylesheet" href="./style.css"> + + <!-- text/template --> + <script id="tls" type="text/template"> + <div class="tls">$(cat tls.html.part crtsh.html.part diff.html.part)</div> + </script> </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 |