+
{% if (menu is defined and menu) %}
{% include "@CoreHome/_menu.twig" %}
{% endif %}
diff --git a/plugins/CoreHome/templates/getDonateForm.twig b/plugins/CoreHome/templates/getDonateForm.twig
index 4bfb1125428..69130cca089 100644
--- a/plugins/CoreHome/templates/getDonateForm.twig
+++ b/plugins/CoreHome/templates/getDonateForm.twig
@@ -1 +1 @@
-{% include "@CoreHome/_donate.twig" %}
+{% include "@CoreHome/_donate.twig" %}
\ No newline at end of file
diff --git a/plugins/CoreHome/templates/getPromoVideo.twig b/plugins/CoreHome/templates/getPromoVideo.twig
index e7af3d24bc5..c162f0bc956 100755
--- a/plugins/CoreHome/templates/getPromoVideo.twig
+++ b/plugins/CoreHome/templates/getPromoVideo.twig
@@ -1,98 +1,3 @@
-
-
-
diff --git a/plugins/CoreUpdater/javascripts/updateLayout.js b/plugins/CoreUpdater/javascripts/updateLayout.js
new file mode 100644
index 00000000000..e112657dada
--- /dev/null
+++ b/plugins/CoreUpdater/javascripts/updateLayout.js
@@ -0,0 +1,8 @@
+$(document).ready(function () {
+ $('#showSql').click(function () {
+ $('#sqlQueries').toggle();
+ });
+ $('#upgradeCorePluginsForm').submit(function () {
+ $('input[type=submit]', this).prop('disabled', 'disabled');
+ });
+});
\ No newline at end of file
diff --git a/plugins/CoreUpdater/stylesheets/updateLayout.css b/plugins/CoreUpdater/stylesheets/updateLayout.css
new file mode 100644
index 00000000000..dd0352aa91b
--- /dev/null
+++ b/plugins/CoreUpdater/stylesheets/updateLayout.css
@@ -0,0 +1,30 @@
+* {
+ margin: 0;
+ padding: 0;
+}
+
+.topBarElem {
+ font-family: arial, sans-serif !important;
+ font-size: 13px;
+ line-height: 1.33;
+}
+
+#donate-form-container {
+ margin: 0 0 2em 2em;
+}
+
+code {
+ background-color: #F0F7FF;
+ border: 1px dashed #00008B;
+ border-left: 5px solid;
+ direction: ltr;
+ display: block;
+ margin: 2px 2px 20px;
+ padding: 4px;
+ text-align: left;
+}
+
+li {
+ margin-top: 10px;
+ margin-left: 30px;
+}
\ No newline at end of file
diff --git a/plugins/CoreUpdater/templates/layout.twig b/plugins/CoreUpdater/templates/layout.twig
index e20c4a027d7..f41d506683c 100644
--- a/plugins/CoreUpdater/templates/layout.twig
+++ b/plugins/CoreUpdater/templates/layout.twig
@@ -1,9 +1,8 @@
-
-
+
+
+
Piwik › {{ 'CoreUpdater_UpdateTitle'|translate }}
-
@@ -11,28 +10,14 @@
-
+
+
{% if 'General_LayoutDirection'|translate =='rtl' %}
-
+
{% endif %}
{{ loadJavascriptTranslations(['CoreHome'])|raw }}
diff --git a/plugins/CoreUpdater/templates/runUpdaterAndExit_welcome.twig b/plugins/CoreUpdater/templates/runUpdaterAndExit_welcome.twig
index bd710b89a94..243650b99e9 100644
--- a/plugins/CoreUpdater/templates/runUpdaterAndExit_welcome.twig
+++ b/plugins/CoreUpdater/templates/runUpdaterAndExit_welcome.twig
@@ -99,32 +99,5 @@
{% include "@Installation/_integrityDetails.twig" %}
-
-
{% endspaceless %}
{% endblock %}
\ No newline at end of file
diff --git a/plugins/DBStats/DBStats.php b/plugins/DBStats/DBStats.php
index 479596f30af..044e01ddc86 100644
--- a/plugins/DBStats/DBStats.php
+++ b/plugins/DBStats/DBStats.php
@@ -30,6 +30,7 @@ public function getInformation()
function getListHooksRegistered()
{
return array(
+ 'AssetManager.getCssFiles' => 'getCssFiles',
'AdminMenu.add' => 'addMenu',
'TaskScheduler.getScheduledTasks' => 'getScheduledTasks',
);
@@ -76,6 +77,15 @@ public function cacheDataByArchiveNameReports()
Piwik_SetOption(self::TIME_OF_LAST_TASK_RUN_OPTION, $now);
}
+ /**
+ * @param Piwik_Event_Notification $notification notification object
+ */
+ function getCssFiles($notification)
+ {
+ $cssFiles = & $notification->getNotificationObject();
+ $cssFiles[] = "plugins/DBStats/stylesheets/dbstatsTable.css";
+ }
+
/** Returns the date when the cacheDataByArchiveNameReports was last run. */
public static function getDateOfLastCachingRun()
{
diff --git a/plugins/DBStats/stylesheets/dbstatsTable.css b/plugins/DBStats/stylesheets/dbstatsTable.css
new file mode 100644
index 00000000000..9d897c8405c
--- /dev/null
+++ b/plugins/DBStats/stylesheets/dbstatsTable.css
@@ -0,0 +1,16 @@
+.dbstatsTable {
+ display: inline-block;
+}
+
+.dbstatsTable > tbody > tr > td:first-child {
+ width: 550px;
+}
+
+.dbstatsTable h2 {
+ width: 500px;
+}
+
+.adminTable.dbstatsTable a {
+ color: black;
+ text-decoration: underline;
+}
\ No newline at end of file
diff --git a/plugins/DBStats/templates/index.twig b/plugins/DBStats/templates/index.twig
index 4a4bcdfb8f5..8e6e2a07fea 100755
--- a/plugins/DBStats/templates/index.twig
+++ b/plugins/DBStats/templates/index.twig
@@ -3,27 +3,7 @@
{% block content %}
{{ loadJavascriptTranslations(['CoreAdminHome','CoreHome']) }}
-
-
-
-