diff options
author | Belen Barros Pena <belen.barros.pena@intel.com> | 2014-02-19 00:38:28 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-09 12:23:59 -0700 |
commit | e01f79042fe915c91c4bb52f7983288e9fc78431 (patch) | |
tree | 69d22bc6f991fe1e4774f7fc48dee6fdc3491690 /bitbake | |
parent | 33203ce37156ec22730bb11a4882395fb6e4464f (diff) | |
download | poky-e01f79042fe915c91c4bb52f7983288e9fc78431.tar.gz |
bitbake: toaster: Add .muted class to disabled checkboxes
In the edit columns menu, the checkboxes for the columns in the
minimum table are disabled. To better communicate visually
the disabled state, this change applies the .muted class
to the labels of those checkboxes.
(Bitbake rev: 125a3da654ac7742a93ac93f4f23336ecd251a61)
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/basetable_top.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/basetable_top.html b/bitbake/lib/toaster/toastergui/templates/basetable_top.html index fe534618d1..23fb04dec9 100644 --- a/bitbake/lib/toaster/toastergui/templates/basetable_top.html +++ b/bitbake/lib/toaster/toastergui/templates/basetable_top.html | |||
@@ -48,8 +48,8 @@ | |||
48 | --> | 48 | --> |
49 | <ul class="dropdown-menu">{% for i in tablecols|sortcols %} | 49 | <ul class="dropdown-menu">{% for i in tablecols|sortcols %} |
50 | <li> | 50 | <li> |
51 | <label class="checkbox"> | 51 | <label {% if not i.clclass %} class="checkbox muted" {%else%} class="checkbox" {%endif%}> |
52 | <input type="checkbox" class="chbxtoggle" {% if i.clclass %}id="{{i.clclass}}" value="ct{{i.name}}" {% if not i.hidden %}checked="checked"{%endif%} onchange="showhideTableColumn($(this).attr('id'), $(this).is(':checked'))" {%else%} checked disabled{% endif %}/> {{i.name}} | 52 | <input type="checkbox" class="chbxtoggle" {% if i.clclass %}id="{{i.clclass}}" value="ct{{i.name}}" {% if not i.hidden %}checked="checked"{%endif%} onchange="showhideTableColumn($(this).attr('id'), $(this).is(':checked'))" {%else%} checked disabled {% endif %}/> {{i.name}} |
53 | </label> | 53 | </label> |
54 | </li>{% endfor %} | 54 | </li>{% endfor %} |
55 | </ul> | 55 | </ul> |