summaryrefslogtreecommitdiff
path: root/backend/ikistrap/templates/page.tmpl
blob: 6b964a3cc0c68e467ed8b5e06e4c913fbd2351df (plain)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
<!DOCTYPE html>
<TMPL_IF HTML_LANG_CODE><html lang="<TMPL_VAR HTML_LANG_CODE>" dir="<TMPL_VAR HTML_LANG_DIR>" xmlns="http://www.w3.org/1999/xhtml"><TMPL_ELSE><html xmlns="http://www.w3.org/1999/xhtml"></TMPL_IF>
<head>
	<TMPL_IF DYNAMIC>
	<TMPL_IF FORCEBASEURL><base href="<TMPL_VAR FORCEBASEURL>" />
	<TMPL_ELSE><TMPL_IF BASEURL><base href="<TMPL_VAR BASEURL>" /></TMPL_IF>
	</TMPL_IF>
	</TMPL_IF>
	<meta charset="utf-8" />
	<title><TMPL_VAR TITLE></title>
	<TMPL_IF RESPONSIVE_LAYOUT><meta name="viewport" content="width=device-width, initial-scale=1" /></TMPL_IF>
	<TMPL_IF FAVICON><link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-icon" /></TMPL_IF>
	<TMPL_IF BOOTSTRAP_LOCAL>
	<link rel="stylesheet" href="<TMPL_VAR BASEURL>css/bootstrap.min.css" type="text/css" />
	<link rel="stylesheet" href="<TMPL_VAR BASEURL>css/font-awesome.min.css" type="text/css" />
	<script src="<TMPL_VAR BASEURL>js/jquery.min.js"></script>
	<script src="<TMPL_VAR BASEURL>js/tether.min.js"></script>
	<script src="<TMPL_VAR BASEURL>js/bootstrap.min.js"></script>
	<TMPL_ELSE>
	<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.2/css/bootstrap.min.css" type="text/css" />
	<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" type="text/css" />
	<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.2.0/js/tether.min.js"></script>
	<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.2/js/bootstrap.min.js"></script>
	</TMPL_IF>
	<link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" />
	<TMPL_IF LOCAL_CSS>
	<link rel="stylesheet" href="<TMPL_VAR BASEURL><TMPL_VAR LOCAL_CSS>" type="text/css" />
	<TMPL_ELSE>
	<link rel="stylesheet" href="<TMPL_VAR BASEURL>local.css" type="text/css" />
	</TMPL_IF>
	<TMPL_UNLESS DYNAMIC>
	<TMPL_IF EDITURL>
	<link rel="alternate" type="application/x-wiki" title="Edit this page" href="<TMPL_VAR EDITURL>" />
	</TMPL_IF>
	<TMPL_IF FEEDLINKS><TMPL_VAR FEEDLINKS></TMPL_IF>
	<TMPL_IF RELVCS><TMPL_VAR RELVCS></TMPL_IF>
	<TMPL_IF META><TMPL_VAR META></TMPL_IF>
	<TMPL_LOOP TRAILLOOP>
	<TMPL_IF PREVPAGE>
	<link rel="prev" href="<TMPL_VAR PREVURL>" title="<TMPL_VAR PREVTITLE>" />
	</TMPL_IF>
	<link rel="up" href="<TMPL_VAR TRAILURL>" title="<TMPL_VAR TRAILTITLE>" />
	<TMPL_IF NEXTPAGE>
	<link rel="next" href="<TMPL_VAR NEXTURL>" title="<TMPL_VAR NEXTTITLE>" />
	</TMPL_IF>
	</TMPL_LOOP>
	</TMPL_UNLESS>
</head>

