clog/templates/projects/full-screen/foot.lisp.lt
2022-08-18 14:32:47 -04:00

16 lines
776 B
Text

(in-package :<%= (@ sys-name) %>)
(defclass foot-panel (clog:clog-panel) ((foot-bounds :reader foot-bounds)))
(defun create-foot-panel
(clog-obj &key (hidden nil) (class nil) (html-id nil) (auto-place t))
(let ((panel
(change-class
(clog:create-div clog-obj :content
"<div id=\"CLOGB38697851771\" style=\"box-sizing: content-box; position: static; width: 100%;\" data-clog-name=\"foot-bounds\">(C) 2022</div>"
:hidden hidden :class class :html-id html-id
:auto-place auto-place)
'foot-panel)))
(setf (slot-value panel 'foot-bounds)
(attach-as-child clog-obj "CLOGB38697851771" :clog-type
'clog:clog-div :new-id t))
panel))