Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix white on white header in runtest errors #2935

Merged
merged 1 commit into from
Jun 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions www/assets/css/pagestyle2.css
Original file line number Diff line number Diff line change
Expand Up @@ -5384,6 +5384,7 @@ label.test_preset_profile {
max-width: 34rem;
margin: 0 auto;
padding: 3rem;
margin-top: 3rem;
}

.testerror h1 {
Expand Down
2 changes: 2 additions & 0 deletions www/runtest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1414,6 +1414,7 @@ function buildSelfHost($hosts)
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
echo json_encode($ret);
} else {
$body_class = 'common';
$tpl = new Template('errors');
if ($error == 'Not enough runs available') {
echo $tpl->render('runlimit');
Expand Down Expand Up @@ -1445,6 +1446,7 @@ function buildSelfHost($hosts)
header("Content-type: application/json");
echo json_encode($ret);
} elseif (strlen($error)) {
$body_class = 'common';
$tpl = new Template('errors');
if ($error == 'Not enough runs available') {
echo $tpl->render('runlimit');
Expand Down
1 change: 1 addition & 0 deletions www/templates/layouts/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
global $page_description;
global $cdnPath;
global $support_link;
global $body_class;

$page_title ??= 'WebPageTest';
$body_class = $body_class ? ' class="' . $body_class . '"' : '';
Expand Down