You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
851 B
28 lines
851 B
2 years ago
|
extends ../layouts/main
|
||
|
block vendorcss
|
||
|
link(rel='stylesheet', href=`/cropperjs/cropper.min.css?v=${pkg.version}`)
|
||
|
block vendorjs
|
||
|
script(src=`/cropperjs/cropper.min.js?v=${pkg.version}`)
|
||
|
block content
|
||
|
|
||
|
include ../components/file-upload-image
|
||
|
|
||
|
//- h2 Add or replace your site images here
|
||
|
div(uk-grid).uk-flex-middle
|
||
|
.uk-width-expand
|
||
|
fieldset
|
||
|
legend Site Icon
|
||
|
.uk-margin
|
||
|
if siteIcon
|
||
|
p.uk-card-title Replace your site icon below.
|
||
|
else
|
||
|
p.uk-card-title You do not currently have a site icon. Add one below.
|
||
|
+renderFileUploadImage(
|
||
|
`/admin/settings/images/updateSiteIcon`,
|
||
|
'site-icon-upload',
|
||
|
'site-icon-file',
|
||
|
'site-icon-picture',
|
||
|
`/img/icon/dtp-base.png`,
|
||
|
siteIcon,
|
||
|
{ aspectRatio: 1 },
|
||
|
)
|