aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/templates
diff options
context:
space:
mode:
Diffstat (limited to 'backend/templates')
-rw-r--r--backend/templates/read-feeds.html35
-rw-r--r--backend/templates/settings.html22
-rw-r--r--backend/templates/unread-feeds.html35
3 files changed, 0 insertions, 92 deletions
diff --git a/backend/templates/read-feeds.html b/backend/templates/read-feeds.html
deleted file mode 100644
index 08a2626..0000000
--- a/backend/templates/read-feeds.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="stylesheet" href="{{.BasePath}}/static/style.css">
- <link rel="icon" href="{{.BasePath}}/static/favicon.svg">
- <title>{{.Title}} | feedaka</title>
- </head>
- <body class="bg-gray-100 text-gray-900 font-sans antialiased">
- <div class="mx-auto mt-10 px-6">
- <h1 class="text-4xl font-bold underline mb-8">{{.Title}}</h1>
- <main>
- <ul class="list-none pl-5">
- {{- range .Feeds -}}
- <li class="mb-5">
- <a href="{{.URL}}" target="_blank" rel="noreferrer" class="text-blue-500 hover:text-blue-600 hover:underline">{{.Title}}</a>
- <button data-feed-id="{{.ID}}" class="js-unread-feed ml-4 py-1 px-0 w-6 h-6 rounded border-2 border-green-500 bg-green-500 hover:bg-transparent focus:outline-none focus:ring-2 focus:ring-green-500 focus:ring-opacity-50 transition duration-200"></button>
- </li>
- <ul class="list-none pl-5 mt-4">
- {{- range .Articles -}}
- <li class="mb-3">
- <a href="{{.URL}}" target="_blank" rel="noreferrer" class="text-blue-500 hover:text-blue-600 hover:underline">{{.Title}}</a>
- <button data-article-id="{{.ID}}" class="js-unread-article ml-4 py-1 px-0 w-6 h-6 rounded border-2 border-green-500 bg-green-500 hover:bg-transparent focus:outline-none focus:ring-2 focus:ring-green-500 focus:ring-opacity-50 transition duration-200"></button>
- </li>
- {{- end -}}
- </ul>
- {{- end -}}
- </ul>
- </main>
- </div>
- <script>window.BASE_PATH = "{{.BasePath}}";</script>
- <script src="{{.BasePath}}/static/index.js" type="module" defer></script>
- </body>
-</html>
diff --git a/backend/templates/settings.html b/backend/templates/settings.html
deleted file mode 100644
index 65efd8d..0000000
--- a/backend/templates/settings.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="stylesheet" href="{{.BasePath}}/static/style.css">
- <link rel="icon" href="{{.BasePath}}/static/favicon.svg">
- <title>Settings | feedaka</title>
- </head>
- <body class="bg-gray-100 text-gray-900 font-sans antialiased">
- <div class="mx-auto mt-10 px-6">
- <h1 class="text-4xl font-bold underline mb-8">Settings</h1>
- <main>
- <h2 class="text-2xl mb-3">URLs</h2>
- <form method="POST" class="space-y-4">
- <textarea name="urls" rows="10" cols="80" class="w-full p-2 border rounded resize-y">{{.URLs}}</textarea>
- <input type="submit" value="Submit" class="py-2 px-4 bg-blue-600 text-white rounded hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-opacity-50" />
- </form>
- </main>
- </div>
- </body>
-</html>
diff --git a/backend/templates/unread-feeds.html b/backend/templates/unread-feeds.html
deleted file mode 100644
index 676f24e..0000000
--- a/backend/templates/unread-feeds.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="stylesheet" href="{{.BasePath}}/static/style.css">
- <link rel="icon" href="{{.BasePath}}/static/favicon.svg">
- <title>{{.Title}} | feedaka</title>
- </head>
- <body class="bg-gray-100 text-gray-900 font-sans antialiased">
- <div class="mx-auto mt-10 px-6">
- <h1 class="text-4xl font-bold underline mb-8">{{.Title}}</h1>
- <main>
- <ul class="list-none pl-5">
- {{- range .Feeds -}}
- <li class="mb-5">
- <a href="{{.URL}}" target="_blank" rel="noreferrer" class="text-blue-500 hover:text-blue-600 hover:underline">{{.Title}}</a>
- <button data-feed-id="{{.ID}}" class="js-read-feed ml-4 py-1 px-0 w-6 h-6 rounded border-2 border-green-500 hover:bg-green-500 focus:outline-none focus:ring-2 focus:ring-green-500 focus:ring-opacity-50 transition duration-200"></button>
- </li>
- <ul class="list-none pl-5 mt-4">
- {{- range .Articles -}}
- <li class="mb-3">
- <a href="{{.URL}}" target="_blank" rel="noreferrer" class="text-blue-500 hover:text-blue-600 hover:underline">{{.Title}}</a>
- <button data-article-id="{{.ID}}" class="js-read-article ml-4 py-1 px-0 w-6 h-6 rounded border-2 border-green-500 hover:bg-green-500 focus:outline-none focus:ring-2 focus:ring-green-500 focus:ring-opacity-50 transition duration-200"></button>
- </li>
- {{- end -}}
- </ul>
- {{- end -}}
- </ul>
- </main>
- </div>
- <script>window.BASE_PATH = "{{.BasePath}}";</script>
- <script src="{{.BasePath}}/static/index.js" type="module" defer></script>
- </body>
-</html>