diff --git a/ValidatorPanel.php b/ValidatorPanel.php index 45e0807..2d1ae39 100644 --- a/ValidatorPanel.php +++ b/ValidatorPanel.php @@ -780,7 +780,7 @@ class ValidatorPanel extends Nette\Object implements Tracy\IBarPanel /** * @var array */ - public static $severenity = array( + public static $severity = array( LIBXML_ERR_WARNING => 'Warning', LIBXML_ERR_ERROR => 'Error', LIBXML_ERR_FATAL => 'Fatal error', diff --git a/composer.json b/composer.json index da09357..f920cb5 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "issues":"https://github.com/Kdyby/HtmlValidatorPanel/issues" }, "require":{ - "tracy/tracy":"~2.3" + "tracy/tracy":"~2.4" }, "suggest":{ "nette/di":"The extension can be registered using nette/di into your application" diff --git a/panel.phtml b/panel.phtml index 1d7ab3c..88e5f4f 100644 --- a/panel.phtml +++ b/panel.phtml @@ -18,17 +18,17 @@ use tracy; box-shadow: none !important; } - #tracy-debug .tracy-htmlValidation td span.severenity-1 { + #tracy-debug .tracy-htmlValidation td span.severity-1 { color: #aaaa30 !important; font-weight: bold !important; } - #tracy-debug .tracy-htmlValidation td span.severenity-2 { + #tracy-debug .tracy-htmlValidation td span.severity-2 { color: #aa832f !important; font-weight: bold !important; } - #tracy-debug .tracy-htmlValidation td span.severenity-3 { + #tracy-debug .tracy-htmlValidation td span.severity-3 { color: #aa4c34 !important; font-weight: bold !important; } @@ -49,8 +49,8 @@ use tracy;
-
- level] . ' on column ' . $error->column . ': ' . $error->message); ?> +
+ level] . ' on column ' . $error->column . ': ' . $error->message); ?>
line, 10); ?>