mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 20:57:26 +02:00
Admin GUI display fixes for iPad
This commit is contained in:
@@ -227,8 +227,8 @@ EOF;
|
|||||||
|
|
||||||
|
|
||||||
$panelOnline = "
|
$panelOnline = "
|
||||||
|
|
||||||
<table class='table table-condensed adminlist'>
|
<table class='table table-condensed table-striped' style='width:96%;margin-left:auto;margin-right:auto'>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col style='width: 10%' />
|
<col style='width: 10%' />
|
||||||
<col style='width: 25%' />
|
<col style='width: 25%' />
|
||||||
@@ -250,14 +250,14 @@ EOF;
|
|||||||
$online = $ol->userList() + $ol->guestList();
|
$online = $ol->userList() + $ol->guestList();
|
||||||
|
|
||||||
// echo "Users: ".print_a($online);
|
// echo "Users: ".print_a($online);
|
||||||
|
|
||||||
foreach ($online as $val)
|
foreach ($online as $val)
|
||||||
{
|
{
|
||||||
$panelOnline .= "<tr>
|
$panelOnline .= "<tr>
|
||||||
<td class='nowrap'>".e107::getDateConvert()->convert_date($val['user_currentvisit'],'%H:%M:%S')."</td>
|
<td class='nowrap'>".e107::getDateConvert()->convert_date($val['user_currentvisit'],'%H:%M:%S')."</td>
|
||||||
<td>".$this->renderOnlineName($val['online_user_id'])."</td>
|
<td>".$this->renderOnlineName($val['online_user_id'])."</td>
|
||||||
<td>".e107::getIPHandler()->ipDecode($val['user_ip'])."</td>
|
<td>".e107::getIPHandler()->ipDecode($val['user_ip'])."</td>
|
||||||
<td><a class='e-tip' href='".$val['user_location']."' title='".$val['user_location']."'>".basename($val['user_location'])."</a></td>
|
<td><a class='e-tip' href='".$val['user_location']."' title='".$val['user_location']."'>".$tp->html_truncate(basename($val['user_location']),50,"...")."</a></td>
|
||||||
<td class='center'><a class='e-tip' href='#' title='".$val['user_agent']."'>".$this->browserIcon($val)."</a></td>
|
<td class='center'><a class='e-tip' href='#' title='".$val['user_agent']."'>".$this->browserIcon($val)."</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
";
|
";
|
||||||
|
@@ -2,7 +2,8 @@
|
|||||||
if ( ! defined('e107_INIT')) { exit(); }
|
if ( ! defined('e107_INIT')) { exit(); }
|
||||||
|
|
||||||
define('STANDARDS_MODE', TRUE);
|
define('STANDARDS_MODE', TRUE);
|
||||||
define("VIEWPORT","width=device-width, initial-scale=1.0");
|
// define("VIEWPORT","width=device-width, initial-scale=1.0");
|
||||||
|
define("VIEWPORT","width=1080");
|
||||||
|
|
||||||
e107::lan('theme');
|
e107::lan('theme');
|
||||||
e107::js('core','bootstrap/js/bootstrap.min.js');
|
e107::js('core','bootstrap/js/bootstrap.min.js');
|
||||||
@@ -595,9 +596,9 @@ function tablestyle($caption, $text, $mode)
|
|||||||
|
|
||||||
case 'site_info' :
|
case 'site_info' :
|
||||||
echo '
|
echo '
|
||||||
<div class="well sidebar-nav" style="padding:10px">
|
<div class="well sidebar-nav" >
|
||||||
<div class="nav-header">'.$caption.'</div>
|
<div class="nav-header">'.$caption.'</div>
|
||||||
<p>
|
<p style="padding:10px">
|
||||||
'.$text.'
|
'.$text.'
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user