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

57 lines
1.8 KiB
Cheetah
Raw Normal View History

2023-03-17 16:13:41 +00:00
{{ define "personal-properties/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>
2023-06-07 01:22:25 +00:00
<div class="Lable">About me</div>
2023-04-30 11:32:35 +00:00
<div id="Drag" class="VisualDragArea"></div>
</div>
2023-05-07 01:24:46 +00:00
<div class="ContentBorder AdjectiveElement">
<div class="PersPropsContent">
<div class="PropsView">
<div class="PropertiesList">
2023-06-07 01:22:25 +00:00
<div class="Links">
{{ range $link := .Links }}
<a href="{{$link.Url}}" target="_blank">
<img class="Link" src="/system/libs/img/get?path={{$link.Icon}}" alt="{{$link.Text}}">
</a>
{{ end }}
</div>
2023-05-07 01:24:46 +00:00
<div class="ShortBio">
2023-06-07 00:42:50 +00:00
<img class="Image" src="/system/libs/img/get?path={{ .HeaderProps.IconPath }}" alt="My Photo">
2023-05-07 01:24:46 +00:00
<div class="Text">
2023-06-07 00:42:50 +00:00
<div class="Name">{{ .HeaderProps.Name }}</div>
<div>{{ .HeaderProps.Value1 }}</div>
<div>{{ .HeaderProps.Value2 }}</div>
2023-05-07 01:24:46 +00:00
</div>
</div>
2023-06-07 00:42:50 +00:00
{{ range $island := .Islands }}
<!-- FIXME -->
<div class="Island">
<div class="Title"> {{$island.Header}}:</div>
2023-05-07 01:24:46 +00:00
<div class="Content">
2023-06-07 00:42:50 +00:00
{{range $property := $island.Properties}}
2023-06-06 22:49:26 +00:00
<div class="Row">
<div class="Key">
2023-06-07 00:42:50 +00:00
{{$property.Key}}:
{{ range $keyComment := $property.KeyComments }}
<div class="KeyComment">{{ $keyComment }}</div>
2023-06-06 22:49:26 +00:00
{{ end }}
2023-03-20 11:20:37 +00:00
</div>
2023-06-06 22:49:26 +00:00
<div class="Values">
2023-06-07 00:42:50 +00:00
{{ range $value := $property.Values }}
<div class="Value">{{ $value }}</div>
2023-06-06 22:49:26 +00:00
{{ end }}
2023-03-20 11:20:37 +00:00
</div>
</div>
2023-06-06 22:49:26 +00:00
{{ end }}
2023-03-20 11:20:37 +00:00
</div>
2023-04-30 11:32:35 +00:00
</div>
{{ end }}
2023-05-07 01:24:46 +00:00
</div>
2023-03-20 11:20:37 +00:00
</div>
2023-05-07 19:56:40 +00:00
<!-- {{template "wde-widgets/scrollbar.tmpl" .}} -->
2023-03-18 02:16:32 +00:00
</div>
2023-04-30 11:32:35 +00:00
</div>
2023-03-18 00:34:56 +00:00
{{ end }}