diff options
author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2022-02-11 17:27:23 +0100 |
---|---|---|
committer | Benjamin Copeland <ben.copeland@linaro.org> | 2022-02-14 10:33:15 +0000 |
commit | 8f45c6b57b51dc1bd4dd9ad6b0b5274ee229e030 (patch) | |
tree | 096766f88d0c30e003e751251945ee8a3a8dbe49 | |
parent | c43b8fd558fa4871f84697dd10c5a344be23b914 (diff) |
template: generate more valid HTML
- DOCTYPE is mandatory for HTML 5
- type/language parameters for <script> <style> are obsolete
Change-Id: I7a01b650eb723b3fb5437826decdbf5cf2ac55b4
Reviewed-on: https://review.linaro.org/c/infrastructure/linaro-license-protection/+/40534
Reviewed-by: Benjamin Copeland <ben.copeland@linaro.org>
-rw-r--r-- | templates/header.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/templates/header.html b/templates/header.html index 3496d7b..a697f1f 100644 --- a/templates/header.html +++ b/templates/header.html @@ -1,4 +1,5 @@ -<html> +<!DOCTYPE html> +<html lang="en"> <head> {% load static %} {% if dl != None %} @@ -7,18 +8,17 @@ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>{{site_name}}</title> <link href="//www.linaro.org/remote/css/init.css" - rel="stylesheet" type="text/css" > + rel="stylesheet" > <link href="//www.linaro.org/remote/css/remote.css" - rel="stylesheet" type="text/css" > - <script language="javascript" type="text/javascript" - src="//www.linaro.org/remote/js/linarofamily.js"></script> - <script type="text/javascript" src="{% static 'js/jquery-1.7.2.js' %}"></script> - <script type="text/javascript" src="{% static 'js/jquery-ui-1.8.23.custom.min.js' %}"></script> - <script type="text/javascript" src="//cdn.datatables.net/1.10.10/js/jquery.dataTables.min.js"></script> - <link rel="stylesheet" type="text/css" href="{% static 'css/jquery-ui/jquery-ui-1.8.23.custom.css' %}"> - <link rel="stylesheet" type="text/css" href="{% static 'css/linaro.css' %}"> - <link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.10.10/css/jquery.dataTables.min.css"> - <style type="text/css"> + rel="stylesheet" > + <script src="//www.linaro.org/remote/js/linarofamily.js"></script> + <script src="{% static 'js/jquery-1.7.2.js' %}"></script> + <script src="{% static 'js/jquery-ui-1.8.23.custom.min.js' %}"></script> + <script src="//cdn.datatables.net/1.10.10/js/jquery.dataTables.min.js"></script> + <link rel="stylesheet" href="{% static 'css/jquery-ui/jquery-ui-1.8.23.custom.css' %}"> + <link rel="stylesheet" href="{% static 'css/linaro.css' %}"> + <link rel="stylesheet" href="//cdn.datatables.net/1.10.10/css/jquery.dataTables.min.css"> + <style> div#footer { text-align: right; margin: 10px; |