Derivation of the Euler-Lagrange-Equation

We would like to find a condition for the Lagrange function $L$, so that its integral, the action $S$, becomes maximal or minimal. ...