<!DOCTYPE HTML> <!-- Copyright 2016 codecentric AG Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <html xmlns:th="http://www.thymeleaf.org"> <head> <title th:text="#{project.name}">Sample App</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" /> <!-- Optional theme --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css" /> </head> <body> <div class="container"> <div class="page-header"> <img src="WP_20150828_14_37_57_Pro.jpg"> <h1 th:text="#{project.name}">Sample App</h1> <p class="lead">Demo application for showing how to run a <a href="http://projects.spring.io/spring-boot/">Spring Boot</a> application on <a href="https://openshift.com">OpenShift</a>.</p> <p>The code is open source at <a href="https://github.com/codecentric/springboot-sample-app">GitHub</a>. You're currently looking at version <span th:text="#{project.version}">0.0.1</span>.</p> </div> <div class="row"> <div class="col-md-12 col-lg-6"> <form th:object="${insertRecord}" method="POST"> <div class="form-group"> <label for="data">Record to insert</label> <input id="data" type="text" class="form-control" placeholder="Lorem ipsum" th:field="*{data}" /> </div> <button type="submit" class="btn btn-default">Submit</button> </form> </div> </div> <hr /> <div class="row"> <div class="col-sm-12"> <table class="table table-striped"> <thead> <tr> <th th:text="${ambiente}">Some text</th> </tr> <tr> <th>Records</th> </tr> </thead> <tbody> <tr th:each="record : ${records}"> <td th:text="${record.data}">Some text</td> </tr> </tbody> </table> </div> </div> </div> <!-- Latest compiled and minified JavaScript --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> </body> </html>