mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-24 22:31:15 +00:00
Amend xaxis mode to time from category to try to reduce x axis clutter
This commit is contained in:
@@ -17,4 +17,9 @@ function helper (register) {
|
||||
return moment(context).fromNow();
|
||||
});
|
||||
|
||||
register('date-timestamp', function (context) {
|
||||
return moment(context).valueOf();
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
@@ -23,7 +23,7 @@
|
||||
<tbody>
|
||||
{{#results}}
|
||||
<tr data-role="url-stats">
|
||||
<td data-role="category">{{date-format date format="DD MMM YYYY"}}</td>
|
||||
<td data-value="{{date-timestamp date}}" 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="notice">{{count.notice}}</td>
|
||||
|
Reference in New Issue
Block a user