mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-25 06:41:21 +00:00
Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
d0feee8dd5 | ||
![]() |
f97e224679 | ||
![]() |
ddbb0db33d | ||
![]() |
e0290b4fc5 | ||
![]() |
1f6ea332ac | ||
![]() |
5b109fb23d | ||
![]() |
3b03af7e8f | ||
![]() |
1c96369bb0 | ||
![]() |
e421444487 | ||
![]() |
5c7d9bfc43 |
@@ -31,8 +31,23 @@ Coding Guidelines
|
||||
* Don't commit code without passing tests (run `grunt test`).
|
||||
|
||||
|
||||
Versioning
|
||||
----------
|
||||
|
||||
We use [Semantic Versioning][semver] in this project. The process for releasing a new version is as follows; this should only be done by core contributors – you don't need to include a tagged version in your pull-requests.
|
||||
|
||||
* Switch to `master` and merge the `develop` branch into it
|
||||
* Update the version number in `package.json` and `README.md`
|
||||
* Commit the changes with the message: "Version x.x.x" (x.x.x being the new version number)
|
||||
* Tag the commit with the version number (just the numbers, no "version" or "v")
|
||||
* Push with tags: `git push --tags`
|
||||
* Check out the `develop` branch, merge `master` into it, and push
|
||||
* On GitHub, add [release notes][release-notes] for the new version. The title should be "Version x.x.x", and the description should be a list of new features/fixes
|
||||
|
||||
|
||||
[bugs]: https://github.com/nature/pa11y-dashboard/issues?labels=bug&state=open
|
||||
[ready]: https://github.com/nature/pa11y-dashboard/issues?labels=ready&state=open
|
||||
[issues]: https://github.com/nature/pa11y-dashboard/issues
|
||||
[milestones]: https://github.com/nature/pa11y-dashboard/issues/milestones
|
||||
[milestones]: https://github.com/nature/pa11y-dashboard/issues/milestones
|
||||
[release-notes]: https://github.com/nature/pa11y-dashboard/releases
|
||||
[semver]: http://semver.org/
|
||||
|
@@ -3,7 +3,7 @@ pa11y-dashboard
|
||||
|
||||
pa11y-dashboard is a web interface to the [pa11y][pa11y] accessibility reporter; allowing you to focus on *fixing* issues rather than hunting them down.
|
||||
|
||||
**Current Version:** *1.2.1*
|
||||
**Current Version:** *1.2.3*
|
||||
**Build Status:** [![Build Status][travis-img]][travis]
|
||||
**Node Version Support:** *0.10*
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "pa11y-dashboard",
|
||||
"version": "1.2.1",
|
||||
"version": "1.2.3",
|
||||
"private": true,
|
||||
|
||||
"description": "pa11y-dashboard is a visual web interface to the pa11y accessibility reporter",
|
||||
|
2
public/css/site.min.css
vendored
2
public/css/site.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -70,7 +70,7 @@
|
||||
}
|
||||
.dropdown-toggle {
|
||||
margin-top:0;
|
||||
margin-bottom:10px;
|
||||
margin-bottom:5px;
|
||||
}
|
||||
.list-group {
|
||||
li .list-group-item {
|
||||
@@ -238,6 +238,9 @@
|
||||
h2 {
|
||||
word-wrap:break-word;
|
||||
}
|
||||
.h4 {
|
||||
margin-bottom:22px;
|
||||
}
|
||||
}
|
||||
.date {
|
||||
margin-top:5px;
|
||||
@@ -320,7 +323,7 @@ ul.date-links {
|
||||
}
|
||||
|
||||
&.single-result {
|
||||
margin-top:-55px;
|
||||
margin-top:-52px;
|
||||
|
||||
.show-stats {
|
||||
display:none;
|
||||
|
@@ -46,13 +46,13 @@ function route (app) {
|
||||
app.express.get('/:id/:rid.csv', getTaskAndResult, function (req, res) {
|
||||
var task = res.locals.task;
|
||||
var result = res.locals.result;
|
||||
var rows = ['"code", "message", "type"'];
|
||||
var rows = ['"code","message","type"'];
|
||||
result.results.forEach(function (msg) {
|
||||
rows.push([
|
||||
JSON.stringify(msg.code),
|
||||
JSON.stringify(msg.message),
|
||||
JSON.stringify(msg.type)
|
||||
].join(', '));
|
||||
].join(','));
|
||||
});
|
||||
res.attachment(getDownloadFileName(task, result, 'csv'));
|
||||
res.send(rows.join('\n'));
|
||||
|
@@ -20,7 +20,7 @@ describe('GET /<task-id>/<result-id>.csv', function () {
|
||||
});
|
||||
|
||||
it('should output CSV results', function () {
|
||||
assert.match(this.last.body, /^"code", "message", "type"/);
|
||||
assert.match(this.last.body, /^"code","message","type"/);
|
||||
});
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user