parent
cac94c2379
commit
e474a9a8ea
14 changed files with 283 additions and 97 deletions
|
|
@ -8,6 +8,15 @@
|
|||
<script src="/Chart.bundle.js"></script>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
</head>
|
||||
<script>
|
||||
fetch('/timezone', {
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
body: JSON.stringify({ timezone: Intl.DateTimeFormat().resolvedOptions().timeZone })
|
||||
});
|
||||
</script>
|
||||
<body>
|
||||
<% if current_user %>
|
||||
<p><%= _("Logged in as %{email}.") % { email: current_user.email } %> <a href="/logout"><%= _("Logout") %></a></p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue