15 lines
574 B
Plaintext
Raw Normal View History

2018-11-21 11:35:25 +00:00
component EditGroupImage(group *arn.Group, member *arn.GroupMember, user *arn.User)
2018-11-22 07:52:29 +00:00
GroupHeader(group, member, user)
2018-11-21 11:35:25 +00:00
.widget-form
h1.mountable Edit group image
.widget.mountable(data-api="/api/group/" + group.ID)
h3.widget-title
Icon("picture-o")
span Image
InputFileUpload("group-image-input", "File", "image", "/api/upload/group/" + group.ID + "/image")
.group-image-container.mountable
img.group-image.group-image-input-preview.lazy(data-src=group.ImageLink("small"), data-webp="true", data-color=group.AverageColor(), alt="Group image")