all repos — litestore @ a0d8f9a9ce003444e5bc1391ab80cfd2ec8425df

A minimalist nosql document store.

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

a0d8f9a9ce003444e5bc1391ab80cfd2ec8425df

parent

6f0a11a9f963beb0c844bfdd5d66b998c5c18061

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); -}())+}())