Skip to content

Commit aaa5106

Browse files
committed
Make label wider on packet index
1 parent 4326a4d commit aaa5106

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/templates/Packet/Index.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ require('./header.inc.phtml');
5050
} ?>>User Id (Descending)</option>
5151
</select>
5252
</div>
53-
<table><thead><tr><th colspan="3">Packet Types</th></tr></thead><tbody>
53+
<table><thead><tr><th colspan="6">Packet Types</th></tr></thead><tbody>
5454
<?php $x = 0; foreach ($this->getContext()->application_layers as $layer) {
5555
$id = 'pktapplayer-' . $layer->getId();
5656
$chk = in_array( $layer->getId(), $this->getContext()->pktapplayer );
5757
if ( $x % 3 == 0 ) { ?>
5858
<tr>
5959
<?php } ?>
60-
<td><input type="checkbox" name="pktapplayer[]" id="<?php echo $id; ?>" value="<?php echo $layer->getId(); ?>"<?php if ($chk) { ?> checked="checked"<?php } ?>> <label for="<?php echo $id; ?>"><?php echo $layer->getTag(); ?></label></td>
60+
<td style="width:20px;"><input type="checkbox" name="pktapplayer[]" id="<?php echo $id; ?>" value="<?php echo $layer->getId(); ?>"<?php if ($chk) { ?> checked="checked"<?php } ?>></td><td><label style="display:inline-block;" for="<?php echo $id; ?>"><?php echo $layer->getTag(); ?></label></td>
6161
<?php if ( $x % 3 == 2 ) { ?>
6262
</tr>
6363
<?php } ?>

0 commit comments

Comments
 (0)