Upon determination that any work on any building, structure, electrical, gas, mechanical or plumbing system that is being done contrary to the provisions of the standard building codes or in a dangerous or unsafe manner, the building official shall be authorized to issue a stop-work order, or a citation, or seek other civil relief, including injunctive relief.