Umožněn upload obrázku podpisu uživatele. Menu Nastavení -> Uživatelské
nastavení. refs #132
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?page title="UserSettings" contentType="text/html;charset=UTF-8"?>
|
||||
<zk>
|
||||
<window id="editWin" border="normal"
|
||||
closable="true"
|
||||
apply="org.zkoss.bind.BindComposer"
|
||||
viewModel="@id('vm') @init('info.bukova.isspst.ui.settings.UserSettingsVM')"
|
||||
onClose="@command('onClose')"
|
||||
width="700px">
|
||||
<caption
|
||||
zclass="form-caption"
|
||||
label="${labels.UserSettings}" />
|
||||
|
||||
<vbox>
|
||||
<label value="Podpis:"/>
|
||||
<hbox>
|
||||
<button label="Nahrát obrázek podpisu"
|
||||
upload="true,maxsize=600,accept=image/*"
|
||||
onUpload="@command('uploadSignature')"
|
||||
sclass="nicebutton"/>
|
||||
<div width="400px" height="110px" style="border: 1px solid black;">
|
||||
<image height="100px" content="@load(vm.signatureImg)"/>
|
||||
</div>
|
||||
</hbox>
|
||||
<button label="Smazat" onClick="@command('removeSignature')" sclass="nicebutton"/>
|
||||
</vbox>
|
||||
|
||||
<include src="/app/formButtons.zul"/>
|
||||
|
||||
</window>
|
||||
</zk>
|
||||
Reference in New Issue
Block a user