Merge pull request #2746 from AiyionPrime/html-indentation

html indentation
This commit is contained in:
Andreas Ziegler 2023-01-05 00:19:57 +01:00 committed by GitHub
commit cd38de1bda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 87 additions and 95 deletions

View File

@ -21,6 +21,8 @@ indent_size = unset
indent_style = space indent_style = space
indent_size = 2 indent_size = 2
[*.html]
[*.js] [*.js]
[*{.json,.ecrc}] [*{.json,.ecrc}]

View File

@ -1,12 +1,7 @@
<%# <%#
Copyright 2008 Steven Barth <steven@midlink.org> SPDX-License-Identifier: Apache-2.0
Copyright 2008-2010 Jo-Philipp Wich <xm@subsignal.org> SPDX-FileCopyrightText: 2008 Steven Barth <steven@midlink.org>
SPDX-FileCopyrightText: 2008-2010 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
-%> -%>
<% <%
local pretty_hostname = require "pretty_hostname" local pretty_hostname = require "pretty_hostname"

View File

@ -1,12 +1,7 @@
<%# <%#
Copyright 2008 Steven Barth <steven@midlink.org> SPDX-FileCopyrightText: 2008 Steven Barth <steven@midlink.org>
Copyright 2008-2009 Jo-Philipp Wich <xm@subsignal.org> SPDX-FileCopyrightText: 2008-2009 Jo-Philipp Wich <xm@subsignal.org>
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
-%> -%>
<h2><%:Upgrade firmware%></h2> <h2><%:Upgrade firmware%></h2>

View File

@ -1,7 +1,7 @@
<%# <%#
Copyright 2008 Steven Barth <steven@midlink.org> SPDX-FileCopyrightText: 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> SPDX-FileCopyrightText: 2008 Jo-Philipp Wich <jow@openwrt.org>
Licensed to the public under the Apache License 2.0. SPDX-License-Identifier: Apache-2.0
-%> -%>
<h2 name="content">404 <%:Not Found%></h2> <h2 name="content">404 <%:Not Found%></h2>

View File

@ -1,7 +1,7 @@
<%# <%#
Copyright 2008 Steven Barth <steven@midlink.org> SPDX-FileCopyrightText: 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> SPDX-FileCopyrightText: 2008 Jo-Philipp Wich <jow@openwrt.org>
Licensed to the public under the Apache License 2.0. SPDX-License-Identifier: Apache-2.0
-%> -%>
<h2 name="content">500 <%:Internal Server Error%></h2> <h2 name="content">500 <%:Internal Server Error%></h2>