Skip to content

Commit

Permalink
Added new style for code and split into two columns
Browse files Browse the repository at this point in the history
  • Loading branch information
lpelypenko committed Dec 24, 2020
1 parent c8e8b4f commit ae45e09
Show file tree
Hide file tree
Showing 13 changed files with 6,525 additions and 9,567 deletions.
1,129 changes: 457 additions & 672 deletions artifacts/accessibilityReport.html

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions artifacts/tcAllPassedOnlyViolations.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,14 @@
.hljs {
white-space: pre-wrap;
width: 100%;
background: #f0f0f0;
}
p {
margin-top: 0.3rem;
}
li {
line-height: 1.618;
}
.fix-summary-list {
word-break: break-word;
}
</style>
<!-- Bootstrap CSS -->
<link
Expand All @@ -72,7 +70,7 @@
></script>
<link
rel="stylesheet"
href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/a11y-dark.min.css"
href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/stackoverflow-light.min.css"
/>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<link
Expand Down
1,129 changes: 457 additions & 672 deletions artifacts/tcInapplicablePresent.html

Large diffs are not rendered by default.

1,129 changes: 457 additions & 672 deletions artifacts/tcIncludingCustomSummary.html

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions artifacts/tcOnlyPasses.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,14 @@
.hljs {
white-space: pre-wrap;
width: 100%;
background: #f0f0f0;
}
p {
margin-top: 0.3rem;
}
li {
line-height: 1.618;
}
.fix-summary-list {
word-break: break-word;
}
</style>
<!-- Bootstrap CSS -->
<link
Expand All @@ -72,7 +70,7 @@
></script>
<link
rel="stylesheet"
href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/a11y-dark.min.css"
href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/stackoverflow-light.min.css"
/>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<link
Expand Down
1,129 changes: 457 additions & 672 deletions artifacts/tcPassesAndViolations.html

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions artifacts/tcWithTheKey.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,14 @@
.hljs {
white-space: pre-wrap;
width: 100%;
background: #f0f0f0;
}
p {
margin-top: 0.3rem;
}
li {
line-height: 1.618;
}
.fix-summary-list {
word-break: break-word;
}
</style>
<!-- Bootstrap CSS -->
<link
Expand All @@ -72,7 +70,7 @@
></script>
<link
rel="stylesheet"
href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/a11y-dark.min.css"
href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/stackoverflow-light.min.css"
/>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<link
Expand Down
1,129 changes: 457 additions & 672 deletions artifacts/tsAllOptionalParametersPresent.html

Large diffs are not rendered by default.

1,129 changes: 457 additions & 672 deletions artifacts/urlIsNotPassed.html

Large diffs are not rendered by default.

108 changes: 50 additions & 58 deletions docs/index.html

Large diffs are not rendered by default.

34 changes: 15 additions & 19 deletions src/util/template/pageTemplate.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,14 @@
.hljs {
white-space: pre-wrap;
width: 100%;
background: #f0f0f0;
}
p {
margin-top: 0.3rem;
}
li {
line-height: 1.618;
}
.fix-summary-list {
word-break: break-word;
}
</style>
<!-- Bootstrap CSS -->
<link
Expand All @@ -72,7 +70,7 @@
></script>
<link
rel="stylesheet"
href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/a11y-dark.min.css"
href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/stackoverflow-light.min.css"
/>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<link
Expand Down Expand Up @@ -132,7 +130,7 @@ <h3>Failed</h3>
<div class="card-body">
<div class="violationCardLine">
<h5 class="card-title violationCardTitleItem">
<a id="{{index}}">Violation type #{{index}}</a>: {{help}}
<a id="{{index}}">{{index}}.</a> {{help}}
</h5>
<a
href="{{helpUrl}}"
Expand All @@ -157,38 +155,36 @@ <h6 class="card-subtitle mb-2 text-muted violationCardTitleItem">
<table class="table table-sm table-bordered">
<thead>
<tr>
<th style="width: 3%">#</th>
<th style="width: 97%">Issue Description</th>
<th style="width: 2%">#</th>
<th style="width: 49%">Issue Description</th>
<th style="width: 49%">
To solve this violation, you need to...
</th>
</tr>
</thead>
<tbody>
{{#nodes}}
<tr>
<td>{{index}}</td>
<td>
<p><strong>Element location(s)</strong></p>
<p><strong>Element location</strong></p>
<pre><code class="css">{{targetNodes}}</code></pre>
<p><strong>Element source</strong></p>
<pre><code class="html">{{html}}</code></pre>
<p>
<strong>
To solve this violation, you need to...
</strong>
</p>
</td>
<td>
{{#fixSummaries}}
<div class="fix-summary-list">
<div class="wrapBreakWord">
<p>{{highlight}}</p>
<ul class="text-muted">
{{#list}}
<li>{{.}}</li>
{{/list}}
</ul>
</div>
{{/fixSummaries}}
{{#relatedNodesAny.length}}
<p><strong>Related node(s):</strong></p>
{{/relatedNodesAny.length}}
{{#relatedNodesAny}}
{{/fixSummaries}} {{#relatedNodesAny.length}}
<p><strong>Related node:</strong></p>
{{/relatedNodesAny.length}} {{#relatedNodesAny}}
<pre><code class="css">{{.}}</code></pre>
{{/relatedNodesAny}}
</td>
Expand Down
Loading

0 comments on commit ae45e09

Please sign in to comment.