personal-website/templates/personal-properties/app.tmpl

57 lines
2.0 KiB
Cheetah
Raw Normal View History

2023-03-17 16:13:41 +00:00
{{ define "personal-properties/app.tmpl" }}
2023-03-18 02:16:32 +00:00
<!-- <div id="WindowBorder" class="PersonalPropertiesFrame"> -->
2023-04-29 19:37:08 +00:00
<div id="TestWindowHeader" class="WindowFrameTopBar DragArea">
2023-03-18 02:16:32 +00:00
<button id="closeWindowButton" class="WindowFrameTopBarButton" title="Close Window"></button>
2023-03-18 00:34:56 +00:00
<div id="Drag" class="WindowDragArea"></div>
<div class="WindowFrameTitle">
2023-03-18 02:16:32 +00:00
About me
2023-03-18 00:34:56 +00:00
</div>
<div id="Drag" class="WindowDragArea"></div>
</div>
2023-03-20 11:20:37 +00:00
<!-- <div class="ContentBorder"></div> -->
<div class="ContentBorder">
<div class="ScrollContent">
<div class="PropertiesList">
2023-03-18 02:16:32 +00:00
<div class="Personal-properties-bio">
<img src="data:{{ .headerProps.Icon.Header }},{{ .headerProps.Icon.Base64 }}" alt="My Photo" style="width: 48px;height: 48px;">
2023-03-18 02:16:32 +00:00
<div class="Personal-properties-textbio">
<div>{{ .headerProps.Name }}</div>
<div>{{ .headerProps.Info1 }}</div>
<div>{{ .headerProps.Info2 }}</div>
2023-03-18 02:16:32 +00:00
</div>
2023-03-20 11:20:37 +00:00
</div>
2023-03-18 02:16:32 +00:00
{{ range $propIsland := .allprops }}
2023-03-20 11:20:37 +00:00
<div id="prop" class="Personal-properties-prop">
<div class="Personal-properties-prop-title">
{{$propIsland.Header}}:
</div>
<div class="Personal-properties-prop-content">
{{range $prop := $propIsland.Props}}
<div class="Personal-properties-prop-row">
<div class="Personal-properties-prop-key">
{{$prop.Key}}:
{{ range $value := $prop.KeyComments }}
<div class="Personal-properties-prop-key-comments">
{{ $value }}
</div>
{{ end }}
</div>
<div class="Personal-properties-prop-values">
{{ range $value := $prop.Values }}
<div class="Personal-properties-prop-value">
{{ $value }}
</div>
{{ end }}
</div>
</div>
{{ end }}
</div>
</div>
{{ end }}
</div>
</div>
2023-03-22 18:00:04 +00:00
{{template "wde-widgets/scrollbar.tmpl" .}}
2023-03-18 02:16:32 +00:00
</div>
2023-03-18 00:34:56 +00:00
{{ end }}