File tree Expand file tree Collapse file tree 12 files changed +502
-51
lines changed
Expand file tree Collapse file tree 12 files changed +502
-51
lines changed Original file line number Diff line number Diff line change 1010 var pageTitle = string .IsNullOrEmpty (Model .MetaTitle ) ? Model .Name : Model .MetaTitle ;
1111 var root = Model .AncestorsOrSelf <RootPage >()? .FirstOrDefault ();
1212 string siteName = root ? .SiteName ?? authority ?? " ?" ;
13+
14+ string pageBackgroundColor = " inherit" ;
15+ if (Model is IPageSettings pageSettings )
16+ {
17+ pageBackgroundColor = pageSettings .PageBackgroundColor ?? pageBackgroundColor ;
18+ }
1319}
1420<!DOCTYPE html>
1521<html >
2430
2531 <link href =" ~/styles/customblockgrid.min.css?v=@v" rel =" stylesheet" />
2632 <link href =" ~/styles/customer.min.css?v=@v" rel =" stylesheet" />
33+
34+ <style >
35+ #canvas {
36+ background : @pageBackgroundColor;
37+ }
38+ </style >
2739</head >
2840<body id =" top" class =" uui-font" >
2941
Original file line number Diff line number Diff line change 1- @using Umbraco .Cms .Web .Common .PublishedModels ;
1+ @using Umbraco .Cms .Web .Common .PublishedModels ;
22@inherits Umbraco .Cms .Web .Common .Views .UmbracoViewPage <StandardPage >
33@{
4- Layout = " layout.cshtml" ;
4+ Layout = " layout.cshtml" ;
55}
66
77@await Html.GetBlockGridHtmlAsync(Model.Main)
88
9- <div style =" max-width : 300px ; background-color : #cef ; padding : 10px " >
10- @await Html.GetBlockListHtmlAsync(Model.BlockList)
11- </div >
9+ @await Html.GetBlockGridHtmlAsync(Model.SecondGrid)
Original file line number Diff line number Diff line change 316316 {
317317 "key": "04b8ea0f-5399-44dc-a0dc-430a59b4b84d",
318318 "mediaKey": "055545db-11c9-4f5d-86b8-90ca79ef37ce",
319- "mediaTypeAlias": "",
319+ "mediaTypeAlias": "Image ",
320320 "crops": [],
321321 "focalPoint": null
322322 }
366366 "editorAlias": null,
367367 "segment": null,
368368 "value": {
369- "label": "Yellow ",
370- "value": "#fee648 "
369+ "label": "Transparent ",
370+ "value": "#fff "
371371 }
372372 },
373373 {
You can’t perform that action at this time.
0 commit comments