diff --git a/tools/panel-search.clog b/tools/panel-search.clog index eb43122..a50bc1d 100644 --- a/tools/panel-search.clog +++ b/tools/panel-search.clog @@ -1,21 +1,24 @@ - -
-
\ No newline at end of file +
+
+
+
\ No newline at end of file diff --git a/tools/panel-search.lisp b/tools/panel-search.lisp index 2cd91da..26cf84c 100644 --- a/tools/panel-search.lisp +++ b/tools/panel-search.lisp @@ -3,46 +3,54 @@ (defclass panel-search (clog:clog-panel) ((search-button :reader search-button) (grep-input :reader grep-input) (dir-input :reader dir-input) - (result-box :reader result-box) (result-grid :reader result-grid))) + (result-box :reader result-box) (result-grid :reader result-grid) + (search-form :reader search-form))) (defun create-panel-search (clog-obj &key hidden class style html-id (auto-place t)) (let ((panel (change-class (clog:create-div clog-obj :content - "
-
" + "
+
+
+
" :hidden hidden :class class :style style :html-id html-id :auto-place auto-place) 'panel-search))) (setf (slot-value panel 'search-button) - (attach-as-child clog-obj "CLOGB3929109403" :clog-type - 'clog:clog-button :new-id t)) + (attach-as-child clog-obj "CLOGB3929110559" :clog-type + 'clog:clog-form-element :new-id t)) (setf (slot-value panel 'grep-input) - (attach-as-child clog-obj "CLOGB3929109402" :clog-type + (attach-as-child clog-obj "CLOGB3929110558" :clog-type 'clog:clog-form-element :new-id t)) (setf (slot-value panel 'dir-input) - (attach-as-child clog-obj "CLOGB3929109401" :clog-type + (attach-as-child clog-obj "CLOGB3929110557" :clog-type 'clog:clog-form-element :new-id t)) (setf (slot-value panel 'result-box) - (attach-as-child clog-obj "CLOGB3929109400" :clog-type + (attach-as-child clog-obj "CLOGB3929110556" :clog-type 'clog:clog-select :new-id t)) (setf (slot-value panel 'result-grid) - (attach-as-child clog-obj "CLOGB3929109399" :clog-type + (attach-as-child clog-obj "CLOGB3929110555" :clog-type 'clog:clog-div :new-id t)) - (let ((target (search-button panel))) + (setf (slot-value panel 'search-form) + (attach-as-child clog-obj "CLOGB3929110554" :clog-type + 'clog:clog-form :new-id t)) + (let ((target (grep-input panel))) (declare (ignorable target)) (setf (attribute target "autofocus") "true") (focus target))