Mobile theme W.I.P:

- Drop timesheet index columns into 2 columns
This commit is contained in:
Hadi Nategh 2016-03-04 14:21:39 +00:00
parent 64cd481e98
commit c866e15bb6
3 changed files with 18 additions and 22 deletions

View File

@ -14,7 +14,6 @@
@media only screen and (max-device-width: 1024px) {
#timesheet-index table.egwGridView_outer tbody label[id^='timesheet-index'][id$='ts_start]'] > time {
font-weight: bold;
float: left;
}
#timesheet-index table.egwGridView_outer tbody ul[id^='timesheet-index'][id$='ts_owner]'] > li {
overflow: hidden;
@ -32,8 +31,9 @@
font-size: 10pt;
}
#timesheet-index table.egwGridView_outer tbody span[id^='timesheet-index'][id$='ts_description]'] {
height: 30px;
height: 19px;
white-space: nowrap;
line-height: 18px;
overflow: hidden;
text-overflow: ellipsis;
font-size: 10pt;

View File

@ -20,7 +20,6 @@
table.egwGridView_outer tbody {
label[id^='timesheet-index'][id$='ts_start]'] > time{
font-weight: bold;
float: left;
}
ul[id^='timesheet-index'][id$='ts_owner]'] > li {
overflow: hidden;
@ -38,8 +37,9 @@
.mob-fontsize-n;
}
span[id^='timesheet-index'][id$='ts_description]'] {
height: 30px;
height: 19px;
white-space: nowrap;
line-height: 18px;
overflow: hidden;
text-overflow: ellipsis;
.mob-fontsize-n;

View File

@ -17,9 +17,8 @@
<grid width="100%">
<columns>
<column width="10"/>
<column width="80%" />
<column width="110"/>
<column width="90%" />
<column width="60"/>
</columns>
<rows>
<row class="th">
@ -27,27 +26,24 @@
</row>
<row class="$row_cont[class] timesheetRow">
<description class=" cat_$row_cont[cat_id] mobile_cat_col"/>
<vbox>
<date-time id="${row}[ts_start]" readonly="true" options=",8"/>
<menulist class="$cont[ownerClass]">
<menupopup type="select-account" id="${row}[ts_owner]" readonly="true"/>
</menulist>
<menulist class="noWrap">
<menupopup type="select-cat" id="${row}[cat_id]" readonly="true"/>
</menulist>
</vbox>
<vbox>
<description id="${row}[ts_title]" no_lang="1" class="ts_title $row_cont[titleClass]"/>
<description id="${row}[ts_description]" class="ts_description" no_lang="1"/>
<link id="${row}[ts_link]" no_lang="1"/>
</vbox>
<vbox class="timesheet3Col">
<date-duration id="${row}[ts_duration]" readonly="true" options=",h,,,1" align="right"/>
<textbox type="float" id="${row}[ts_quantity]" no_lang="1" readonly="true" precision="3"/>
<textbox type="float" id="${row}[ts_total]" no_lang="1" readonly="true" precision="2"/>
<menulist>
<menupopup id="${row}[ts_status]" readonly="true"/>
<hbox>
<time_or_date id="${row}[ts_start]" readonly="true" options=",8" align="left"/>
</hbox>
<hbox>
<menulist class="$cont[ownerClass]">
<menupopup type="select-account" id="${row}[ts_owner]" readonly="true"/>
</menulist>
</hbox>
<hbox>
<date-duration id="${row}[ts_duration]" readonly="true" options=",h,,,1"/>
</hbox>
</vbox>
</row>
</rows>