]> git.joonet.de Git - adminer.git/commitdiff
Fix missing primary_key in haeckel theme custom SQL execution
authorJonathan Vollebregt <jonathan-vola@hotmail.com>
Tue, 5 Aug 2014 18:12:05 +0000 (20:12 +0200)
committerJakub Vrana <jakub@vrana.cz>
Sun, 14 Sep 2014 22:52:29 +0000 (15:52 -0700)
Automatically generated queries start with the primary_key field
which is linked to edit a row. The haeckel theme changes this link
into an edit icon, and there's no problem since adminer will
automatically select the primary_key a second time.

In custom SQL queries however this second field selection can't be
inserted and the primary_key is eaten by the icon, making it hard
to find a row by id.

designs/haeckel/adminer.css

index 35350d01b449c4867a4698b0614ec31e4f96f4ec..4d718c11e8e07f37d46f1bae2edc8178d0fd2179 100644 (file)
@@ -146,8 +146,13 @@ html>/**/body table a[href*="&edit="][href*="&where"] {
     height: 16px;\r
     overflow: hidden;\r
     padding-left: 24px;\r
+}\r
+\r
+/* Hide text in automatic selects */\r
+html>/**/body form>table a[href*="&edit="][href*="&where"] {\r
     width: 0;\r
 }\r
+\r
 /* Select data */\r
 html>/**/body #menu p a[href*="&select="], html>/**/body .links a[href*="&select="] {\r
     background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAdVJREFUeNqck8tO21AQhn8bB8ehRe0SUEBOlIsSVFGqqlK3oey6K+9A96wTKU/RFU/AG7CrKhAg7gmKiJKIplFWqItWIQEfuzOT2LmsSo408j+2/5lvjo+1rULhM4AFTLfahuu6i3vF4rdp3F/y+W3DVUrzKNk8BTzPC4IKS3h8Hc0Hz49zr8BeXSml8wu8PsU1uW7EhjpHOmd7wX1fs4e9hnIcTUkBDfs1DzGjS5N1pPOGRR3bLjR6ztoNNJm9ebDXcBxnjMD99YCdzGvJT25v8T6ZFH1QLuNjNiv6++UlESyDvSMEEIKcCZzX6zLvXDiMo0pFZn5hWfhxfS2aF3sCAkUvDwmA1ZUVyS9qNawnEn0aKvQhkxF9WCqBPUIgBSYISnd3QmCZJs6qVekaYZqbmzGCfoGnp2AEnyAdjUpeajTwJh4XfU778S6d7tNQISlA3rFN9AkqzaYQmLOzuKIxuGuYaE4H++F/RvbqVEVXE+cgsbSEFFH0Hh+RtW2sxmLo9npYoy/yNpUajkBeo9ftzkwSVFstIeBVpjH8rhc0xigBe43f9/dmKBTCburv4ISb//VvsYe9mmXbX/VIZHman8ntdH7y0BbFSwrjmX6H4s8/AQYAQChL+KIinhAAAAAASUVORK5CYII=") no-repeat left bottom\r