update.
[chise/est.git] / cwiki-view.el
index bfc35fb..d8b79f3 100644 (file)
@@ -91,6 +91,19 @@ size=\"64\" maxlength=\"256\" value=\"%s\">
        (princ
         (encode-coding-string
          (format "<head>
+<style type=\"text/css\">
+<!--
+hr { color: green; }
+.ids { vertical-align: middle; font-size: 40px; line-height: 100%%; }
+a { text-decoration: none; }
+.ids a { color: black; }
+ul { margin: 0 0; color: black; }
+li { margin: 0 0 0 2em; }
+.feature-name { font-family: sans-serif; font-weight: bold; }
+.feature-name a { color: black; }
+-->
+</style>
+
 <title>EsT %s = %s</title>
 </head>\n"
                  genre
@@ -289,7 +302,33 @@ size=\"30\" maxlength=\"30\" value=\"%s\" />"
         (www-format-encode-string
          "を\u542Bむ\u6F22\u5B57を\u63A2す"))
        (princ " <input type=\"submit\" value=\"search\" />\n")
-       (princ "</form>\n"))
+       (princ "</form>\n")
+
+       (princ
+        "<form action=\"http://www.chise.org/hng-ids-find\">\n")
+       (princ
+        (www-format-encode-string
+         (est-format-object object)
+         ;; (if (eq genre 'character)
+         ;;     (format "%c" object)
+         ;;   (format "%s" (concord-object-id object)))
+         ))
+       (princ
+        (format
+         " <input type=\"text\" name=\"components\"
+size=\"30\" maxlength=\"30\" value=\"%s\" />"
+         (encode-coding-string
+          (est-format-object object)
+          ;; (if (eq genre 'character)
+          ;;     (char-to-string object)
+          ;;   (format "%s" (concord-object-id object)))
+          'utf-8-jp-er)))
+       (princ
+        (www-format-encode-string
+         "を\u542Bむ HNG の\u6F22\u5B57を\u63A2す"))
+       (princ " <input type=\"submit\" value=\"search\" />\n")
+       (princ "</form>\n")
+       )
       (princ
        (if (= level 1)
           "</p>\n"