diff --git a/pages/_data/menu.yml b/pages/_data/menu.yml index f94527110910360eb6978e91af6ddc82551ac5a6..a41554e3b3cf6a20b74745c48a56dbaccf7b20c1 100644 --- a/pages/_data/menu.yml +++ b/pages/_data/menu.yml @@ -22,6 +22,10 @@ base: cards: url: cards.html title: Cards + charts: + url: charts.html + title: Charts + icon: pie-chart datatables: url: datatables.html title: Data Tables @@ -47,11 +51,6 @@ base: title: Music url: music.html -charts: - url: charts.html - title: Charts - icon: pie-chart - error: title: Error pages icon: file-minus diff --git a/pages/_includes/parts/modals/simple.html b/pages/_includes/parts/modals/simple.html new file mode 100644 index 0000000000000000000000000000000000000000..1c89dfd3ecf490a941351139504bed8a0441d5e0 --- /dev/null +++ b/pages/_includes/parts/modals/simple.html @@ -0,0 +1,20 @@ +{% assign id = "default" %} +
diff --git a/pages/_includes/ui/button.html b/pages/_includes/ui/button.html index 27826ab78dbba8278233d0026244491922519ddb..0b45389e0a9dcaa8774302717d9bed29310430f2 100644 --- a/pages/_includes/ui/button.html +++ b/pages/_includes/ui/button.html @@ -19,7 +19,7 @@ {% endif %} {% assign e = include.element | default: 'a' %} -<{{ e }}{% if e == 'a' %} href="{{ href }}"{% endif %}{% if include.type %} type="{{ include.type }}"{% endif %} class="btn{% if include.height %} btn-{{ include.height }}{% endif %}{% if color %} btn-{% if include.outline %}outline-{% endif %}{{ color }}{% endif %}{% if include.disabled %} disabled{% endif %}{% if include.square %} btn-square{% endif %}{% if include.pill %} btn-pill{% endif %}{% if include['size'] %} btn-{{ include['size'] }}{% endif %}{% if include.class %} {{ include.class }}{% endif %}{% if include.block %} btn-block{% endif %}{% if include.link %} btn-link{% endif %}{% if include.icon-only %} btn-icon{% endif %}"{% if include.external %} target="_blank"{% endif %}> +<{{ e }}{% if e == 'a' %} href="{{ href }}"{% endif %}{% if include.type %} type="{{ include.type }}"{% endif %} class="btn{% if include.height %} btn-{{ include.height }}{% endif %}{% if color %} btn-{% if include.outline %}outline-{% endif %}{{ color }}{% endif %}{% if include.disabled %} disabled{% endif %}{% if include.square %} btn-square{% endif %}{% if include.pill %} btn-pill{% endif %}{% if include['size'] %} btn-{{ include['size'] }}{% endif %}{% if include.class %} {{ include.class }}{% endif %}{% if include.block %} btn-block{% endif %}{% if include.link %} btn-link{% endif %}{% if include.icon-only %} btn-icon{% endif %}"{% if include.external %} target="_blank"{% endif %}{% if include.modal %} data-toggle="modal" data-target="#modal-{{ include.modal }}"{% endif %}> {% if include.spinner %} {% include ui/spinner.html color=false size="sm" class=spinner-class element="span" %}{% endif %} {% if include.icon %}{% include ui/icon.html icon=include.icon use-svg=true color=include.icon-color %}{% endif %} diff --git a/pages/tmp.html b/pages/tmp.html index d3ec2b3842a0efd4ecf6e8e7cf3ee30e264217bf..f8d30439f468cb56bf1bd330ea91bcaed2545df0 100644 --- a/pages/tmp.html +++ b/pages/tmp.html @@ -19,6 +19,11 @@ menu: a.b.c {% include cards/user-info.html %} +