43 lines
1.9 KiB
Plaintext
43 lines
1.9 KiB
Plaintext
<svg viewBox="0 0 @ObjW @ObjH" width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
|
|
<defs>
|
|
<clipPath id="theClippingPath">
|
|
<path d="@PathClipData" />
|
|
</clipPath>
|
|
</defs>
|
|
<rect x="0" y="0" width="100%" height="100%" fill="#34495E"></rect>
|
|
<image href="@ImagePath" height="100%" width="100%" clip-path="url(#theClippingPath)"></image>
|
|
<path d="@PathLineData" stroke="@LineColor" stroke-width="@LineWidth" fill="none" />
|
|
<g transform="translate(0,@(ObjH/8))">
|
|
<foreignObject width="@(ObjW/2)" height="@(ObjH/2)">
|
|
<div class="row text-white text-center">
|
|
<div style="@TitleStyle" class="text-uppercase">
|
|
@TitleText
|
|
</div>
|
|
<div style="@BodyStyle">
|
|
@BodyText
|
|
</div>
|
|
@if (isLogged)
|
|
{
|
|
<div class="mt-5" style="font-size: 30px;">
|
|
@* <button class="btn btn-lg btn-primary rounded-pill p-3 px-4 text-uppercase" @onclick="() => raiseEvent(null)">
|
|
@ButtonText
|
|
</button> *@
|
|
@if (ButtonsList != null && ButtonsList.Count > 0)
|
|
{
|
|
foreach (var item in ButtonsList)
|
|
{
|
|
<button class="mx-2 my-3 @item.Css" @onclick="() => raiseEvent(item.RetPage)" title="@item.Title">
|
|
@item.Text <i class="@item.Icon"></i>
|
|
@* <div class="small">
|
|
@item.BtnDescript
|
|
</div> *@
|
|
</button>
|
|
}
|
|
}
|
|
</div>
|
|
}
|
|
</div>
|
|
</foreignObject>
|
|
</g>
|
|
</svg>
|