Skip to content

Commit 7ec0c4d

Browse files
committed
Layout updates
1 parent ff7f71c commit 7ec0c4d

5 files changed

Lines changed: 22 additions & 14 deletions

File tree

Ch05_AccessReferenceMaps/src/main/webapp/account.xhtml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html">
55
<h:head>
66
<h:outputStylesheet library="css" value="styles.css" name="styles.css" />
7-
<title>Ch05_AccessReferenceMaps</title>
7+
<title>Chapter 05 - Access Reference Maps</title>
88
</h:head>
99
<h:body>
10-
<h1>Ch05_AccessReferenceMaps: Account details (user id #{account.userId})</h1>
10+
<h1>Chapter 05 - Access Reference Maps</h1>
11+
12+
<p>Account details (user id #{account.userId}).</p>
1113

1214
<h:panelGrid columns="2" rendered="#{account.account != null}">
1315
<strong>Account name</strong> <h:outputText value="#{account.account.name}" />
@@ -19,5 +21,7 @@
1921
<h:panelGrid columns="1" rendered="#{account.account == null}">
2022
<p>No account found</p>
2123
</h:panelGrid>
24+
25+
<p><a href="index.xhtml">Back</a></p>
2226
</h:body>
2327
</html>

Ch05_AccessReferenceMaps/src/main/webapp/accountInteger.xhtml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html">
55
<h:head>
66
<h:outputStylesheet library="css" value="styles.css" name="styles.css" />
7-
<title>Ch05_AccessReferenceMaps</title>
7+
<title>Chapter 05 - Access Reference Maps</title>
88
</h:head>
99
<h:body>
10-
<h1>Ch05_AccessReferenceMaps: Account details (user id #{accountInteger.userId})</h1>
10+
<h1>Chapter 05 - Access Reference Maps</h1>
11+
12+
<p>Account details (user id #{accountInteger.userId}).</p>
1113

1214
<h:panelGrid columns="2" rendered="#{accountInteger.account != null}">
1315
<strong>Account name</strong> <h:outputText value="#{accountInteger.account.name}" />
@@ -19,5 +21,7 @@
1921
<h:panelGrid columns="1" rendered="#{accountInteger.account == null}">
2022
<p>No account found</p>
2123
</h:panelGrid>
24+
25+
<p><a href="index.xhtml">Back</a></p>
2226
</h:body>
2327
</html>

Ch05_AccessReferenceMaps/src/main/webapp/accountRandom.xhtml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html">
55
<h:head>
66
<h:outputStylesheet library="css" value="styles.css" name="styles.css" />
7-
<title>Ch05_AccessReferenceMaps</title>
7+
<title>Chapter 05 - Access Reference Maps</title>
88
</h:head>
99
<h:body>
10-
<h1>Ch05_AccessReferenceMaps: Account details (user id #{accountRandom.userId})</h1>
10+
<h1>Chapter 05 - Access Reference Maps</h1>
11+
12+
<p>Account details (user id #{accountRandom.userId}).</p>
1113

1214
<h:panelGrid columns="2" rendered="#{accountRandom.account != null}">
1315
<strong>Account name</strong> <h:outputText value="#{accountRandom.account.name}" />
@@ -19,5 +21,7 @@
1921
<h:panelGrid columns="1" rendered="#{accountRandom.account == null}">
2022
<p>No account found</p>
2123
</h:panelGrid>
24+
25+
<p><a href="index.xhtml">Back</a></p>
2226
</h:body>
2327
</html>

Ch05_AccessReferenceMaps/src/main/webapp/index.xhtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
xmlns:f="http://xmlns.jcp.org/jsf/core">
66
<h:head>
77
<h:outputStylesheet library="css" value="styles.css" name="styles.css"/>
8-
<title>Ch05_AccessReferenceMaps</title>
8+
<title>Chapter 05 - Access Reference Maps</title>
99
</h:head>
1010
<h:body>
11-
<h1>Ch05_AccessReferenceMaps</h1>
11+
<h1>Chapter 05 - Access Reference Maps</h1>
1212

1313
<p>Your user id is <strong>#{account.userId}</strong>.</p>
1414

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1-
.text-input {
2-
width: 250px;
3-
}
4-
51
.send-button {
62
margin-left: 25px;
73
}
84

95
h1 {
10-
font-size: 125%;
6+
font-size: 1.5em;
117
}
128

139
h2 {
14-
font-size: 110%;
10+
font-size: 1.2em;
1511
}

0 commit comments

Comments
 (0)