more sai style fixes, reload on sessionend
This commit is contained in:
parent
d63a017d57
commit
a85dcfe22a
@ -1,5 +1,3 @@
|
||||
<h3>Api Tables</h3>
|
||||
<br>
|
||||
<div class="tabbable">
|
||||
<ul class="nav nav-tabs" id="localetab">
|
||||
${tabopts}
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
<h3>Documentation</h3>
|
||||
<br>
|
||||
<div class="tabbable">
|
||||
<ul class="nav nav-tabs" id="documaintab">
|
||||
${tabopts}
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
<h3>Locale String <input type="submit" value="Add" class="btn content_add"></h3>
|
||||
<br>
|
||||
<div class="tabbable">
|
||||
<ul class="nav nav-tabs" id="localetab">
|
||||
${tabopts}
|
||||
<input type="submit" value="Add" class="btn content_add" style="margin-left: 15px;">
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
${tabs}
|
||||
|
||||
@ -40,7 +40,7 @@ class saimod_sys_log extends \SYSTEM\SAI\SaiModule {
|
||||
|
||||
$now = microtime(true);
|
||||
|
||||
$result = '<div id="table-wrapper"><table class="table table-hover table-condensed" style="overflow: auto;">'.
|
||||
$result = '<div id="table-wrapper"><table class="table table-hover table-condensed">'.
|
||||
'<tr>'.'<th>'.'time ago'.'</th>'.'<th>'.'time'.'</th>'.'<th>'.'class'.'</th>'.'<th>'.'message'.'</th>'.'<th>'.'code'.'</th>'.'<th>'.'file'.'</th>'.'<th>'.'line'.'</th>'.'<th>'.'ip'.'</th>'.'<th>'.'querytime'.'</tr>';
|
||||
while($r = $res->next()){
|
||||
//TODO make time conversion on database
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
namespace SYSTEM\SAI;
|
||||
|
||||
abstract class SaiModule extends \SYSTEM\API\api_login{
|
||||
abstract class SaiModule extends \SYSTEM\API\api_system{
|
||||
public static function default_page(){
|
||||
$sai = new \SYSTEM\SAI\default_page();
|
||||
return $sai->html();}
|
||||
|
||||
@ -21,7 +21,7 @@ class saigui extends \SYSTEM\PAGE\Page {
|
||||
\call_user_func(array($classname, 'right_right')))){
|
||||
return \SYSTEM\API\api::run('\SYSTEM\API\verify', $classname , $pg, 42, false, false);
|
||||
} else {
|
||||
return "Could not find Module";}
|
||||
return '<meta http-equiv="refresh" content="5">You are no longer logged in. Page reload in 5sec...';}
|
||||
} else {
|
||||
return \SYSTEM\API\api::run('\SYSTEM\API\verify', '\SYSTEM\SAI\SaiModule', array(), 42, false, true);}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user