From: paul Date: Wed, 18 Apr 2018 14:34:20 +0000 (+0000) Subject: hide menu configuration X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=3d77c204c471814c6af57dfa64331ef95f567d27;p=confetti hide menu configuration svn path=/trunk/; revision=164 --- diff --git a/static/common.css b/static/common.css index bee38cd..e466cb7 100644 --- a/static/common.css +++ b/static/common.css @@ -10,6 +10,10 @@ body { margin: 0; padding: 0; padding-top: 2.5em; + position: absolute; + min-height: 100%; + width: 100%; + padding-bottom: 2em; } .NAVIGATION { position: fixed; @@ -37,15 +41,18 @@ body { 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; @@ -85,3 +92,10 @@ body { .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; +} diff --git a/templates/frame.html.sh b/templates/frame.html.sh index a2d8fee..b8128a3 100755 --- a/templates/frame.html.sh +++ b/templates/frame.html.sh @@ -32,14 +32,14 @@ cat < - + +' +EOF # vi:set filetype=html: diff --git a/templates/text_frame.sh b/templates/text_frame.sh index 36465ee..75e1511 100755 --- a/templates/text_frame.sh +++ b/templates/text_frame.sh @@ -1,4 +1,4 @@ -# Copyright 2014 - 2016 Paul Hänsch +# Copyright 2014 - 2016, 2018 Paul Hänsch # # This file is part of Confetti. # @@ -15,6 +15,7 @@ # You should have received a copy of the GNU Affero General Public License # along with Confetti. If not, see . +item_name[p_cards]="Personen" item_name[p_courses]="Kurse" item_name[p_email]="Email" item_name[p_error]="Fehler" @@ -25,12 +26,4 @@ item_name[nc_edit]="⚙" #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"