2021-01-08 04:16:54 +08:00
|
|
|
<!DOCTYPE html>
|
2021-12-29 02:42:04 +08:00
|
|
|
<html lang="en">
|
2021-01-08 04:16:54 +08:00
|
|
|
<head>
|
2022-08-02 21:51:02 +08:00
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
2022-10-04 14:46:55 +08:00
|
|
|
<meta name="csrf-token" content={get_csrf_token()} />
|
2023-02-23 02:34:54 +08:00
|
|
|
<link rel="icon" type="image/svg+xml" href={~p"/favicon.svg"} />
|
|
|
|
<link rel="alternate icon" type="image/png" href={~p"/favicon.png"} />
|
|
|
|
<.live_title>
|
|
|
|
<%= assigns[:page_title] || "Livebook" %>
|
|
|
|
</.live_title>
|
2023-05-27 15:04:52 +08:00
|
|
|
<link phx-track-static rel="stylesheet" href={~p"/assets/app.css"} />
|
2022-11-30 06:35:35 +08:00
|
|
|
<script>
|
|
|
|
window.LIVEBOOK_BASE_URL_PATH = "<%= Livebook.Config.base_url_path() %>";
|
|
|
|
</script>
|
2024-05-10 13:45:57 +08:00
|
|
|
<LivebookWeb.LayoutComponents.dev_script />
|
2023-05-27 15:04:52 +08:00
|
|
|
<%!-- This prevents the script to be loaded twice in Chrome --%>
|
|
|
|
<link rel="modulepreload" href={~p"/assets/app.js"} />
|
2024-05-10 13:28:07 +08:00
|
|
|
<script phx-track-static type="module" src={~p"/assets/app.js"}>
|
2022-11-30 06:35:35 +08:00
|
|
|
</script>
|
2021-01-08 04:16:54 +08:00
|
|
|
</head>
|
2023-02-16 20:47:46 +08:00
|
|
|
<body
|
|
|
|
class="bg-white"
|
|
|
|
data-feature-flags={Livebook.Config.enabled_feature_flags() |> Enum.join(",")}
|
2023-04-28 20:50:40 +08:00
|
|
|
data-within-iframe={Livebook.Config.within_iframe?()}
|
2023-02-16 20:47:46 +08:00
|
|
|
>
|
2021-01-08 04:16:54 +08:00
|
|
|
<%= @inner_content %>
|
|
|
|
</body>
|
|
|
|
</html>
|