SHS teacher resigns amid felony charges