浏览代码

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
没有帐户链接到提交者的电子邮件

+ 1
- 1
base.html 查看文件

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

+ 1
- 0
css/_base.scss 查看文件

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

+ 4
- 0
css/_videolayout_default.scss 查看文件

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

+ 3
- 2
doc/examples/api.html 查看文件

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
     <head>
3
     <head>
3
         <meta charset="utf-8">
4
         <meta charset="utf-8">
4
-        <meta http-equiv="content-type" content="text/html;charset=utf-8">
5
+        <title>Jitsi API</title>
5
     </head>
6
     </head>
6
     <body>
7
     <body>
7
         <script src="https://meet.jit.si/external_api.js"></script>
8
         <script src="https://meet.jit.si/external_api.js"></script>

+ 7
- 7
index.html 查看文件

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
   <head>
3
   <head>
3
     <!--#include virtual="head.html" -->
4
     <!--#include virtual="head.html" -->
4
     <meta charset="utf-8">
5
     <meta charset="utf-8">
5
-    <meta http-equiv="content-type" content="text/html;charset=utf-8">
6
     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
6
     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
7
     <meta name="theme-color" content="#2A3A4B">
7
     <meta name="theme-color" content="#2A3A4B">
8
     <!--#include virtual="base.html" -->
8
     <!--#include virtual="base.html" -->
125
                         + "font-weight: 400;"
125
                         + "font-weight: 400;"
126
                         + "transform: translate(-50%, -50%)'>"
126
                         + "transform: translate(-50%, -50%)'>"
127
                         + "Uh oh! We couldn't fully download everything we needed :("
127
                         + "Uh oh! We couldn't fully download everything we needed :("
128
-                        + "<br/> "
128
+                        + "<br> "
129
                         + "We will try again shortly. In the mean time, check for problems with your Internet connection!"
129
                         + "We will try again shortly. In the mean time, check for problems with your Internet connection!"
130
-                        + "<br/><br/> "
130
+                        + "<br><br> "
131
                         + "<div id='moreInfo' style='"
131
                         + "<div id='moreInfo' style='"
132
                         + "display: none;'>" + "Missing " + fileRef
132
                         + "display: none;'>" + "Missing " + fileRef
133
-                        + "<br/><br/></div>"
133
+                        + "<br><br></div>"
134
                         + "<a id='showMore' style='"
134
                         + "<a id='showMore' style='"
135
                         + "text-decoration: underline;"
135
                         + "text-decoration: underline;"
136
                         + "font-size:small;"
136
                         + "font-size:small;"
195
     <!--#include virtual="static/settingsToolbarAdditionalContent.html" -->
195
     <!--#include virtual="static/settingsToolbarAdditionalContent.html" -->
196
   </head>
196
   </head>
197
   <body>
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
     </noscript>
200
     </noscript>
201
     <!--#include virtual="body.html" -->
201
     <!--#include virtual="body.html" -->
202
     <div id="react" role="main"></div>
202
     <div id="react" role="main"></div>

+ 1
- 0
react/features/speaker-stats/components/web/SpeakerStatsSearch.js 查看文件

37
             padding: '10px 16px',
37
             padding: '10px 16px',
38
             width: '100%',
38
             width: '100%',
39
             height: 40,
39
             height: 40,
40
+            boxSizing: 'border-box',
40
             '&::placeholder': {
41
             '&::placeholder': {
41
                 color: theme.palette.text03,
42
                 color: theme.palette.text03,
42
                 ...theme.typography.bodyShortRegular,
43
                 ...theme.typography.bodyShortRegular,

+ 2
- 1
resources/nwjs-integration/index.html 查看文件

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

+ 2
- 1
static/404.html 查看文件

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

+ 2
- 1
static/authError.html 查看文件

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

+ 2
- 1
static/close.html 查看文件

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

+ 2
- 1
static/close2.html 查看文件

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

+ 1
- 0
static/dialInInfo.html 查看文件

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

+ 1
- 1
static/msredirect.html 查看文件

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

+ 3
- 2
static/oauth.html 查看文件

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
 <head>
3
 <head>
3
     <meta charset="utf-8">
4
     <meta charset="utf-8">
4
-    <meta http-equiv="content-type" content="text/html;charset=utf-8">
5
+    <title>Jitsi login</title>
5
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
     <!--#include virtual="/base.html" -->
7
     <!--#include virtual="/base.html" -->
7
     <!--#include virtual="/title.html" -->
8
     <!--#include virtual="/title.html" -->

+ 1
- 1
static/offline.html 查看文件

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

+ 2
- 2
static/prejoin.html 查看文件

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

+ 6
- 5
static/recommendedBrowsers.html 查看文件

1
+<!doctype html>
1
 <html>
2
 <html>
2
 <head>
3
 <head>
3
     <!--#include virtual="/base.html" -->
4
     <!--#include virtual="/base.html" -->
4
-    <link rel="stylesheet" href="css/all.css"/>
5
+    <link rel="stylesheet" href="css/all.css">
5
     <!--#include virtual="/title.html" -->
6
     <!--#include virtual="/title.html" -->
6
 </head>
7
 </head>
7
 <body>
8
 <body>
12
         <p class ='unsupported-desktop-browser__description'>
13
         <p class ='unsupported-desktop-browser__description'>
13
             We recommend to try with the latest version of&nbsp;
14
             We recommend to try with the latest version of&nbsp;
14
             <a
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
             <a
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
         </p>
21
         </p>
21
     </div>
22
     </div>
22
 </body>
23
 </body>

+ 1
- 1
static/settingsToolbarAdditionalContent.html 查看文件

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

+ 1
- 1
static/welcomePageAdditionalCard.html 查看文件

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

+ 1
- 1
static/welcomePageAdditionalContent.html 查看文件

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

+ 8
- 8
title.html 查看文件

1
 <title>Jitsi Meet</title>
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">

正在加载...
取消
保存