'dark-console-realtime-log', 'class' => 'dark-console-log-frame', )); $reconnect_label = pht('Reconnect'); $replay_label = pht('Replay'); $repaint_label = pht('Repaint'); $buttons = phutil_tag( 'div', array( 'class' => 'dark-console-realtime-actions', ), array( id(new PHUIButtonView()) ->setIcon('fa-refresh') ->setColor(PHUIButtonView::GREY) ->setText($reconnect_label) ->addSigil('dark-console-realtime-action') ->setMetadata( array( 'action' => 'reconnect', 'label' => $reconnect_label, )), id(new PHUIButtonView()) ->setIcon('fa-backward') ->setColor(PHUIButtonView::GREY) ->setText($replay_label) ->addSigil('dark-console-realtime-action') ->setMetadata( array( 'action' => 'replay', 'label' => $replay_label, )), id(new PHUIButtonView()) ->setIcon('fa-paint-brush') ->setColor(PHUIButtonView::GREY) ->setText($repaint_label) ->addSigil('dark-console-realtime-action') ->setMetadata( array( 'action' => 'repaint', 'label' => $repaint_label, )), )); return phutil_tag( 'div', array( 'class' => 'dark-console-realtime', ), array( $buttons, $frame, )); } }