diff --git a/public/language/en-GB/admin/advanced/cache.json b/public/language/en-GB/admin/advanced/cache.json index 0148c2d889..6d290e9112 100644 --- a/public/language/en-GB/admin/advanced/cache.json +++ b/public/language/en-GB/admin/advanced/cache.json @@ -1,4 +1,5 @@ { + "cache": "Cache", "post-cache": "Post Cache", "group-cache": "Group Cache", "local-cache": "Local Cache", diff --git a/public/language/en-GB/admin/advanced/errors.json b/public/language/en-GB/admin/advanced/errors.json index 546f0f1508..fad54e99eb 100644 --- a/public/language/en-GB/admin/advanced/errors.json +++ b/public/language/en-GB/admin/advanced/errors.json @@ -1,4 +1,5 @@ { + "errors": "Errors", "figure-x": "Figure %1", "error-events-per-day": "%1 events per day", "error.404": "404 Not Found", diff --git a/public/language/en-GB/admin/development/logger.json b/public/language/en-GB/admin/development/logger.json index 6ab9558149..8cc83b9775 100644 --- a/public/language/en-GB/admin/development/logger.json +++ b/public/language/en-GB/admin/development/logger.json @@ -1,4 +1,5 @@ { + "logger": "Logger", "logger-settings": "Logger Settings", "description": "By enabling the check boxes, you will receive logs to your terminal. If you specify a path, logs will then be saved to a file instead. HTTP logging is useful for collecting statistics about who, when, and what people access on your forum. In addition to logging HTTP requests, we can also log socket.io events. Socket.io logging, in combination with redis-cli monitor, can be very helpful for learning NodeBB's internals.", "explanation": "Simply check/uncheck the logging settings to enable or disable logging on the fly. No restart needed.", diff --git a/src/views/admin/advanced/cache.tpl b/src/views/admin/advanced/cache.tpl index db8f363fa9..7fa581e0fd 100644 --- a/src/views/admin/advanced/cache.tpl +++ b/src/views/admin/advanced/cache.tpl @@ -1,55 +1,62 @@ -
-
-
- {{{each caches}}} -
-
-
[[admin/advanced/cache:{@key}-cache]]
-
-
- -
+
+
+
+

[[admin/advanced/cache:cache]]

+
+
+ +
+
-
{{{if ./length}}}{./length}{{{else}}}{./itemCount}{{{end}}} / {{{if ./max}}}{./max}{{{else}}}{./maxSize}{{{end}}}
-
-
- [[admin/advanced/cache:percent-full, {./percentFull}]] -
-
-
- {./hits} -
-
- {./misses} -
-
- {./hitRatio} -
-
- {./hitsPerSecond} -
- {{{if ./ttl}}} -
- {./ttl} -
- {{{end}}} - {{{if (@key == "post")}}} -
-
- - +
+ {{{each caches}}} +
+
+
[[admin/advanced/cache:{@key}-cache]]
+
+
+ +
+ +
{{{if ./length}}}{./length}{{{else}}}{./itemCount}{{{end}}} / {{{if ./max}}}{./max}{{{else}}}{./maxSize}{{{end}}}
+
+
+ [[admin/advanced/cache:percent-full, {./percentFull}]]
- {{{end}}} - -
+
+ {./hits} +
+
+ {./misses} +
+
+ {./hitRatio} +
+
+ {./hitsPerSecond} +
+ + {{{if ./ttl}}} +
+ {./ttl} +
+ {{{end}}} + {{{if (@key == "post")}}} +
+
+ + +
+ {{{end}}} + +
- {{{end}}}
+ {{{end}}}
- diff --git a/src/views/admin/advanced/errors.tpl b/src/views/admin/advanced/errors.tpl index c582d4f022..20fc46ffbc 100644 --- a/src/views/admin/advanced/errors.tpl +++ b/src/views/admin/advanced/errors.tpl @@ -1,80 +1,74 @@ -
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
- +
+
+
+

[[admin/advanced/errors:errors]]

+
+
+ + [[admin/advanced/errors:export-error-log]] + + + +
+
+ +
+
+
+
+
+
+
-
-
-
-
[[admin/advanced/errors:manage-error-log]]
-
-
- - [[admin/advanced/errors:export-error-log]] - - +
+
+
+
+
-
-
-
-
-
- [[admin/advanced/errors:error.404]] -
-
-
- - - - - - - {{{ each not-found }}} - - - - - {{{ end }}} - {{{ if !not-found.length }}} - - - - {{{ end }}} - -
[[admin/advanced/errors:route]][[admin/advanced/errors:count]]
{./value}{./score}
-
- [[admin/advanced/errors:no-routes-not-found]] -
-
-
+
+
+ [[admin/advanced/errors:error.404]] +
+
+
+ + + + + + + {{{ each not-found }}} + + + + + {{{ end }}} + {{{ if !not-found.length }}} + + + + {{{ end }}} + +
[[admin/advanced/errors:route]][[admin/advanced/errors:count]]
{./value}{./score}
+
+ [[admin/advanced/errors:no-routes-not-found]] +
+
diff --git a/src/views/admin/advanced/events.tpl b/src/views/admin/advanced/events.tpl index 7f1cb79793..c89809923f 100644 --- a/src/views/admin/advanced/events.tpl +++ b/src/views/admin/advanced/events.tpl @@ -54,18 +54,14 @@
-
- +
+ +
-
-
- -
-
diff --git a/src/views/admin/advanced/logs.tpl b/src/views/admin/advanced/logs.tpl index 8d8f049d5a..7184e4d98b 100644 --- a/src/views/admin/advanced/logs.tpl +++ b/src/views/admin/advanced/logs.tpl @@ -1,23 +1,21 @@ -
-
-
-
[[admin/advanced/logs:logs]]
-
-
{data}
-
+
+
+
+

[[admin/advanced/logs:logs]]

+
+
+ +
-
-
-
[[admin/advanced/logs:control-panel]]
-
- - -
+ +
+
+
{data}
diff --git a/src/views/admin/development/logger.tpl b/src/views/admin/development/logger.tpl index 3408d41244..4f7eedb610 100644 --- a/src/views/admin/development/logger.tpl +++ b/src/views/admin/development/logger.tpl @@ -1,36 +1,37 @@ -
-
-
-
[[admin/development/logger:logger-settings]]
-
-

- [[admin/development/logger:description]] -

-
-

- [[admin/development/logger:explanation]] -

-
+
+
+
+

[[admin/development/logger:logger]]

+
+
+ +
+
-
- -
-
+
+

+ [[admin/development/logger:description]] +

+
+

+ [[admin/development/logger:explanation]] +

+
- -
-
+ +
+ + +
- - - +
+ +
-
+ + + +
-