After a fashion

Poorly, barely adequate.

The cleaning staff cleaned the lunchroom after a fashion but not very well.