mirror of
https://github.com/dagu-org/dagu.git
synced 2025-12-28 06:34:22 +00:00
34 lines
913 B
Plaintext
34 lines
913 B
Plaintext
{{define "base"}}
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link rel="icon" href="/assets/favicon.ico" />
|
|
<title>{{ navbarTitle }}</title>
|
|
<script>
|
|
function getConfig() {
|
|
return {
|
|
apiURL: "{{ apiURL }}",
|
|
basePath: "{{ basePath }}",
|
|
title: "{{ navbarTitle }}",
|
|
navbarColor: "{{ navbarColor }}",
|
|
version: "{{ version }}",
|
|
tz: "{{ tz }}",
|
|
maxDashboardPageLimit: "{{ maxDashboardPageLimit }}",
|
|
remoteNodes: "{{ remoteNodes }}",
|
|
};
|
|
}
|
|
</script>
|
|
<script
|
|
defer="defer"
|
|
src="{{ basePath }}/assets/bundle.js?v={{ version }}"
|
|
></script>
|
|
</head>
|
|
<body>
|
|
{{template "content" .}}
|
|
</body>
|
|
</html>
|
|
{{ end }}
|