summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-03-26 14:41:54 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-03-26 14:41:54 +0100
commit0d786c381b8d4656e6bbcb5ef2b33e718ea639eb (patch)
treee4fadf0ef4410d07c9ca1f1c68941ba00dc3134f
parentcda7f7fd6190d15a81897c4557005a6c661b8f2c (diff)
parent7c66e17237567a26a678045ea768caca6902ed91 (diff)
downloadnextcloud-server-0d786c381b8d4656e6bbcb5ef2b33e718ea639eb.tar.gz
nextcloud-server-0d786c381b8d4656e6bbcb5ef2b33e718ea639eb.zip
Merge pull request #15212 from owncloud/log-width
force log messages to break to alleviate horizontal scroll on Admin page
-rw-r--r--settings/css/settings.css7
-rw-r--r--settings/js/log.js1
-rw-r--r--settings/templates/admin.php2
3 files changed, 7 insertions, 3 deletions
diff --git a/settings/css/settings.css b/settings/css/settings.css
index 814eb665428..050914beef6 100644
--- a/settings/css/settings.css
+++ b/settings/css/settings.css
@@ -328,14 +328,12 @@ table.grid td.date{
.cronlog {
margin-left: 10px;
}
-
.cronstatus {
display: inline-block;
height: 16px;
width: 16px;
vertical-align: text-bottom;
}
-
.cronstatus.success {
border-radius: 50%;
}
@@ -349,6 +347,11 @@ table.grid td.date{
padding: 7px 10px
}
+#log .log-message {
+ word-break: break-all;
+ min-width: 180px;
+}
+
span.success {
background: #37ce02;
border-radius: 3px;
diff --git a/settings/js/log.js b/settings/js/log.js
index c3a9a201e83..43ef561f7ee 100644
--- a/settings/js/log.js
+++ b/settings/js/log.js
@@ -52,6 +52,7 @@ OC.Log = {
row.append(appTd);
var messageTd = $('<td/>');
+ messageTd.addClass('log-message');
messageTd.text(entry.message);
row.append(messageTd);
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index 7813babf5c5..8c2b12fb2d9 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -408,7 +408,7 @@ if ($_['cronErrors']) {
<td>
<?php p($entry->app);?>
</td>
- <td>
+ <td class="log-message">
<?php p($entry->message);?>
</td>
<td class="date">