From 3badbe5f34b9a481f43f83d07d4cd28a3aa7798b Mon Sep 17 00:00:00 2001 From: paul Date: Sun, 1 Dec 2013 03:44:35 +0000 Subject: [PATCH] visual updates, allow ordering of vcards svn path=/trunk/; revision=27 --- actions/new_attendee.sh | 5 +-- actions/update_attendee.sh | 4 +- pages/attendees.sh | 26 ++++++++++++- templates/attendees.css.sh | 76 +++++++++++++++++++++++++++++-------- templates/attendees.html.sh | 40 +++++++++++-------- templates/text_attendee.sh | 7 ++++ 6 files changed, 121 insertions(+), 37 deletions(-) diff --git a/actions/new_attendee.sh b/actions/new_attendee.sh index d209191..b7242bf 100644 --- a/actions/new_attendee.sh +++ b/actions/new_attendee.sh @@ -5,10 +5,7 @@ cgi_post uid=$(dbus-uuidgen) card="${uid}.vcf" -cardfile="vcard/$card" -tempfile="temp/$card" - -touch "$cardfile" +tempfile="$_DATA/temp/$card" cat >"$tempfile" < .label { + display: block; + font-weight: bold; + font-size: 1.2em; + border-style: none none solid none; + border-width: 1px; + margin: 0em 0ex .5em 0ex; + background: #EEF; +} -.cardlist .card { - margin: 4px 5%; +.filter .search { + margin: 0em 2ex .5em 2ex; +} +.filter .search .label { + display: inline-block; + width: 12ex; + font-weight: bold; + margin-top: .5em; +} +.filter .search input[type="radio"] { + margin-top: .5em; + margin-left: 1ex; +} +.filter .search button { + margin-top: .5em; +} + +.filter .search input[type="text"] { + width: 124ex; +} + +.newcard { + display: block; + width: 126ex; border-width: 1px; border-style: solid; + margin: .5em 5% 1em 5%; + padding: .25em 2ex .25em 2ex; + background: #EFF; +} + +.cardlist .card { + display: block; + width: 130ex; + border-style: solid; + border-width: 1px; + margin: 4px 5%; padding: 0; overflow: auto; - width:130ex; - display: block; } .cardlist .card .section { - float:left; display: inline-block; + float:left; width: 20ex; margin: .125em .5ex .5ex .5ex; - background: #EEE; padding: 0 .2em .2em .2em; + background: #EEE; } .cardlist .card .control { float: right; - background: #EEF; text-align: right; margin-right: 0; + background: #EEF; } .cardlist .card .control .item { - margin-right: 1ex; margin-top: .2em; + margin-right: 1ex; } .cardlist .card .control a.item { + min-width: 10ex; border-style: solid double solid solid; border-width: 1px 3px 1px 1px; - background: #FFF; - padding: .1em 1ex; - min-width: 10ex; border-color: #000; + padding: .1em 1ex; + background: #FFF; } .cardlist .card .control a.item:hover{ border-width: 1px 1px 1px 1px; @@ -52,8 +98,8 @@ cat < -
- -
+
diff --git a/templates/text_attendee.sh b/templates/text_attendee.sh index 714ac61..5efbb80 100755 --- a/templates/text_attendee.sh +++ b/templates/text_attendee.sh @@ -59,12 +59,19 @@ item_name[edit_delete]="Eintrag löschen" item_name[edit_addfieldtext]="Neues Feld" item_name[edit_addfield]="+" item_name[edit_deletefield]="X" +item_name[filter_label]="Filter" +item_name[filter_placeholder]="Begriffe zur Eingrenzung eingeben" +item_name[filter_type]="Filtertyp" +item_name[filter_order]="Sortierung" item_name[filter_all]="Alles" item_name[filter_name]="Name" +item_name[filter_firstname]="Vorname" +item_name[filter_lastname]="Nachname" item_name[filter_street]="Straße" item_name[filter_zip]="PLZ." item_name[filter_phone]="Telefon" item_name[filter_birthyear]="Geburtsjahr" +item_name[filter_bdate]="Geburtsdatum" item_name[filter_course]="Kurs" item_name[filter_apply]="Filtern" item_name[filter_cancel]="Filter löschen" -- 2.39.2