
Layout handling in travis-web was implemented in a dynamic way, so we could change a main layout from any of the routes. This needed a `rerender` call which was making things harder and needed some hacks. It also broke a few transitions when upgrading to 1.8.1. After examining our usage of layouts I've noticed that we don't need to change the entire layout dynamically and instead we can set layout on root routes (like "index", "profile" and other root routes).
33 lines
805 B
Handlebars
33 lines
805 B
Handlebars
<div id="top">
|
|
{{render "top"}}
|
|
</div>
|
|
|
|
<div id="left">
|
|
{{outlet left}}
|
|
</div>
|
|
|
|
<div id="main">
|
|
{{render "flash"}}
|
|
{{yield}}
|
|
</div>
|
|
|
|
<div id="right">
|
|
<div id="slider" {{action "toggle" target="Travis.slider"}}>
|
|
<div class='icon'></div>
|
|
</div>
|
|
|
|
<div class="box">
|
|
<h4>Getting started?</h4>
|
|
<p>
|
|
Please read our <a href="http://docs.travis-ci.com/user/getting-started">guide</a>.
|
|
You'll be up and running in no time!
|
|
</p>
|
|
<p>
|
|
You can find detailed docs on our <a href="http://docs.travis-ci.com">documentation</a> site.
|
|
</p>
|
|
<p>
|
|
If you need help <a href="http://stackoverflow.com/questions/ask?tags=travis-ci">ask a question</a> or hop on <a href="irc://irc.freenode.net/#travis">#travis</a> on irc.freenode.net
|
|
</p>
|
|
</div>
|
|
</div>
|