diff --git a/src/backoffice/templates/backoffice/wa-index.html b/src/backoffice/templates/backoffice/wa-index.html index 5fe2feb511550b2cb7aaad359a54ff9db27afd6a..e0e399cc337052d456e0334cfefa5e4a64638329 100644 --- a/src/backoffice/templates/backoffice/wa-index.html +++ b/src/backoffice/templates/backoffice/wa-index.html @@ -29,7 +29,16 @@ <form action="" method="POST"> {% csrf_token %} - <input type="text" name="loglevel" placeholder="trace / debug / info / warn / error / fatal / panic" required> + <select name="loglevel" id="loglevel" required> + <option disabled selected value> -- select a loglevel -- </option> + <option value="trace">trace</option> + <option value="debug">debug</option> + <option value="info">info</option> + <option value="warn">warn</option> + <option value="error">error</option> + <option value="fatal">fatal</option> + <option value="panic">panic</option> + </select> <input type="submit" name="mapservice_loglevel" value="set loglevel" class="btn btn-secondary"> </form>