Skip to content

Commit

Permalink
bootstrap 5 migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Staehler, Michael committed Dec 23, 2024
1 parent 39d057a commit b27f4df
Showing 1 changed file with 18 additions and 26 deletions.
44 changes: 18 additions & 26 deletions src/main/resources/templates/user/user_import_export.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,24 @@
<body>
<div layout:fragment="content">
<h2 th:text="#{user.importexport.title}"></h2>
<div class="col-xs-12 col-sm-6 col-md-4">
<div class="row">
<div class="panel ">
<div class="user panel-heading">
<span th:text="#{user.importexport.export.name}"></span>
</div>
<div class="panel-body">
<a href="#" th:href="@{/user/export}" th:text="#{user.importexport.export.users}"></a>
</div>
</div>
</div>
<div class="row">
<form th:action="@{/user/import}" th:object="${userImportExportCommand}" method="post" enctype="multipart/form-data" role="form">
<div class="panel ">
<div class="user panel-heading">
<span th:text="#{user.importexport.import.file}"></span>
</div>
<div class="panel-body">
<input id="jsonFile" type="file" th:field="*{jsonFile}" class="btn btn-default btn-file" />
<br/>
<input type="submit" class="btn btn-primary" th:value="#{user.importexport.upload.button}" />
</div>
</div>
</form>
</div>
</div>
<div class="row">
<div class="col-12 col-sm-6 col-md-4">
<div class="mb-5">
<form th:action="@{/user/import}" th:object="${userImportExportCommand}" method="post" enctype="multipart/form-data" role="form">
<h3 th:text="#{user.importexport.import.file}"></h3>
<input id="jsonFile" type="file" th:field="*{jsonFile}" class="btn btn-default btn-file" />
<br/>
<input type="submit" class="btn btn-primary" th:value="#{user.importexport.upload.button}" />
</form>
</div>
</div>
<div class="col-12 col-sm-6 col-md-4">
<div class="mb-5">
<h3 th:text="#{user.importexport.export.name}"></h3>
<a href="#" th:href="@{/user/export}" th:text="#{user.importexport.export.users}"></a>
</div>
</div>
</div>
</div>
</body>
</html>

0 comments on commit b27f4df

Please sign in to comment.