Rearrange admin delete dialog

This commit is contained in:
Hadi Nategh 2020-02-18 11:29:09 +01:00
parent fc65670ec8
commit b058051170
3 changed files with 52 additions and 48 deletions

View File

@ -3,11 +3,24 @@
<!-- $Id$ --> <!-- $Id$ -->
<overlay> <overlay>
<template id="admin.account.delete.delete" template="" lang="" group="0" version="18.1.001"> <template id="admin.account.delete.delete" template="" lang="" group="0" version="18.1.001">
<vbox class="admin_account_delete"> <grid width="100%" height="100%">
<columns>
<column width="60%"/>
<column/>
</columns>
<rows>
<row>
<description value="Who would you like to transfer records owned by the deleted user to?" class="dialogHeader2"/> <description value="Who would you like to transfer records owned by the deleted user to?" class="dialogHeader2"/>
<select-account id="new_owner" empty_label="Delete all records" class="dialogHeader3"/> <select-account id="new_owner" empty_label="Delete all records" class="dialogHeader3"/>
</row>
<row>
<vbox>
<description value="Automatically transfer entries owned by the user:"/> <description value="Automatically transfer entries owned by the user:"/>
<select id="delete_apps" rows="6" multiple="true" span="2"/> <select id="delete_apps" rows="6" multiple="true" span="2"/>
</vbox>
</row>
<row>
<vbox>
<description value="Please manually deal with entries owned by the user:"/> <description value="Please manually deal with entries owned by the user:"/>
<grid id="counts" disabled="!@counts"> <grid id="counts" disabled="!@counts">
<columns> <columns>
@ -39,6 +52,9 @@
</grid> </grid>
<description value="If you delete the user without selecting an account to move the data to, all entries get deleted!" font_style="b"/> <description value="If you delete the user without selecting an account to move the data to, all entries get deleted!" font_style="b"/>
</vbox> </vbox>
</row>
</rows>
</grid>
</template> </template>
<template id="admin.account.delete" template="" lang="" group="0" version="18.1.001"> <template id="admin.account.delete" template="" lang="" group="0" version="18.1.001">
<grid width="100%"> <grid width="100%">

View File

@ -58,12 +58,6 @@ td.admin_userAgent span {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.admin_account_delete > * {
padding: 8px;
}
form#admin-account-delete div.dialogHeader > label {
font-size: 120%;
}
/* Global Category classes*/ /* Global Category classes*/
.globalCat_confirmDelete { .globalCat_confirmDelete {
position: absolute; position: absolute;

View File

@ -66,12 +66,6 @@ td.admin_userAgent span {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.admin_account_delete > * {
padding: 8px;
}
form#admin-account-delete div.dialogHeader > label {
font-size: 120%;
}
/* Global Category classes*/ /* Global Category classes*/
.globalCat_confirmDelete { .globalCat_confirmDelete {
position: absolute; position: absolute;