mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Merge branch 'ent-9192-cambio-imagen-warp-update-online' into 'develop'
new images update manager online pandora_enterprise#9192 See merge request artica/pandorafms!4976
This commit is contained in:
commit
428de71b85
BIN
pandora_console/images/Cube.png
Normal file
BIN
pandora_console/images/Cube.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
pandora_console/images/Engranaje.png
Normal file
BIN
pandora_console/images/Engranaje.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.5 KiB |
BIN
pandora_console/images/Warp-Update-bg.png
Normal file
BIN
pandora_console/images/Warp-Update-bg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 109 KiB |
@ -1187,14 +1187,7 @@ a.pandora_pagination,
|
|||||||
padding-right: 35px;
|
padding-right: 35px;
|
||||||
background-color: #222;
|
background-color: #222;
|
||||||
}
|
}
|
||||||
#box_online {
|
|
||||||
background-image: url("../../images/update_pandora_black.jpg") !important;
|
|
||||||
background-color: #000 !important;
|
|
||||||
padding: 40px 50px;
|
|
||||||
border: 1px solid #111 !important;
|
|
||||||
background-size: contain;
|
|
||||||
box-shadow: 1px 1px 4px rgba(160, 160, 160, 0.514);
|
|
||||||
}
|
|
||||||
.legend_background {
|
.legend_background {
|
||||||
background-color: #222;
|
background-color: #222;
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
|
BIN
pandora_console/update_manager_client/resources/images/Cube.png
Normal file
BIN
pandora_console/update_manager_client/resources/images/Cube.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
After Width: | Height: | Size: 5.5 KiB |
Binary file not shown.
After Width: | Height: | Size: 109 KiB |
@ -40,15 +40,68 @@ a.update_manager_button:after {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#box_online {
|
#box_online {
|
||||||
background-image: url("../images/update_manager_background.jpg");
|
|
||||||
background-position: top right;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-color: #fff;
|
|
||||||
padding: 40px 50px;
|
padding: 40px 50px;
|
||||||
border: 1px solid #f3f3f3;
|
border: 1px solid #f3f3f3;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
min-height: 400px;
|
min-height: 400px;
|
||||||
background-size: contain;
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
/*flex-wrap: wrap;*/
|
||||||
|
justify-content: space-around;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#box_online .wu-bg {
|
||||||
|
position: relative;
|
||||||
|
width: 500px;
|
||||||
|
height: 450px;
|
||||||
|
background-image: url("../images/Warp-Update-bg.png");
|
||||||
|
background-position: center center;
|
||||||
|
background-size: auto;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
margin: 0px !important;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
#box_online .wu-gear {
|
||||||
|
animation-timing-function: linear;
|
||||||
|
animation-duration: 5s;
|
||||||
|
animation-iteration-count: infinite;
|
||||||
|
width: 202px;
|
||||||
|
margin: auto;
|
||||||
|
animation-name: ani;
|
||||||
|
}
|
||||||
|
@keyframes ani {
|
||||||
|
to {
|
||||||
|
transform: rotateZ(360deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#box_online .wu-box {
|
||||||
|
animation-timing-function: linear;
|
||||||
|
animation-duration: 1s;
|
||||||
|
animation-iteration-count: infinite;
|
||||||
|
width: 69px;
|
||||||
|
left: 215px;
|
||||||
|
z-index: 2;
|
||||||
|
position: absolute;
|
||||||
|
animation-name: ani2;
|
||||||
|
}
|
||||||
|
@keyframes ani2 {
|
||||||
|
0% {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(-250px) translateX(0px);
|
||||||
|
}
|
||||||
|
60% {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateY(0px) translateX(0px);
|
||||||
|
}
|
||||||
|
90% {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#box_online #pkg_version {
|
#box_online #pkg_version {
|
||||||
|
@ -36,171 +36,178 @@
|
|||||||
|
|
||||||
|
|
||||||
<div id="box_online">
|
<div id="box_online">
|
||||||
<span class="loading" style="font-size: 18pt; display: none;">
|
<div>
|
||||||
<img src="images/wait.gif">
|
<span class="loading" style="font-size: 18pt; display: none;">
|
||||||
</span>
|
<img src="images/wait.gif">
|
||||||
|
</span>
|
||||||
|
|
||||||
<p style="font-weight: 600;"><?php echo __('The latest version of package installed is').':'; ?></p>
|
<p style="font-weight: 600;"><?php echo __('The latest version of package installed is').':'; ?></p>
|
||||||
<div id="pkg_version"><?php echo $version; ?></div>
|
<div id="pkg_version"><?php echo $version; ?></div>
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<?php
|
|
||||||
if (empty($error) !== true) {
|
|
||||||
?>
|
|
||||||
<h2>
|
|
||||||
<?php echo $error; ?>
|
|
||||||
</h2>
|
|
||||||
<?php
|
<?php
|
||||||
} else {
|
if (empty($error) !== true) {
|
||||||
// Updates.
|
?>
|
||||||
?>
|
<h2>
|
||||||
<div id="um-loading">
|
<?php echo $error; ?>
|
||||||
<p id="loading-msg"></p>
|
</h2>
|
||||||
</div>
|
<?php
|
||||||
<div id="um-updates">
|
} else {
|
||||||
</div>
|
// Updates.
|
||||||
<div id="um-buttons" style="display:none;">
|
?>
|
||||||
<button id="um-next"><?php echo __('Update to next version'); ?></button>
|
<div id="um-loading">
|
||||||
<button id="um-last"><?php echo __('Update to latest version'); ?></button>
|
<p id="loading-msg"></p>
|
||||||
</div>
|
</div>
|
||||||
|
<div id="um-updates">
|
||||||
<div id="um-result"></div>
|
</div>
|
||||||
<div id="um-progress">
|
<div id="um-buttons" style="display:none;">
|
||||||
<h3 id="um-progress-version"></h3>
|
<button id="um-next"><?php echo __('Update to next version'); ?></button>
|
||||||
<div class="um-progress-bar-container general">
|
<button id="um-last"><?php echo __('Update to latest version'); ?></button>
|
||||||
<span id="um-progress-general-label">0 %</span>
|
|
||||||
<div id="um-progress-general" class="um-progress-bar general"></div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h5 id="um-progress-description"></h5>
|
<div id="um-result"></div>
|
||||||
<div class="um-progress-bar-container task">
|
<div id="um-progress">
|
||||||
<span id="um-progress-task-label">0 %</span>
|
<h3 id="um-progress-version"></h3>
|
||||||
<div id="um-progress-task" class="um-progress-bar task"></div>
|
<div class="um-progress-bar-container general">
|
||||||
|
<span id="um-progress-general-label">0 %</span>
|
||||||
|
<div id="um-progress-general" class="um-progress-bar general"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h5 id="um-progress-description"></h5>
|
||||||
|
<div class="um-progress-bar-container task">
|
||||||
|
<span id="um-progress-task-label">0 %</span>
|
||||||
|
<div id="um-progress-task" class="um-progress-bar task"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="um-update-details">
|
||||||
|
<div id="um-update-details-header"></div>
|
||||||
|
<div id="um-update-details-content"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div id="um-update-details">
|
|
||||||
<div id="um-update-details-header"></div>
|
|
||||||
<div id="um-update-details-content"></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var texts = {
|
var texts = {
|
||||||
'updatingTo': "<?php echo __('Updating to'); ?> ",
|
'updatingTo': "<?php echo __('Updating to'); ?> ",
|
||||||
'preventExitMsg': "<?php echo __('Do you really want to leave our brilliant application?'); ?>",
|
'preventExitMsg': "<?php echo __('Do you really want to leave our brilliant application?'); ?>",
|
||||||
'alreadyUpdated': "<?php echo __('There are no updates available'); ?>",
|
'alreadyUpdated': "<?php echo __('There are no updates available'); ?>",
|
||||||
'searchingUpdates': "<?php echo __('Searching for updates...'); ?>",
|
'searchingUpdates': "<?php echo __('Searching for updates...'); ?>",
|
||||||
'updateText': "<?php echo __('Package'); ?>",
|
'updateText': "<?php echo __('Package'); ?>",
|
||||||
'updated': "<?php echo __('Successfully updated.'); ?>",
|
'updated': "<?php echo __('Successfully updated.'); ?>",
|
||||||
}
|
|
||||||
|
|
||||||
var clientMode = '<?php echo $mode; ?>';
|
|
||||||
var ajaxPage = '<?php echo $ajaxPage; ?>';
|
|
||||||
|
|
||||||
window.onload = function() {
|
|
||||||
var bsearch = document.getElementById('um-search');
|
|
||||||
var bnext = document.getElementById('um-next');
|
|
||||||
var blast = document.getElementById('um-last');
|
|
||||||
var result = document.getElementById('um-result');
|
|
||||||
|
|
||||||
<?php
|
|
||||||
if (isset($running) === true && $running === true) {
|
|
||||||
?>
|
|
||||||
showProgress('<?php echo $ajax; ?>', '<?php echo $authCode; ?>');
|
|
||||||
<?php
|
|
||||||
} else {
|
|
||||||
?>
|
|
||||||
// Search.
|
|
||||||
searchUpdates('<?php echo $ajax; ?>', '<?php echo $authCode; ?>');
|
|
||||||
<?php
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|
||||||
bnext.addEventListener('click', function() {
|
var clientMode = '<?php echo $mode; ?>';
|
||||||
blast.setAttribute('disable', true);
|
var ajaxPage = '<?php echo $ajaxPage; ?>';
|
||||||
result.innerHTML = '';
|
|
||||||
umConfirm({
|
|
||||||
message: "<?php echo __('This action will upgrade this console to version '); ?> "+nextUpdateVersion+". <?php echo __('Are you sure?'); ?>",
|
|
||||||
title: "<?php echo __('Update to'); ?> "+nextUpdateVersion,
|
|
||||||
onAccept: function() {
|
|
||||||
updateNext({
|
|
||||||
url: '<?php echo $ajax; ?>',
|
|
||||||
auth: '<?php echo $authCode; ?>',
|
|
||||||
success: function(d) {
|
|
||||||
umUINextUpdate(d.version);
|
|
||||||
|
|
||||||
if (d.messages == null) {
|
window.onload = function() {
|
||||||
result.innerHTML = umSuccessMsg(
|
var bsearch = document.getElementById('um-search');
|
||||||
texts.updated
|
var bnext = document.getElementById('um-next');
|
||||||
);
|
var blast = document.getElementById('um-last');
|
||||||
} else {
|
var result = document.getElementById('um-result');
|
||||||
result.innerHTML = umErrorMsg(
|
|
||||||
d.messages
|
<?php
|
||||||
);
|
if (isset($running) === true && $running === true) {
|
||||||
}
|
?>
|
||||||
},
|
showProgress('<?php echo $ajax; ?>', '<?php echo $authCode; ?>');
|
||||||
error: function(e, r) {
|
<?php
|
||||||
if (typeof r != "undefined" ) {
|
} else {
|
||||||
result.innerHTML = umErrorMsg(
|
?>
|
||||||
'<?php echo __('Failed to update to '); ?>' + nextUpdateVersion+' '+r
|
// Search.
|
||||||
);
|
searchUpdates('<?php echo $ajax; ?>', '<?php echo $authCode; ?>');
|
||||||
} else {
|
<?php
|
||||||
result.innerHTML = umErrorMsg(
|
}
|
||||||
'<?php echo __('Failed to update to '); ?>' + nextUpdateVersion+' RC'+e
|
?>
|
||||||
);
|
|
||||||
}
|
bnext.addEventListener('click', function() {
|
||||||
},
|
blast.setAttribute('disable', true);
|
||||||
});
|
result.innerHTML = '';
|
||||||
}
|
umConfirm({
|
||||||
|
message: "<?php echo __('This action will upgrade this console to version '); ?> "+nextUpdateVersion+". <?php echo __('Are you sure?'); ?>",
|
||||||
|
title: "<?php echo __('Update to'); ?> "+nextUpdateVersion,
|
||||||
|
onAccept: function() {
|
||||||
|
updateNext({
|
||||||
|
url: '<?php echo $ajax; ?>',
|
||||||
|
auth: '<?php echo $authCode; ?>',
|
||||||
|
success: function(d) {
|
||||||
|
umUINextUpdate(d.version);
|
||||||
|
|
||||||
|
if (d.messages == null) {
|
||||||
|
result.innerHTML = umSuccessMsg(
|
||||||
|
texts.updated
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
result.innerHTML = umErrorMsg(
|
||||||
|
d.messages
|
||||||
|
);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
error: function(e, r) {
|
||||||
|
if (typeof r != "undefined" ) {
|
||||||
|
result.innerHTML = umErrorMsg(
|
||||||
|
'<?php echo __('Failed to update to '); ?>' + nextUpdateVersion+' '+r
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
result.innerHTML = umErrorMsg(
|
||||||
|
'<?php echo __('Failed to update to '); ?>' + nextUpdateVersion+' RC'+e
|
||||||
|
);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
blast.setAttribute('disable', false);
|
||||||
});
|
});
|
||||||
|
|
||||||
blast.setAttribute('disable', false);
|
blast.addEventListener('click', function() {
|
||||||
});
|
blast.setAttribute('disable', true);
|
||||||
|
result.innerHTML = '';
|
||||||
|
umConfirm({
|
||||||
|
message: "<?php echo __('This action will upgrade this console to version '); ?> "+lastUpdateVersion+". <?php echo __('Are you sure?'); ?>",
|
||||||
|
title: "<?php echo __('Update to'); ?> "+lastUpdateVersion,
|
||||||
|
onAccept: function() {
|
||||||
|
updateLatest({
|
||||||
|
url: '<?php echo $ajax; ?>',
|
||||||
|
auth: '<?php echo $authCode; ?>',
|
||||||
|
success: function(d) {
|
||||||
|
umUINextUpdate(d.version);
|
||||||
|
|
||||||
blast.addEventListener('click', function() {
|
if (d.messages == null) {
|
||||||
blast.setAttribute('disable', true);
|
result.innerHTML = umSuccessMsg(
|
||||||
result.innerHTML = '';
|
texts.updated
|
||||||
umConfirm({
|
);
|
||||||
message: "<?php echo __('This action will upgrade this console to version '); ?> "+lastUpdateVersion+". <?php echo __('Are you sure?'); ?>",
|
} else {
|
||||||
title: "<?php echo __('Update to'); ?> "+lastUpdateVersion,
|
result.innerHTML = umErrorMsg(
|
||||||
onAccept: function() {
|
d.messages
|
||||||
updateLatest({
|
);
|
||||||
url: '<?php echo $ajax; ?>',
|
}
|
||||||
auth: '<?php echo $authCode; ?>',
|
},
|
||||||
success: function(d) {
|
error: function(e, r) {
|
||||||
umUINextUpdate(d.version);
|
if (typeof r != "undefined" ) {
|
||||||
|
result.innerHTML = umErrorMsg(r);
|
||||||
|
} else {
|
||||||
|
result.innerHTML = umErrorMsg(
|
||||||
|
'<?php echo __('Failed to update:'); ?> RC'+e
|
||||||
|
);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
if (d.messages == null) {
|
blast.setAttribute('disable', false);
|
||||||
result.innerHTML = umSuccessMsg(
|
|
||||||
texts.updated
|
|
||||||
);
|
|
||||||
} else {
|
|
||||||
result.innerHTML = umErrorMsg(
|
|
||||||
d.messages
|
|
||||||
);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
error: function(e, r) {
|
|
||||||
if (typeof r != "undefined" ) {
|
|
||||||
result.innerHTML = umErrorMsg(r);
|
|
||||||
} else {
|
|
||||||
result.innerHTML = umErrorMsg(
|
|
||||||
'<?php echo __('Failed to update:'); ?> RC'+e
|
|
||||||
);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
});
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
blast.setAttribute('disable', false);
|
}
|
||||||
});
|
</script>
|
||||||
|
<?php
|
||||||
}
|
}
|
||||||
</script>
|
?>
|
||||||
<?php
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="wu-bg">
|
||||||
|
<img class="wu-box" src="images/Cube.png">
|
||||||
|
<img class="wu-gear" src="images/Engranaje.png">
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user