N°5658 - Fix spinning wheel appearing on all application upgrade buttons - fix css

This commit is contained in:
Eric Espie
2023-05-03 10:49:08 +02:00
parent d86b3dba0e
commit befef6c71e
4 changed files with 7 additions and 26 deletions

View File

@@ -7,19 +7,8 @@
font-size: 1.17rem;
}
#progress {
margin: 5px auto;
display:block;
width: 280px;
height: 20px;
line-height: 20px;
text-align: center;
.progress {
margin: 0;
}
.text {
margin: 0;
}
}
#progress_content {
display: flex;
flex-direction: column;
align-items: center;
}

View File

@@ -8,11 +8,4 @@
<enable_admin_only>1</enable_admin_only>
</menu>
</menus>
<branding>
<themes_common>
<stylesheets>
<stylesheet id="itop-core-update-style" _delta="define">itop-core-update/css/itop-core-update.scss</stylesheet>
</stylesheets>
</themes_common>
</branding>
</itop_design>

View File

@@ -159,6 +159,7 @@ class UpdateController extends Controller
];
$this->AddLinkedScript(utils::GetAbsoluteUrlAppRoot().'setup/jquery.progression.js');
$this->AddSaas('css/backoffice/main.scss');
$this->AddSaas('env-'.utils::GetCurrentEnvironment().'/itop-core-update/css/itop-core-update.scss');
$this->m_sOperation = 'UpdateCoreFiles';
$this->DisplaySetupPage($aParams);
}

View File

@@ -9,9 +9,7 @@
{% UIFieldSet Standard {sLegend:'iTopUpdate:UI:Progress'|dict_s, sId:'installation_progress'} %}
{# Todo 3.0 Add Progress bar UIBlock #}
<div id="progress_content">
<p class="center">
<span id="setup_msg">{{ 'iTopUpdate:UI:SetupMessage:Ready'|dict_s }}</span>
</p>
<span id="setup_msg">{{ 'iTopUpdate:UI:SetupMessage:Ready'|dict_s }}</span>
<div id="progress">0%</div>
</div>
{% EndUIFieldSet %}