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,42 +3,58 @@
<!-- $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%">
<description value="Who would you like to transfer records owned by the deleted user to?" class="dialogHeader2"/> <columns>
<select-account id="new_owner" empty_label="Delete all records" class="dialogHeader3"/> <column width="60%"/>
<description value="Automatically transfer entries owned by the user:"/> <column/>
<select id="delete_apps" rows="6" multiple="true" span="2"/> </columns>
<description value="Please manually deal with entries owned by the user:"/> <rows>
<grid id="counts" disabled="!@counts"> <row>
<columns> <description value="Who would you like to transfer records owned by the deleted user to?" class="dialogHeader2"/>
<column width="150"/> <select-account id="new_owner" empty_label="Delete all records" class="dialogHeader3"/>
<column/> </row>
</columns> <row>
<rows> <vbox>
<row> <description value="Automatically transfer entries owned by the user:"/>
<select-app id="${row}[app]" readonly="true"/> <select id="delete_apps" rows="6" multiple="true" span="2"/>
<description id="${row}[count]"/> </vbox>
</row> </row>
</rows> <row>
</grid> <vbox>
<grid> <description value="Please manually deal with entries owned by the user:"/>
<columns> <grid id="counts" disabled="!@counts">
<column width="150"/> <columns>
<column/> <column width="150"/>
</columns> <column/>
<rows> </columns>
<row> <rows>
<select-app value="filemanager" readonly="true"/> <row>
<description value="Change owner of found files to the new user, and move the home folder to /home/new-user/old-home-username."/> <select-app id="${row}[app]" readonly="true"/>
</row> <description id="${row}[count]"/>
<row> </row>
<select-app value="mail" readonly="true"/> </rows>
<description value="Please check email. It gets automatically deleted if email integration is used."/> </grid>
</row> <grid>
</rows> <columns>
</grid> <column width="150"/>
<description value="If you delete the user without selecting an account to move the data to, all entries get deleted!" font_style="b"/> <column/>
</vbox> </columns>
<rows>
<row>
<select-app value="filemanager" readonly="true"/>
<description value="Change owner of found files to the new user, and move the home folder to /home/new-user/old-home-username."/>
</row>
<row>
<select-app value="mail" readonly="true"/>
<description value="Please check email. It gets automatically deleted if email integration is used."/>
</row>
</rows>
</grid>
<description value="If you delete the user without selecting an account to move the data to, all entries get deleted!" font_style="b"/>
</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;