Author: hnategh
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
— 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;
- }
}
— 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;
- }
-
}
— 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 @@
-
<column width="90"/>
-
<column width="300"/>
-
<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 @@
@@ -69,10 +77,10 @@
@@ -80,23 +88,14 @@
-
<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"/>
-
— 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 @@
-
<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
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs