diff --git a/luciexpress/htdocs/css/app.css b/luciexpress/htdocs/css/app.css index a67a1bb94..1c53bc9e5 100644 --- a/luciexpress/htdocs/css/app.css +++ b/luciexpress/htdocs/css/app.css @@ -4,3 +4,13 @@ .modal-backdrop { z-index: 0; } + +input[type="checkbox"]:not(:checked) + label, [type="checkbox"]:checked + label { + cursor: pointer; + font-weight: normal; + line-height: 20px; + margin-bottom: 15px; + padding-left: 25px; + position: relative; + z-index: 2; +} diff --git a/luciexpress/htdocs/index.html b/luciexpress/htdocs/index.html index ff4991075..d8d37b67e 100644 --- a/luciexpress/htdocs/index.html +++ b/luciexpress/htdocs/index.html @@ -11,8 +11,9 @@ - + +
diff --git a/luciexpress/htdocs/plugins/core/plugin.json b/luciexpress/htdocs/plugins/core/plugin.json index ccc313411..5666ab5a9 100644 --- a/luciexpress/htdocs/plugins/core/plugin.json +++ b/luciexpress/htdocs/plugins/core/plugin.json @@ -11,7 +11,9 @@ "widgets/luci.progress", "widgets/luci.table", "widgets/luci.top_bar", + "widgets/luci.config", "widgets/uci.wireless.interface", + "widgets/uci.wireless.interface.macfilter.edit", "widgets/uci.firewall.nat.rule.edit", "widgets/core.modal" ], diff --git a/luciexpress/htdocs/plugins/core/widgets/luci.config.js b/luciexpress/htdocs/plugins/core/widgets/luci.config.js new file mode 100644 index 000000000..3390bfe00 --- /dev/null +++ b/luciexpress/htdocs/plugins/core/widgets/luci.config.js @@ -0,0 +1,61 @@ +$juci.module("core") +.directive("luciConfig", function(){ + var plugin_root = $juci.module("core").plugin_root; + return { + template: '
', + replace: true, + transclude: true + }; +}) +.directive("luciConfigSection", function(){ + var plugin_root = $juci.module("core").plugin_root; + return { + template: '
', + replace: true, + transclude: true + }; +}) +.directive("luciConfigInfo", function(){ + var plugin_root = $juci.module("core").plugin_root; + return { + template: '

', + replace: true, + transclude: true + }; +}) +.directive("luciConfigHeading", function(){ + var plugin_root = $juci.module("core").plugin_root; + return { + template: '

', + replace: true, + transclude: true + }; +}) +.directive("luciConfigLines", function(){ + var plugin_root = $juci.module("core").plugin_root; + return { + template: '
', + replace: true, + transclude: true + }; +}) +.directive("luciConfigLine", function(){ + var plugin_root = $juci.module("core").plugin_root; + return { + template: '
', + replace: true, + scope: { + title: "=" + }, + transclude: true + }; +}) +.directive("luciConfigFooter", function(){ + var plugin_root = $juci.module("core").plugin_root; + return { + template: '
', + replace: true, + transclude: true + }; +}); + diff --git a/luciexpress/htdocs/plugins/core/widgets/luci.navbar.html b/luciexpress/htdocs/plugins/core/widgets/luci.navbar.html index 25d75c084..d8e3e2c75 100644 --- a/luciexpress/htdocs/plugins/core/widgets/luci.navbar.html +++ b/luciexpress/htdocs/plugins/core/widgets/luci.navbar.html @@ -1,41 +1,38 @@