forked from external-repos/pa11y-dashboard
Issue 35 - Change Notifications to Notices
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<th>Date</th>
|
||||
<th class="text-center">Errors</th>
|
||||
<th class="text-center">Warnings</th>
|
||||
<th class="text-center">Notifications</th>
|
||||
<th class="text-center">Notices</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -14,7 +14,7 @@
|
||||
<td data-role="category">{{date-format date format="DD MMM YYYY"}}</td>
|
||||
<td class="text-center" data-label="error">{{count.error}}</td>
|
||||
<td class="text-center" data-label="warning">{{count.warning}}</td>
|
||||
<td class="text-center" data-label="notification">{{count.notice}}</td>
|
||||
<td class="text-center" data-label="notice">{{count.notice}}</td>
|
||||
</tr>
|
||||
{{/results}}
|
||||
</tbody>
|
||||
|
@@ -16,7 +16,7 @@
|
||||
{{#lastResult}}
|
||||
<li class="danger" title="Number of errors ({{count.error}})">{{count.error}}</li>
|
||||
<li class="warning" title="Number of warnings ({{count.warning}})">{{count.warning}}</li>
|
||||
<li class="info last" title="Number of notifications ({{count.notice}})">{{count.notice}}</li>
|
||||
<li class="info last" title="Number of notices ({{count.notice}})">{{count.notice}}</li>
|
||||
{{/lastResult}}
|
||||
</ul>
|
||||
Last run {{date-format lastResult.date format="DD MMM YYYY"}}
|
||||
|
@@ -68,7 +68,7 @@
|
||||
{{#lastResult}}
|
||||
<li class="danger"><a href="#errors" title="See errors">{{count.error}}</a></li>
|
||||
<li class="warning"><a href="#warnings" title="See warnings">{{count.warning}}</a></li>
|
||||
<li class="info last"><a href="#notifications" title="See notifications">{{count.notice}}</a></li>
|
||||
<li class="info last"><a href="#notices" title="See notices">{{count.notice}}</a></li>
|
||||
{{/lastResult}}
|
||||
</ul>
|
||||
</div>
|
||||
@@ -122,7 +122,7 @@
|
||||
<a class="pull-right" href="#top" data-role="top">Back to top</a>
|
||||
</div>
|
||||
{{else}}
|
||||
<p class="heading label-danger">Well done! You have 0 errors. <span class="glyphicon glyphicon-ok pull-right"></span></p>
|
||||
<p class="heading label-danger" id="errors">Well done! You have 0 errors. <span class="glyphicon glyphicon-ok pull-right"></span></p>
|
||||
{{/if}}
|
||||
|
||||
{{#if lastResult.count.warning}}
|
||||
@@ -143,13 +143,13 @@
|
||||
</div>
|
||||
|
||||
{{else}}
|
||||
<p class="heading label-warning">Well done! You have 0 warnings. <span class="glyphicon glyphicon-ok pull-right"></span></p>
|
||||
<p class="heading label-warning" id="warnings">Well done! You have 0 warnings. <span class="glyphicon glyphicon-ok pull-right"></span></p>
|
||||
{{/if}}
|
||||
|
||||
{{#if lastResult.count.notice}}
|
||||
<div class="heading label-info" id="notifications">
|
||||
<div class="heading label-info" id="notices">
|
||||
<span data-role="expander" class="pull-right expander"> + </span>
|
||||
Notifications ( {{lastResult.count.notice}} )
|
||||
Notices ( {{lastResult.count.notice}} )
|
||||
</div>
|
||||
<div class="task-info tasks-list collapse clearfix">
|
||||
<ul class="list-unstyled">
|
||||
@@ -163,7 +163,7 @@
|
||||
<a class="pull-right" href="#top" data-role="top">Back to top</a>
|
||||
</div>
|
||||
{{else}}
|
||||
<p class="heading label-warning">Well done! You have 0 notices. <span class="glyphicon glyphicon-ok pull-right"></span></p>
|
||||
<p class="heading label-warning" id="notices">Well done! You have 0 notices. <span class="glyphicon glyphicon-ok pull-right"></span></p>
|
||||
{{/if}}
|
||||
|
||||
<div class="heading label-default">
|
||||
@@ -183,7 +183,7 @@
|
||||
|
||||
{{else}}
|
||||
<div class="alert alert-info">
|
||||
<h4>No results to show</h4>
|
||||
<h4>There are no results to show</h4>
|
||||
<p>pa11y has not been run against this URL yet so there are no results to show.</p>
|
||||
<p>To run pa11y for this URL now <a href="">click here</a></p>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user