File: summary.html

package info (click to toggle)
haproxy 1.5.8-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 7,732 kB
  • sloc: ansic: 62,860; xml: 1,754; python: 925; makefile: 551; perl: 550; sh: 491
file content (43 lines) | stat: -rw-r--r-- 1,226 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<a class="anchor" id="summary" name="summary"></a>
<div class="page-header">
	<h1 id="chapter-summary" data-target="summary">Summary</h1>
</div>
<div class="row-fluid">
	<div class="span6">
		<% previousLevel = None %>
		% for k in chapterIndexes:
			<% chapter = chapters[k] %>
			% if chapter['title']:
				<%
					if chapter['level'] == 1:
						otag = "<b>"
						etag = "</b>"
					else:
						otag = etag = ""
				%>
				% if chapter['chapter'] == '7':
					## Quick and dirty hack to split the summary in 2 columns
					## TODO : implement a generic way split the summary
					</div><div class="span6">
					<% previousLevel = None %>
				% endif
				% if otag and previousLevel:
					<br />
				% endif
				<div class="row-fluid">
					<div class="span2 pagination-right noheight">${otag}<small>${chapter['chapter']}.</small>${etag}</div>
					<div class="span10 noheight">
						% for tab in range(1, chapter['level']):
							<div class="tab">
						% endfor
							<a href="#${chapter['chapter']}">${otag}${chapter['title']}${etag}</a>
						% for tab in range(1, chapter['level']):
							</div>
						% endfor
					</div>
				</div>
				<% previousLevel = chapter['level'] %>
			% endif
		% endfor
	</div>
</div>