mirror of
https://github.com/unraid/webgui.git
synced 2026-04-23 10:38:50 -05:00
Added selection of all available OS versions to upgrade or downgrade
This commit is contained in:
@@ -30,7 +30,7 @@ if (file_exists('/boot/previous/changes.txt')) {
|
||||
}
|
||||
}
|
||||
?>
|
||||
<style>input[type=button].not('#checkos'){margin:0}</style>
|
||||
<style>input[id$='install'],input[id$='update']{margin:0}</style>
|
||||
<script>
|
||||
|
||||
function change_branch(source,branch) {
|
||||
|
||||
@@ -136,13 +136,13 @@ foreach (glob($plugins,GLOB_NOSORT) as $plugin_link) {
|
||||
$style2 = "style='display:none'";
|
||||
}
|
||||
$status = "<span id='os-status' $style1>".file_date($filename)."</span>";
|
||||
$status .= "<span id='os-upgrade' $style2>".make_link('update', $plugin_file, null, 'upgrade')."</span>";
|
||||
$status .= "<span id='os-upgrade' $style2>".make_link('update', basename($plugin_file))."</span>";
|
||||
$status .= "<span id='os-downgrade' style='display:none'>".make_link('install', $plugin_file, 'forced', 'downgrade')."</span>";
|
||||
}
|
||||
} else {
|
||||
if (strcmp($latest,$version) > 0) {
|
||||
$version .= "<br><span class='red-text'>$latest</span>";
|
||||
$status = make_link('update', basename($plugin_file), null, 'upgrade');
|
||||
$status = make_link('update', basename($plugin_file));
|
||||
$changes_file = $filename;
|
||||
$updates++;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user