Add custom content on fullpic component
This commit is contained in:
parent
bf206acad8
commit
71344fa144
@ -29,6 +29,7 @@ class main:
|
|||||||
Template(params["mako"]["website"]['fullpic']).render(
|
Template(params["mako"]["website"]['fullpic']).render(
|
||||||
title="Hello World",
|
title="Hello World",
|
||||||
message="Welcome to CostaPy",
|
message="Welcome to CostaPy",
|
||||||
|
content="",
|
||||||
image="https://picsum.photos/1600/900",
|
image="https://picsum.photos/1600/900",
|
||||||
height="calc(100vh - 56px)", # navbar height = 56px
|
height="calc(100vh - 56px)", # navbar height = 56px
|
||||||
navbar=True
|
navbar=True
|
||||||
|
@ -2,5 +2,6 @@
|
|||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<h1 class="text-white h1 fw-bolder">${title}</h1>
|
<h1 class="text-white h1 fw-bolder">${title}</h1>
|
||||||
<p class="text-white-50 mb-0">${message}</p>
|
<p class="text-white-50 mb-0">${message}</p>
|
||||||
|
${content}
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
Loading…
Reference in New Issue
Block a user