From 0ce2ec590a3205fe75e1ddf5c1f99b45e4fa6225 Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Wed, 21 Jun 2023 19:17:28 -0700 Subject: [PATCH] Update main config page on khoj server to match khoj lantern theme --- src/khoj/interface/web/assets/icons/chat.svg | 693 ++++++++++++++++++ .../interface/web/assets/icons/github.svg | 1 + .../interface/web/assets/icons/markdown.svg | 1 + .../interface/web/assets/icons/orgmode.svg | 1 + src/khoj/interface/web/assets/icons/pdf.svg | 23 + src/khoj/interface/web/base_config.html | 64 +- src/khoj/interface/web/config.html | 214 ++++-- 7 files changed, 925 insertions(+), 72 deletions(-) create mode 100644 src/khoj/interface/web/assets/icons/chat.svg create mode 100644 src/khoj/interface/web/assets/icons/github.svg create mode 100644 src/khoj/interface/web/assets/icons/markdown.svg create mode 100644 src/khoj/interface/web/assets/icons/orgmode.svg create mode 100644 src/khoj/interface/web/assets/icons/pdf.svg diff --git a/src/khoj/interface/web/assets/icons/chat.svg b/src/khoj/interface/web/assets/icons/chat.svg new file mode 100644 index 00000000..ca42280c --- /dev/null +++ b/src/khoj/interface/web/assets/icons/chat.svg @@ -0,0 +1,693 @@ + + + + + + + + diff --git a/src/khoj/interface/web/assets/icons/github.svg b/src/khoj/interface/web/assets/icons/github.svg new file mode 100644 index 00000000..98d74c33 --- /dev/null +++ b/src/khoj/interface/web/assets/icons/github.svg @@ -0,0 +1 @@ + diff --git a/src/khoj/interface/web/assets/icons/markdown.svg b/src/khoj/interface/web/assets/icons/markdown.svg new file mode 100644 index 00000000..65b2d2af --- /dev/null +++ b/src/khoj/interface/web/assets/icons/markdown.svg @@ -0,0 +1 @@ + diff --git a/src/khoj/interface/web/assets/icons/orgmode.svg b/src/khoj/interface/web/assets/icons/orgmode.svg new file mode 100644 index 00000000..8696d3d5 --- /dev/null +++ b/src/khoj/interface/web/assets/icons/orgmode.svg @@ -0,0 +1 @@ + diff --git a/src/khoj/interface/web/assets/icons/pdf.svg b/src/khoj/interface/web/assets/icons/pdf.svg new file mode 100644 index 00000000..7c8598b3 --- /dev/null +++ b/src/khoj/interface/web/assets/icons/pdf.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/khoj/interface/web/base_config.html b/src/khoj/interface/web/base_config.html index 654dc323..59e66f49 100644 --- a/src/khoj/interface/web/base_config.html +++ b/src/khoj/interface/web/base_config.html @@ -6,39 +6,53 @@ -
-
-

Khoj Settings

-

Check out our source code on Github

-
-
-

Ready?

-
- - -
-
-
+
+ + +
{% block content %} {% endblock %}
diff --git a/src/khoj/interface/web/config.html b/src/khoj/interface/web/config.html index 091303ca..df2d5fa7 100644 --- a/src/khoj/interface/web/config.html +++ b/src/khoj/interface/web/config.html @@ -1,70 +1,190 @@ {% extends "base_config.html" %} {% block content %} -

Content Types

-
- - - - - +
+
+

Plugins

+
+
+
+ Github +

Github

+
+
+

Set repositories for Khoj to index

+
+
+ +
+
+
+
+ markdown +

Markdown

+
+
+

Set markdown files for Khoj to index

+
+
+ +
+
+
+
+ org-mode +

Org-Mode

+
+
+

Set org-mode files for Khoj to index

+
+
+ +
+
+
+
+ PDF +

PDF

+
+
+

Set PDF files for Khoj to index

+
+
+ +
+
+
+
+
+

Features

+
+
+
+ Chat +

Chat

+
+
+

Setup Khoj Chat

+
+
+ +
+
+
+
+
+ +
-

Processors

- -

Finalize

-