From f1dc99dedd127c56efbaa8a3d3519c6820167561 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Wed, 5 Apr 2023 22:29:15 +0000 Subject: [PATCH] rename buttons.css to button.css, add table styling and prepare for better table generation Signed-off-by: Arthur Lu --- config.html | 2 +- css/{buttons.css => button.css} | 0 css/table.css | 21 +++++++++++++++++++++ index.html | 2 +- login.html | 2 +- resources.html | 8 ++++++++ scripts/dialog.js | 2 +- scripts/instance.js | 2 +- scripts/resources.js | 25 ++++++++++++------------- 9 files changed, 46 insertions(+), 18 deletions(-) rename css/{buttons.css => button.css} (100%) create mode 100644 css/table.css diff --git a/config.html b/config.html index 7510877..8d7118f 100644 --- a/config.html +++ b/config.html @@ -7,7 +7,7 @@ - + diff --git a/css/buttons.css b/css/button.css similarity index 100% rename from css/buttons.css rename to css/button.css diff --git a/css/table.css b/css/table.css new file mode 100644 index 0000000..837f53b --- /dev/null +++ b/css/table.css @@ -0,0 +1,21 @@ +table { + padding: 10px; + border-collapse: collapse; + border: 1px solid var(--content-txt-color); +} + +tr { + background-color: white; +} + +tr:nth-child(even) { + background-color: #ddd; +} + +tr:hover { + background-color: #aaa; +} + +td { + padding: 5px; +} \ No newline at end of file diff --git a/index.html b/index.html index 3764e02..0eab759 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ tronnet - client - +