egroupware/filemanager/templates/default/quota.xet
nathan 3402ed645a Quota changes
- nicer error message
- add quota for group directories with separate default
- support for more decimal places in human file size
- add some help_text to default quota
2022-11-23 13:53:47 -07:00

32 lines
1.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
<!-- $Id$ -->
<overlay>
<template id="filemanager.quota" template="" lang="" group="0" version="1.9.004">
<vbox>
<textbox label="User home quota" id="quota" blur="(EPL Only)" disabled="true"/>
<textbox label="Group home quota" id="group_quota" blur="(EPL Only)" disabled="true"
help-text="Enter a file size, e.g. 100K, 200M or 2G"/>
<button label="Recalculate" id="button[recalculate]" statustext="Recalculate directory sizes"/>
<hbox span="2" class="dialogFooterToolbar">
<button label="Save" id="button[save]"/>
<button label="Apply" id="button[apply]"/>
<button label="Cancel" id="button[cancel]"/>
</hbox>
</vbox>
<styles>
#filemanager-quota_quota::part(form-control-input),
#filemanager-quota_group_quota::part(form-control-input){
max-width: 15ex;
}
#filemanager-quota > div > et2-vbox {
height: 100%;
}
.dialogFooterToolbar {
margin-top: auto;
}
</styles>
</template>
</overlay>