<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luci/modules/luci-base/root/www, 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>2024-11-22T21:39:46Z</updated>
<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-base: extend Expires directive to prevent caching</title>
<updated>2024-02-17T17:03:31Z</updated>
<author>
<name>Andre Heider</name>
</author>
<published>2023-09-12T18:09:53Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=12378d77cea16c268e980cca33e46df614ce5ecd'/>
<id>urn:sha1:12378d77cea16c268e980cca33e46df614ce5ecd</id>
<content type='text'>
Some browsers apparently act on fixed dates only, so add that too.
Tested on firefox.

Signed-off-by: Andre Heider &lt;a.heider@gmail.com&gt;
</content>
</entry>
<entry>
<title>proper cache control in firefox</title>
<updated>2022-09-17T05:18:52Z</updated>
<author>
<name>Daniel Kucera</name>
</author>
<published>2022-09-17T05:18:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=34dd31ae9a63c573646cce9f75ca5edf4bc4e82e'/>
<id>urn:sha1:34dd31ae9a63c573646cce9f75ca5edf4bc4e82e</id>
<content type='text'>
Added more meta headers to ensure proper cache control in Firefox.
Before this patch, the `/` url hasn't even been requested when opened in Firefox.

Signed-off-by: Daniel Kucera &lt;daniel.kucera@gmail.com&gt;</content>
</entry>
<entry>
<title>luci-base: apply Browser/OS dark mode preference to index redirect page</title>
<updated>2021-11-16T12:06:03Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2021-11-12T09:37:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=50af81193c3ae78b23a4573f3fb69136462a883b'/>
<id>urn:sha1:50af81193c3ae78b23a4573f3fb69136462a883b</id>
<content type='text'>
Turn white body, black link into black body, white link if the Browser/OS
indicates dark mode preference.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>luci-base: remove hardcoded cgi-bin path</title>
<updated>2020-01-16T14:02:14Z</updated>
<author>
<name>Ansuel Smith</name>
</author>
<published>2020-01-15T23:30:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=5e6ec8562fe828934ef835490cee405653b06d3a'/>
<id>urn:sha1:5e6ec8562fe828934ef835490cee405653b06d3a</id>
<content type='text'>
Currently LuCI can be loaded only when placed in the root of the server as the cgi-bin path are hardcoded. Change the index.html to load the cgi-bin path from the current level.
Also add a new entry in the env Object to make the cgi_base path easily accessible.
This variable will be based on the position of /cgi-bin/luci.

Signed-off-by: Ansuel Smith &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-base: index.html: add extend cache-control directive</title>
<updated>2019-08-01T13:43:35Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2019-08-01T13:43:08Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=1fe45a934445378115bfd09a48136c23b0df3a63'/>
<id>urn:sha1:1fe45a934445378115bfd09a48136c23b0df3a63</id>
<content type='text'>
Fixes: #2942
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>luci-base: redirect root path to /cgi-bin/luci/</title>
<updated>2018-10-10T05:04:17Z</updated>
<author>
<name>xiongjie</name>
</author>
<published>2018-10-10T05:04:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=fd3d2b468fe8d7d6335743d8b3fc5bb6d88708f7'/>
<id>urn:sha1:fd3d2b468fe8d7d6335743d8b3fc5bb6d88708f7</id>
<content type='text'>
Fix openwrt/luci#1062
Signed-off-by: MonwF &lt;boluo2@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-base: change index.html to be more like current themes</title>
<updated>2015-09-29T08:44:53Z</updated>
<author>
<name>Hannu Nyman</name>
</author>
<published>2015-09-29T08:44:53Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=b6fe9a70e6a3182b0d4bc7c7071c59b242402a05'/>
<id>urn:sha1:b6fe9a70e6a3182b0d4bc7c7071c59b242402a05</id>
<content type='text'>
Change index.html that is visible for a second when entering Luci:
* Black text on white background (instead of white on black)
* Specify font as Arial/Helvetica

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
</content>
</entry>
<entry>
<title>luci-base: Add cache control in index.html </title>
<updated>2015-05-18T12:05:02Z</updated>
<author>
<name>nightcoffee</name>
</author>
<published>2015-05-18T12:05:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=08a38a0493465a933687f79542f7f9dca3d6a816'/>
<id>urn:sha1:08a38a0493465a933687f79542f7f9dca3d6a816</id>
<content type='text'>
Signed-off-by: Night Coffee &lt;ydkf@qq.com&gt;</content>
</entry>
<entry>
<title>Rework LuCI build system</title>
<updated>2015-01-08T15:26:20Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2014-12-03T14:17:05Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=1bb4822dca6113f73e3bc89e2acf15935e6f8e92'/>
<id>urn:sha1:1bb4822dca6113f73e3bc89e2acf15935e6f8e92</id>
<content type='text'>
 * Rename subdirectories to their repective OpenWrt package names
 * Make each LuCI module its own standalone package
 * Deploy a shared luci.mk which is used by each module Makefile

Signed-off-by: Jo-Philipp Wich &lt;jow@openwrt.org&gt;
</content>
</entry>
</feed>
