summaryrefslogtreecommitdiff
path: root/public-src/index.html.gen
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-03-19 22:01:53 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-03-19 22:02:59 -0400
commitde3d574804637c5f99e0993c0d4750c218fde07c (patch)
tree3f5429646ac1b9a7f6f20c86aa55ca593dbef4df /public-src/index.html.gen
parent51ad09fc770f9eb24a0f143156610dfe850c6e8e (diff)
do page layout with golden-layout
Diffstat (limited to 'public-src/index.html.gen')
-rwxr-xr-xpublic-src/index.html.gen22
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