Преглед на файлове

fix(html) add doctype and fix HTML errors

* Changed render mode to standard compliant and adjusted CSS accordantly.

* Fixed HTML errors, removed XHTML reminiscences and whitespace.

* Added doctype and fixed a few HTML errors.

* The input field speakerStatsSearch overflows the dialog box. Added missing box-sizing.

Co-authored-by: Bo Frederiksen <bo.frederiksen@semaphor.dk>
factor2
Bo Frederiksen преди 3 години
родител
ревизия
432d07c2ad
No account linked to committer's email address

+ 1
- 1
base.html Целия файл

@@ -1 +1 @@
1
-<base href="/" />
1
+<base href="/">

+ 1
- 0
css/_base.scss Целия файл

@@ -44,6 +44,7 @@ body {
44 44
 }
45 45
 
46 46
 .jitsi-icon {
47
+    line-height: 0;
47 48
     &-default svg {
48 49
         fill: white;
49 50
     }

+ 4
- 0
css/_videolayout_default.scss Целия файл

@@ -23,6 +23,10 @@
23 23
     overflow: hidden;
24 24
 }
25 25
 
26
+.jBzxHz, #react {
27
+    height: 100%;
28
+}
29
+
26 30
 #largeVideoBackgroundContainer,
27 31
 .large-video-background {
28 32
     height: 100%;

+ 3
- 2
doc/examples/api.html Целия файл

@@ -1,7 +1,8 @@
1
-<html itemscope itemtype="http://schema.org/Product" prefix="og: http://ogp.me/ns#" xmlns="http://www.w3.org/1999/html">
1
+<!doctype html>
2
+<html itemscope itemtype="http://schema.org/Product" prefix="og: http://ogp.me/ns#">
2 3
     <head>
3 4
         <meta charset="utf-8">
4
-        <meta http-equiv="content-type" content="text/html;charset=utf-8">
5
+        <title>Jitsi API</title>
5 6
     </head>
6 7
     <body>
7 8
         <script src="https://meet.jit.si/external_api.js"></script>

+ 7
- 7
index.html Целия файл

@@ -1,8 +1,8 @@
1
-<html itemscope itemtype="http://schema.org/Product" prefix="og: http://ogp.me/ns#" xmlns="http://www.w3.org/1999/html">
1
+<!doctype html>
2
+<html itemscope itemtype="http://schema.org/Product" prefix="og: http://ogp.me/ns#">
2 3
   <head>
3 4
     <!--#include virtual="head.html" -->
4 5
     <meta charset="utf-8">
5
-    <meta http-equiv="content-type" content="text/html;charset=utf-8">
6 6
     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
7 7
     <meta name="theme-color" content="#2A3A4B">
8 8
     <!--#include virtual="base.html" -->
@@ -125,12 +125,12 @@
125 125
                         + "font-weight: 400;"
126 126
                         + "transform: translate(-50%, -50%)'>"
127 127
                         + "Uh oh! We couldn't fully download everything we needed :("
128
-                        + "<br/> "
128
+                        + "<br> "
129 129
                         + "We will try again shortly. In the mean time, check for problems with your Internet connection!"
130
-                        + "<br/><br/> "
130
+                        + "<br><br> "
131 131
                         + "<div id='moreInfo' style='"
132 132
                         + "display: none;'>" + "Missing " + fileRef
133
-                        + "<br/><br/></div>"
133
+                        + "<br><br></div>"
134 134
                         + "<a id='showMore' style='"
135 135
                         + "text-decoration: underline;"
136 136
                         + "font-size:small;"
@@ -195,8 +195,8 @@
195 195
     <!--#include virtual="static/settingsToolbarAdditionalContent.html" -->
196 196
   </head>
197 197
   <body>
198
-    <noscript aria-hidden="true">
199
-        <div>JavaScript is disabled. </br>For this site to work you have to enable JavaScript.</div>
198
+    <noscript>
199
+        <div>JavaScript is disabled.<br>For this site to work you have to enable JavaScript.</div>
200 200
     </noscript>
201 201
     <!--#include virtual="body.html" -->
202 202
     <div id="react" role="main"></div>

+ 1
- 0
react/features/speaker-stats/components/web/SpeakerStatsSearch.js Целия файл

@@ -37,6 +37,7 @@ const useStyles = makeStyles(theme => {
37 37
             padding: '10px 16px',
38 38
             width: '100%',
39 39
             height: 40,
40
+            boxSizing: 'border-box',
40 41
             '&::placeholder': {
41 42
                 color: theme.palette.text03,
42 43
                 ...theme.typography.bodyShortRegular,

+ 2
- 1
resources/nwjs-integration/index.html Целия файл

@@ -1,6 +1,7 @@
1
+<!doctype html>
1 2
 <html>
2 3
     <head>
3
-
4
+        <title>Jitsi NW GUI</title>
4 5
         <style>
5 6
             body {
6 7
                 margin: 0;

+ 2
- 1
static/404.html Целия файл

@@ -1,7 +1,8 @@
1
+<!doctype html>
1 2
 <html>
2 3
 <head>
3 4
     <!--#include virtual="/base.html" -->
4
-    <link rel="stylesheet" href="css/all.css"/>
5
+    <link rel="stylesheet" href="css/all.css">
5 6
     <!--#include virtual="/title.html" -->
6 7
 </head>
7 8
 <body>

+ 2
- 1
static/authError.html Целия файл

@@ -1,7 +1,8 @@
1
+<!doctype html>
1 2
 <html>
2 3
 <head>
3 4
     <!--#include virtual="/base.html" -->
4
-    <link rel="stylesheet" href="css/all.css"/>
5
+    <link rel="stylesheet" href="css/all.css">
5 6
     <!--#include virtual="/title.html" -->
6 7
 </head>
7 8
 <body>

+ 2
- 1
static/close.html Целия файл

@@ -1,7 +1,8 @@
1
+<!doctype html>
1 2
 <html>
2 3
 <head>
3 4
     <!--#include virtual="/base.html" -->
4
-    <link rel="stylesheet" href="css/all.css"/>
5
+    <link rel="stylesheet" href="css/all.css">
5 6
     <!--#include virtual="/title.html" -->
6 7
     <script><!--#include virtual="/interface_config.js" --></script>
7 8
     <script src="static/close.js"></script>

+ 2
- 1
static/close2.html Целия файл

@@ -1,7 +1,8 @@
1
+<!doctype html>
1 2
 <html>
2 3
 <head>
3 4
     <!--#include virtual="/base.html" -->
4
-    <link rel="stylesheet" href="css/all.css"/>
5
+    <link rel="stylesheet" href="css/all.css">
5 6
     <!--#include virtual="/title.html" -->
6 7
     <script><!--#include virtual="/interface_config.js" --></script>
7 8
     <script src="static/close.js"></script>

+ 1
- 0
static/dialInInfo.html Целия файл

@@ -1,3 +1,4 @@
1
+<!doctype html>
1 2
 <html>
2 3
   <head>
3 4
     <meta charset="utf-8">

+ 1
- 1
static/msredirect.html Целия файл

@@ -1,4 +1,4 @@
1
-<!DOCTYPE html>
1
+<!doctype html>
2 2
 <html>
3 3
 <body>
4 4
 <script>

+ 3
- 2
static/oauth.html Целия файл

@@ -1,7 +1,8 @@
1
-<html itemscope itemtype="http://schema.org/Product" prefix="og: http://ogp.me/ns#" xmlns="http://www.w3.org/1999/html">
1
+<!doctype html>
2
+<html itemscope itemtype="http://schema.org/Product" prefix="og: http://ogp.me/ns#">
2 3
 <head>
3 4
     <meta charset="utf-8">
4
-    <meta http-equiv="content-type" content="text/html;charset=utf-8">
5
+    <title>Jitsi login</title>
5 6
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 7
     <!--#include virtual="/base.html" -->
7 8
     <!--#include virtual="/title.html" -->

+ 1
- 1
static/offline.html Целия файл

@@ -1,10 +1,10 @@
1
+<!doctype html>
1 2
 <html>
2 3
 
3 4
 <head>
4 5
   <head>
5 6
     <!--#include virtual="/head.html" -->
6 7
     <meta charset="utf-8">
7
-    <meta http-equiv="content-type" content="text/html;charset=utf-8">
8 8
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
9 9
     <!--#include virtual="/base.html" -->
10 10
 

+ 2
- 2
static/prejoin.html Целия файл

@@ -1,7 +1,7 @@
1
-<html xmlns="http://www.w3.org/1999/html">
1
+<!doctype html>
2
+<html>
2 3
   <head>
3 4
     <meta charset="utf-8">
4
-    <meta http-equiv="content-type" content="text/html;charset=utf-8">
5 5
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 6
     <!--#include virtual="/base.html" -->
7 7
     <link rel="stylesheet" href="css/all.css">

+ 6
- 5
static/recommendedBrowsers.html Целия файл

@@ -1,7 +1,8 @@
1
+<!doctype html>
1 2
 <html>
2 3
 <head>
3 4
     <!--#include virtual="/base.html" -->
4
-    <link rel="stylesheet" href="css/all.css"/>
5
+    <link rel="stylesheet" href="css/all.css">
5 6
     <!--#include virtual="/title.html" -->
6 7
 </head>
7 8
 <body>
@@ -12,11 +13,11 @@
12 13
         <p class ='unsupported-desktop-browser__description'>
13 14
             We recommend to try with the latest version of&nbsp;
14 15
             <a
15
-                className = 'unsupported-desktop-browser__link'
16
-                href = 'https://www.google.com/chrome/' >Chrome</a>&nbsp;or&nbsp;
16
+                class='unsupported-desktop-browser__link'
17
+                href='https://www.google.com/chrome/' >Chrome</a>&nbsp;or&nbsp;
17 18
             <a
18
-                class = 'unsupported-desktop-browser__link'
19
-                href = 'https://www.chromium.org/'>Chromium</a>
19
+                class='unsupported-desktop-browser__link'
20
+                href='https://www.chromium.org/'>Chromium</a>
20 21
         </p>
21 22
     </div>
22 23
 </body>

+ 1
- 1
static/settingsToolbarAdditionalContent.html Целия файл

@@ -1 +1 @@
1
-<template id="settings-toolbar-additional-content-template"></template>
1
+<template id="settings-toolbar-additional-content-template"></template>

+ 1
- 1
static/welcomePageAdditionalCard.html Целия файл

@@ -1 +1 @@
1
-<template id = "welcome-page-additional-card-template"></template>
1
+<template id="welcome-page-additional-card-template"></template>

+ 1
- 1
static/welcomePageAdditionalContent.html Целия файл

@@ -1 +1 @@
1
-<template id = "welcome-page-additional-content-template"></template>
1
+<template id="welcome-page-additional-content-template"></template>

+ 8
- 8
title.html Целия файл

@@ -1,9 +1,9 @@
1 1
 <title>Jitsi Meet</title>
2
-<meta property="og:title" content="Jitsi Meet"/>
3
-<meta property="og:image" content="images/jitsilogo.png?v=1"/>
4
-<meta property="og:description" content="Join a WebRTC video conference powered by the Jitsi Videobridge"/>
5
-<meta description="Join a WebRTC video conference powered by the Jitsi Videobridge"/>
6
-<meta itemprop="name" content="Jitsi Meet"/>
7
-<meta itemprop="description" content="Join a WebRTC video conference powered by the Jitsi Videobridge"/>
8
-<meta itemprop="image" content="images/jitsilogo.png?v=1"/>
9
-<link rel="icon" type="image/png" href="images/favicon.ico?v=1"/>
2
+<meta property="og:title" content="Jitsi Meet">
3
+<meta property="og:image" content="images/jitsilogo.png?v=1">
4
+<meta property="og:description" content="Join a WebRTC video conference powered by the Jitsi Videobridge">
5
+<meta name="description" content="Join a WebRTC video conference powered by the Jitsi Videobridge">
6
+<meta itemprop="name" content="Jitsi Meet">
7
+<meta itemprop="description" content="Join a WebRTC video conference powered by the Jitsi Videobridge">
8
+<meta itemprop="image" content="images/jitsilogo.png?v=1">
9
+<link rel="icon" type="image/png" href="images/favicon.ico?v=1">

Loading…
Отказ
Запис