Text this: The Hamilton-Type Principle in Fluid Dynamics