From cc2e19e166521d761d5b171d2a9580986149f12a Mon Sep 17 00:00:00 2001 From: Corban-Lee Jones Date: Thu, 30 Jan 2025 11:01:20 +0000 Subject: [PATCH] basic table - learning how --- package.json | 3 + src/client/views/guild/subscriptions.ejs | 305 ++++++++++++++++++++++- tailwind.config.js | 6 +- 3 files changed, 310 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index df84507..14eb628 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,10 @@ "license": "ISC", "description": "", "dependencies": { + "@preline/datatable": "^2.5.2", "canvas": "^3.1.0", "connect-flash": "^0.1.1", + "datatables.net-dt": "^2.2.1", "discord.js": "^14.17.3", "dotenv": "^16.4.7", "ejs": "^3.1.10", @@ -32,6 +34,7 @@ "tsconfig-paths": "^4.2.0" }, "devDependencies": { + "@tailwindcss/forms": "^0.5.10", "@types/connect-flash": "^0.0.40", "@types/ejs": "^3.1.5", "@types/express": "^5.0.0", diff --git a/src/client/views/guild/subscriptions.ejs b/src/client/views/guild/subscriptions.ejs index da39d78..9c649d5 100644 --- a/src/client/views/guild/subscriptions.ejs +++ b/src/client/views/guild/subscriptions.ejs @@ -2,6 +2,305 @@ <%- include("guildHeader") -%> -
- Subscriptions -
\ No newline at end of file + +
+ +
+
+
+
+ +
+ + + + +
+
+ +
+ + +
+ + + + + Add + + + + +
+
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + Name + +
+
+
+ + URL + +
+
+
+ + Channels + +
+
+
+ + Filters + +
+
+
+ + Style + +
+
+
+ + Created at + +
+
+
+ + Status + +
+
+
+ +
+
+ + BBC News ยท Top Stories + + + + https://bbci.co.uk/feeds/news/rss.xml + + + + + + + + +
+ + 30th, Jan 2025 + +
+
+
+ + + + + Active + +
+
+ +
+ + +
+
+

+ Showing: +

+
+ +
+

+ of 20 +

+
+ +
+
+ + + +
+
+
+ +
+
+
+
+ + +
+ \ No newline at end of file diff --git a/tailwind.config.js b/tailwind.config.js index ad43302..dd2b1d3 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -8,6 +8,10 @@ module.exports = { theme: { extend: {}, }, - plugins: [require('preline/plugin')], + plugins: [ + require('@tailwindcss/forms'), + require('preline/plugin') + ], + }