]> git.plutz.net Git - confetti/blobdiff - cards/index.cgi
styling for iban assignment
[confetti] / cards / index.cgi
index 1f58ab0e8432a5192625a8a3581c6444b2289d69..5babc9f925ef3f9d5660d2145e18808fe5c976cf 100755 (executable)
@@ -1,18 +1,10 @@
 #!/bin/sh
 
-if [ "$_PATH" = "/cards/cards.css" ]; then
-  . $_EXEC/cgilite/file.sh
-  FILE $_EXEC/cards/cards.css
-  return 0
-fi
-
 . $_EXEC/pdiread.sh
 . $_EXEC/cards/l10n.sh
 . $_EXEC/cards/widgets.sh
 . $_EXEC/cards/list.sh
 
-upcase=' y;abcdefghijklmnopqrstuvwxyzäöüé;ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÜÉ;; '
-
 filter="$(GET f)"
 order="$(GET o)"
 edit="$(GET e |PATH)"
@@ -22,10 +14,10 @@ edit="${edit##*/}"
 
 { w_filter_diag
   printf '
-  [form class="newcard" action="/cards/new_card.sh" method="POST"
+  [form class="newcard" action="%s/cards/new_card.sh" method="POST"
     [button type="submit" %s]
-  ]' "$(l10n newcard)"
-
+    [input name="seed" placeholder="%s"]
+  ]' "${_BASE}" "$(l10n newcard)" "$(l10n vcf_seed_label)"
   [ "$edit" ] && edit_card "$edit"
   list_cards
 } | yield_page cards #/cards/cards.css