Write the back-end for rule ignoring

This commit is contained in:
Rowan Manning
2014-01-09 15:34:32 +00:00
parent 4347acf654
commit ccc7ddfc18
5 changed files with 59 additions and 5 deletions

View File

@@ -26,10 +26,23 @@
</div>
{{/running}}
{{#ruleIgnored}}
<div class="col-md-12 clearfix" data-test="alert">
<div class="alert alert-success">
<button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button>
<strong>Rule ignored!</strong>
<p>
You've ignored a rule for this task.
<a href="{{task.hrefRun}}">Click here to generate results with the ignored rule excluded</a>
</p>
</div>
</div>
{{/ruleIgnored}}
{{> task-header}}
{{#if results}}
{{#unless hasOneResult}}
{{> graph}}
{{/unless}}
@@ -48,4 +61,4 @@
<p><a href="{{task.hrefRun}}">Click here to generate results for this URL</a>.</p>
</div>
</div>
{{/if}}
{{/if}}