forked from external-repos/pa11y-dashboard
Style rules list section title on new-task form and add js to hide this title on js enabled devices
This commit is contained in:
@@ -52,6 +52,7 @@ $(document).ready(function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
switchStandardsList(standardSelect);
|
switchStandardsList(standardSelect);
|
||||||
|
$('.rules-list-title').addClass('hidden');
|
||||||
|
|
||||||
standardSelect.change( function(){
|
standardSelect.change( function(){
|
||||||
switchStandardsList($(this));
|
switchStandardsList($(this));
|
||||||
|
@@ -40,11 +40,11 @@
|
|||||||
<div class="standards-lists">
|
<div class="standards-lists">
|
||||||
{{#standards}}
|
{{#standards}}
|
||||||
<div data-role="standards-list" data-attr="{{title}}" class="form-group">
|
<div data-role="standards-list" data-attr="{{title}}" class="form-group">
|
||||||
<p class="control-label"><b>{{title}} Rules</b></p>
|
<p class="control-label rules-list-title ruled"><b>{{title}} Rules</b></p>
|
||||||
<ul class="list-unstyled">
|
<ul class="list-unstyled">
|
||||||
{{#rules}}
|
{{#rules}}
|
||||||
<li>
|
<li>
|
||||||
<label>
|
<label class="checkbox">
|
||||||
<input type="checkbox" name="ignore[]" value="{{name}}" {{#ignored}}checked{{/ignored}}/>
|
<input type="checkbox" name="ignore[]" value="{{name}}" {{#ignored}}checked{{/ignored}}/>
|
||||||
{{name}}
|
{{name}}
|
||||||
</label>
|
</label>
|
||||||
|
Reference in New Issue
Block a user