#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 {
margin: 0 1em 1em 1em;
border: none;
padding: 10px;
cursor: pointer;
background: #efefef;
}
#um-buttons button:hover {
background: #ddd;
}
#um-buttons button:active {
background: #ccc;
width: 285px;
margin: 20px;
}
.ui-widget.ui-widget-content {

View File

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