Skip to content
Snippets Groups Projects
Commit 48459344 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

dev #46882 improve css selection between back and front + improve loading status in back

parent 4508617f
Branches
Tags
3 merge requests!1797Master,!1783Dev#46882 multiple fix,!1782Dev#46882 multiple fix
......@@ -47,7 +47,8 @@ class ZendAfi_Controller_Action_Helper_View extends Zend_View {
public function setModuleControllerActionNames($module, $controller, $action) {
$this->bodyParam = sprintf('class="%s_%s profil_%d" data-logged="%s"',
$this->bodyParam = sprintf('class="%s %s_%s profil_%d" data-logged="%s"',
$module,
$controller,
$action,
Class_Profil::getCurrentProfil()->getId(),
......
......@@ -58,6 +58,10 @@
cursor: pointer;
}
body.admin a[data-popup="true"].image-loading-status {
display: inline-block;
}
a[data-popup="true"].image-loading-status {
background-image: url(../images/patience.svg);
background-size: 1em;
......
......@@ -726,3 +726,7 @@ form .droite {
margin-right: 1em;
}
.ui-dialog {
z-index: 999;
}
......@@ -661,4 +661,8 @@ form .droite {
.droite > label {
display: block;
margin-right: 1em;
}
.ui-dialog {
z-index: 999;
}
\ No newline at end of file
......@@ -191,6 +191,12 @@ class IndexControllerWithLoggedUserTest extends AbstractControllerTestCase {
public function bodyShouldHaveDataLoggedTrue() {
$this->assertXPath('//body[@data-logged="true"]');
}
/** @test */
public function bodyShouldHaveClassOpac() {
$this->assertXPath('//body[contains(@class, "opac")]');
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment