From: paul Date: Thu, 2 Jul 2015 13:15:06 +0000 (+0000) Subject: semantic and visual improvements X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=793cb4fe08df6131b64ddbbf6cc6cb89201f1bd4;p=confetti semantic and visual improvements svn path=/trunk/; revision=68 --- diff --git a/templates/attendees.css.sh b/templates/attendees.css.sh index 2aa7b40..e4038f0 100755 --- a/templates/attendees.css.sh +++ b/templates/attendees.css.sh @@ -18,11 +18,11 @@ cat <' echo '
' echo '' echo '
' -echo ' '$(l10n N)'' +echo '

'$(l10n N)'

' echo ' ' echo ' ' echo ' ' @@ -55,13 +55,13 @@ for n in NICKNAME NICKNAME{0..10}; do [ -n "$values[$n]" ] &&\ echo ' ' done -echo ' '$(l10n BDAY)'' +echo '

'$(l10n BDAY)'

' echo ' ' -echo ' '$(l10n X-ZACK-JOINDATE)'' +echo '

'$(l10n X-ZACK-JOINDATE)'

' echo ' ' if [ -n "$values[X-ZACK-LEAVEDATE]" ]; then - echo ' '$(l10n X-ZACK-LEAVEDATE)'' + echo '

'$(l10n X-ZACK-LEAVEDATE)'

' echo ' ' fi @@ -77,7 +77,7 @@ fi echo '
' echo '' echo '
' -echo ' '$(l10n TEL)'' +echo '

'$(l10n TEL)'

' echo ' ' for n in TEL{0..10}; do [ -n "$values[$n]" ] &&\ echo ' ' @@ -85,33 +85,33 @@ done echo '
' echo '' echo '
' -echo ' '$(l10n EMAIL)'' +echo '

'$(l10n EMAIL)'

' echo ' ' for n in EMAIL{0..10}; do [ -n "$values[$n]" ] &&\ echo ' ' done [ -n "$values[IMPP]" ] && \ - echo ' '$(l10n IMPP)'' + echo '

'$(l10n IMPP)'

' for n in IMPP IMPP{0..10}; do [ -n "$values[$n]" ] &&\ echo ' ' done echo '
' echo '' echo '
' -echo ' '$(l10n ADR)'' +echo '

'$(l10n ADR)'

' echo ' ' for n in ADR{0..10}; do [ -n "$values[$n]" ] &&\ echo ' ' done [ -n "$values[URL]" ] && \ - echo ' '$(l10n URL)'' + echo '

'$(l10n URL)'

' for n in URL URL{0..10}; do [ -n "$values[$n]" ] &&\ echo ' ' done echo '
' echo '' echo '
' -echo ' '$(l10n NOTE)'' +echo '

'$(l10n NOTE)'

' echo ' ' for n in NOTE{0..10}; do [ -n "$values[$n]" ] &&\ echo ' ' @@ -119,7 +119,7 @@ done echo '
' echo '' echo '
' -echo ' '$(l10n course_attendance)'' +echo '

'$(l10n course_attendance)'

' listcourses |while read each; do cname="$(sed -rn 's:^SUMMARY\:(.*)$:\1:p' "$_DATA/ical/$each")" echo ' ' diff --git a/templates/frame.html.sh b/templates/frame.html.sh index fafd0b2..8a754ba 100755 --- a/templates/frame.html.sh +++ b/templates/frame.html.sh @@ -42,7 +42,7 @@ body { border-width: 0 1px 1px 1px; border-radius: 0 0 4px 4px; margin: 0 auto auto 3%; - padding: .5em 1ex .25em 1ex; + padding: .5em 1ex .5em 1ex; background: #FFF; } .NAVIGATION a { diff --git a/templates/view_attendee.sh b/templates/view_attendee.sh index 0265a80..d54c11f 100755 --- a/templates/view_attendee.sh +++ b/templates/view_attendee.sh @@ -17,7 +17,7 @@ echo '
' echo '
' -echo ' '$values[FN]'' +echo '

'$values[FN]'

' [ -n "$values[GENDER]" ] && \ echo ' '$(l10n $values[GENDER])'' for n in NICKNAME NICKNAME{0..10}; do [ -n "$values[$n]" ] &&\ @@ -43,7 +43,7 @@ fi echo '
' echo '' echo '
' -echo ' '$(l10n TEL)'' +echo '

'$(l10n TEL)'

' for n in TEL TEL{0..10}; do [ -n "$values[$n]" ] &&\ echo ' '$tags[${n}_TYPE]' '$values[$n]'' done @@ -51,38 +51,38 @@ echo '
' echo '' echo '
' [ -n "$values[EMAIL]" ] && \ - echo ' '$(l10n EMAIL)'' + echo '

'$(l10n EMAIL)'

' for n in EMAIL EMAIL{0..10}; do [ -n "$values[$n]" ] &&\ echo ' ' done [ -n "$values[IMPP]" ] && \ - echo ' '$(l10n IMPP)'' + echo '

'$(l10n IMPP)'

' for n in IMPP IMPP{0..10}; do [ -n "$values[$n]" ] &&\ echo ' '$tags[${n}_TYPE]' '$values[$n]'' done echo '
' echo '' echo '
' -echo ' '$(l10n ADR)'' +echo '

'$(l10n ADR)'

' for n in ADR ADR{0..10}; do [ -n "$values[$n]" ] &&\ echo ' '$values[$n]'' done [ -n "$values[URL]" ] && \ - echo ' '$(l10n URL)'' + echo '

'$(l10n URL)'

' for n in URL URL{0..10}; do [ -n "$values[$n]" ] &&\ echo ' '$values[$n]'' done echo '
' echo '' echo '
' -echo ' '$(l10n NOTE)'' +echo '

'$(l10n NOTE)'

' for n in NOTE NOTE{0..10}; do [ -n "$values[$n]" ] &&\ echo ' '$values[$n]'' done echo '
' echo '' echo '
' -echo ' '$(l10n course_attendance)'' +echo '

'$(l10n course_attendance)'

' sed -rn 's:(.*)\t'$id'$:\1:p' "$_DATA/mappings/attendance" |while read each; do cname="$(sed -rn 's:^SUMMARY\:(.*)$:\1:p' "$_DATA/ical/$each")" echo ' '$cname''