all repos — litestore @ 3298b52f01d5588aaddb4677f6733cafc9e28edf

A minimalist nosql document store.

Added indicator for mirroring changes.
h3rald h3rald@h3rald.com
Sat, 22 Sep 2018 22:44:18 +0200
commit

3298b52f01d5588aaddb4677f6733cafc9e28edf

parent

a4a70df6e58d499d53b9eb1315a24aaf2f5852a2

1 files changed, 4 insertions(+), 2 deletions(-)

jump to
M src/admin/js/components/info.jssrc/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); -}())+}())