<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luci/themes/luci-theme-openwrt/ucode/template, branch master</title>
<subtitle>Lua Configuration Interface (mirror)</subtitle>
<id>https://git.openwrt.org/project/luci/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/luci/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/'/>
<updated>2026-08-07T23:33:25Z</updated>
<entry>
<title>themes: fix custom CSS via menu.d node</title>
<updated>2026-08-07T23:33:25Z</updated>
<author>
<name>Packet Please</name>
</author>
<published>2026-08-07T16:27:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=7c6d8ff7f8b894d1c8c3382af4b79b7cea68c709'/>
<id>urn:sha1:7c6d8ff7f8b894d1c8c3382af4b79b7cea68c709</id>
<content type='text'>
The themes have supported custom CSS via menu.d nodes since they
were first ported to ucode. There were two little problems though:

- The css property wasn't added to the node schema in luci.dispatcher.
- The themes used the wrong variable name.

The advantage is that the client will load the custom CSS right away,
instead of later when the view initializes. In my local development,
it has prevented visual flickering on page load.

Example menu.d entry:

    "falter": {
      "title": "Settings",
      "order": 5,
      "action": {
        "type": "view",
        "path": "falter/settings"
      },
      "css": "view/falter/falter.css"
    }

There are lots of potential users for this, since many Luci applications
inject their CSS via client-side JS. Even luci-mod-network does.

Signed-off-by: Packet Please &lt;pktpls@systemli.org&gt;
</content>
</entry>
<entry>
<title>luci-theme-openwrt: fix empty data-page when request path is empty</title>
<updated>2026-06-27T23:17:20Z</updated>
<author>
<name>Maxim Skokov</name>
</author>
<published>2026-06-27T13:19:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=b45584b4e6068b9b096872dd02494a048d869c36'/>
<id>urn:sha1:b45584b4e6068b9b096872dd02494a048d869c36</id>
<content type='text'>
Fall back to ctx.path when ctx.request_path is empty.

Fixes openwrt/luci#8534.

Signed-off-by: Maxim Skokov &lt;skokov.m020709@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-theme: remove LuCI from title, material changes</title>
<updated>2026-03-02T18:14:01Z</updated>
<author>
<name>Self-Hosting-Group</name>
</author>
<published>2026-03-02T00:00:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=e81c0637e275b5d65a81ded69b43118563803def'/>
<id>urn:sha1:e81c0637e275b5d65a81ded69b43118563803def</id>
<content type='text'>
- Remove `| LuCI` suffix from title tag
- Make material theme zoomable and remove legacy meta tags
- Unify viewport

Link: #8330
Signed-off-by: Self-Hosting-Group &lt;selfhostinggroup-git+openwrt@shost.ing&gt;
</content>
</entry>
<entry>
<title>luci-theme: html title: swap hostname &lt;-&gt; page title</title>
<updated>2026-02-09T21:14:59Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2026-02-09T21:13:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=ce358ad41132812612baf00217679971c8db0d91'/>
<id>urn:sha1:ce358ad41132812612baf00217679971c8db0d91</id>
<content type='text'>
hostname first to differentiate units from at-a-glance
browser tab view.

follow-up to 18d14980ddf7f85ab30ea971d5875f7d3a29353a

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-theme: html title: swap hostname &lt;-&gt; page title</title>
<updated>2026-02-09T17:08:38Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2026-02-09T17:08:38Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=18d14980ddf7f85ab30ea971d5875f7d3a29353a'/>
<id>urn:sha1:18d14980ddf7f85ab30ea971d5875f7d3a29353a</id>
<content type='text'>
hostname first to differentiate units from at-a-glance
browser tab view.

Closes #8308

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-theme: fix theme header title</title>
<updated>2026-01-21T21:39:04Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2026-01-21T21:39:04Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=9fe1334fd5172111773a56894825983acdf9865a'/>
<id>urn:sha1:9fe1334fd5172111773a56894825983acdf9865a</id>
<content type='text'>
dispatched.title is sometimes null, especially where menu JSON
does not declare a title for a page.

Also, while we're here, wrap these in i18n tags, since the
JSON titles are often translated (they're included in po matter).

Closes #8222

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-theme: add missing menu name to page `&lt;title&gt;`</title>
<updated>2025-12-03T20:47:13Z</updated>
<author>
<name>Self-Hosting-Group</name>
</author>
<published>2025-09-25T00:00:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=d16ffa31130e1033101e84cc6a77171c32d47f4b'/>
<id>urn:sha1:d16ffa31130e1033101e84cc6a77171c32d47f4b</id>
<content type='text'>
Signed-off-by: Self-Hosting-Group &lt;selfhostinggroup-git+openwrt@shost.ing&gt;
</content>
</entry>
<entry>
<title>treewide: HTML Cleanup</title>
<updated>2024-11-22T21:39:46Z</updated>
<author>
<name>Mustafa Can Elmacı</name>
</author>
<published>2024-11-17T12:52:45Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=ae8bbb814f16c2dc2a82e88d408bee1812ceda9c'/>
<id>urn:sha1:ae8bbb814f16c2dc2a82e88d408bee1812ceda9c</id>
<content type='text'>
* HTML Cleanup: Meta tags.
* Converted charset to shorthand.
* Removed meta tags with `Content-Script-Type` attribute. (Invalid in HTML5 spec.)

* HTML Cleanup: CSS tags.
* Removed `type` attribute with CSS files from link tags. (HTML5 spec recommends omitting it.)
* Removed `type` attribute from style tags. (Deprecated in HTML5 spec.)
https://html.spec.whatwg.org/#attr-link-type
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style

* HTML Cleanup: Convert from XHTML to HTML5
* Removed XML declaration.
* Removed XML namespace.
* Changed doctype to HTML5.

* HTML Cleanup: CDATA tags.
* CDATA sections should not be used within HTML they are considered as comments and not displayed.
https://developer.mozilla.org/en-US/docs/Web/API/CDATASection

* HTML Cleanup: Script tags.
* Removed `language` attribute from script tags. (No longer valid in HTML5)
* Removed `type` attribute with JavaScript MIME type from script tags. (HTML5 spec recommends omitting it.)
https://html.spec.whatwg.org/multipage/scripting.html#attr-script-type
https://mimesniff.spec.whatwg.org/#javascript-mime-type

Signed-off-by: Mustafa Can Elmacı &lt;mustafacan@elmaci.net&gt;
</content>
</entry>
<entry>
<title>luci-theme-openwrt: change to HTML (like all other themes) instead of XML to fix incompatibility</title>
<updated>2024-09-15T21:45:33Z</updated>
<author>
<name>Ramon Van Gorkom</name>
</author>
<published>2024-09-15T19:48:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=5a30e6c3af7f6bb1b4f02b5fcf8134c2b00ad3fb'/>
<id>urn:sha1:5a30e6c3af7f6bb1b4f02b5fcf8134c2b00ad3fb</id>
<content type='text'>
luci-theme-openwrt: change to HTML (like all other themes) instead of XML to fix incompatibility

see also https://github.com/openwrt/luci/issues/7229

Signed-off-by: Ramon Van Gorkom &lt;Ramon00c00@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-theme-openwrt: convert Lua templates to ucode</title>
<updated>2024-07-29T22:08:31Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2024-07-29T22:06:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=79a7012dce62624d61bb50934f1b382518455cdc'/>
<id>urn:sha1:79a7012dce62624d61bb50934f1b382518455cdc</id>
<content type='text'>
Convert the theme's Lua templates to ucode to avoid the implicit dependency
on the luci-lua-runtime package.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
</feed>
