eliminate need for javascript on page load
This commit is contained in:
parent
249cf396d5
commit
d1359518f6
|
@ -7,14 +7,13 @@
|
||||||
<script>
|
<script>
|
||||||
const set_session_url = '{{ url_for("set_session") }}';
|
const set_session_url = '{{ url_for("set_session") }}';
|
||||||
</script>
|
</script>
|
||||||
<script>window.onload = load;</script>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div>
|
<div>
|
||||||
Style sheet:
|
Style sheet:
|
||||||
<select id="styleSheetSelector" onChange="swapStyleSheet()">
|
<select id="styleSheetSelector" onChange="swapStyleSheet()">
|
||||||
<option name="ss.css" value="ss.css">Light</option>
|
<option name="ss.css" value="ss.css"{% if style_sheet == 'ss.css' %} selected{% endif %}>Light</option>
|
||||||
<option name="ss-dark.css" value="ss-dark.css">Dark</option>
|
<option name="ss-dark.css" value="ss-dark.css"{% if style_sheet == 'dark-ss.css' %} selected{% endif %}>Dark</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div id="globalContainer">
|
<div id="globalContainer">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user