A double celebration has been held at a Swindon school to mark a quarter century of service by two colleagues.