Merge branch 'master' of github.com:gebhardtdasense/system into newapi

This commit is contained in:
Ulf Gebhardt 2013-12-06 14:30:08 +01:00
commit 04f1264895
7 changed files with 9 additions and 12 deletions

View File

@ -1,5 +1,3 @@
<h3>Api Tables</h3>
<br>
<div class="tabbable">
<ul class="nav nav-tabs" id="localetab">
${tabopts}

View File

@ -1,5 +1,3 @@
<h3>Documentation</h3>
<br>
<div class="tabbable">
<ul class="nav nav-tabs" id="documaintab">
${tabopts}

View File

@ -1,8 +1,10 @@
<tr>
<td style="padding-bottom: 5px;">
${id}<br><br>
<input type="submit" class="btn-danger content_delete" value="delete" name="${id}">
<input type="submit" class="btn content_edit" value="edit" style="margin-left: 3px;" name="${id}">
${id}
<div style="float:right;">
<input type="submit" class="btn-danger content_delete" value="delete" name="${id}">
<input type="submit" class="btn content_edit" value="edit" style="margin-left: 3px;" name="${id}">
</div>
</td>
<td>${category}</td>
${content}

View File

@ -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}

View File

@ -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

View File

@ -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();}

View File

@ -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);}
}