This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch WW-5653-bootstrap5-sample-apps in repository https://gitbox.apache.org/repos/asf/struts.git
commit 40bb586b4af4432144b6131c30abaab7ca6d4cf0 Author: Lukasz Lenart <[email protected]> AuthorDate: Sat Jul 18 07:38:47 2026 +0200 WW-5653 fix(rest-showcase): migrate legacy BS2/BS3 grid classes to Bootstrap 5 Co-Authored-By: Claude Opus 4.8 <[email protected]> --- .../src/main/webapp/WEB-INF/content/orders-edit.jsp | 2 +- .../src/main/webapp/WEB-INF/content/orders-editNew.jsp | 2 +- .../src/main/webapp/WEB-INF/content/orders-show.jsp | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/rest-showcase/src/main/webapp/WEB-INF/content/orders-edit.jsp b/apps/rest-showcase/src/main/webapp/WEB-INF/content/orders-edit.jsp index ed9bac842..8c488e6fe 100644 --- a/apps/rest-showcase/src/main/webapp/WEB-INF/content/orders-edit.jsp +++ b/apps/rest-showcase/src/main/webapp/WEB-INF/content/orders-edit.jsp @@ -78,7 +78,7 @@ </div> </div> <div class="form-group"> - <div class="col-sm-offset-2 col-sm-4"> + <div class="offset-sm-2 col-sm-4"> <s:submit cssClass="btn btn-primary"/> </div> </div> diff --git a/apps/rest-showcase/src/main/webapp/WEB-INF/content/orders-editNew.jsp b/apps/rest-showcase/src/main/webapp/WEB-INF/content/orders-editNew.jsp index f0a5f0d70..2d1bb7190 100644 --- a/apps/rest-showcase/src/main/webapp/WEB-INF/content/orders-editNew.jsp +++ b/apps/rest-showcase/src/main/webapp/WEB-INF/content/orders-editNew.jsp @@ -71,7 +71,7 @@ </div> </div> <div class="form-group"> - <div class="col-sm-offset-2 col-sm-4"> + <div class="offset-sm-2 col-sm-4"> <s:submit cssClass="btn btn-primary"/> </div> </div> diff --git a/apps/rest-showcase/src/main/webapp/WEB-INF/content/orders-show.jsp b/apps/rest-showcase/src/main/webapp/WEB-INF/content/orders-show.jsp index 4e3161ce6..211153762 100644 --- a/apps/rest-showcase/src/main/webapp/WEB-INF/content/orders-show.jsp +++ b/apps/rest-showcase/src/main/webapp/WEB-INF/content/orders-show.jsp @@ -49,16 +49,16 @@ </div> <table class="table table-striped"> <tr> - <td class="span3">ID</td> - <td class="span9"><s:property value="id"/></td> + <td class="col-3">ID</td> + <td class="col-9"><s:property value="id"/></td> </tr> <tr> - <td class="span3">Client</td> - <td class="span9"><s:property value="clientName"/></td> + <td class="col-3">Client</td> + <td class="col-9"><s:property value="clientName"/></td> </tr> <tr> - <td class="span3">Amount</td> - <td class="span9"><s:property value="amount"/></td> + <td class="col-3">Amount</td> + <td class="col-9"><s:property value="amount"/></td> </tr> </table> <a href="${pageContext.request.contextPath}/orders" class="btn btn-info">
