margin: 0;
padding: 0;
padding-top: 2.5em;
+ position: absolute;
+ min-height: 100%;
+ width: 100%;
+ padding-bottom: 2em;
}
.NAVIGATION {
position: fixed;
background: #F3FFFF;
}
+#CONFIGURE label[for="navigationconfig"] { display: none; }
+#CONFIGURE:target label[for="navigationconfig"] { display: inline; }
+
.NAVIGATION input#navigationconfig { display: none; }
-.NAVIGATION label[for=navigationconfig] { }
-.NAVIGATION input + label + form.config {
+.NAVIGATION input + form.config {
position: static;
display: none;
}
+
.NAVIGATION .config a { display: block; }
.NAVIGATION .config a:hover { border-width: 1px 2px; }
-.NAVIGATION input:checked + label + form.config { display: block; }
+.NAVIGATION input:checked + form.config { display: block; }
.NAVIGATION .config input[type=text],
.NAVIGATION .config button {
font-size: .875em;
.trailbtn:checked + .trailbox + .trailbtn:checked,
.trailbtn:checked { display: none; }
+#footer {
+ width: 100%;
+ background-color: #FFF;
+ border-top: 1px solid #BBF;
+ margin: 0; padding: .5em 2em;
+ position: absolute; bottom: 0;
+}
<link rel="stylesheet" href="?static=common.css">
<link rel="stylesheet" href="?static=${PAGE}.css">
</head>
- <body class="$PAGE">
+ <body class="$PAGE" id="CONFIGURE">
<div class="NAVIGATION">
$(sed -rn '/^[^ ]+\t[^ ]+$/p' "$bmfile" \
| while read page name; do
printf '<a href="%s">%s</a>' "${page}" "${name}"
done)
- <input id="navigationconfig" class="config" type="checkbox" />
<label for="navigationconfig">$(l10n nc_edit)</label>
+ <input id="navigationconfig" class="config" type="checkbox" />
<form class="config" method="POST" action="?action=update_bookmarks">
$(for page in "${_EXEC}/pages/"*.sh; do
page="${page##*/}"
debug BODY; [ -x "${BODY}" ] && . "${BODY}" || printf %s 'Error'
-printf '</body></html>'
+cat <<EOF
+ <div id="footer">
+ <a href="#CONFIGURE">$(l10n configure)</a>
+ </div>
+</body></html>'
+EOF
# vi:set filetype=html:
-# Copyright 2014 - 2016 Paul Hänsch
+# Copyright 2014 - 2016, 2018 Paul Hänsch
#
# This file is part of Confetti.
#
# You should have received a copy of the GNU Affero General Public License
# along with Confetti. If not, see <http://www.gnu.org/licenses/>.
+item_name[p_cards]="Personen"
item_name[p_courses]="Kurse"
item_name[p_email]="Email"
item_name[p_error]="Fehler"
#item_name[nc_edit]="☰"
item_name[bm_add]="+"
item_name[bm_del]="-"
-
-case $PROFILE in
-medical)
-item_name[p_cards]="Klienten"
-;;
-circus)
-item_name[p_cards]="Teilnehmende"
-;;
-esac
+item_name[configure]="Anpassen"