Add style tweaks and hide the date list from the individual pages

This commit is contained in:
Alex Kilgour
2016-01-29 15:19:05 +00:00
parent 27cdf51258
commit 31bbb7229b
6 changed files with 13 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@@ -374,6 +374,9 @@ ul.date-links {
text-decoration: underline; text-decoration: underline;
} }
} }
.single-result .date-selector-row {
display: none;
}
/* Graph */ /* Graph */
.graph { .graph {

View File

@@ -1,4 +1,4 @@
{{! {{!
This file is part of pa11y-dashboard. This file is part of pa11y-dashboard.
pa11y-dashboard is free software: you can redistribute it and/or modify pa11y-dashboard is free software: you can redistribute it and/or modify
@@ -16,7 +16,7 @@ along with pa11y-dashboard. If not, see <http://www.gnu.org/licenses/>.
}} }}
<div class="col-md-12"> <div class="col-md-12">
<div class="ruled task-header"> <div class="ruled task-header">
<div class="row clearfix"> <div class="row clearfix task-header">
<div class="col-md-12"> <div class="col-md-12">
<div class="h3 crunch well-med well pull-right"><span class="glyphicon glyphicon-calendar"></span>&nbsp;{{date-format mainResult.date format="DD MMM YYYY"}}</div> <div class="h3 crunch well-med well pull-right"><span class="glyphicon glyphicon-calendar"></span>&nbsp;{{date-format mainResult.date format="DD MMM YYYY"}}</div>
<h1 class="h2 crunch-top">{{task.name}}</h1> <h1 class="h2 crunch-top">{{task.name}}</h1>
@@ -24,4 +24,4 @@ along with pa11y-dashboard. If not, see <http://www.gnu.org/licenses/>.
</div> </div>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -41,7 +41,7 @@ along with pa11y-dashboard. If not, see <http://www.gnu.org/licenses/>.
</div> </div>
</div> </div>
</div> </div>
<div class="row"> <div class="row date-selector-row">
<div id="top" class="col-md-12 col-sm-12 clearfix"> <div id="top" class="col-md-12 col-sm-12 clearfix">
<div class="well dark-well"> <div class="well dark-well">
<div class="date-selector"> <div class="date-selector">

View File

@@ -31,7 +31,7 @@ along with pa11y-dashboard. If not, see <http://www.gnu.org/licenses/>.
</ul> </ul>
{{/unless}} {{/unless}}
{{#if mainResult}} {{#if mainResult}}
<div class="date">Last run : {{date-format mainResult.date format="DD MMM YYYY"}}</div> <div class="date">Last run: <strong>{{date-format mainResult.date format="DD MMM YYYY"}}</strong></div>
{{else}} {{else}}
<div class="date">Not yet run</div> <div class="date">Not yet run</div>
{{/if}} {{/if}}

View File

@@ -1,4 +1,4 @@
{{! {{!
This file is part of pa11y-dashboard. This file is part of pa11y-dashboard.
pa11y-dashboard is free software: you can redistribute it and/or modify pa11y-dashboard is free software: you can redistribute it and/or modify
@@ -21,4 +21,6 @@ along with pa11y-dashboard. If not, see <http://www.gnu.org/licenses/>.
{{> result-header}} {{> result-header}}
{{> result}} <div class="single-result">
{{> result}}
</div>