Loading view/unicaen-import/table/index.phtml 100644 → 100755 +2 −2 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ echo $this->partial('unicaen-import/import/menu', ['active' => 'tables']); if (in_array($table->getName(), $views)) { $class = $table->isSyncEnabled() ? 'fas fa-check text-success' : 'fas fa-xmark text-danger refuse'; $icon = $this->tag('i', ['class' => 'fas fa-check ' . $class, 'style' => 'font-size: 14pt']); $icon = $this->tag('i', ['class' => 'activation fas fa-check ' . $class, 'style' => 'font-size: 14pt']); if ($canEdit) { echo $this->tag('a', [ Loading Loading @@ -133,7 +133,7 @@ echo $this->partial('unicaen-import/import/menu', ['active' => 'tables']); synchroSwitch: function (table) { var that = this; var glyphSwitch = that.element.find("tr.table-ligne[data-table='" + table + "'] .glyph-switch"); var glyphSwitch = that.element.find("tr.table-ligne[data-table='" + table + "'] .activation"); glyphSwitch.addClass('loading'); glyphSwitch.removeClass('fa-check text-success'); Loading Loading
view/unicaen-import/table/index.phtml 100644 → 100755 +2 −2 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ echo $this->partial('unicaen-import/import/menu', ['active' => 'tables']); if (in_array($table->getName(), $views)) { $class = $table->isSyncEnabled() ? 'fas fa-check text-success' : 'fas fa-xmark text-danger refuse'; $icon = $this->tag('i', ['class' => 'fas fa-check ' . $class, 'style' => 'font-size: 14pt']); $icon = $this->tag('i', ['class' => 'activation fas fa-check ' . $class, 'style' => 'font-size: 14pt']); if ($canEdit) { echo $this->tag('a', [ Loading Loading @@ -133,7 +133,7 @@ echo $this->partial('unicaen-import/import/menu', ['active' => 'tables']); synchroSwitch: function (table) { var that = this; var glyphSwitch = that.element.find("tr.table-ligne[data-table='" + table + "'] .glyph-switch"); var glyphSwitch = that.element.find("tr.table-ligne[data-table='" + table + "'] .activation"); glyphSwitch.addClass('loading'); glyphSwitch.removeClass('fa-check text-success'); Loading