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> <thead>
<tr> <tr>
<th><?php lang('actions'); ?></th> <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> </tr>
</thead> </thead>
<tbody> <tbody>

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

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