Mustafa Can Elmacı
ae8bbb814f
treewide: HTML Cleanup
...
* 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ı <mustafacan@elmaci.net >
2024-11-22 22:39:46 +01:00
Florian Eckert
7af8043a75
luci-app-ocserv: move to new vpn menu section
...
Move the app ocserv to the new vpn menu section.
Signed-off-by: Florian Eckert <fe@dev.tdt.de >
2019-08-06 16:23:08 +02:00
Florian Eckert
121e7fea66
luci-app-*: use default poll interval
...
Replace all XHR poll time number with -1 so they will use the default
poll interval time value from "/etc/config/luci". If this is not set then
5 seconds as default is used.
Signed-off-by: Florian Eckert <fe@dev.tdt.de >
2018-12-20 10:20:23 +01:00
Jo-Philipp Wich
985a7db408
luci-app-ocserv: remove unneeded br element from template
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io >
2018-07-20 09:10:45 +02:00
Jo-Philipp Wich
f4ba55532f
luci-app-ocserv: update user status template
...
- Use cbi_update_table() helper to refresh user list
- Cleanup markup and remove uneeded CSS classes
Signed-off-by: Jo-Philipp Wich <jo@mein.io >
2018-07-20 09:08:15 +02:00
Jo-Philipp Wich
067d7dc9f7
treewide: convert HTML tables to div
...
Mostly convert HTML tables to div based markup to allow for easier styling
in the future. Also change JS accessor code accordingly.
Signed-off-by: Jo-Philipp Wich <jo@mein.io >
2018-05-28 15:18:45 +02:00
Jo-Philipp Wich
0f1f5140e3
luci-app-ocserv: protect disconnect action with csrf token
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-21 00:00:55 +02:00
Jo-Philipp Wich
281d2f6178
Globally replace luci.dispatcher.build_url(...) with url(...) invocations
...
Also concat multiple string arguments into one while we're at it.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-07 19:07:36 +02:00
Jo-Philipp Wich
1bb4822dca
Rework LuCI build system
...
* 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 <jow@openwrt.org >
2015-01-08 16:26:20 +01:00