|
39 | 39 | # @param submenu entries |
40 | 40 | sub showsubmenu() { |
41 | 41 | my $submenus = shift; |
42 | | - |
| 42 | + |
43 | 43 | print "<ul>"; |
44 | 44 | foreach my $item (sort keys %$submenus) { |
45 | 45 | $link = getlink($submenus->{$item}); |
@@ -126,23 +126,26 @@ sub openpage { |
126 | 126 | <title>$headline - $title</title> |
127 | 127 | $extrahead |
128 | 128 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
| 129 | + <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 130 | + <meta name="theme-color" content="#E12917"/> |
| 131 | + <meta name="Description" content="$settings{'HOSTNAME'}.$settings{'DOMAINNAME'}"> |
129 | 132 | <link rel="shortcut icon" href="/favicon.ico" /> |
130 | | - <script type="text/javascript" src="/include/jquery.js"></script> |
| 133 | + <script src="/include/jquery.js"></script> |
131 | 134 |
|
132 | | - <script type="text/javascript"> |
| 135 | + <script> |
133 | 136 | function swapVisibility(id) { |
134 | 137 | \$('#' + id).toggle(); |
135 | 138 | } |
136 | 139 | </script> |
137 | 140 | END |
138 | 141 |
|
139 | 142 | foreach my $stylesheet (@stylesheets) { |
140 | | - print "<link href=\"/themes/ipfire/include/css/$stylesheet\" rel=\"stylesheet\" type=\"text/css\" />\n"; |
| 143 | + print "<link href=\"/themes/ipfire/include/css/$stylesheet\" rel=\"stylesheet\" />\n"; |
141 | 144 | } |
142 | 145 |
|
143 | 146 | if ($settings{'SPEED'} ne 'off') { |
144 | 147 | print <<END |
145 | | - <script type="text/javascript" src="/themes/ipfire/include/js/refreshInetInfo.js"></script> |
| 148 | + <script src="/themes/ipfire/include/js/refreshInetInfo.js"></script> |
146 | 149 | END |
147 | 150 | ; |
148 | 151 | } |
|
152 | 155 | <body> |
153 | 156 | <div id="header" class="fixed"> |
154 | 157 | <div id="logo"> |
155 | | - <a href="https://www.ipfire.org" style="text-decoration: none;"> |
156 | | - <img src="/themes/ipfire/images/tux2.png" style="float:left; margin-left: -3px; margin-top: -3px;"/> |
| 158 | + <a href="https://www.ipfire.org" aria-label="ipfire logo" style="text-decoration: none;"> |
| 159 | + <img src="/themes/ipfire/images/tux2.png" alt="ipfire logo" style="float:left; margin-left: -3px; margin-top: -3px;"/> |
157 | 160 | END |
158 | 161 | ; |
159 | 162 | if ($settings{'WINDOWWITHHOSTNAME'} ne 'off') { |
|
0 commit comments