aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/views/layout.rocker.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/views/layout.rocker.html')
-rw-r--r--src/main/resources/views/layout.rocker.html30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/main/resources/views/layout.rocker.html b/src/main/resources/views/layout.rocker.html
deleted file mode 100644
index 9963aad..0000000
--- a/src/main/resources/views/layout.rocker.html
+++ /dev/null
@@ -1,30 +0,0 @@
-@import space.anity.DatabaseController
-@import space.anity.UserHandler
-@import io.javalin.*
-@args (String title, Context ctx, RockerContent css, RockerContent js, RockerBody content)
-
-<!doctype html>
-<html lang="en">
-<head>
- <meta charset="UTF-8">
- <meta content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
- name="viewport">
- <meta content="ie=edge" http-equiv="X-UA-Compatible">
- <link href="/css/icons.css" rel="stylesheet">
- <link href="/css/layout.css" rel="stylesheet">
- @css
-
- @if((new DatabaseController()).isDarkTheme((new UserHandler()).getVerifiedUserId(ctx))) {
- <link href="/css/darkLayout.css" rel="stylesheet">
- }
-
- <title>@title</title>
-</head>
-<body>
-<div class="main">
- @content
-</div>
-<script src="/js/prefetch.js"></script>
-@js
-</body>
-</html>