commit 4af796b9de9543b86027a5767f7b22fbec9d0584 Author: Mauro Talevi <mauro.tal...@aquilonia.org> AuthorDate: Thu, 19 Dec 2013 18:06:22 +0100 Commit: Mauro Talevi <mauro.tal...@aquilonia.org> CommitDate: Thu, 19 Dec 2013 18:06:22 +0100
JBEHAVE-968: Added icons for tree collapse/expand links. diff --git a/web-runner/src/main/java/org/jbehave/web/runner/wicket/pages/WikiTree.html b/web-runner/src/main/java/org/jbehave/web/runner/wicket/pages/WikiTree.html index ea38a5e..8f6321d 100644 --- a/web-runner/src/main/java/org/jbehave/web/runner/wicket/pages/WikiTree.html +++ b/web-runner/src/main/java/org/jbehave/web/runner/wicket/pages/WikiTree.html @@ -5,24 +5,28 @@ <body> <wicket:extend> <form wicket:id="treeForm"> + <div> <p> <label wicket:id="uri"> </label> </p> <p> - <input wicket:id="updateButton" type="submit" - value="Update Resources" /> + <input wicket:id="updateButton" type="submit" value="Update" /> </p> - <p> - Tree: <a wicket:id="collapseTree">collapse</a> <a wicket:id="expandTree">expand</a> - </p> - <p> + </div> + <div> + <a wicket:id="collapseTree"><img + src="images/jbehave/tree-collapse.png" alt="collapse all" /></a> <a + wicket:id="expandTree"><img + src="images/jbehave/tree-expand.png" alt="expand all" /></a> + </div> <div wicket:id="tree">[tree]</div> - </p> + <div> <p> <input type="submit" wicket:id="editButton" value="Edit" /> <input type="submit" wicket:id="viewButton" value="View" /> <input type="submit" wicket:id="runButton" value="Run" /> - <p> + </p> + </div> </form> </wicket:extend> </body> diff --git a/web-runner/src/main/webapp/images/jbehave/tree-collapse.png b/web-runner/src/main/webapp/images/jbehave/tree-collapse.png new file mode 100644 index 0000000..6c9e452 Binary files /dev/null and b/web-runner/src/main/webapp/images/jbehave/tree-collapse.png differ diff --git a/web-runner/src/main/webapp/images/jbehave/tree-expand.png b/web-runner/src/main/webapp/images/jbehave/tree-expand.png new file mode 100644 index 0000000..bb88f0f Binary files /dev/null and b/web-runner/src/main/webapp/images/jbehave/tree-expand.png differ