diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2023-04-15 18:16:02 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-04-15 21:50:50 +0300 |
commit | f05a6998c1231bd4e0d2856f5f8c3126b0d38747 (patch) | |
tree | 50ed3958d6be072af7ba2656b80d22bbe982fd66 /web | |
parent | docker-compose: improve mount dir (diff) | |
download | soko-f05a6998c1231bd4e0d2856f5f8c3126b0d38747.tar.gz soko-f05a6998c1231bd4e0d2856f5f8c3126b0d38747.tar.bz2 soko-f05a6998c1231bd4e0d2856f5f8c3126b0d38747.zip |
fix view with noscript
- configure webpack to extract the css
- configure webpack mode to be production
- add fallback for noscript users with the css
In this mode, the website is still far from ideal, for example the icons
aren't displayed, but it looks much better now, mostly functional.
Closes: https://bugs.gentoo.org/721684
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'web')
-rw-r--r-- | web/templates/layout/head.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/templates/layout/head.tmpl b/web/templates/layout/head.tmpl index 3dc694d..f10018a 100644 --- a/web/templates/layout/head.tmpl +++ b/web/templates/layout/head.tmpl @@ -7,8 +7,8 @@ <meta name="description" content="Gentoo Packages Database"> <!-- link rel="stylesheet" media="screen" href="/packs/css/application-024b2074.css" /--> <!-- script src="/packs/js/application-cfb73e71df8935c3a9ed.js"></script --> - <script src="/assets/stylesheets.js"></script> <script src="/assets/application.js"></script> <link rel="icon" href="https://packages.gentoo.org/favicon.ico" type="image/x-icon"> + <link rel="stylesheet" href="/assets/stylesheets.css" /> </head> {{end}} |