An appeal stays all legal proceedings in furtherance of the action appealed from, unless the community and economic development director certifies to the board of appeals after the notice of appeal shall have been filed with such community and economic development director that, by reason of facts stated in the certificate, a stay would, in such community and economic development director's opinion, cause imminent peril to life and property. In such case, proceedings shall not be stayed otherwise than by a restraining order which may be granted by the board or by a court of record on notice to the official from whom the appeal is taken and on due cause shown.