41 lines
792 B
PHP
41 lines
792 B
PHP
<?php
|
|
|
|
/**
|
|
* @group buildbot
|
|
*/
|
|
final class PhabricatorBuildbotController extends PhabricatorController {
|
|
|
|
public function shouldAllowPublic() {
|
|
return true;
|
|
}
|
|
|
|
public function processRequest() {
|
|
|
|
$html = '
|
|
<script type="text/javascript">
|
|
window.location = "https://builder.blender.org/download";
|
|
</script>
|
|
See <a href="https://builder.blender.org/download">builder.blender.org</a>.';
|
|
|
|
$panel = new PHUIObjectBoxView();
|
|
$panel->appendChild(phutil_safe_html($html));
|
|
|
|
$content = array(
|
|
$panel
|
|
);
|
|
|
|
$crumbs = $this->buildApplicationCrumbs();
|
|
|
|
return $this->buildApplicationPage(
|
|
array(
|
|
$crumbs,
|
|
$panel,
|
|
),
|
|
array(
|
|
'title' => 'Buildbot',
|
|
'device' => true,
|
|
));
|
|
}
|
|
|
|
}
|