Merge branch 'app' of github.com:nature/pa11y-web into app

This commit is contained in:
Rowan Manning
2013-09-16 15:47:41 +01:00
19 changed files with 1261 additions and 8 deletions

View File

@@ -1,17 +1,45 @@
<!DOCTYPE html>
<html lang="{{lang}}">
<html lang="{{lang}}" class="no-javascript">
<head>
<script>
document.documentElement.className = document.documentElement.className.replace('no-javascript', 'javascript');
</script>
<meta charset="utf-8"/>
<title>{{block "title"}}</title>
<meta name="description" content="{{block "description"}}"/>
<link rel="stylesheet" href="/example.css"/>
<link rel="icon" type="image/png" href="favicon.png" />
<!-- For mobile devices. -->
<meta name="viewport" content="width=device-width"/>
<link rel="stylesheet" href="css/site.css"/>
<link rel="stylesheet" href="css/main.css"/>
</head>
<!--[if IE 7]><body class="ie7"><![endif]-->
<!--[if IE 8]><body class="ie8"><![endif]-->
<!--[if IE 9]><body class="ie9"><![endif]-->
<!--[if !IE]>-->
<body>
<!--<![endif]-->
{{> header}}
{{{body}}}
{{> footer}}
<!-- Javascript loveliness. -->
<script type="text/javascript" src="js/vendor/jquery.js"></script>
<script type="text/javascript" src="js/vendor/bootstrap/alert.js"></script>
<script type="text/javascript" src="js/vendor/bootstrap/dropdown.js"></script>
<script src="js/vendor/flot/jquery.flot.min.js"></script>
<script src="js/vendor/flot/jquery.flot.categories.min.js"></script>
<script src="js/vendor/flot/jquery.flot.selection.min.js"></script>
<script src="js/vendor/flot/jquery.flot.resize.min.js"></script>
<script type="text/javascript" src="js/site.js"></script>
</body>
</html>

15
view/partial/footer.html Normal file
View File

@@ -0,0 +1,15 @@
<footer>
<div class="footer">
<div class="container">
<ul class="pull-right">
<li>
<a href="https://github.com/nature/pa11y">github repo</a>
</li>
<li>
<a href="https://github.com/nature/pa11y/wiki/HTML-CodeSniffer-Rules">list of rules</a>
</li>
</ul>
<p>Copyright 2013 Nature Publishing Group.<br/>pa11y is licensed under the GNU General Public License 3.0.</p>
</div>
</div>
</footer>

7
view/partial/header.html Normal file
View File

@@ -0,0 +1,7 @@
<header>
<div class="header">
<div class="container">
<h1><a href="/">pa11y</a> - your automated accessibility testing pal</h1>
</div>
</div>
</header>