travis-web/app/templates/components/log-content.hbs
Lisa P 336479a2be jobs list styles
align animating icons

bring back color in sidebar tiles

change settings hover color

new help icon for allowed failures and settings help

fix svgs for firefox

also for remove log

also for help icon

fix coloring issues, use flexbox footer
2015-12-02 16:13:10 +01:00

66 lines
2.9 KiB
Handlebars

{{remove-log-popup job=job}}
<section id="log-container" class="log">
{{#if auth.signedIn}}
{{#if job.isLegacyInfrastructure}}
{{#if job.isFinished}}
<p class="notice"><span class="icon-flag"></span>
<span class="label-align">This job ran on our legacy infrastructure. Please read <a href="http://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_medium=banner&utm_campaign=legacy-upgrade" title="Migrating from legacy">our docs on how to upgrade</a>.</span></p>
{{else}}
<p class="notice"><span class="icon-flag"></span>
<span class="label-align">This job is running on our legacy infrastructure. Please read <a href="http://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_medium=banner&utm_campaign=legacy-upgrade" title="Migrating from legacy">our docs on how to upgrade</a>.</span></p>
{{/if}}
{{/if}}
{{#if job.displayGceNotice}}
{{#if job.isFinished}}
<p class="notice--blue"><span class="icon-flag"></span>
<span class="label-align">This job ran on our new platform for Legacy Precise builds. Please read <a href="https://blog.travis-ci.com/2015-11-27-moving-to-a-more-elastic-future" title="Blog post on infrastructure migration">our blog post for more information</a>.</span></p>
{{else}}
<p class="notice--blue"><span class="icon-flag"></span>
<span class="label-align">This job is running on our new platform for Legacy Precise builds. Please read <a href="https://blog.travis-ci.com/2015-11-27-moving-to-a-more-elastic-future" title="Blog post on infrastructure migration">our blog post for more information</a>.</span></p>
{{/if}}
{{/if}}
{{/if}}
{{#if job.notStarted}}
<div class="log-notice">Hang tight, the log cannot be shown until the build has started.</div>
{{/if}}
<div class="{{if job.notStarted 'hidden'}}">
<menu class="log-header">
{{#if canRemoveLog}}
<a class="remove-log-button open-popup" {{action "removeLogPopup"}}>Remove log</a>
{{/if}}
<a class="download-log-button" href={{plainTextLogUrl}}>Download log</a>
</menu>
<div class="log-body">
{{#if showTailing}}
<a href="#" id="tail" class="log-tail" {{action "toggleTailing"}}>
<span class="tail-status"></span>
<span class="tail-label">
{{#if job.isFinished}}
Scroll to End of Log
{{else}}
Follow Log
{{/if}}
</span>
</a>
{{/if}}
<pre id="log" class="ansi"></pre>
{{#if showToTop}}
<a href='#' class="to-top" {{action "toTop"}}>Top</a>
{{/if}}
</div>
</div>
{{#if limited}}
<p class="warning">
This log is too long to be displayed. Please reduce the verbosity of your
build or download the <a href={{plainTextLogUrl}}>raw log</a>.
</p>
{{/if}}
</section>