mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 23:59:39 +01:00
Filemanager: Adjust Extended ACL template to make better use of space
This commit is contained in:
parent
96621ac3c5
commit
1a20ba504b
@ -115,48 +115,39 @@
|
|||||||
</grid>
|
</grid>
|
||||||
</template>
|
</template>
|
||||||
<template id="filemanager.file.eacl" template="" lang="" group="0" version="1.9.001">
|
<template id="filemanager.file.eacl" template="" lang="" group="0" version="1.9.001">
|
||||||
<grid width="100%" spacing="10">
|
<et2-vbox class="full-height">
|
||||||
<columns>
|
<groupbox style="flex-grow: 1">
|
||||||
<column width="120"/>
|
<caption label="Extended access control list"/>
|
||||||
<column/>
|
<grid width="100%" overflow="auto" id="eacl">
|
||||||
<column/>
|
<columns>
|
||||||
</columns>
|
<column width="80"/>
|
||||||
<rows>
|
<column width="80"/>
|
||||||
<row valign="top" height="200">
|
<column width="20%"/>
|
||||||
<groupbox span="all">
|
<column width="16"/>
|
||||||
<caption label="Extended access control list"/>
|
</columns>
|
||||||
<grid width="100%" overflow="auto" id="eacl">
|
<rows>
|
||||||
<columns>
|
<row class="th">
|
||||||
<column width="80"/>
|
<et2-description value="Owner"></et2-description>
|
||||||
<column width="80"/>
|
<et2-description value="Rights"></et2-description>
|
||||||
<column width="20%"/>
|
<et2-description value="Inherited"></et2-description>
|
||||||
<column width="16"/>
|
<et2-description></et2-description>
|
||||||
</columns>
|
</row>
|
||||||
<rows>
|
<row class="row" disabled="!@1">
|
||||||
<row class="th">
|
<et2-select-account id="${row}[owner]" readonly="true"></et2-select-account>
|
||||||
<et2-description value="Owner"></et2-description>
|
<et2-select id="${row}[rights]" readonly="true"></et2-select>
|
||||||
<et2-description value="Rights"></et2-description>
|
<et2-description id="${row}[path]"></et2-description>
|
||||||
<et2-description value="Inherited"></et2-description>
|
<et2-button label="Delete" id="delete[$row_cont[ino]-$row_cont[owner]]" onclick="et2_dialog.confirm(widget,'Delete this extended ACL?','Delete')" image="delete"></et2-button>
|
||||||
<et2-description></et2-description>
|
</row>
|
||||||
</row>
|
</rows>
|
||||||
<row class="row" disabled="!@1">
|
</grid>
|
||||||
<et2-select-account id="${row}[owner]" readonly="true"></et2-select-account>
|
</groupbox>
|
||||||
<et2-select id="${row}[rights]" readonly="true"></et2-select>
|
<et2-hbox valign="bottom" disabled="!@is_owner">
|
||||||
<et2-description id="${row}[path]"></et2-description>
|
<et2-select-account class="filemanager-file_filemanager-file-eaclowner eaclAccount" label="Owner" id="eacl_owner" emptyLabel="select one" accountType="both" placement="top"></et2-select-account>
|
||||||
<et2-button label="Delete" id="delete[$row_cont[ino]-$row_cont[owner]]" onclick="et2_dialog.confirm(widget,'Delete this extended ACL?','Delete')" image="delete"></et2-button>
|
<et2-select class="eaclRights" statustext="You can only grant additional rights, you can NOT take rights away!" label="Rights" id="eacl[rights]"></et2-select>
|
||||||
</row>
|
<et2-button label="Add" id="button[eacl]" image="add"></et2-button>
|
||||||
</rows>
|
</et2-hbox>
|
||||||
</grid>
|
</et2-vbox>
|
||||||
</groupbox>
|
</template>
|
||||||
</row>
|
|
||||||
<row valign="bottom" disabled="!@is_owner">
|
|
||||||
<et2-select-account class="filemanager-file_filemanager-file-eaclowner eaclAccount" label="Owner" id="eacl_owner" emptyLabel="select one" accountType="both"></et2-select-account>
|
|
||||||
<et2-select class="eaclRights" statustext="You can only grant additional rights, you can NOT take rights away!" label="Rights" id="eacl[rights]"></et2-select>
|
|
||||||
<et2-button label="Add" id="button[eacl]" image="add"></et2-button>
|
|
||||||
</row>
|
|
||||||
</rows>
|
|
||||||
</grid>
|
|
||||||
</template>
|
|
||||||
<template id="filemanager.file.preview" template="" lang="" group="0" version="1.5.001">
|
<template id="filemanager.file.preview" template="" lang="" group="0" version="1.5.001">
|
||||||
<grid width="100%" spacing="10" overflow="auto">
|
<grid width="100%" spacing="10" overflow="auto">
|
||||||
<columns>
|
<columns>
|
||||||
@ -259,48 +250,49 @@
|
|||||||
<et2-button align="right" statustext="Enter setup user and password to get root rights" label="Superuser" id="sudouser" onclick="jQuery('.superuser').css('display','inline'); document.getElementById(form::name('sudo[user]')).focus();" image="superuser" noSubmit="true"></et2-button>
|
<et2-button align="right" statustext="Enter setup user and password to get root rights" label="Superuser" id="sudouser" onclick="jQuery('.superuser').css('display','inline'); document.getElementById(form::name('sudo[user]')).focus();" image="superuser" noSubmit="true"></et2-button>
|
||||||
</et2-hbox>
|
</et2-hbox>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<groupbox class="superuser">
|
<groupbox class="superuser">
|
||||||
<caption label="Enter setup user and password"/>
|
<caption label="Enter setup user and password"/>
|
||||||
<grid>
|
<grid>
|
||||||
<columns>
|
<columns>
|
||||||
<column/>
|
<column/>
|
||||||
<column/>
|
<column/>
|
||||||
</columns>
|
</columns>
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
<et2-description for="sudo[user]" value="User"></et2-description>
|
<et2-description for="sudo[user]" value="User"></et2-description>
|
||||||
<et2-textbox id="sudo[user]"></et2-textbox>
|
<et2-textbox id="sudo[user]"></et2-textbox>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<et2-description for="sudo[passwd]" value="Password"></et2-description>
|
<et2-description for="sudo[passwd]" value="Password"></et2-description>
|
||||||
<et2-password id="sudo[passwd]" autocomplete="on"></et2-password>
|
<et2-password id="sudo[passwd]" autocomplete="on"></et2-password>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<et2-description></et2-description>
|
<et2-description></et2-description>
|
||||||
<et2-hbox>
|
<et2-hbox>
|
||||||
<et2-button label="Submit" id="button[setup]"></et2-button>
|
<et2-button label="Submit" id="button[setup]"></et2-button>
|
||||||
<et2-button label="Cancel" onclick="jQuery('.superuser').hide();" noSubmit="true"></et2-button>
|
<et2-button label="Cancel" onclick="jQuery('.superuser').hide();" noSubmit="true"></et2-button>
|
||||||
</et2-hbox>
|
</et2-hbox>
|
||||||
|
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
</groupbox>
|
</groupbox>
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
<styles>
|
<styles>
|
||||||
.eaclAccount select,.eaclRights select { width: 160px; }
|
.full-height { height: 100% }
|
||||||
.superuser {
|
.full-height > fieldset { flex-grow: 1; }
|
||||||
position: absolute;
|
.superuser {
|
||||||
top: 130px;
|
position: absolute;
|
||||||
left: 120px;
|
top: 130px;
|
||||||
width: 200px;
|
left: 120px;
|
||||||
background-color: white;
|
width: 200px;
|
||||||
z-index: 1;
|
background-color: white;
|
||||||
display: none;
|
z-index: 1;
|
||||||
}
|
display: none;
|
||||||
</styles>
|
}
|
||||||
</template>
|
</styles>
|
||||||
|
</template>
|
||||||
</overlay>
|
</overlay>
|
Loading…
Reference in New Issue
Block a user