1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 19:32:40 +01:00
phorge-phorge/src/applications/console/plugin/DarkConsoleRealtimePlugin.php
epriestley f394fefe6f Add a very basic "Realtime" log to DarkConsole
Summary: Ref T12568. This begins building toward a more useful realtime debugging console for Leader/Aphlict/general realtime stuff.

Test Plan: {F4911521}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12568

Differential Revision: https://secure.phabricator.com/D17701
2017-04-17 15:46:31 -07:00

26 lines
488 B
PHP

<?php
final class DarkConsoleRealtimePlugin extends DarkConsolePlugin {
public function getName() {
return pht('Realtime');
}
public function getColor() {
return null;
}
public function getDescription() {
return pht('Debugging console for real-time notifications.');
}
public function renderPanel() {
return phutil_tag(
'div',
array(
'id' => 'dark-console-realtime-log',
'class' => 'dark-console-log-frame',
));
}
}