all repos — litestore @ 656c649da3da6073518e100775dde8932620591b

A minimalist nosql document store.

Minor navbar enhancements.
h3rald h3rald@h3rald.com
Sun, 12 Apr 2015 20:34:20 +0200
commit

656c649da3da6073518e100775dde8932620591b

parent

9cdae4f65883217af04ec93b9310bff1e5eafebc

3 files changed, 4 insertions(+), 4 deletions(-)

jump to
M admin/js/components/navbar.jsadmin/js/components/navbar.js

@@ -10,13 +10,14 @@ },

vm: { init: function(){ var vm = this; + var caret = "<i class='fa fa-angle-right'></i> "; this.activelink = function(url){ return (m.route().match(new RegExp("^\/"+url))) ? "active" : ""; }; vm.guidelinks = [ {path: "/guide/overview", title: "Overview"}, - {path: "/guide/use-cases", title: "Use Cases"}, - {path: "/guide/architecture", title: "Architecture"}, + {path: "/guide/use-cases", title: caret+"Use Cases"}, + {path: "/guide/architecture", title: caret+"Architecture"}, {path: "/guide/getting-started", title: "Getting Started"}, {path: "/guide/usage", title: "Usage"}, {path: "/guide/api", title: "API"},
M admin/js/modules/document.jsadmin/js/modules/document.js

@@ -222,7 +222,6 @@ titleRight = m("span.pull-right", [m("input", {

placeholder: "Content Type", onchange: m.withAttr("value", function(value){ vm.contentType(value); - vm.uploader.vm.contentType(value); }), size: 25, value: vm.contentType()
M admin/js/utils.jsadmin/js/utils.js

@@ -186,7 +186,7 @@ [icon, m("span", " "+obj.title+" "), m("span.caret")]),

m("ul.dropdown-menu[role='menu']", obj.links.map(function(e){ return m("li", - [m("a", {href: e.path, config: m.route}, e.title)]);})) + [m("a", {href: e.path, config: m.route}, m.trust(e.title))]);})) ]); };