Skip to content

Commit ba996ba

Browse files
authored
More prettier (open-telemetry#8990)
1 parent 2535a75 commit ba996ba

File tree

9 files changed

+61
-66
lines changed

9 files changed

+61
-66
lines changed
Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
<!DOCTYPE html>
22
<html>
3-
<head>
4-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5-
<title>Example</title>
3+
<head>
4+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5+
<title>Example</title>
66

7-
<script type="text/javascript" language="javascript" src="greeting/greeting.nocache.js"></script>
8-
</head>
9-
<body>
10-
<p id="buttonContainer"></p>
11-
<p id="messageContainer"></p>
12-
</body>
13-
</html>
7+
<script
8+
type="text/javascript"
9+
language="javascript"
10+
src="greeting/greeting.nocache.js"
11+
></script>
12+
</head>
13+
<body>
14+
<p id="buttonContainer"></p>
15+
<p id="messageContainer"></p>
16+
</body>
17+
</html>
Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
11
<!DOCTYPE html>
2-
<html lang="en"
3-
xmlns="http://www.w3.org/1999/xhtml"
4-
xmlns:h="http://xmlns.jcp.org/jsf/html">
2+
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html">
53
<h:head>
64
<title>Hello, World!</title>
75
</h:head>
86
<h:body>
97
<h:form id="app-form">
108
<p>
11-
<h:outputLabel for="name" value="Enter your name" required="true"/>
12-
<h:inputText id="name" value="#{greetingForm.name}"/>
13-
<h:message for="name"/>
9+
<h:outputLabel for="name" value="Enter your name" required="true" />
10+
<h:inputText id="name" value="#{greetingForm.name}" />
11+
<h:message for="name" />
1412
</p>
1513
<p>
16-
<h:commandButton id="submit" value="Say hello" action="#{greetingForm.submit()}"/>
14+
<h:commandButton id="submit" value="Say hello" action="#{greetingForm.submit()}" />
1715
</p>
1816
<p>
19-
<h:outputText id="output-message" value="#{greetingForm.message}"/>
17+
<h:outputText id="output-message" value="#{greetingForm.message}" />
2018
</p>
2119
</h:form>
2220
</h:body>
23-
</html>
21+
</html>
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<f:view xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
2-
xmlns:f="http://xmlns.jcp.org/jsf/core"
3-
contentType="text/html"
4-
encoding="UTF-8">
5-
<ui:composition>
6-
Hello
7-
</ui:composition>
8-
</f:view>
1+
<f:view
2+
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
3+
xmlns:f="http://xmlns.jcp.org/jsf/core"
4+
contentType="text/html"
5+
encoding="UTF-8"
6+
>
7+
<ui:composition> Hello </ui:composition>
8+
</f:view>
Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
11
<!DOCTYPE html>
2-
<html lang="en"
3-
xmlns="http://www.w3.org/1999/xhtml"
4-
xmlns:h="http://java.sun.com/jsf/html">
2+
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html">
53
<head>
64
<title>Hello, World!</title>
75
</head>
86
<body>
97
<h:form id="app-form">
108
<p>
11-
<h:outputLabel for="name" value="Enter your name" required="true"/>
12-
<h:inputText id="name" value="#{greetingForm.name}"/>
13-
<h:message for="name"/>
9+
<h:outputLabel for="name" value="Enter your name" required="true" />
10+
<h:inputText id="name" value="#{greetingForm.name}" />
11+
<h:message for="name" />
1412
</p>
1513
<p>
1614
<h:commandButton id="submit" value="Say hello" action="#{greetingForm.submit()}">
1715
</h:commandButton>
1816
</p>
1917
<p>
20-
<h:outputText id="output-message" value="#{greetingForm.message}"/>
18+
<h:outputText id="output-message" value="#{greetingForm.message}" />
2119
</p>
2220
</h:form>
2321
</body>
24-
</html>
22+
</html>
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
<f:view xmlns:f="http://java.sun.com/jsf/core"
2-
xmlns:ui="http://java.sun.com/jsf/facelets">
3-
<ui:composition>
4-
Hello
5-
</ui:composition>
1+
<f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets">
2+
<ui:composition> Hello </ui:composition>
63
</f:view>
Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
11
<!DOCTYPE html>
2-
<html lang="en"
3-
xmlns="http://www.w3.org/1999/xhtml"
4-
xmlns:h="http://xmlns.jcp.org/jsf/html">
2+
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html">
53
<h:head>
64
<title>Hello, World!</title>
75
</h:head>
86
<h:body>
97
<h:form id="app-form">
108
<p>
11-
<h:outputLabel for="name" value="Enter your name" required="true"/>
12-
<h:inputText id="name" value="#{greetingForm.name}"/>
13-
<h:message for="name"/>
9+
<h:outputLabel for="name" value="Enter your name" required="true" />
10+
<h:inputText id="name" value="#{greetingForm.name}" />
11+
<h:message for="name" />
1412
</p>
1513
<p>
16-
<h:commandButton id="submit" value="Say hello" action="#{greetingForm.submit()}"/>
14+
<h:commandButton id="submit" value="Say hello" action="#{greetingForm.submit()}" />
1715
</p>
1816
<p>
19-
<h:outputText id="output-message" value="#{greetingForm.message}"/>
17+
<h:outputText id="output-message" value="#{greetingForm.message}" />
2018
</p>
2119
</h:form>
2220
</h:body>
23-
</html>
21+
</html>
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<f:view xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
2-
xmlns:f="http://xmlns.jcp.org/jsf/core"
3-
contentType="text/html"
4-
encoding="UTF-8">
5-
<ui:composition>
6-
Hello
7-
</ui:composition>
8-
</f:view>
1+
<f:view
2+
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
3+
xmlns:f="http://xmlns.jcp.org/jsf/core"
4+
contentType="text/html"
5+
encoding="UTF-8"
6+
>
7+
<ui:composition> Hello </ui:composition>
8+
</f:view>
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<html>
2-
<head>
3-
<title>PLAIN HTML</title>
4-
</head>
2+
<head>
3+
<title>PLAIN HTML</title>
4+
</head>
55

6-
<body>
7-
<h1>HELLO!</h1>
8-
</body>
6+
<body>
7+
<h1>HELLO!</h1>
8+
</body>
99
</html>
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.apache.org">
3-
<body>
4-
<span wicket:id="message" id="message">Message goes here</span>
5-
</body>
3+
<body>
4+
<span wicket:id="message" id="message">Message goes here</span>
5+
</body>
66
</html>

0 commit comments

Comments
 (0)