Add accessibility items

This commit is contained in:
steveoh 2017-08-30 19:00:58 -06:00
parent 0c06ef17c7
commit 59c9ec9774
3 changed files with 4 additions and 5 deletions

View File

@ -9,7 +9,7 @@
{{ $active := where $incidents "Params.resolved" "!=" true }}
{{ $major := where $active "Params.severity" "major-outage" }}
<html>
<html lang="{{.Site.LanguageCode}}">
<head>
<title>{{ $title }}</title>
<link rel="stylesheet" href="/css/main.css"/>
@ -24,8 +24,8 @@
<body>
<div class="gangsta-wrap">
<div class="header">
<img src="{{ $logo }}" class="logo"/>
<span class="title"><a href="/">{{ $title }}</a></span>
<img src="{{ $logo }}" alt="logo" class="logo"/>
<div class="right-links">
{{ with $resources }}
<a href="{{ . }}" class="button resources-link">Resources</a>

View File

@ -1,5 +1,5 @@
<div class="system-status-badge color-{{ .alert }}">
<!-- Depends on status -->
<img src="/images/icon-{{ .alert }}.svg" />
<img src="/images/icon-{{ .alert }}.svg" alt="{{ .alert }}"/>
{{ .description }}
</div>

View File

@ -7,8 +7,7 @@
{{ $name := . }}
<div class="system-operational">
<div class="card">
{{ $name }}
{{- $name -}}
{{ if $.incidents }}
{{ range $.incidents }}
{{ if in .Params.affectedsystems $name }}