diff --git a/webif/html/pkg/pkg.jim b/webif/html/pkg/pkg.jim index 6ee0932..7a26174 100755 --- a/webif/html/pkg/pkg.jim +++ b/webif/html/pkg/pkg.jim @@ -9,7 +9,7 @@ require settings.class pkg.class httpheader proc pkgrow {name pkg} { - set class p_adv + set class p_av if {[dict exists $::pkgmeta $name]} { set class p_base } # Always show beta packages @@ -24,7 +24,7 @@ proc pkgrow {name pkg} { puts "" } elseif {$pkg(repo) ne "base"} { puts "" - } elseif {$class eq "p_adv"} { + } elseif {$class eq "p_av"} { puts "" } diff --git a/webif/html/pkg/script.js b/webif/html/pkg/script.js index f128169..d2c0dbd 100644 --- a/webif/html/pkg/script.js +++ b/webif/html/pkg/script.js @@ -152,18 +152,18 @@ function update_filter($table, change) if (pkgfilter) { - $table.find('tr.p_adv').hide(); + $table.find('tr.p_av').hide(); $('#filtertext').text('Not showing advanced packages'); $('#b_filter').text('Show'); } else { - $table.find('tr.p_adv').show(); + $table.find('tr.p_av').show(); $('#filtertext').text('Advanced packages are being shown'); $('#b_filter').text('Hide'); } - $table.trigger('update', [true]); + $table.trigger('update'); $('#b_filter').button().off('click').on('click', function() { update_filter($table, 1); diff --git a/webif/html/pkg/style.css b/webif/html/pkg/style.css index 1b768de..6282d4e 100644 --- a/webif/html/pkg/style.css +++ b/webif/html/pkg/style.css @@ -23,10 +23,8 @@ button.upgrade padding-right: 2em; } -tr.p_adv td +tr.p_av td { - /*background: #b9daff !important;*/ - /*color: black;*/ font-style: italic; color: blue; }