]> git.plutz.net Git - confetti/blobdiff - templates/frame.html.sh
hide menu configuration
[confetti] / templates / frame.html.sh
index a2d8feefe579e5bd95222de7089247fcce26f78a..b8128a34d6d112fb52474e5ce6041c6ec7e8635a 100755 (executable)
@@ -32,14 +32,14 @@ cat <<EOF
     <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##*/}"
@@ -65,6 +65,11 @@ EOF
 
 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: