1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

Admin GUI display fixes for iPad

This commit is contained in:
Cameron
2013-01-16 13:08:16 -08:00
parent 84860142f9
commit 9e449f6060
2 changed files with 8 additions and 7 deletions

View File

@@ -227,8 +227,8 @@ EOF;
$panelOnline = "
<table class='table table-condensed adminlist'>
<table class='table table-condensed table-striped' style='width:96%;margin-left:auto;margin-right:auto'>
<colgroup>
<col style='width: 10%' />
<col style='width: 25%' />
@@ -250,14 +250,14 @@ EOF;
$online = $ol->userList() + $ol->guestList();
// echo "Users: ".print_a($online);
foreach ($online as $val)
{
$panelOnline .= "<tr>
<td class='nowrap'>".e107::getDateConvert()->convert_date($val['user_currentvisit'],'%H:%M:%S')."</td>
<td>".$this->renderOnlineName($val['online_user_id'])."</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>
</tr>
";

View File

@@ -2,7 +2,8 @@
if ( ! defined('e107_INIT')) { exit(); }
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::js('core','bootstrap/js/bootstrap.min.js');
@@ -595,9 +596,9 @@ function tablestyle($caption, $text, $mode)
case 'site_info' :
echo '
<div class="well sidebar-nav" style="padding:10px">
<div class="well sidebar-nav" >
<div class="nav-header">'.$caption.'</div>
<p>
<p style="padding:10px">
'.$text.'
</p>
</div>