[eGroupWare-svn] r55811 - in /trunk/admin/templates/mobile: app.css app.less categories.edit.xet categories.index.xet
[email protected] Fri, 22 Apr 2016 14:42:06 -0000
Newsgroups
gmane.comp.web.egroupware.cvs
Message-ID
<[email protected] >
Author: hnategh
Date: Fri Apr 22 16:42:06 2016
New Revision: 55811
URL: http://svn.stylite.de/viewvc/egroupware?rev=55811&view=rev
Log:
Mobile theme:
- Implement categories list and edit view
Added:
trunk/admin/templates/mobile/categories.edit.xet
- copied, changed from r55805, trunk/admin/templates/default/categories.edit.xet
trunk/admin/templates/mobile/categories.index.xet
- copied, changed from r55805, trunk/admin/templates/default/categories.index.xet
Modified:
trunk/admin/templates/mobile/app.css
trunk/admin/templates/mobile/app.less
Modified: trunk/admin/templates/mobile/app.css
URL: http://svn.stylite.de/viewvc/egroupware/trunk/admin/templates/mobile/app.css?rev=55811&r1=55810&r2=55811&view=diff
==============================================================================
--- trunk/admin/templates/mobile/app.css (original)
+++ trunk/admin/templates/mobile/app.css Fri Apr 22 16:42:06 2016
@@ -30,4 +30,7 @@
content: ",";
font-size: 10pt;
}
+ .globalCat_hiddenCatid {
+ display: none;
+ }
}
Modified: trunk/admin/templates/mobile/app.less
URL: http://svn.stylite.de/viewvc/egroupware/trunk/admin/templates/mobile/app.less?rev=55811&r1=55810&r2=55811&view=diff
==============================================================================
--- trunk/admin/templates/mobile/app.less (original)
+++ trunk/admin/templates/mobile/app.less Fri Apr 22 16:42:06 2016
@@ -37,4 +37,8 @@
}
}
}
+ .globalCat_hiddenCatid {
+ display: none;
+ }
+
}
Copied: trunk/admin/templates/mobile/categories.edit.xet (from r55805, trunk/admin/templates/default/categories.edit.xet)
URL: http://svn.stylite.de/viewvc/egroupware/trunk/admin/templates/mobile/categories.edit.xet?p2=trunk/admin/templates/mobile/categories.edit.xet&p1=trunk/admin/templates/default/categories.edit.xet&r1=55805&r2=55811&rev=55811&view=diff
==============================================================================
--- trunk/admin/templates/default/categories.edit.xet (original)
+++ trunk/admin/templates/mobile/categories.edit.xet Fri Apr 22 16:42:06 2016
@@ -37,11 +37,19 @@
<template id="admin.categories.edit" template="" lang="" group="0" version="1.9.001">
<grid width="100%">
<columns>
- <column width="90"/>
- <column width="300"/>
+ <column width="120"/>
+ <column/>
</columns>
<rows>
- <row class="dialogHeader">
+ <row class="dialogHeadbar" >
+ <hbox span="all">
+ <button id="button[save]" onclick="return app.admin.check_owner(widget);" image="save" background_image="1"/>
+ <button id="button[apply]" onclick="return app.admin.check_owner(widget);" image="apply" background_image="1"/>
+ <buttononly id="button[cancel]" onclick="window.close();" image="cancel" background_image="1"/>
+ <buttononly statustext="Delete this category" id="button[delete]" onclick="app.admin.delete_category" image="delete" background_image="1"/>
+ </hbox>
+ </row>
+ <row>
<description value="Name" for="name"/>
<textbox id="name" needed="1" size="50" maxlength="150" class="et2_fullWidth"/>
</row>
@@ -53,7 +61,7 @@
</row>
<row valign="top">
<description value="Description" for="description"/>
- <textbox multiline="true" id="description" rows="5" cols="50"/>
+ <textbox multiline="true" id="description" rows="5" cols="10" class="et2_fullWidth" resize_ratio="0" height="200"/>
</row>
<row class="nmr" disabled="@no_private">
<description value="Private"/>
@@ -69,10 +77,10 @@
<menulist>
<menupopup id="data[icon]" onchange="app.admin.change_icon(widget);" options="None"/>
</menulist>
- <image src="icon_url" id="icon_url" class="leftPad5"/>
+ <image src="icon_url" id="icon_url"/>
</hbox>
</row>
- <row disabled="@appname=phpgw">
+ <row disabled="@appname=phpgw" height="30">
<description value="Application"/>
<menulist>
<menupopup type="select-app" id="appname" readonly="true" options="All applications"/>
@@ -80,23 +88,14 @@
</row>
<row>
<description value="Category owner" for="owner"/>
- <listbox statustext="Limit global category to members of a certain group" id="owner" needed="1" rows="3"/>
+ <listbox statustext="Limit global category to members of a certain group" id="owner" needed="1" rows="6" height="150"/>
</row>
<row disabled="!@last_mod">
<description value="Modified"/>
<date-time id="last_mod" readonly="true"/>
</row>
- <row class="dialogFooterToolbar">
- <hbox span="all">
- <button label="Save" id="button[save]" onclick="return app.admin.check_owner(widget);" image="save" background_image="1"/>
- <button label="Apply" id="button[apply]" onclick="return app.admin.check_owner(widget);" image="apply" background_image="1"/>
- <buttononly label="Cancel" id="button[cancel]" onclick="window.close();" image="cancel" background_image="1"/>
- <buttononly align="right" statustext="Delete this category" label="Delete" id="button[delete]" onclick="app.admin.delete_category" image="delete" background_image="1"/>
- </hbox>
- </row>
</rows>
</grid>
<template id="admin.categories.delete" class="globalCat_hiddenCatid"/>
</template>
-
</overlay>
Copied: trunk/admin/templates/mobile/categories.index.xet (from r55805, trunk/admin/templates/default/categories.index.xet)
URL: http://svn.stylite.de/viewvc/egroupware/trunk/admin/templates/mobile/categories.index.xet?p2=trunk/admin/templates/mobile/categories.index.xet&p1=trunk/admin/templates/default/categories.index.xet&r1=55805&r2=55811&rev=55811&view=diff
==============================================================================
--- trunk/admin/templates/default/categories.index.xet (original)
+++ trunk/admin/templates/mobile/categories.index.xet Fri Apr 22 16:42:06 2016
@@ -5,52 +5,44 @@
<template id="admin.categories.index.rows" template="" lang="" group="0" version="1.9.002">
<grid width="100%">
<columns>
- <column width="45%"/>
- <column width="52%"/>
- <column width="174"/>
- <column width="170"/>
- <column disabled="@no_access" width="106"/>
- <column width="56"/>
- <column width="80"/>
- <column/>
- <column width="30"/>
- <column width="1%"/>
+ <column width="10"/>
+ <column width="80%" />
+ <column width="110"/>
</columns>
<rows>
<row class="th">
- <nextmatch-sortheader label="Name" id="name"/>
- <nextmatch-sortheader label="Description" id="description"/>
- <nextmatch-filterheader label="Application" id="app" options=","/>
- <nextmatch-accountfilter label="Owner" id="owner" options="all,both"/>
- <nextmatch-filterheader label="Private" id="access" options="All"/>
- <nextmatch-header align="center" label="Icon" id="icon"/>
- <nextmatch-header label="Color" id="color"/>
- <nextmatch-sortheader label="Modified" id="last_mod"/>
- <nextmatch-header align="center" label="Children" id="subs"/>
- <nextmatch-header label="Actions" id="legacy_actions"/>
</row>
<row class="$row_cont[id] $row_cont[class]">
- <hbox options="0,0">
- <html id="${row}[level_spacer]"/>
- <description id="${row}[name]" class="$row_cont[class]"/>
- </hbox>
- <description id="${row}[description]"/>
- <menulist>
- <menupopup id="${row}[appname]" readonly="true"/>
- </menulist>
- <menulist>
- <menupopup type="select-account" id="${row}[owner]" readonly="true" options="All users,groups"/>
- </menulist>
- <checkbox align="center" id="${row}[access]" readonly="true" options="private,public"/>
- <image align="center" label="{$row_cont[data][icon]}" src="${row}[icon_url]"/>
- <description id="${row}[data][color]"/>
- <date-time id="${row}[last_mod]" readonly="true"/>
- <description align="center" id="${row}[subs]"/>
- <hbox options="0,0">
- <buttononly label="Edit" id="edit[$row_cont[id]]" onclick="window.open(egw::link('/index.php','menuaction={$cont[edit_link]}&cat_id=$row_cont[id]&appname=$cont[appname]'),'_blank','dependent=yes,width=600,height=380,scrollbars=yes,status=yes'); return false;" options="edit"/>
- <buttononly label="Add sub" id="add[$row_cont[id]]" onclick="window.open(egw::link('/index.php','menuaction=$cont[edit_link]&parent=$row_cont[id]&appname=$cont[appname]'),'_blank','dependent=yes,width=600,height=380,scrollbars=yes,status=yes'); return false;" options="new"/>
- <buttononly statustext="Delete this category" label="Delete" id="delete[$row_cont[id]]" onclick="document.getElementById('exec[delete][cat_id]').value='$row_cont[id]'; set_style_by_class('tr','confirmSubs','visibility','$row_cont[children]'?'visible':'collapse'); set_style_by_class('fieldset','confirmDelete','display','block'); return false;" options="delete" class="leftPad5"/>
- </hbox>
+ <description class=" cat_$row_cont[cat_id] mobile_cat_col"/>
+ <vbox>
+ <hbox options="0,0">
+ <html id="${row}[level_spacer]"/>
+ <description id="${row}[name]" class="$row_cont[class]"/>
+
+ </hbox>
+ <description id="${row}[description]"/>
+ <hbox>
+ <hbox>
+ <menulist>
+ <menupopup type="select-account" id="${row}[owner]" readonly="true" options="All users,groups"/>
+ </menulist>
+ </hbox>
+
+ <hbox align="right">
+ <menulist>
+ <menupopup id="${row}[appname]" readonly="true"/>
+ </menulist>
+ </hbox>
+
+ </hbox>
+
+ </vbox>
+ <vbox>
+ <image align="center" label="{$row_cont[data][icon]}" src="${row}[icon_url]"/>
+ <checkbox align="center" id="${row}[access]" readonly="true" options="private,public" disabled="@no_access"/>
+ <date-time id="${row}[last_mod]" readonly="true"/>
+ <description align="center" id="${row}[subs]"/>
+ </vbox>
</row>
</rows>
</grid>
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z