Improving accessibility

Comming closer to WCAG 2.0 AAA.
This commit is contained in:
TimZ99 2019-10-09 20:33:59 +02:00
parent a0cdcffabc
commit 43c60867b3
No known key found for this signature in database
GPG Key ID: 4D8268DC68E8339D
4 changed files with 9 additions and 6 deletions

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>{{ title }}</title>
<title>{{ title }}{% if subtitle %} - {{ subtitle }}{% endif %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="PHP Server Monitor - {{ subtitle }}">
<meta name="robots" content="noindex" />
@ -48,7 +48,7 @@
<b>Javascript is disabled!</b> PHP Server Monitor works best with JavaScript enabled!
</div>
</noscript>
{% if not user_level %}<h1>{{ subtitle }}</h1>{% endif %}
{% if not user_level and subtitle %}<h1>{{ subtitle }}</h1>{% endif %}
<div class="container">{{ header_accessories|raw }}</div>
{% for msg in messages %}
<div class="alert alert-{{ msg.class }}" role="alert">

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,8 @@
$theme-colors: ("primary": #006AE0,
"success": #20883A);
$theme-colors: (
"primary": #0051AD,
"success": #0E6800,
"danger": #AC1F2D,
"warning": #E67600);
@import "../plugin/bootstrap/scss/_functions";
@import "../plugin/bootstrap/scss/functions";
@import "../plugin/bootstrap/scss/variables";