diff --git a/src/Jackett.Common/Content/custom.css b/src/Jackett.Common/Content/custom.css index 05d9caacc..1d4895cde 100644 --- a/src/Jackett.Common/Content/custom.css +++ b/src/Jackett.Common/Content/custom.css @@ -183,6 +183,12 @@ hr { border-bottom: 1px solid #ddd; } +.jackettlog-narrowcol { + width: 1px; + white-space: nowrap; + vertical-align: top; +} + .jackettlogWarn { background-color: #FFFF8E !important; } @@ -210,11 +216,15 @@ pre { font-size: 13px; line-height: 1.42857143; color: #333; - word-break: break-all; - word-wrap: break-word; background-color: transparent; border: 0; border-radius: 0; + word-break: normal; + white-space: pre-wrap; /* Since CSS 2.1 */ + white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + word-wrap: break-word; /* Internet Explorer 5.5+ */ } .modal-open .modal { diff --git a/src/Jackett.Common/Content/custom_mobile.css b/src/Jackett.Common/Content/custom_mobile.css index 31a0eadf0..b950fd617 100644 --- a/src/Jackett.Common/Content/custom_mobile.css +++ b/src/Jackett.Common/Content/custom_mobile.css @@ -175,6 +175,12 @@ hr { border-bottom: 1px solid #ddd; } +.jackettlog-narrowcol { + width: 1px; + white-space: nowrap; + vertical-align: top; +} + .jackettlogWarn { background-color: #FFFF8E !important; } @@ -202,11 +208,15 @@ pre { font-size: 13px; line-height: 1.42857143; color: #333; - word-break: break-all; - word-wrap: break-word; background-color: transparent; border: 0; border-radius: 0; + word-break: normal; + white-space: pre-wrap; /* Since CSS 2.1 */ + white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + word-wrap: break-word; /* Internet Explorer 5.5+ */ } .modal-open .modal { @@ -276,7 +286,7 @@ table td.fit{ .tooltip-inner img { max-width: 250px; - height: auto; + height: auto; } .type-public { diff --git a/src/Jackett.Common/Content/index.html b/src/Jackett.Common/Content/index.html index 1eb29c1a2..29739986f 100644 --- a/src/Jackett.Common/Content/index.html +++ b/src/Jackett.Common/Content/index.html @@ -34,8 +34,8 @@ - - + + @@ -616,16 +616,16 @@ - - + + {{#each logs}} - - + + {{/each}} diff --git a/src/Jackett.Common/Content/libs/handlebarsmoment.js b/src/Jackett.Common/Content/libs/handlebarsmoment.js index 1f8aa1932..3de3ad4ac 100644 --- a/src/Jackett.Common/Content/libs/handlebarsmoment.js +++ b/src/Jackett.Common/Content/libs/handlebarsmoment.js @@ -1,11 +1,11 @@  Handlebars.registerHelper('dateFormat', function (context, block) { if (window.moment) { - var f = block.hash.format || "MMM DD, YYYY hh:mm:ss A"; + var f = block.hash.format || "YYYY-MM-DD HH:mm:ss"; return moment(context).format(f); //had to remove Date(context) } else { return context; // moment plugin not available. return data as is. - }; + } }); Handlebars.registerHelper('jacketTimespan', function (context, block) { @@ -22,7 +22,7 @@ Handlebars.registerHelper('jacketTimespan', function (context, block) { if (hours < 48) { return Math.round(hours) + 'h ago'; } - + var days = timeSpan.asDays(); if (days < 365) { return Math.round(days) + 'd ago'; @@ -34,4 +34,4 @@ Handlebars.registerHelper('jacketTimespan', function (context, block) { Handlebars.registerHelper('jacketSize', function (context, block) { return filesize(context, { round: 1 }); -}); \ No newline at end of file +}); diff --git a/src/Jackett.Common/Content/login.html b/src/Jackett.Common/Content/login.html index 2f42627bf..11d2e70ac 100644 --- a/src/Jackett.Common/Content/login.html +++ b/src/Jackett.Common/Content/login.html @@ -16,7 +16,7 @@ - + Jackett
WhenLevelDateLevel Message
{{dateFormat When}}{{Level}}{{dateFormat When}}{{Level}}
{{Message}}