2023-04-14 15:53:23 +00:00
|
|
|
{{ define "blog-viewer/app.tmpl" }}
|
2023-04-30 11:32:35 +00:00
|
|
|
<div class="TitleBar DragArea">
|
|
|
|
<button id="closeWindowButton" class="Button" title="Close Window"></button>
|
|
|
|
<div id="Drag" class="VisualDragArea"></div>
|
|
|
|
<div class="Lable">
|
2023-05-07 12:14:42 +00:00
|
|
|
Blog Viewer
|
2023-04-14 15:53:23 +00:00
|
|
|
</div>
|
2023-04-30 11:32:35 +00:00
|
|
|
<div id="Drag" class="VisualDragArea"></div>
|
2023-04-14 15:53:23 +00:00
|
|
|
</div>
|
2023-05-04 10:46:28 +00:00
|
|
|
<div class="ContentBorder AdjectiveElement">
|
2023-05-07 12:14:42 +00:00
|
|
|
<div class="BlogView">
|
|
|
|
<div class="Content">
|
2023-05-07 19:56:40 +00:00
|
|
|
<div class="ScrollContent">
|
|
|
|
{{ range $block := .blocks }}
|
2023-05-18 01:57:44 +00:00
|
|
|
{{ if eq $block.Type "image"}}
|
|
|
|
<div class="{{$block.Type}}" >
|
|
|
|
{{ range $data := $block.Data }}
|
|
|
|
<img class="ImageProp" src="/system/libs/img/get?path={{$data}}">
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
{{ else }}
|
|
|
|
<div class="{{$block.Type}}" >
|
|
|
|
{{ range $data := $block.Data }}
|
|
|
|
<div style="font-size: inherit;">
|
|
|
|
{{$data}}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2023-05-07 19:56:40 +00:00
|
|
|
{{ end }}
|
|
|
|
</div>
|
2023-05-07 12:14:42 +00:00
|
|
|
</div>
|
|
|
|
{{template "wde-widgets/scrollbar.tmpl" .}}
|
2023-04-14 15:53:23 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|