3 # Copyright 2014, 2015 Paul Hänsch
5 # This file is part of Confetti.
7 # Confetti is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU Affero General Public License as published by
9 # the Free Software Foundation, either version 3 of the License, or
10 # (at your option) any later version.
12 # Confetti is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU Affero General Public License for more details.
17 # You should have received a copy of the GNU Affero General Public License
18 # along with Confetti. If not, see <http://www.gnu.org/licenses/>.
20 . "${_EXEC}/templates/text_frame.sh"
21 [ -x "${_EXEC}/templates/text_${PAGE}.sh" ] && . "${_EXEC}/templates/text_${PAGE}.sh"
28 <title>$(l10n p_${PAGE})</title>
29 <style type="text/css">
32 font-family: sans-serif;
33 -moz-box-sizing: border-box;
34 -webkit-box-sizing: border-box;
35 box-sizing: border-box;
46 display: inline-block;
47 border-style: none solid solid solid;
48 border-width: 0 1px 1px 1px;
49 border-radius: 0 0 4px 4px;
50 margin: 0 auto auto 3%;
51 padding: .5em 1ex .5em 1ex;
57 border: solid 1px #BBF;
58 margin: .5em .5ex .25em .5ex;
59 padding: .2em 3ex .2em 3ex;
63 border-width: 2px 1px 2px 1px;
67 /* dynamic page CSS starts here */
68 $(debug CSS; [ -x "${CSS}" ] && . "${CSS}")
73 <div class="NAVIGATION">
74 $(debug NAVIGATION = "$NAVIGATION"; for each in ${NAVIGATION}; do printf %s "<a href=\"?p=${each}\">$(l10n "p_${each}")</a>"; done)
76 $(debug BODY; [ -x "${BODY}" ] && . "${BODY}" || printf %s 'Error')
81 # vi:set filetype=html: