Added indicator for mirroring changes.
h3rald h3rald@h3rald.com
Sat, 22 Sep 2018 22:44:18 +0200
1 files changed,
4 insertions(+),
2 deletions(-)
jump to
M
src/admin/js/components/info.js
→
src/admin/js/components/info.js
@@ -16,11 +16,13 @@ return m("li", [m("span", title+": "), m("strong", content)]);
} }; var readonly = info.read_only ? m("span.label.label-success", "Yes") : m("span.label.label-danger", "No"); + var mirror = info.mount ? m("span.label.label-success", "Yes") : m("span.label.label-danger", "No"); var infolist = m(".col-sm-6", [m("ul.list-unstyled", [ li("Version", info.version), li("Datastore Version", info.datastore_version), li("Size", info.size), - li("Mounted Directory", info.directory, info.directory === null), + li("Serving Directory", info.directory, info.directory === null), + li("Mirroring Changes", mirror), li("Log Level", info.log_level), li("Read-Only", readonly), li("Total Documents", m("span.badge", info.total_documents)),@@ -40,4 +42,4 @@ return v;
}; u.layout(app.info); -}())+}())