Generate Prefs type

This commit is contained in:
Zed
2019-08-17 21:49:41 +02:00
parent d05f4fd3ee
commit 16f77223ff
4 changed files with 116 additions and 101 deletions

View File

@@ -1,7 +1,7 @@
import tables, macros, strformat, xmltree
import karax/[karaxdsl, vdom, vstyles]
import ../types, ../prefs
import ../types, ../prefs_impl
proc genCheckbox(pref, label: string; state: bool): VNode =
buildHtml(tdiv(class="pref-group")):