1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-25 20:44:38 +04:00

new layouts

This commit is contained in:
codecalm
2020-01-07 22:56:50 +01:00
parent 6d776db264
commit 2f09751eb1
6 changed files with 14 additions and 13 deletions
+4 -4
View File
@@ -55,25 +55,25 @@ defaults:
path: "*.md"
values:
layout: markdown
menu-layout: vertical
menu-layout: horizontal
- scope:
type: "pages"
values:
layout: default
menu-layout: vertical
menu-layout: horizontal
-
scope:
type: "docs"
values:
layout: docs
menu-layout: vertical
menu-layout: horizontal
-
scope:
type: "components"
values:
layout: component
menu-layout: vertical
menu-layout: horizontal
colors:
+2 -4
View File
@@ -2,15 +2,11 @@ home:
url: index.html
title: Dashboard
icon: home
badge: ''
badge-color: blue
forms:
url: form-elements.html
title: Form elements
icon: check-square
badge: New
badge-color: red
base:
title: Base
@@ -94,6 +90,8 @@ layouts:
title: Layouts
icon: layout
url: layouts.html
badge: New
badge-color: green
extra:
title: Extra
+1 -1
View File
@@ -15,7 +15,7 @@
{% if 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 %}
{% endif %}
+7 -1
View File
@@ -13,6 +13,12 @@
</span>
{{ 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>
{% if level-1[1].children %}
@@ -24,7 +30,7 @@
{% if 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" %}
{% endif %}
</a>
-2
View File
@@ -3,8 +3,6 @@ title: Dashboard
page-title: Dashboard
page-pretitle: Overview
page-title-actions: buttons
site-layout: layout-collapsed-md
menu-layout: vertical
menu: home
---
-1
View File
@@ -4,7 +4,6 @@ sidenav: true
sidenav-dark: true
page-title: Layout test
page-title-actions: breadcrumb
menu-layout: vertical
menu: base.buttons
---