mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-15 06:50:20 -08:00
sections in temlates
This commit is contained in:
parent
59401ad735
commit
8102e4a5f7
2 changed files with 9 additions and 1 deletions
|
|
@ -2268,11 +2268,15 @@
|
||||||
|
|
||||||
(defparameter *supported-templates*
|
(defparameter *supported-templates*
|
||||||
(list
|
(list
|
||||||
|
'(:name "CLOG Builder - Panel Templates"
|
||||||
|
:code :group)
|
||||||
'(:name "New Builder Panel Project"
|
'(:name "New Builder Panel Project"
|
||||||
:code "nbp"
|
:code "nbp"
|
||||||
:type :system
|
:type :system
|
||||||
:www "templates/www/"
|
:www "templates/www/"
|
||||||
:loc "templates/projects/clog-panel/")
|
:loc "templates/projects/clog-panel/")
|
||||||
|
'(:name "CLOG Templates - General"
|
||||||
|
:code :group)
|
||||||
'(:name "New CLOG Basic HTML Project"
|
'(:name "New CLOG Basic HTML Project"
|
||||||
:code "ncp"
|
:code "ncp"
|
||||||
:type :system
|
:type :system
|
||||||
|
|
@ -2293,6 +2297,8 @@
|
||||||
:type :system
|
:type :system
|
||||||
:www "templates/www/"
|
:www "templates/www/"
|
||||||
:loc "templates/projects/clog-web-site/")
|
:loc "templates/projects/clog-web-site/")
|
||||||
|
'(:name "CLOG/CLOG Builder - Extension Templates"
|
||||||
|
:code :group)
|
||||||
'(:name "New CLOG/CLOG-Builder Plugin Project"
|
'(:name "New CLOG/CLOG-Builder Plugin Project"
|
||||||
:code "ncplug"
|
:code "ncplug"
|
||||||
:type :system
|
:type :system
|
||||||
|
|
|
||||||
|
|
@ -2123,7 +2123,9 @@ of controls and double click to select control."
|
||||||
(window-center win)
|
(window-center win)
|
||||||
(setf (win ct) win)
|
(setf (win ct) win)
|
||||||
(dolist (tmpl *supported-templates*)
|
(dolist (tmpl *supported-templates*)
|
||||||
(add-select-option (template-box ct) (getf tmpl :code) (getf tmpl :name)))))
|
(if (eq (getf tmpl :code) :group)
|
||||||
|
(add-select-optgroup (template-box ct) (getf tmpl :name))
|
||||||
|
(add-select-option (template-box ct) (getf tmpl :code) (getf tmpl :name))))))
|
||||||
|
|
||||||
(defun fill-button-clicked (panel)
|
(defun fill-button-clicked (panel)
|
||||||
"Template fill botton clicked"
|
"Template fill botton clicked"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue