30 lines
1.0 KiB
HTML
30 lines
1.0 KiB
HTML
{{ define "main" }}
|
|
<section class="pa3 pa4-ns nested-copy-line-height">
|
|
<aside id="actions" class="w-30-l mt4-l fr tc">
|
|
<button class="br-pill f6 link dim pa3 dib white bg-dark-gray pointer"><label for="file">{{ T (print .Section ".create") }}</label></button>
|
|
<input class="dn" id="file" multiple name="file" type="file"/>
|
|
</aside>
|
|
|
|
{{ with .Content }}
|
|
<section id="content"
|
|
class="cf ph3 ph5-l pv3 pv4-l f4 tc-l center measure-wide lh-copy {{ $.Param "text_color" | default "mid-gray" }}">
|
|
{{- . -}}
|
|
</section>
|
|
{{ end }}
|
|
|
|
<section class="flex-ns flex-wrap justify-around">
|
|
{{ range .Resources }}
|
|
<div class="relative w-100 w-30-l mb4 bg-white">
|
|
<img src="{{ .RelPermalink }}" title="{{.}}" alt="{{.}}" />
|
|
{{ . }}
|
|
<button class="delete_image br-pill pa3 pointer"
|
|
data-confirm="?"
|
|
data-target="{{.RelPermalink}}">
|
|
{{ T (print $.Section ".delete") }}
|
|
</button>
|
|
</div>
|
|
{{ end }}
|
|
</section>
|
|
</section>
|
|
{{ end }}
|