Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

added Angular SPA entry page

Jonas Winklerd324e4383abf
diff --git a/src/documents/templates/documents/index.html b/src/documents/templates/documents/index.html
deleted file mode 100644
index c0f58b115..000000000
--- a/src/documents/templates/documents/index.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<!DOCTYPE html>
-
-<html lang="en-gb">
- <head>
- <title>Paperless</title>
- <meta charset="utf-8">
- </head>
- <body>
- {# One day someone (maybe even myself) is going to write a proper web front-end for Paperless, and this is where it'll start. #}
- </body>
-</html>
diff --git a/src/documents/templates/index.html b/src/documents/templates/index.html
new file mode 100644
index 000000000..113f54ee0
--- /dev/null
+++ b/src/documents/templates/index.html
@@ -0,0 +1,19 @@
+<!doctype html>
+
+{% load static %}
+
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>PaperlessUi</title>
+ <base href="/">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="icon" type="image/x-icon" href="favicon.ico">
+<link rel="stylesheet" href="{% static 'styles.css' %}"></head>
+<body>
+ <app-root>Loading...</app-root>
+ <script src="{% static 'runtime.js' %}" defer></script>
+ <script src="{% static 'polyfills.js' %}" defer></script>
+ <script src="{% static 'main.js' %}" defer></script>
+</body>
+</html>