mirror of
https://github.com/tabler/tabler.git
synced 2026-07-26 04:54:40 +04:00
new layouts
This commit is contained in:
+4
-4
@@ -55,25 +55,25 @@ defaults:
|
|||||||
path: "*.md"
|
path: "*.md"
|
||||||
values:
|
values:
|
||||||
layout: markdown
|
layout: markdown
|
||||||
menu-layout: vertical
|
menu-layout: horizontal
|
||||||
|
|
||||||
- scope:
|
- scope:
|
||||||
type: "pages"
|
type: "pages"
|
||||||
values:
|
values:
|
||||||
layout: default
|
layout: default
|
||||||
menu-layout: vertical
|
menu-layout: horizontal
|
||||||
-
|
-
|
||||||
scope:
|
scope:
|
||||||
type: "docs"
|
type: "docs"
|
||||||
values:
|
values:
|
||||||
layout: docs
|
layout: docs
|
||||||
menu-layout: vertical
|
menu-layout: horizontal
|
||||||
-
|
-
|
||||||
scope:
|
scope:
|
||||||
type: "components"
|
type: "components"
|
||||||
values:
|
values:
|
||||||
layout: component
|
layout: component
|
||||||
menu-layout: vertical
|
menu-layout: horizontal
|
||||||
|
|
||||||
|
|
||||||
colors:
|
colors:
|
||||||
|
|||||||
@@ -2,15 +2,11 @@ home:
|
|||||||
url: index.html
|
url: index.html
|
||||||
title: Dashboard
|
title: Dashboard
|
||||||
icon: home
|
icon: home
|
||||||
badge: ''
|
|
||||||
badge-color: blue
|
|
||||||
|
|
||||||
forms:
|
forms:
|
||||||
url: form-elements.html
|
url: form-elements.html
|
||||||
title: Form elements
|
title: Form elements
|
||||||
icon: check-square
|
icon: check-square
|
||||||
badge: New
|
|
||||||
badge-color: red
|
|
||||||
|
|
||||||
base:
|
base:
|
||||||
title: Base
|
title: Base
|
||||||
@@ -94,6 +90,8 @@ layouts:
|
|||||||
title: Layouts
|
title: Layouts
|
||||||
icon: layout
|
icon: layout
|
||||||
url: layouts.html
|
url: layouts.html
|
||||||
|
badge: New
|
||||||
|
badge-color: green
|
||||||
|
|
||||||
extra:
|
extra:
|
||||||
title: Extra
|
title: Extra
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
{% if level-1[1].badge %}
|
{% if level-1[1].badge %}
|
||||||
{% assign badge = level-1[1].badge %}
|
{% assign badge = level-1[1].badge %}
|
||||||
{% assign badge-color = level-1[1].badge-color | default: 'green' %}
|
{% assign badge-color = level-1[1].badge-color | default: "green" %}
|
||||||
{% include ui/badge.html text=badge color=badge-color %}
|
{% include ui/badge.html text=badge color=badge-color %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,12 @@
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
{{ level-1[1].title }}
|
{{ level-1[1].title }}
|
||||||
|
|
||||||
|
{% if level-1[1].badge %}
|
||||||
|
{% assign badge = level-1[1].badge %}
|
||||||
|
{% assign badge-color = level-1[1].badge-color | default: "green" %}
|
||||||
|
{% include ui/badge.html text=badge color=badge-color class="ml-2" %}
|
||||||
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
{% if level-1[1].children %}
|
{% if level-1[1].children %}
|
||||||
@@ -24,7 +30,7 @@
|
|||||||
|
|
||||||
{% if level-2[1].badge %}
|
{% if level-2[1].badge %}
|
||||||
{% assign badge = level-2[1].badge %}
|
{% assign badge = level-2[1].badge %}
|
||||||
{% assign badge-color = level-2[1].badge-color | default: 'green' %}
|
{% assign badge-color = level-2[1].badge-color | default: "green" %}
|
||||||
{% include ui/badge.html text=badge color=badge-color class="ml-auto" %}
|
{% include ui/badge.html text=badge color=badge-color class="ml-auto" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -3,8 +3,6 @@ title: Dashboard
|
|||||||
page-title: Dashboard
|
page-title: Dashboard
|
||||||
page-pretitle: Overview
|
page-pretitle: Overview
|
||||||
page-title-actions: buttons
|
page-title-actions: buttons
|
||||||
site-layout: layout-collapsed-md
|
|
||||||
menu-layout: vertical
|
|
||||||
menu: home
|
menu: home
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ sidenav: true
|
|||||||
sidenav-dark: true
|
sidenav-dark: true
|
||||||
page-title: Layout test
|
page-title: Layout test
|
||||||
page-title-actions: breadcrumb
|
page-title-actions: breadcrumb
|
||||||
menu-layout: vertical
|
|
||||||
menu: base.buttons
|
menu: base.buttons
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user