From 2fad930da0b0670395894721473d84a660801712 Mon Sep 17 00:00:00 2001 From: Shane Date: Sun, 11 Jan 2026 01:44:34 +0000 Subject: [PATCH] i don't like this direction --- .../gitweb-simplefrontend/assets/custom.css | 32 +++++++++++++++++-- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/scripts/gitweb-simplefrontend/assets/custom.css b/scripts/gitweb-simplefrontend/assets/custom.css index 7a0c759..43b48a1 100644 --- a/scripts/gitweb-simplefrontend/assets/custom.css +++ b/scripts/gitweb-simplefrontend/assets/custom.css @@ -1,9 +1,27 @@ -/* Hide Description (Col 2) and Owner (Col 3) Columns */ +/* Hide Description (Col 2) ONLY */ table.project_list th:nth-child(2), -table.project_list td:nth-child(2), +table.project_list td:nth-child(2) { + display: none !important; +} + +/* Owner Column (Col 3): Restore visibility & Replace Text */ table.project_list th:nth-child(3), table.project_list td:nth-child(3) { - display: none !important; + display: table-cell !important; +} + +/* CSS Hack to replace "www-data" with "Shane" */ +table.project_list td:nth-child(3) { + visibility: hidden; /* Hide original text */ + position: relative; + width: 100px; /* Ensure enough space */ +} +table.project_list td:nth-child(3)::after { + visibility: visible; + position: absolute; + top: 5px; /* Adjust vertical alignment */ + left: 0; + content: "Shane"; /* The name you want */ } /* Optional: Make the project list look a bit nicer */ @@ -19,3 +37,11 @@ img.logo { top: -4px !important; /* Force it up */ vertical-align: middle !important; } + +/* Add header to the last column (Links) which is normally empty */ +table.project_list th:last-child { + text-align: center; /* Optional: Center the actions */ +} +table.project_list th:last-child::after { + content: "Actions"; +} -- 2.52.0