Minor styling improvements in Border examples
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/d6ff34e7 Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/d6ff34e7 Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/d6ff34e7 Branch: refs/heads/5299-ajax-strategy Commit: d6ff34e72eb1e227acd59459ea6e463210b183bf Parents: 7e9dc47 Author: Martin Tzvetanov Grigorov <mgrigo...@apache.org> Authored: Fri Aug 2 08:53:31 2013 +0200 Committer: Martin Tzvetanov Grigorov <mgrigo...@apache.org> Committed: Fri Aug 2 08:53:31 2013 +0200 ---------------------------------------------------------------------- .../java/org/apache/wicket/examples/compref/MyBorder.html | 2 +- .../java/org/apache/wicket/examples/navomatic/Page1.html | 8 ++++---- .../java/org/apache/wicket/examples/navomatic/Page2.html | 8 ++++---- .../java/org/apache/wicket/examples/navomatic/Page3.html | 10 +++++----- 4 files changed, 14 insertions(+), 14 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/d6ff34e7/wicket-examples/src/main/java/org/apache/wicket/examples/compref/MyBorder.html ---------------------------------------------------------------------- diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/compref/MyBorder.html b/wicket-examples/src/main/java/org/apache/wicket/examples/compref/MyBorder.html index 82a94a6..3cd8af2 100644 --- a/wicket-examples/src/main/java/org/apache/wicket/examples/compref/MyBorder.html +++ b/wicket-examples/src/main/java/org/apache/wicket/examples/compref/MyBorder.html @@ -11,7 +11,7 @@ Might be handy as preview code. <wicket:border> - <div style="border: 2px dotted #fc0; width: 300px; padding: 5px;"> + <div style="border: 2px dotted #fc0; width: 400px; padding: 5px;"> before the border contents <br /> <wicket:body/> <br />after the border contents <br /> http://git-wip-us.apache.org/repos/asf/wicket/blob/d6ff34e7/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page1.html ---------------------------------------------------------------------- diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page1.html b/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page1.html index 098cbe5..a619ce0 100644 --- a/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page1.html +++ b/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page1.html @@ -4,16 +4,16 @@ <link rel="stylesheet" type="text/css" href="style.css"/> </head> <body> - <span wicket:id = "mainNavigation"/> - <span wicket:id = "navomaticBorder"> + <div wicket:id = "mainNavigation"></div> + <div wicket:id = "navomaticBorder"> <div style = "width:250px"> - <center><h3>Page 1</h3></center> + <div style="text-align: center;"><h3>Page 1</h3></div> Welcome to Navomatic. The navigation links on the left will allow you to navigate between three pages. Notice that the current page (Page1) is displayed in the "Navigation Links" area as italicized text, while the other pages are displayed as clickable links. Go ahead and click the "Page2" link now. </div> - </span> + </div> </body> </html> http://git-wip-us.apache.org/repos/asf/wicket/blob/d6ff34e7/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page2.html ---------------------------------------------------------------------- diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page2.html b/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page2.html index 7432333..90c64e9 100644 --- a/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page2.html +++ b/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page2.html @@ -4,14 +4,14 @@ <link rel="stylesheet" type="text/css" href="style.css"/> </head> <body> - <span wicket:id = "mainNavigation"/> - <span wicket:id = "navomaticBorder"> + <div wicket:id = "mainNavigation"></div> + <div wicket:id = "navomaticBorder"> <div style = "width:250px"> - <center><h3>Page 2</h3></center> + <div style="text-align: center;"><h3>Page 2</h3></div> Welcome to Page 2 of Navomatic. Notice that the Page1 link is now clickable (so that you can return to Page1 if you want to) and the Page2 link is italicized text. Go ahead and click the Page3 link. </div> - </span> + </div> </body> </html> http://git-wip-us.apache.org/repos/asf/wicket/blob/d6ff34e7/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page3.html ---------------------------------------------------------------------- diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page3.html b/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page3.html index 902fc47..4daf41d 100644 --- a/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page3.html +++ b/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page3.html @@ -4,10 +4,10 @@ <link rel="stylesheet" type="text/css" href="style.css"/> </head> <body> - <span wicket:id = "mainNavigation"/> - <span wicket:id = "navomaticBorder"> - <div style = "width:350px"> - <center><h3>Page 3</h3></center> + <div wicket:id = "mainNavigation"></div> + <div wicket:id = "navomaticBorder"> + <div style = "width:400px"> + <div style="text-align: center;"><h3>Page 3</h3></div> The links on the left are enabled and disabled without any code at all. Here is the HTML for the navigation area, which can be found in NavomaticBorder.html: @@ -25,6 +25,6 @@ NavomaticBorder component is reused between all three pages, adding navigation links to each. </div> - </span> + </div> </body> </html>