Line | |
---|
1 | <%inherit file="base.html"/>
|
---|
2 |
|
---|
3 | <div class="container">
|
---|
4 |
|
---|
5 | <!-- Substage tabs -->
|
---|
6 | <ul class="nav nav-tabs">
|
---|
7 | % for stage in context['data'].items():
|
---|
8 | % if 'substages' in stage[1].keys():
|
---|
9 | % for substage in stage[1]['substages'].items():
|
---|
10 | % if (stage[0] == context['renderstage']) and (substage[0] == context['rendersubstage']):
|
---|
11 | <li class="active"><a href="#">${substage[0]}</a></li>
|
---|
12 | % else:
|
---|
13 | <li><a href="${stage[0]}-${substage[0]}.html">${substage[0]}</a></li>
|
---|
14 | % endif
|
---|
15 | % endfor
|
---|
16 | % endif
|
---|
17 | % endfor
|
---|
18 | </ul>
|
---|
19 |
|
---|
20 | </div> <!-- /container -->
|
---|
21 |
|
---|
22 | <!--render the main body of the inheriting class-->
|
---|
23 | ${next.body()}
|
---|
Note:
See
TracBrowser
for help on using the repository browser.