#11409 buttons update online change

This commit is contained in:
Jonathan 2023-05-30 17:26:51 +02:00
parent 2f92bf51ac
commit 13725892f9
2 changed files with 8 additions and 15 deletions

View File

@ -315,19 +315,10 @@ a.update_manager_button:after {
} }
#um-buttons button { #um-buttons button {
margin: 0 1em 1em 1em;
border: none;
padding: 10px; padding: 10px;
cursor: pointer; cursor: pointer;
background: #efefef; width: 285px;
} margin: 20px;
#um-buttons button:hover {
background: #ddd;
}
#um-buttons button:active {
background: #ccc;
} }
.ui-widget.ui-widget-content { .ui-widget.ui-widget-content {

View File

@ -61,8 +61,10 @@ global $config;
<div id="um-updates"> <div id="um-updates">
</div> </div>
<div id="um-buttons" style="display:none;"> <div id="um-buttons" style="display:none;">
<button id="um-next"><?php echo __('Update to next version'); ?></button> <?php
<button id="um-last"><?php echo __('Update to latest version'); ?></button> html_print_button(__('Update to next version'), 'um-next', false, '', ['icon' => 'next', 'class' => 'sub ok']);
html_print_button(__('Update to latest version'), 'um-last', false, '', ['icon' => 'next', 'class' => 'sub ok']);
?>
</div> </div>
<div id="um-result"></div> <div id="um-result"></div>
@ -99,8 +101,8 @@ global $config;
window.onload = function() { window.onload = function() {
var bsearch = document.getElementById('um-search'); var bsearch = document.getElementById('um-search');
var bnext = document.getElementById('um-next'); var bnext = document.getElementById('button-um-next');
var blast = document.getElementById('um-last'); var blast = document.getElementById('button-um-last');
var result = document.getElementById('um-result'); var result = document.getElementById('um-result');
<?php <?php