Mobile theme W.I.P:

- Fix admin account tab
- Switch category tree to taglist-cat for addressbook
This commit is contained in:
Hadi Nategh 2016-03-04 13:54:29 +00:00
parent 34c2ed32b9
commit 64cd481e98
7 changed files with 105 additions and 65 deletions

View File

@ -136,10 +136,18 @@
<column width="600"/>
</columns>
<rows>
<row>
<description for="category" value="Categories"/>
<taglist-cat id="category" class="et2_fullWidth" empty_label="Select categories"/>
</row>
<row>
<description value="Notes"/>
<textbox multiline="true" id="note" rows="10" resize_ratio="0" class="et2_fullWidth" height="200"/>
</row>
<row>
<description for="pubkey" value="Public key"/>
<textbox multiline="true" id="pubkey" rows="4" resize_ratio="0" class="et2_fullWidth"/>
</row>
<row disabled="@hidebuttons">
<description value="Last date"/>
<link id="last_link"/>
@ -148,16 +156,6 @@
<description value="Next date"/>
<link id="next_link"/>
</row>
<row>
<description for="pubkey" value="Public key"/>
<textbox multiline="true" id="pubkey" rows="4" resize_ratio="0" class="et2_fullWidth"/>
</row>
<row disabled="!@cat_tab=Tree">
<tree-cat id="cat_id_tree" options="13,,width:99%"/>
</row>
<row disabled="@cat_tab=Tree">
<listbox type="select-cat" id="cat_id" rows="11"/>
</row>
</rows>
</grid>
</template>

View File

@ -60,11 +60,23 @@
</grid>
</template>
<template id="admin.acl" template="" lang="" group="0" version="1.9.001">
<vbox>
<nextmatch id="nm" template="admin.acl.rows" header_left="admin.acl.add"/>
<hbox class="dialogFooterToolbar">
<grid width="100%">
<columns>
<column width="100%"/>
</columns>
<rows>
<row class="dialogHeader">
<description value="Access control" class=""/>
</row>
<row>
<nextmatch id="nm" template="admin.acl.rows" header_left="admin.acl.add" height="400"/>
</row>
<row class="dialogFooterToolbar">
<hbox>
<button label="Close" id="cancel" onclick="window.close();"/>
</hbox>
</vbox>
</row>
</rows>
</grid>
</template>
</overlay>

View File

@ -15,10 +15,10 @@
</row>
<row>
<description value="Expires" for="account_expires"/>
<hbox>
<vbox>
<date id="account_expires"/>
<checkbox id="account_status" selected_value="A" label="Account active"/>
</hbox>
</vbox>
</row>
<row>
<description value="Password" for="account_passwd"/>

View File

@ -0,0 +1,33 @@
/**
*
* Admin - Mobile
*
* Please do NOT change app.css directly, instead change app.less and compile it!
* Pixleegg Template app.css
* @link http://www.egroupware.org
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @author Hadi Nategh <hn@stylite.de>
* @package admin
* @version $Id: app.less 55033 2016-02-16 18:49:17Z hnategh $
*/
/* tablets and smartphones */
@media all {
#admin-index table.egwGridView_outer tbody span[id^="admin-index"][id$='status]'] {
text-align: right;
font-size: 10pt;
}
#admin-index table.egwGridView_outer tbody .adminCol2 {
float: right;
}
#admin-index table.egwGridView_outer tbody .adminCol2 div {
text-align: right;
}
#admin-index table.egwGridView_outer tbody span[id^="admin-index"][id$='account_lid]'] {
font-weight: bold;
font-size: 12pt;
}
#admin-index table.egwGridView_outer tbody span[id^="admin-index"][id$='account_lastname]']::after {
content: ",";
font-size: 10pt;
}
}

View File

@ -0,0 +1,40 @@
/**
*
* Admin - Mobile
*
* Please do NOT change app.css directly, instead change app.less and compile it!
* Pixleegg Template app.css
* @link http://www.egroupware.org
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @author Hadi Nategh <hn@stylite.de>
* @package admin
* @version $Id: app.less 55033 2016-02-16 18:49:17Z hnategh $
*/
@import (reference) "../../../pixelegg/less/definitions.less";
@import (reference) "../../../pixelegg/less/def_mobile.less";
/* tablets and smartphones */
@media all {
#admin-index {
table.egwGridView_outer tbody {
span[id^="admin-index"][id$='status]']{
text-align: right;
.mob-fontsize-n;
}
.adminCol2 {
float: right;
div {
text-align: right;
}
}
span[id^="admin-index"][id$='account_lid]']{
font-weight: bold;
.mob-fontsize-l;
}
span[id^="admin-index"][id$='account_lastname]']::after{
content:",";
.mob-fontsize-n;
}
}
}
}

View File

@ -18,7 +18,7 @@
* @package etemplate
* @link http://www.egroupware.org
* @author Ralf Becker <RalfBecker@outdoor-training.de>
* @version $Id: app.css 53026 2015-07-01 18:35:24Z ralfbecker $
* @version $Id: app.css 55140 2016-02-25 08:42:33Z ralfbecker $
*/
.admin_tree table,
.admin_tree tr,
@ -168,22 +168,3 @@ td.admin_userAgent span {
# #
##############################################*/
}
/* tablets and smartphones */
@media only screen and (max-device-width: 1024px) {
#admin-index table.egwGridView_outer tbody span[id^="admin-index"][id$='status]'] {
text-align: right;
font-size: 9pt;
}
#admin-index table.egwGridView_outer tbody .adminCol2 {
float: right;
}
#admin-index table.egwGridView_outer tbody .adminCol2 div {
text-align: right;
}
#admin-index table.egwGridView_outer tbody span[id^="admin-index"][id$='account_lid]'] {
font-weight: bold;
}
#admin-index table.egwGridView_outer tbody span[id^="admin-index"][id$='account_lastname]']::after {
content: ",";
}
}

View File

@ -125,27 +125,3 @@ iframe#admin-index_iframe{
} // Media
//
//
/* tablets and smartphones */
@media only screen and (max-device-width:1024px) {
#admin-index {
table.egwGridView_outer tbody {
span[id^="admin-index"][id$='status]']{
text-align: right;
.mob-fontsize-s;
}
.adminCol2 {
float: right;
div {
text-align: right;
}
}
span[id^="admin-index"][id$='account_lid]']{
font-weight: bold;
}
span[id^="admin-index"][id$='account_lastname]']::after{
content:",";
}
}
}
}