diff --git a/archive/NerdPack-2017.09.24-x86_64-1.md5 b/archive/NerdPack-2017.09.24-x86_64-1.md5 new file mode 100644 index 00000000..cfd4bb44 --- /dev/null +++ b/archive/NerdPack-2017.09.24-x86_64-1.md5 @@ -0,0 +1 @@ +baf29e419af041071e97bc6beabc8f77 NerdPack-2017.09.24-x86_64-1.txz diff --git a/archive/NerdPack-2017.09.24-x86_64-1.txz b/archive/NerdPack-2017.09.24-x86_64-1.txz new file mode 100644 index 00000000..3450263c Binary files /dev/null and b/archive/NerdPack-2017.09.24-x86_64-1.txz differ diff --git a/plugin/NerdPack.plg b/plugin/NerdPack.plg index 2762b998..2284cdae 100755 --- a/plugin/NerdPack.plg +++ b/plugin/NerdPack.plg @@ -3,7 +3,7 @@ - + @@ -17,6 +17,8 @@ ##&name; +###2017.09.24 +- show status of packages that are not installed ###2017.07.08 - fix check for downloaded package ###2017.06.17 diff --git a/source/NerdPack/usr/local/emhttp/plugins/NerdPack/css/NerdPack.css b/source/NerdPack/usr/local/emhttp/plugins/NerdPack/css/NerdPack.css index 78e85b8e..b01d3230 100644 --- a/source/NerdPack/usr/local/emhttp/plugins/NerdPack/css/NerdPack.css +++ b/source/NerdPack/usr/local/emhttp/plugins/NerdPack/css/NerdPack.css @@ -14,4 +14,8 @@ .updateready, .update { white-space:nowrap; cursor: pointer; +} +.uninstalled { + white-space:nowrap; + cursor: inherit; } \ No newline at end of file diff --git a/source/NerdPack/usr/local/emhttp/plugins/NerdPack/js/jquery.NerdPack.js b/source/NerdPack/usr/local/emhttp/plugins/NerdPack/js/jquery.NerdPack.js index d12640b0..caaf43a5 100644 --- a/source/NerdPack/usr/local/emhttp/plugins/NerdPack/js/jquery.NerdPack.js +++ b/source/NerdPack/usr/local/emhttp/plugins/NerdPack/js/jquery.NerdPack.js @@ -59,21 +59,24 @@ function packageQuery(force) { var len = data.packages.length, i = 0; for (i; i < len; i++) { var Update; - if (data.packages[i].downloadeq == data.packages[i].downloaded && data.packages[i].installeq == data.packages[i].installed){ - Update = " up-to-date "; + var Downloaded = data.packages[i].downloaded; + var DownloadEQ = data.packages[i].downloadeq; + var Installed = data.packages[i].installed; + if (DownloadEQ == Downloaded && data.packages[i].installeq == Installed){ + if (Installed == "yes") + Update = " up-to-date "; + else + Update = " uninstalled "; }else{ Update = " update ready "; Ready = true; } - var Downloaded = data.packages[i].downloaded; - if (data.packages[i].downloadeq != data.packages[i].downloaded) + if (DownloadEQ != Downloaded) Downloaded = 'old'; - var Installed = data.packages[i].installed; - var Checked = ""; - if (data.packages[i].config=="yes"){ + if (data.packages[i].config == "yes"){ Checked = "checked"; Count++; }