Skip to content

Commit 41741b2

Browse files
committed
Update bootstrap
1 parent 65a2493 commit 41741b2

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

Examples/View.php

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,10 @@
4242
<meta charset="utf-8">
4343
<title>Source Query PHP Library</title>
4444

45-
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
45+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
4646
<style type="text/css">
47-
.jumbotron {
48-
margin-top: 30px;
49-
border-radius: 0;
47+
.table {
48+
border-top-color: #428BCA;
5049
}
5150

5251
.table thead th {
@@ -58,19 +57,21 @@
5857
</head>
5958

6059
<body>
61-
<div class="container">
62-
<div class="jumbotron">
60+
<div class="jumbotron">
61+
<div class="container">
6362
<h1>Source Query PHP Library</h1>
6463

65-
<p>This library was created to query game server which use the Source (Steamworks) query protocol.</p>
64+
<p class="lead">This library was created to query game server which use the Source (Steamworks) query protocol.</p>
6665

6766
<p>
68-
<a class="btn btn-large btn-primary" href="http://xpaw.me">Made by xPaw</a>
67+
<a class="btn btn-large btn-primary" href="https://xpaw.me">Made by xPaw</a>
6968
<a class="btn btn-large btn-primary" href="https://github.com/xPaw/PHP-Source-Query">View on GitHub</a>
7069
<a class="btn btn-large btn-danger" href="https://github.com/xPaw/PHP-Source-Query/blob/master/LICENSE">LGPL v2.1</a>
7170
</p>
7271
</div>
72+
</div>
7373

74+
<div class="container">
7475
<?php if( isset( $Exception ) ): ?>
7576
<div class="panel panel-primary">
7677
<div class="panel-heading"><?php echo Get_Class( $Exception ); ?> at line <?php echo $Exception->getLine( ); ?></div>
@@ -83,7 +84,8 @@
8384
<table class="table table-bordered table-striped">
8485
<thead>
8586
<tr>
86-
<th colspan="2">Server Info <span class="label label-<?php echo $Timer > 1.0 ? 'danger' : 'success'; ?>"><?php echo $Timer; ?>s</span></th>
87+
<th>Server Info</th>
88+
<th><span class="label label-<?php echo $Timer > 1.0 ? 'danger' : 'success'; ?>"><?php echo $Timer; ?>s</span></th>
8789
</tr>
8890
</thead>
8991
<tbody>
@@ -134,7 +136,7 @@
134136
</tr>
135137
</thead>
136138
<tbody>
137-
<?php if( Is_Array( $Players ) ): ?>
139+
<?php if( !empty( $Players ) ): ?>
138140
<?php foreach( $Players as $Player ): ?>
139141
<tr>
140142
<td><?php echo htmlspecialchars( $Player[ 'Name' ] ); ?></td>

0 commit comments

Comments
 (0)