Skip to content

Commit 71f9501

Browse files
committed
Refs matomo-org#1490: patch by halfdan multisites rounded corners
git-svn-id: http://dev.piwik.org/svn/trunk@2597 59fd770c-687e-43c8-a1e3-f5a4ff64c105
1 parent d369fb5 commit 71f9501

3 files changed

Lines changed: 13 additions & 12 deletions

File tree

core/DataTable/Simple.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,6 @@ function addRowsFromArray($array)
3939
$this->addRowsFromSimpleArray(array($array));
4040
}
4141

42-
function getColumn($columnName)
43-
{
44-
$columns = parent::getColumn($columnName);
45-
return reset($columns);
46-
}
47-
4842
function setColumn($columnName, $value)
4943
{
5044
$this->getLastRow()->setColumn($columnName, $value);

plugins/MultiSites/templates/index.tpl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
{assign var=showPeriodSelection value=true}
33
{include file="CoreHome/templates/header.tpl"}
44

5-
<div class="admin_header_message">
6-
{include file="CoreHome/templates/header_message.tpl"}
7-
</div>
8-
95
<div id="multisites">
106
<div id="main">
117
{include file="MultiSites/templates/row.tpl" assign="row"}
@@ -33,6 +29,7 @@
3329

3430
<div class="top_controls_inner">
3531
{include file="CoreHome/templates/period_select.tpl"}
32+
{include file="CoreHome/templates/header_message.tpl"}
3633
</div>
3734

3835
<div class="multiSitesCont">

plugins/MultiSites/templates/styles.css

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,20 @@
5757
}
5858

5959
.multiSitesCont{
60-
width:850px;
6160
padding:10px 0;
6261
}
6362

63+
#mt {
64+
width: 100%;
65+
max-width: 1024px;
66+
}
6467

68+
#mt thead :first-child {
69+
-moz-border-radius-topleft: 7px;
70+
-webkit-border-top-left-radius: 7px
71+
}
6572

66-
.admin_header_message{ position:absolute; top:70px; right:10px; z-index:20;}
73+
#mt thead :last-child {
74+
-moz-border-radius-topright: 7px;
75+
-webkit-border-top-right-radius: 7px;
76+
}

0 commit comments

Comments
 (0)