Moved some display stuff to engine. Not certain this was the right decision,
but it may be wanted for MicroWorld projects which are not simply the education-oriented rule engine.
This commit is contained in:
parent
7dbaebb6aa
commit
2d2b3b4f0d
|
@ -60,6 +60,7 @@
|
||||||
(str "Generation " generation)]]))
|
(str "Generation " generation)]]))
|
||||||
|
|
||||||
(defn render-inspector
|
(defn render-inspector
|
||||||
|
"Render in Hiccup format the HTML content of an inspector on this cell."
|
||||||
[cell table]
|
[cell table]
|
||||||
[:table {:class "music-ruled"}
|
[:table {:class "music-ruled"}
|
||||||
[:tr
|
[:tr
|
||||||
|
@ -71,4 +72,3 @@
|
||||||
(map #(vector :tr (vector :th %)(vector :td (cell %))) (keys cell))])
|
(map #(vector :tr (vector :th %)(vector :td (cell %))) (keys cell))])
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue