update: default avatar

- .svg file is used
- new styles added
This commit is contained in:
Gaëlle Morin
2019-07-19 23:02:10 +02:00
parent 33e67925ad
commit 6309b20b65
7 changed files with 100 additions and 23 deletions

View File

@ -1,3 +1,2 @@
sib-widget(name='hd-user-avatar')
template
img(name="${name}",src="\${value || '/images/alien.jpg'}",style="max-width:100%; max-height: 100%;")
template ${value ? `<img src="${value}" style="max-width:100%; max-height: 100%;" />` : `<object type="image/svg+xml" data="/images/alien.svg")></object>`}