<body>
	<div id="notfooter">
		<div id="header">
		<header class="navbar navbar-dark bg-inverse navbar-full">
			<div class="container">
				<button type="button" class="navbar-toggler hidden-sm-up pull-xs-right" data-toggle="collapse" data-target="#header-nav">&#9776;</button>

				<ul class="nav navbar-nav">
					<TMPL_LOOP NAME="PARENTLINKS">
					<li class="nav-item <TMPL_UNLESS NAME="DEPTH_0">hidden-md-down</TMPL_UNLESS>"><a class="nav-link" href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a></li>
					</TMPL_LOOP>
					<li class="nav-item"><a class="nav-link active <TMPL_IF HAS_PARENTLINKS>hidden-md-down</TMPL_IF>" href="#"><TMPL_VAR TITLE><TMPL_IF ISTRANSLATION>&nbsp;(<TMPL_VAR PERCENTTRANSLATED>%)</TMPL_IF></a></li>
				</ul>

				<div class="collapse navbar-toggleable-xs" id="header-nav">
					<TMPL_UNLESS DYNAMIC>
					<TMPL_IF SEARCHFORM>
					<TMPL_VAR SEARCHFORM>
					</TMPL_IF>
					</TMPL_UNLESS>

					<TMPL_IF OTHERLANGUAGES>
					<nav id="otherlanguages" class="pull-xs-right">
						<ul class="nav navbar-nav">
							<TMPL_LOOP OTHERLANGUAGES>
							<li class="nav-item">
								<a class="nav-link" href="<TMPL_VAR URL>"><TMPL_VAR LANGUAGE></a>
								<TMPL_IF MASTER>(master)<TMPL_ELSE>&nbsp;(<TMPL_VAR PERCENT>%)</TMPL_IF>
							</li>
							</TMPL_LOOP>
						</ul>
					</nav>
					</TMPL_IF>

					<TMPL_IF HAVE_ACTIONS>
					<nav class="actions pull-xs-right">
						<ul class="nav navbar-nav">
							<TMPL_IF EDITURL>
							<li class="nav-item"><a class="nav-link" href="<TMPL_VAR EDITURL>" rel="nofollow"><i class="fa fa-pencil"></i>Edit</a></li>
							</TMPL_IF>
							<TMPL_IF RECENTCHANGESURL>
							<li class="nav-item"><a class="nav-link" href="<TMPL_VAR RECENTCHANGESURL>">RecentChanges</a></li>
							</TMPL_IF>
							<TMPL_IF HISTORYURL>
							<li class="nav-item"><a class="nav-link" href="<TMPL_VAR HISTORYURL>">History</a></li>
							</TMPL_IF>
							<TMPL_IF GETSOURCEURL>
							<li class="nav-item"><a class="nav-link" href="<TMPL_VAR GETSOURCEURL>">Source</a></li>
							</TMPL_IF>
							<TMPL_IF PREFSURL>
							<li class="nav-item"><a class="nav-link" href="<TMPL_VAR PREFSURL>"><i class="fa fa-cog"></i>Preferences</a></li>
							</TMPL_IF>
							<TMPL_IF ACTIONS>
							<TMPL_LOOP ACTIONS>
							<li class="nav-item nav-link"><TMPL_VAR ACTION></li>
							</TMPL_LOOP>
							</TMPL_IF>
							<TMPL_IF COMMENTSLINK>
							<li class="nav-item nav-link"><TMPL_VAR COMMENTSLINK></li>
							<TMPL_ELSE>
							<TMPL_IF DISCUSSIONLINK>
							<li class="nav-item nav-link"><TMPL_VAR DISCUSSIONLINK></li>
							</TMPL_IF>
							</TMPL_IF>
						</ul>
					</nav>
					</TMPL_IF>

					<TMPL_UNLESS DYNAMIC>
					<TMPL_VAR TRAILS>
					</TMPL_UNLESS>
				</div>
			</div>
		</header>
		</div>

		<div class="container">
			<TMPL_UNLESS DYNAMIC>
			<TMPL_IF SIDEBAR>
			<div class="row">
			<div class="col-sm-8 col-md-9">
			</TMPL_IF>
			</TMPL_UNLESS>

			<main id="content">
				<TMPL_VAR CONTENT>
			</main>

			<TMPL_IF ENCLOSURE>
			<section id="enclosure" title="Download">
				<a href="<TMPL_VAR ENCLOSURE>">Download</a>
			</section>
			</TMPL_IF>

			<TMPL_UNLESS DYNAMIC>
			<TMPL_IF COMMENTS>
			<section id="comments" title="Comments">
				<TMPL_IF ADDCOMMENTURL>
				<a href="<TMPL_VAR ADDCOMMENTURL>" class="btn btn-primary">Add a comment</a>
				<TMPL_ELSE>
				<div class="addcomment">Comments on this page are closed.</div>
				</TMPL_IF>
				<TMPL_VAR COMMENTS>
			</section>
			</TMPL_IF>
			</TMPL_UNLESS>

			<TMPL_UNLESS DYNAMIC>
			<TMPL_IF SIDEBAR>
			</div>
			<div class="col-sm-4 col-md-3">
			<aside id="sidebar" class="card card-block">
				<TMPL_VAR SIDEBAR>
			</aside>
			</div>
			</div>
			</TMPL_IF>
			</TMPL_UNLESS>
		</div>
	</div>

	<footer id="footer" class="container">
		<TMPL_UNLESS DYNAMIC>
		<nav id="pageinfo">
			<TMPL_VAR TRAILS>
			<TMPL_IF TAGS>
			<span class="tags">
				<i class="fa fa-tag"></i>Tags:
				<TMPL_LOOP TAGS>
				<TMPL_VAR LINK>
				</TMPL_LOOP>
			</span>
			</TMPL_IF>

			<TMPL_IF BACKLINKS>
			<span id="backlinks">
				<i class="fa fa-link"></i>Links:
				<TMPL_LOOP BACKLINKS>
				<a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>
				</TMPL_LOOP>
				<TMPL_IF MORE_BACKLINKS>
				<span class="popup">...
					<span class="balloon">
						<TMPL_LOOP MORE_BACKLINKS>
						<a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>
						</TMPL_LOOP>
					</span>
				</span>
				</TMPL_IF>
			</span>
			</TMPL_IF>

			<TMPL_IF COPYRIGHT>
			<span id="pagecopyright">
				<a name="pagecopyright"/><TMPL_VAR COPYRIGHT>
			</span>
			</TMPL_IF>

			<TMPL_IF LICENSE>
			<span id="pagelicense">
				<a name="pagelicense"/>License: <TMPL_VAR LICENSE>
			</span>
			</TMPL_IF>

			<span id="pagedate">
				Last edited <TMPL_VAR MTIME>.
			</span>
		</nav>
		<TMPL_IF EXTRAFOOTER><TMPL_VAR EXTRAFOOTER></TMPL_IF>
		</TMPL_UNLESS>
	</footer>
</body>
</html>