Fix HTML based on HTMLBars errors

This commit is contained in:
Piotr Sarnacki 2015-03-23 17:35:09 +01:00
parent 9b58ff45b6
commit 397600c46d
9 changed files with 16 additions and 15 deletions

View File

@ -61,6 +61,7 @@
<li>
<span class="icon icon--clock"></span>
{{#if build.isFinished}}ran{{else}}running{{/if}} for {{format-duration build.duration}}
</li>
<li {{bind-attr title="build.finishedAt"}}>
<span class="icon icon--cal"></span>
{{format-time build.finishedAt}}

View File

@ -14,7 +14,7 @@
<span class="sync-spinner sync-spinner--grey"><i></i><i></i><i></i></span>
{{else}}
<a href="#" {{action "restart"}} class="button-circle" title="Restart Build">
<span class="icon icon--trigger">
<span class="icon icon--trigger"></span>
</a>
{{/if}}
{{/if}}

View File

@ -13,7 +13,7 @@
<span class="sync-spinner sync-spinner--grey"><i></i><i></i><i></i></span>
{{else}}
<a href="#" {{action "restart"}} class="button-circle" title="Restart Job">
<span class="icon icon--trigger">
<span class="icon icon--trigger"></span>
</a>
{{/if}}
{{/if}}

View File

@ -11,7 +11,7 @@
{{#if displayCodeClimate}}
<a href="#" name="code-climate"
{{action "codeClimatePopup"}} class="button-circle open-popup"
{{bind-attr class=":open-popup"}} title="Test Coverage with Code Climate">
title="Test Coverage with Code Climate">
<span class="icon icon--codeclimate"></span>
</a>
{{/if}}

View File

@ -49,6 +49,7 @@
<li>
<span class="icon icon--clock"></span>
{{#if job.isFinished}}ran{{else}}running{{/if}} for {{format-duration job.duration}}
</li>
<li>
<span class="icon icon--cal"></span>
{{format-time job.finishedAt}}

View File

@ -2,11 +2,10 @@
{{#if length}}
{{#each job in controller}}
<div {{bind-attr class=":tile :tile--sidebar job.state"}}>
{{#if job.repo.slug}}
<span {{bind-attr class=":icon :icon--job job.state"}}></span>
{{#link-to "job" job.repo job}}{{job.repo.slug}}{{/link-to}}
{{/if}}
</h2>
{{#if job.repo.slug}}
<span {{bind-attr class=":icon :icon--job job.state"}}></span>
{{#link-to "job" job.repo job}}{{job.repo.slug}}{{/link-to}}
{{/if}}
<p class="tile-title float-right">
<span class="icon icon--hash"></span>

View File

@ -19,12 +19,13 @@
<div class="repo-menus">
<div class="repo-menu-header">
{{view 'repo-show-tools'}}
{{view 'repo-show-tabs'}}
</div>
<div class="tabbody repo-main">
{{outlet}}
</div>
</div>
</article>
{{else}}

View File

@ -2,11 +2,10 @@
{{#if controller.length}}
{{#each job in controller}}
<div {{bind-attr class=":tile :tile--sidebar job.state"}}>
{{#if job.repo.slug}}
<span {{bind-attr class=":icon :icon--job job.state"}}></span>
{{#link-to "job" job.repo job}}{{job.repo.slug}}{{/link-to}}
{{/if}}
</h2>
{{#if job.repo.slug}}
<span {{bind-attr class=":icon :icon--job job.state"}}></span>
{{#link-to "job" job.repo job}}{{job.repo.slug}}{{/link-to}}
{{/if}}
<p class="tile-title float-right">
<span class="icon icon--hash"></span>

View File

@ -15,7 +15,7 @@
</p>
<p class="settings-row">
<p class="short-settings-element" {{bind-attr class="settings.maximum_number_of_builds_valid"}}>
<p {{bind-attr class=":short-settings-element settings.maximum_number_of_builds_valid"}}>
{{input value=settings.maximum_number_of_builds size="4" pattern='/^[0-9]+$/'}}
</p>
<label>