in plugins-verifier-service/src/main/kotlin/org/jetbrains/plugins/verifier/service/server/views/IgnoredProblemsPage.kt [59:92]
override fun render(model: MutableMap<String, *>?, request: HttpServletRequest, response: HttpServletResponse) {
return response.outputStream.buildHtml {
head {
unsafe(CSS_STYLES)
}
body {
h2 { +"Modify ignored problems here" }
div {
+"Ignoring lines must be in the form: <plugin_xml_id>:[<plugin_version>:]<problem_description_regexp_pattern>, for example:"
br()
+" org.some.plugin:3.4.0:access to unresolved class org.foo.Foo.* --- ignore for plugin 'org.some.plugin' of version 3.4.0\""
br()
+" org.jetbrains.kotlin::access to unresolved class org.jetbrains.kotlin.compiler.* --- ignore for all versions of Kotlin plugin"
}
form("ignoredProblemsForm", "", "/modify-ignored-problems", method = "post") {
textarea("ignored_problems_form", "ignoredProblemsForm", "ignored.problems", "Enter ignored problems here") {
getIgnoredProblemsLines().forEach {
+it
+"\n"
}
}
div("labeled_field") {
div("label") { +"Admin password" }
input("password", "admin.password", "", "label", title = "Admin password")
}
div {
input("submit", classes = "button", value = "Modify", name = "submit")
}
}
}
}
}