Most likely the brake pressure switch has been tripped. The valve moves towards the end of the car with the lowest pressure and shuts off that circuit. You need to remove the nut on the end of the switch, recenter the valve, then gravity bleed the system so there is fluid to all four ends of the car before pushing on the pedal again.