Hide table column icons on small screens to save space

master
Skylar Ittner 7 years ago
parent 9e8cffa394
commit 98a8732c0f

@ -10,7 +10,7 @@ redirectifnotloggedin();
<thead>
<tr>
<th><?php lang('actions'); ?></th>
<th><i class="fa fa-archive"></i> <?php lang('category'); ?></th>
<th><i class="fa fa-archive hidden-xs"></i> <?php lang('category'); ?></th>
</tr>
</thead>
<tbody>

@ -13,17 +13,17 @@ redirectifnotloggedin();
<tr>
<th data-priority="0"></th>
<th data-priority="1"><?php lang('actions'); ?></th>
<th data-priority="1"><i class="fa fa-fw fa-cube"></i> <?php lang('name'); ?></th>
<th data-priority="4"><i class="fa fa-fw fa-archive"></i> <?php lang('category'); ?></th>
<th data-priority="2"><i class="fa fa-fw fa-map-marker"></i> <?php lang('location'); ?></th>
<th data-priority="3"><i class="fa fa-fw fa-barcode"></i> <?php lang('code 1'); ?></th>
<th data-priority="4"><i class="fa fa-fw fa-qrcode"></i> <?php lang('code 2'); ?></th>
<th data-priority="3"><i class="fa fa-fw fa-hashtag"></i> <?php lang('qty'); ?></th>
<th data-priority="3"><i class="fa fa-fw fa-user"></i> <?php lang('assigned to'); ?></th>
<th data-priority="1"><i class="fa fa-fw fa-cube hidden-xs"></i> <?php lang('name'); ?></th>
<th data-priority="4"><i class="fa fa-fw fa-archive hidden-xs"></i> <?php lang('category'); ?></th>
<th data-priority="2"><i class="fa fa-fw fa-map-marker hidden-xs"></i> <?php lang('location'); ?></th>
<th data-priority="3"><i class="fa fa-fw fa-barcode hidden-xs"></i> <?php lang('code 1'); ?></th>
<th data-priority="4"><i class="fa fa-fw fa-qrcode hidden-xs"></i> <?php lang('code 2'); ?></th>
<th data-priority="3"><i class="fa fa-fw fa-hashtag hidden-xs"></i> <?php lang('qty'); ?></th>
<th data-priority="3"><i class="fa fa-fw fa-user hidden-xs"></i> <?php lang('assigned to'); ?></th>
</tr>
</thead>
<tbody>
<?php
<?php /*
$items = $database->select('items', [
'[>]categories' => ['catid' => 'catid'],
'[>]locations' => ['locid' => 'locid']
@ -63,20 +63,20 @@ redirectifnotloggedin();
<td><?php echo $user; ?></td>
</tr>
<?php
}
} */
?>
</tbody>
<tfoot>
<tr>
<th></th>
<th><?php lang('actions'); ?></th>
<th><i class="fa fa-fw fa-cube"></i> <?php lang('name'); ?></th>
<th><i class="fa fa-fw fa-archive"></i> <?php lang('category'); ?></th>
<th><i class="fa fa-fw fa-map-marker"></i> <?php lang('location'); ?></th>
<th><i class="fa fa-fw fa-barcode"></i> <?php lang('code 1'); ?></th>
<th><i class="fa fa-fw fa-qrcode"></i> <?php lang('code 2'); ?></th>
<th><i class="fa fa-fw fa-hashtag"></i> <?php lang('qty'); ?></th>
<th><i class="fa fa-fw fa-user"></i> <?php lang('assigned to'); ?></th>
<th data-priority="0"></th>
<th data-priority="1"><?php lang('actions'); ?></th>
<th data-priority="1"><i class="fa fa-fw fa-cube hidden-xs"></i> <?php lang('name'); ?></th>
<th data-priority="4"><i class="fa fa-fw fa-archive hidden-xs"></i> <?php lang('category'); ?></th>
<th data-priority="2"><i class="fa fa-fw fa-map-marker hidden-xs"></i> <?php lang('location'); ?></th>
<th data-priority="3"><i class="fa fa-fw fa-barcode hidden-xs"></i> <?php lang('code 1'); ?></th>
<th data-priority="4"><i class="fa fa-fw fa-qrcode hidden-xs"></i> <?php lang('code 2'); ?></th>
<th data-priority="3"><i class="fa fa-fw fa-hashtag hidden-xs"></i> <?php lang('qty'); ?></th>
<th data-priority="3"><i class="fa fa-fw fa-user hidden-xs"></i> <?php lang('assigned to'); ?></th>
</tr>
</tfoot>
</table>

@ -11,9 +11,9 @@ redirectifnotloggedin();
<tr>
<th data-priority="0"></th>
<th data-priority="1"><?php lang('actions'); ?></th>
<th data-priority="1"><i class="fa fa-map-marker"></i> <?php lang('location'); ?></th>
<th data-priority="2"><i class="fa fa-barcode"></i> <?php lang('code'); ?></th>
<th data-priority="3"><i class="fa fa-hashtag"></i> <?php lang('item count'); ?></th>
<th data-priority="1"><i class="fa fa-map-marker hidden-xs"></i> <?php lang('location'); ?></th>
<th data-priority="2"><i class="fa fa-barcode hidden-xs"></i> <?php lang('code'); ?></th>
<th data-priority="3"><i class="fa fa-hashtag hidden-xs"></i> <?php lang('item count'); ?></th>
</tr>
</thead>
<tbody>
@ -41,11 +41,11 @@ redirectifnotloggedin();
</tbody>
<tfoot>
<tr>
<th></th>
<th><?php lang('actions'); ?></th>
<th><i class="fa fa-map-marker"></i> <?php lang('location'); ?></th>
<th><i class="fa fa-barcode"></i> <?php lang('code'); ?></th>
<th><i class="fa fa-hashtag"></i> <?php lang('item count'); ?></th>
<th data-priority="0"></th>
<th data-priority="1"><?php lang('actions'); ?></th>
<th data-priority="1"><i class="fa fa-map-marker hidden-xs"></i> <?php lang('location'); ?></th>
<th data-priority="2"><i class="fa fa-barcode hidden-xs"></i> <?php lang('code'); ?></th>
<th data-priority="3"><i class="fa fa-hashtag hidden-xs"></i> <?php lang('item count'); ?></th>
</tr>
</tfoot>
</table>
Loading…
Cancel
Save