[phpMyAdmin Developers] Slight bug at least in original theme

Madhura Jayaratne madhura.cj at gmail.com
Thu May 26 01:46:05 CEST 2016


On Tue, May 24, 2016 at 10:08 AM, Alec Teal <a.teal at warwick.ac.uk> wrote:

> Hello there,
>
> I constructed a minimum example:
> Create a table (I called mine "Stuff") - first column, integer, unsigned,
> primary key.
> Second column, integer, unsigned, unique index.
>
> Create.
>
> The icon shown is a slightly less saturated primary index icon, NOT the
> unique one (which has a red U)
>
> Alec
>
> Looking at the code, the icons seems to distinguish between primary keys
and non-primary keys [1]. I think bd_primary.png was used as it is a grayed
out key in the pmahomme theme. I will introduce a new icon (b_key.png), so
it can be improved without affecting other parts of phpMyAdmin.

[1]
https://github.com/phpmyadmin/phpmyadmin/blob/master/templates/table/structure/display_structure.phtml#L60-L69

-- 
Thanks and Regards,

Madhura Jayaratne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.phpmyadmin.net/pipermail/developers/attachments/20160526/833ddf18/attachment.html>


More information about the Developers mailing list