Testing Views
This commit is contained in:
parent
693d350459
commit
96237977e6
6
lovelace/testing.yaml
Normal file
6
lovelace/testing.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
- view_layout:
|
||||||
|
grid-area: "card1"
|
||||||
|
type: "custom:button-card"
|
||||||
|
template: "card_title"
|
||||||
|
name: "Card 1 Testing"
|
||||||
|
label: "grid-area: card1"
|
@ -12,7 +12,7 @@ views:
|
|||||||
title: "Overview"
|
title: "Overview"
|
||||||
path: 0
|
path: 0
|
||||||
layout:
|
layout:
|
||||||
grid-template-columns: "1fr 1fr"
|
grid-template-columns: "1fr 1fr 1fr"
|
||||||
grid-template-rows: "min-content"
|
grid-template-rows: "min-content"
|
||||||
grid-template-areas: |
|
grid-template-areas: |
|
||||||
"main popup"
|
"main popup"
|
||||||
@ -48,4 +48,21 @@ views:
|
|||||||
|
|
||||||
- type: "vertical-stack"
|
- type: "vertical-stack"
|
||||||
cards:
|
cards:
|
||||||
!include lovelace/popup.yaml
|
!include lovelace/popup.yaml
|
||||||
|
|
||||||
|
|
||||||
|
- type: "custom:grid-layout"
|
||||||
|
title: "Testing"
|
||||||
|
path: 1
|
||||||
|
layout:
|
||||||
|
grid-template-columns: "1fr 1fr 1fr"
|
||||||
|
grid-template-rows: "min-content"
|
||||||
|
grid-template-areas: |
|
||||||
|
"main popup"
|
||||||
|
mediaquery:
|
||||||
|
"(max-width: 1100px), (orientation: portrait)":
|
||||||
|
grid-template-columns: "100%"
|
||||||
|
grid-template-areas: "main"
|
||||||
|
cards:
|
||||||
|
|
||||||
|
!include lovelace/testing.yaml
|
Reference in New Issue
Block a user