|
|
@@ -239,7 +239,11 @@ class Route_Debug extends RouteBase {
|
|
|
// UI::menu();
|
|
|
UI::setTitle("Debug");
|
|
|
echo UI::h('div', ['class'=>'container'], [
|
|
|
- UI::h('a', ['href'=>$this->getLink()], "wróć")
|
|
|
+ UI::h('a', ['href'=>$this->getLink()], "wróć"),
|
|
|
+ UI::h('span', ['style'=>'padding:0 6px'], "|"),
|
|
|
+ UI::h('span', ['class' => 'label label-'.(DBG::isActive() ? "success" : "danger")], "(Debug - " . (DBG::isActive() ? "włączony" : "wyłączony") . ") "),
|
|
|
+ UI::h('span', ['style'=>'padding:0 6px'], "|"),
|
|
|
+ UI::h('button', ['onClick'=>'location.reload()', 'class'=>"btn btn-xs btn-default"], "odśwież"),
|
|
|
]);
|
|
|
try {
|
|
|
$filerUser = V::get('user', '', $_REQUEST);// TODO: show another user debug
|