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);
|
||||
$('.rules-list-title').addClass('hidden');
|
||||
|
||||
standardSelect.change( function(){
|
||||
switchStandardsList($(this));
|
||||
|
@@ -40,11 +40,11 @@
|
||||
<div class="standards-lists">
|
||||
{{#standards}}
|
||||
<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">
|
||||
{{#rules}}
|
||||
<li>
|
||||
<label>
|
||||
<label class="checkbox">
|
||||
<input type="checkbox" name="ignore[]" value="{{name}}" {{#ignored}}checked{{/ignored}}/>
|
||||
{{name}}
|
||||
</label>
|
||||
|
Reference in New Issue
Block a user