mirror of
https://github.com/zxing/zxing.git
synced 2024-11-09 20:44:03 -08:00
Minor HTML standards improvement per Chrome
This commit is contained in:
parent
78ccf2323f
commit
05abe0f7aa
|
@ -49,7 +49,7 @@
|
|||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-test</artifactId>
|
||||
<version>5.2.2.RELEASE</version>
|
||||
<version>5.2.6.RELEASE</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
|
|
@ -18,9 +18,11 @@
|
|||
<jsp:directive.page contentType="text/html" session="false"/>
|
||||
<jsp:scriptlet>response.setHeader("Cache-Control", "public");</jsp:scriptlet>
|
||||
<jsp:text><![CDATA[<!DOCTYPE html>]]></jsp:text>
|
||||
<html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name="description" content="Online barcode decoder from the ZXing project"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<title>ZXing Decoder Online</title>
|
||||
<link rel="stylesheet" href="style.css" type="text/css"/>
|
||||
</head>
|
||||
|
@ -58,15 +60,15 @@
|
|||
<table id="upload">
|
||||
<form action="decode" method="get">
|
||||
<tr>
|
||||
<td style="text-align:right">Enter an image URL:</td>
|
||||
<td><input type="text" size="80" name="u"/></td>
|
||||
<td style="text-align:right">Enter an <label for="u">image URL</label>:</td>
|
||||
<td><input type="text" size="80" name="u" id="u"/></td>
|
||||
<td><input type="submit"/></td>
|
||||
</tr>
|
||||
</form>
|
||||
<form action="decode" method="post" enctype="multipart/form-data">
|
||||
<tr>
|
||||
<td style="text-align:right">Or upload a file (&lt;10MB, &lt;10MP):</td>
|
||||
<td><input type="file" name="f"/></td>
|
||||
<td style="text-align:right">Or <label for="f">upload a file</label> (&lt;10MB, &lt;10MP):</td>
|
||||
<td><input type="file" name="f" id="f"/></td>
|
||||
<td><input type="submit"/></td>
|
||||
</tr>
|
||||
</form>
|
||||
|
|
|
@ -27,12 +27,13 @@
|
|||
response.setHeader("X-Robots-Tag", "none");
|
||||
</jsp:scriptlet>
|
||||
<jsp:text><![CDATA[<!DOCTYPE html>]]></jsp:text>
|
||||
<html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name="robots" content="none"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<title>Decode Succeeded</title>
|
||||
<link rel="stylesheet" href="style.css" type="text/css"/>
|
||||
<link rel="stylesheet" href="style.css" type="text/css"/>
|
||||
<style type="text/css">
|
||||
td { vertical-align: top; padding: 0.1in; background-color: #EEEEEE; font-family: monospace; }
|
||||
</style>
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<title>${requestScope['title']}</title>
|
||||
<link rel="stylesheet" href="style.css" type="text/css"/>
|
||||
</head>
|
||||
|
|
Loading…
Reference in a new issue