Ghost/ghost/admin/app/templates/setup.hbs
cobbspur f2d5c5fc26 User Onboarding - flow navigation
closes #5317

- Adds back button to steps 2 and 3
- Prevents user navigating from step 1 to step 3 unless blog has been created
- Prevents user navigating from step 2 to step 3 unless blog has been created
2015-07-21 17:23:04 +01:00

28 lines
1.1 KiB
Handlebars

<div class="gh-flow">
<header class="gh-flow-head">
<nav class="gh-flow-nav">
{{#if showBackLink}}
{{#link-to backRoute classNames="gh-flow-back"}}<i class="icon-arrow-left"></i> Back{{/link-to}}
{{/if}}
<ol>
{{#gh-activating-list-item route="setup.one" linkClasses="step"}}
<i class="icon-check"></i><span class="num">1</span>
{{/gh-activating-list-item}}
<li class="divider"></li>
{{#gh-activating-list-item route="setup.two" linkClasses="step"}}
<i class="icon-check"></i><span class="num">2</span>
{{/gh-activating-list-item}}
<li class="divider"></li>
{{#gh-activating-list-item route="setup.three" linkClasses="step"}}
<i class="icon-check"></i><span class="num">3</span>
{{/gh-activating-list-item}}
</ol>
</nav>
</header>
<div class="gh-flow-content-wrap">
<section class="gh-flow-content">
{{outlet}}
</section>
</div>
</div>