66 lines
3.0 KiB
Handlebars
66 lines
3.0 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>
|
|
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></p>
|
|
{{else}}
|
|
<p class="notice"><span class="icon-flag"></span>
|
|
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></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 href="#" class="button button--grey open-popup" {{action "removeLogPopup"}}><span class="icon icon--removeLog"></span> Remove Log</a>
|
|
{{/if}}
|
|
<a class="button button--grey" href={{plainTextLogUrl}}><span class="icon icon--downloadLog"></span> 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 button button--grey"><span class="icon icon--down"></span>
|
|
{{#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>
|