Un peu de tout
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
<meta charset="UTF-8">
|
||||
</head>
|
||||
<body>
|
||||
<div id="container-main">
|
||||
<div class="row mt-3">
|
||||
<div class="col-md-6 offset-md-3">
|
||||
<div class="container-fluid" id="container-main" >
|
||||
<div class="row mt-3 justify-content-center"> <!-- Ajoutez la classe justify-content-center pour centrer le contenu -->
|
||||
<div class="col-md-6">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h4 th:text="#{article.details.heading}"></h4>
|
||||
@@ -46,7 +46,7 @@
|
||||
<strong><label class="col-form-label" th:text="#{article.details.label.pickup}"></label></strong>
|
||||
<span th:text="${retrait} ? ${retrait.rue} + ' ' + ${retrait.code_postale} + ' ' + ${retrait.ville} : #{article.details.address.unknown}"></span>
|
||||
</div>
|
||||
<form th:action="@{/enchere/incEnchere}" method="post" th:object="${enchere}" class="mt-2 d-flex flex-row align-items-end justify-content-between">
|
||||
<form th:if="${!isArticleCurrentUser}" th:action="@{/enchere/incEnchere}" method="post" th:object="${enchere}" class="mt-2 d-flex flex-row align-items-end justify-content-between">
|
||||
<input type="hidden" id="articleId" name="articleId" th:value="${article.id}">
|
||||
<label for="montantEnchere" th:text="#{article.details.label.amount}"></label>
|
||||
<input type="number" th:field="*{montantEnchere}" id="montantEnchere" step="0.01" min="0">
|
||||
@@ -57,6 +57,7 @@
|
||||
</span>
|
||||
<button type="submit" class="btn btn-primary" th:text="#{article.details.button.bid}"></button>
|
||||
</form>
|
||||
<button th:if="${isArticleCurrentUser}" type="button" class="btn btn-success"> Modifier</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -64,5 +65,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user