26 lines
700 B
Elixir
26 lines
700 B
Elixir
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
|
|
<title>BDFR Browser</title>
|
|
|
|
<link href="/static/bootstrap.css" rel="stylesheet">
|
|
<script src="/static/bootstrap.bundle.js"></script>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container">
|
|
<%= EEx.eval_file(embedded_template, embedded_args) %>
|
|
</div>
|
|
|
|
<script>
|
|
if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
|
|
document.documentElement.setAttribute('data-bs-theme', 'dark')
|
|
} else {
|
|
document.documentElement.setAttribute('data-bs-theme', 'light')
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|