diff options
author | Freya Murphy <freya@freyacat.org> | 2024-12-20 04:15:58 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-12-20 04:17:05 -0500 |
commit | 4334596d4bebc9a76f5ca8400813847eef5b3bb7 (patch) | |
tree | 4bd2229fd48715bcf4ae96bc3d070b7f3c29aa58 /src/web/_views/head.php | |
parent | add lang column to user (diff) | |
download | xssbook2-4334596d4bebc9a76f5ca8400813847eef5b3bb7.tar.gz xssbook2-4334596d4bebc9a76f5ca8400813847eef5b3bb7.tar.bz2 xssbook2-4334596d4bebc9a76f5ca8400813847eef5b3bb7.zip |
rework styles with scss
Diffstat (limited to 'src/web/_views/head.php')
-rw-r--r-- | src/web/_views/head.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/web/_views/head.php b/src/web/_views/head.php new file mode 100644 index 0000000..cca43a1 --- /dev/null +++ b/src/web/_views/head.php @@ -0,0 +1,27 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <script> + <?php if ($this->main->session): ?> + var jwtStr = <?=json_encode($this->main->session['jwt'])?>; + <?php else: ?> + var jwtStr = null; + <?php endif; ?> + </script> + <?php + foreach ($js_files as $js) { + echo $this->main->link_js($js); + } + foreach ($css_files as $css) { + echo $this->main->link_css($css); + } + ?> + <title><?=$title?></title> + <!-- haa haa hee hee hoo hoo --> + <script src="https://unpkg.com/@ruffle-rs/ruffle"></script> + </head> + <body> + <div id="toast-container"> + </div> |