i don't like this direction
authorShane <chown_tee@proton.me>
Sun, 11 Jan 2026 01:44:34 +0000 (01:44 +0000)
committerShane <chown_tee@proton.me>
Sun, 11 Jan 2026 01:44:34 +0000 (01:44 +0000)
scripts/gitweb-simplefrontend/assets/custom.css

index 7a0c75910a95c9b9de7aacb01d023126b753b61f..43b48a1b39302e4b1567e0ddc82a7aa555c31f95 100644 (file)
@@ -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";
+}