{% set title %}{% trans "Level" %}{% endset %}
{{ inline.input("level", title) }}
{% set title %}{% trans "Interval" %}{% endset %}
{% set secondsTrans %}{% trans "Seconds" %}{% endset %}
{% set minutesTrans %}{% trans "Minutes" %}{% endset %}
{% set hoursTrans %}{% trans "Hours" %}{% endset %}
{% set intervalTypeOptions = [
{ id: 1, value: secondsTrans },
{ id: 60, value: minutesTrans },
{ id: 3600, value: hoursTrans },
] %}
{{ inline.dropdown("intervalType", "single", title, 1, intervalTypeOptions, "id", "value") }}
{% set title %}{% trans "Duration back" %}{% endset %}
{{ inline.number("seconds", title, 120) }}
{% set title %}{% trans "Run" %}{% endset %}
{{ inline.input("runNo", title) }}
{% set title %}{% trans "User" %}{% endset %}
{{ inline.dropdown("userId", "single", title, "", [{userId: null, userName: ""}]|merge(users), "userId", "userName") }}
{% set title %}{% trans "From Date" %}{% endset %}
{% set title %}{% trans "Channel" %}{% endset %}
{{ inline.input("channel", title) }}
{% set title %}{% trans "Page" %}{% endset %}
{{ inline.input("page", title) }}
{% set title %}{% trans "Function" %}{% endset %}
{% set getTrans %}{% trans "GET" %}{% endset %}
{% set postTrans %}{% trans "POST" %}{% endset %}
{% set putTrans %}{% trans "PUT" %}{% endset %}
{% set deleteTrans %}{% trans "DELETE" %}{% endset %}
{% set headTrans %}{% trans "HEAD" %}{% endset %}
{% set patchTrans %}{% trans "PATCH" %}{% endset %}
{% set functionOptions = [
{ id: "", value: "" },
{ id: "GET", value: getTrans },
{ id: "POST", value: postTrans},
{ id: "PUT", value: putTrans},
{ id: "DELETE", value: deleteTrans},
{ id: "HEAD", value: headTrans},
{ id: "PATCH", value: patchTrans},
] %}
{{ inline.dropdown("function", "single", title, "", functionOptions, "id", "value") }}
{% set title %}{% trans "Display" %}{% endset %}
{% set attributes = [
{ name: "data-width", value: "200px" },
{ name: "data-allow-clear", value: "true" },
{ name: "data-placeholder--id", value: null },
{ name: "data-placeholder--value", value: "" },
{ name: "data-search-url", value: urlFor("display.search") },
{ name: "data-search-term", value: "display" },
{ name: "data-search-term-tags", value: "tags" },
{ name: "data-id-property", value: "displayId" },
{ name: "data-text-property", value: "display" }
] %}
{{ inline.dropdown("displayId", "single", title, "", null, "displayId", "display", "", "pagedSelect", "", "d", "", attributes) }}
{% set title %}{% trans "Display Group" %}{% endset %}
{% set attributes = [
{ name: "data-width", value: "200px" },
{ name: "data-allow-clear", value: "true" },
{ name: "data-placeholder--id", value: null },
{ name: "data-placeholder--value", value: "" },
{ name: "data-search-url", value: urlFor("displayGroup.search") },
{ name: "data-search-term", value: "displayGroup" },
{ name: "data-id-property", value: "displayGroupId" },
{ name: "data-text-property", value: "displayGroup" }
] %}
{{ inline.dropdown("displayGroupId", "single", title, "", null, "displayGroupId", "displayGroup", "", "pagedSelect", "", "d", "", attributes) }}
{% set title %}{% trans "Message" %}{% endset %}
{{ inline.input("message", title) }}
{% set title %}{% trans "Exclude logs common to each request?" %}{% endset %}
{{ inline.checkbox("excludeLog", title, 1) }}