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:
@@ -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>
|
||||
";
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user