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 layout on blocked page #2090

Merged
merged 1 commit into from
Jun 30, 2022
Merged
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
33 changes: 16 additions & 17 deletions www/blocked.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,22 @@
<?php $gaTemplate = 'Blocked'; include ('head.inc'); ?>
</head>
<body>
<div class="page">
<?php
include 'header.inc';
?>
<?php
include 'header.inc';
?>
<main>
<div class="translucent">
<h1>Oops...</h1>
<p>Your test request was intercepted by our abuse filters (or because we need to talk to you about how you are submitting tests or the volume of tests you are submitting).
<br><br>Most free web hosts have been blocked from testing because of excessive link spam and YouTube has also been blocked due to spammers abusing WebPageTest to inflate video views.
If you are trying to test with an URL-shortener (t.co, goo.gl, bit.ly, etc) then those are also blocked, please test the URL directly.
<?php if(GetSetting('contact')) echo '<br><br>If there is a site you want tested that was blocked, please <a href="mailto:' . GetSetting('contact') . '">contact us</a>'. ' and send us your IP address (below) and URL that you are trying to test'; ?>.</p>
<p>
Your IP address: <b><?php echo $_SERVER['REMOTE_ADDR']; ?></b><br>
</p>
</div>

<div class="translucent">
<h1>Oops...</h1>
<p>Your test request was intercepted by our abuse filters (or because we need to talk to you about how you are submitting tests or the volume of tests you are submitting).
<br><br>Most free web hosts have been blocked from testing because of excessive link spam and YouTube has also been blocked due to spammers abusing WebPageTest to inflate video views.
If you are trying to test with an URL-shortener (t.co, goo.gl, bit.ly, etc) then those are also blocked, please test the URL directly.
<?php if(GetSetting('contact')) echo '<br><br>If there is a site you want tested that was blocked, please <a href="mailto:' . GetSetting('contact') . '">contact us</a>'. ' and send us your IP address (below) and URL that you are trying to test'; ?>.</p>
<p>
Your IP address: <b><?php echo $_SERVER['REMOTE_ADDR']; ?></b><br>
</p>
</div>

<?php include('footer.inc'); ?>
</div>
<?php include('footer.inc'); ?>
</main>
</body>
</html>