sass-site/source/layouts/responsive_test.haml
Natalie Weizenbaum b67fc7928b Add htmlproofer to verify links (#252)
* Add htmlproofer to verify links

Partially addresses #247

* Make htmlproofer a Rake task

* Verify that we don't have leftover Markdown links

* Don't build the full Ruby Sass docs before running htmlproofer

* Don't check generated documentation

* Fix a few more broken links

* Add another URL exception

* Limit which branches we run tests for

* Add more URL exceptions
2018-12-27 17:32:58 -08:00

57 lines
1.7 KiB
Plaintext

!!!5
%html.no-js(lang="en"){:class => data.page.head_classes}
%head
%meta(charset="utf-8")/
%meta(http-equiv="X-UA-Compatible" content="IE=edge")/
%title= page_title
= partial "layouts/head/meta"
= partial "layouts/head/link"
= partial "layouts/head/css"
= partial "layouts/head/js"
%body{class: page_classes}
.page
= partial "layouts/roles/alert"
.pop-stripe
= partial "layouts/regions/banner"
= partial "layouts/regions/page_header"
.body
=yield
- content_for :alert do
%form.responsive-test-url(role="form" method="post")
%fieldset
%p
%label.visually-hidden(for="test-url") Test URL
%input#test-url(type="text" placeholder="Enter a site URL")/
%p
%label.radio(for="normal")
%input#normal(type="radio" name="option" value="1" checked="checked")/
Width only
%label.radio(for="accurate")
%input#accurate(type="radio" name="option" value="2")/
Device sizes
%label.checkbox(for="scrollbar")
%input#scrollbar(type="checkbox" name="scrollbar" value="1" checked="checked")/
Add Scrollbar Width
%p.visually-hidden
%button.primary(type="submit") Submit
- if content_for?(:section_middle)
%section.section-middle
.container= yield_content :section_middle
= partial "layouts/regions/release"
- if content_for?(:section_bottom)
%section.section-bottom
.container= yield_content :section_bottom
= partial "layouts/regions/contentinfo"
= partial "layouts/foot/js"