mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-25 06:41:21 +00:00
66 lines
1.9 KiB
HTML
66 lines
1.9 KiB
HTML
|
|
{{#content "title"}}
|
|
Add a new url
|
|
{{/content}}
|
|
|
|
<form role="form" class="col-md-12" action="/new" method="post">
|
|
|
|
<div class="legend">
|
|
<legend>Add a new url</legend>
|
|
</div>
|
|
|
|
{{#error}}
|
|
<div class="col-md-12 clearfix">
|
|
<div class="alert alert-danger">
|
|
<strong>Oh my gosh!</strong>
|
|
<p>{{.}}</p>
|
|
</div>
|
|
</div>
|
|
{{/error}}
|
|
|
|
<div class="form-group clearfix">
|
|
<div class="row">
|
|
<div class="col-md-8 col-sm-8 col-xs-10">
|
|
<label class="control-label" for="new-task-url">URL</label>
|
|
<input class="form-control" id="new-task-url" type="url" placeholder="URL" name="url" value="{{task.url}}"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group clearfix">
|
|
<div class="row">
|
|
<div class="col-md-4 col-sm-4 col-xs-6">
|
|
<label class="control-label" for="new-task-standard">Standard</label>
|
|
<select data-role="new-task-select" class="form-control" id="new-task-standard" name="standard">
|
|
{{#standards}}
|
|
<option {{#selected}}selected{{/selected}}>{{title}}</option>
|
|
{{/standards}}
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<p class="control-label"><b>Ignore these rules</b> <a target="_blank" href="https://github.com/nature/pa11y/wiki/HTML-CodeSniffer-Rules">(full list of rules here)</a></p>
|
|
|
|
<div class="standards-lists">
|
|
{{#standards}}
|
|
<div data-role="standards-list" data-attr="{{title}}" class="form-group">
|
|
<p class="control-label rules-list-title ruled"><b>{{title}} Rules</b></p>
|
|
<ul class="list-unstyled">
|
|
{{#rules}}
|
|
<li>
|
|
<label title="{{description}}" data-role="rules-tooltip" class="checkbox">
|
|
<input type="checkbox" name="ignore[]" value="{{name}}" {{#ignored}}checked{{/ignored}}/>
|
|
{{name}}
|
|
</label>
|
|
</li>
|
|
{{/rules}}
|
|
</ul>
|
|
</div>
|
|
{{/standards}}
|
|
</div>
|
|
|
|
<button type="submit" class="btn btn-success"><span class="glyphicon glyphicon-plus"></span> Add url </button>
|
|
|
|
</form>
|