2013-11-05 16:14:30 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @group buildbot
|
|
|
|
|
*/
|
|
|
|
|
final class PhabricatorBuildbotController extends PhabricatorController {
|
|
|
|
|
|
|
|
|
|
public function shouldAllowPublic() {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function processRequest() {
|
|
|
|
|
|
|
|
|
|
$html = '
|
|
|
|
|
<script type="text/javascript">
|
2014-07-20 03:11:59 +06:00
|
|
|
window.location = "https://builder.blender.org/download";
|
2013-11-05 16:14:30 +01:00
|
|
|
</script>
|
2014-07-20 03:11:59 +06:00
|
|
|
See <a href="https://builder.blender.org/download">builder.blender.org</a>.';
|
2013-11-05 16:14:30 +01:00
|
|
|
|
2015-05-18 15:27:46 +05:00
|
|
|
$panel = new PHUIObjectBoxView();
|
2013-11-05 16:14:30 +01:00
|
|
|
$panel->appendChild(phutil_safe_html($html));
|
|
|
|
|
|
|
|
|
|
$content = array(
|
|
|
|
|
$panel
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
$crumbs = $this->buildApplicationCrumbs();
|
|
|
|
|
|
|
|
|
|
return $this->buildApplicationPage(
|
|
|
|
|
array(
|
|
|
|
|
$crumbs,
|
|
|
|
|
$panel,
|
|
|
|
|
),
|
|
|
|
|
array(
|
|
|
|
|
'title' => 'Buildbot',
|
|
|
|
|
'device' => true,
|
|
|
|
|
));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|