WIP of admin cmds template:

- fix template for admin cmds
This commit is contained in:
Hadi Nategh 2019-05-09 12:24:45 +02:00
parent 1a69912a9c
commit 73eda7ec30

View File

@ -39,18 +39,18 @@
</vbox> </vbox>
</row> </row>
<row class="row $row_cont[class]"> <row class="row $row_cont[class]">
<description id="${row}[title]" statustext="$row_cont[data]"/> <description id="${row}[title]"/>
<select-app id="${row}[app]" readonly="true"/> <select-app id="${row}[app]" readonly="true"/>
<select-account id="${row}[account]" readonly="true"/> <select-account id="${row}[account]" readonly="true"/>
<select id="${row}[type]" readonly="true"/> <select id="${row}[type]" readonly="true"/>
<url-email id="${row}[requested_email]" readonly="true" statustext="$row_cont[comment]"/> <url-email id="${row}[requested_email]" readonly="true"/>
<description id="${row}[comment]"/> <description id="${row}[comment]"/>
<date-time id="${row}[scheduled]" readonly="true"/> <date-time id="${row}[scheduled]" readonly="true"/>
<description id="${row}[rrule]"/> <description id="${row}[rrule]"/>
<select id="${row}[remote_id]" readonly="true"/> <select id="${row}[remote_id]" readonly="true"/>
<vbox> <vbox>
<date-time id="${row}[created]" readonly="true"/> <date-time id="${row}[created]" readonly="true"/>
<select-account id="${row}[creator]" readonly="true" statustext="$row_cont[creator_email]"/> <select-account id="${row}[creator]" readonly="true"/>
</vbox> </vbox>
<vbox> <vbox>
<select id="${row}[status]" readonly="true"/> <select id="${row}[status]" readonly="true"/>
@ -59,7 +59,7 @@
</vbox> </vbox>
<vbox> <vbox>
<date-time id="${row}[modified]" readonly="true"/> <date-time id="${row}[modified]" readonly="true"/>
<select-account id="${row}[modifier]" readonly="true" statustext="$row_cont[modifier_email]"/> <select-account id="${row}[modifier]" readonly="true"/>
</vbox> </vbox>
</row> </row>
</rows> </rows>
@ -80,30 +80,42 @@
<iframe id="policy_preview" src=""/> <iframe id="policy_preview" src=""/>
<grid id="cmds_preview"> <grid id="cmds_preview">
<columns> <columns>
<column width="90"/>
<column /> <column />
</columns> </columns>
<rows> <rows>
<row> <row>
<description value="Title" label="%s:"/> <vbox>
<description value="$row_cont[title]"/> <hbox class="row">
</row> <hbox class="et2_hbox_left"><description value="Title" label="%s:"/></hbox>
<row> <description value="$row_cont[title]"/>
<description value="Comment" label="%s:"/> </hbox>
<description value="$row_cont[comment]"/> <hbox class="row dialogFooterToolbar">
</row> <hbox class="et2_hbox_left">
<row> <description value="Comment" label="%s:" class="et2_hbox_left"/>
<description value="Creator" label="%s:"/> </hbox>
<hbox> <description value="$row_cont[comment]"/>
<description value="$row_cont[creator]" label="%s("/> </hbox>
<description value="$row_cont[creator_email]" label="%s)"/> <hbox class="row">
</hbox> <hbox class="et2_hbox_left">
</row> <description value="Creator" label="%s:" class="et2_hbox_left"/>
<row> </hbox>
<description value="Data" label="%s:"/> <hbox>
<description value="$row_cont[data]"/> <description value="$row_cont[creator]" label="%s("/>
<description value="$row_cont[creator_email]" label="%s)"/>
</hbox>
</hbox>
<hbox class="row">
<hbox class="et2_hbox_left">
<description value="Data" label="%s:" align="left" class="et2_hbox_left"/>
</hbox>
<description value="$row_cont[data]"/>
</hbox>
</vbox>
</row> </row>
</rows> </rows>
</grid> </grid>
<styles>
#admin-cmds_cmds_preview .et2_hbox.row {padding: 5px 0 5px 3px;vertical-align: middle;}
</styles>
</template> </template>
</overlay> </overlay>