From a9fa55346c74981ff8d7c435cad123efb8a15c72 Mon Sep 17 00:00:00 2001 From: Parker Date: Thu, 7 Nov 2024 22:44:31 -0600 Subject: Dashboard functionality increase --- app/templates/dashboard.html | 175 +++++++++++++++++++------------------------ 1 file changed, 79 insertions(+), 96 deletions(-) (limited to 'app/templates') diff --git a/app/templates/dashboard.html b/app/templates/dashboard.html index c65b62b..0a383af 100644 --- a/app/templates/dashboard.html +++ b/app/templates/dashboard.html @@ -4,46 +4,19 @@ LinkLogger | Dashboard + +
- +
- - - - + + + + - - - - - - - -
LinkVisitsRedirectExpire DateLinkVisitsRedirectExpire Date
@@ -58,69 +31,63 @@ } div { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - text-align: center; - font-size: 25px; - color: #ccc; + display: flex; + justify-content: center; + margin-top: 100px; } table { - border-collapse: collapse; - background-color: #333; + margin: 20px 0 20px 0; + text-align: center; + font-size: 25px; + width: 1250px; color: #ccc; + border-collapse: collapse; + overflow: hidden; } - th, td { - border: 1px solid #ccc; + table th { + background-color: #415eac; padding: 10px; + border: 2px solid #ccc; } - th { - background-color: #444; - } - - tr:nth-child(even) { - background-color: #444; - } - - tr:nth-child(odd) { - background-color: #333; - } - - .log-table-row { - display: none; + .link-table-row { + border: 2px solid #ccc; } - .log-table-row td { - padding: 0; + table td { + padding: 10px; } - .log-table-row table { - width: 100%; - border-collapse: collapse; + .link-table-row td { + padding: 20px; } - .log-table-row th, .log-table-row td { - border: 1px solid #ccc; + .log-table-row table td { + background-color: #3b4148; padding: 10px; } - .log-table-row th { - background-color: #444; + .log-table-row table tr { + border: 2px solid #ccc; } - .log-table-row tr:nth-child(even) { - background-color: #444; + .link-button { + background-color: #3b4148; + color: #ccc; + border: none; + padding: 10px; + cursor: pointer; + font-size: 25px; + border-radius: 5px; } - .log-table-row tr:nth-child(odd) { - background-color: #333; + .fa-trash:hover { + color: rgb(238, 86, 86); + cursor: pointer; } - \ No newline at end of file -- cgit v1.2.3-70-g09d2