// Add a link to restart installer if an error occured + session protection on reinstallation
This commit is contained in:
@@ -78,6 +78,7 @@ function install_error(step, errors)
|
||||
current_step = 0;
|
||||
is_installing = false;
|
||||
|
||||
$('#error_process').show();
|
||||
$('#process_step_'+step.key).show().addClass('fail');
|
||||
$('#progress_bar .total .progress').stop().css('width', '0px');
|
||||
$('#progress_bar .installing').hide();
|
||||
|
||||
@@ -693,7 +693,7 @@ ul#optional_update {list-style-type:none;}
|
||||
|
||||
/* STEP 5 ******************************************/
|
||||
#install_process_form{
|
||||
height: 260px;
|
||||
min-height: 260px;
|
||||
}
|
||||
#progress_bar {
|
||||
display: none;
|
||||
@@ -763,7 +763,28 @@ ul#optional_update {list-style-type:none;}
|
||||
#progress_bar ol.process_list li .error_log li {
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
|
||||
#error_process{
|
||||
padding: 5px;
|
||||
background-color: #FBE8D6;
|
||||
border: 1px solid #666666;
|
||||
margin-left: 37px;
|
||||
margin-bottom: 20px;
|
||||
display: none;
|
||||
}
|
||||
#error_process h3{
|
||||
color: red;
|
||||
}
|
||||
#error_process p{
|
||||
margin-left: 20px;
|
||||
}
|
||||
#error_process p a{
|
||||
font-weight: bold;
|
||||
}
|
||||
#error_process p a:hover{
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#install_process_success {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,11 @@ var process_percent = <?php echo 100 / count($this->process_steps) ?>;
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ol>
|
||||
|
||||
<div id="error_process">
|
||||
<h3><?php echo $this->l('An error occured during installation ...') ?></h3>
|
||||
<p><?php echo $this->l('You can use the links on the left column to go back to the previous steps, or restart the installation process by <a href="%s">clicking here</a>.', 'index.php?restart=true') ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user