Skip to content

Commit

Permalink
UI improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
BjoernKW committed Dec 23, 2022
1 parent 6cf3dd8 commit e2216f2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>com.bjoernkw</groupId>
<artifactId>schematic</artifactId>
<version>0.1.1-SNAPSHOT</version>
<version>0.1.1</version>
<name>Schematic</name>
<description>Database management UI for Spring Boot</description>
<properties>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.bjoernkw.schematic.autoconfiguration;

import com.bjoernkw.schematic.SchematicProperties;
import com.bjoernkw.schematic.TablesController;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
Expand All @@ -23,10 +22,4 @@ public SchematicAutoConfiguration(JdbcTemplate jdbcTemplate) {
public TablesController tablesController() {
return new TablesController(jdbcTemplate);
}

@Bean
@ConditionalOnMissingBean
public SchematicProperties schematicProperties() {
return new SchematicProperties();
}
}
2 changes: 1 addition & 1 deletion src/main/resources/templates/fragments/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="container">
<h1 class="app-title">Schematic - a database management UI for Spring Boot</h1>
<div class="float-end small">
v<span th:text="${@schematicProperties.version}"></span>
v<span th:text="${@schematicProperties?.version ?: '0.1.1'}"></span>
</div>
</div>
</nav>
Expand Down

0 comments on commit e2216f2

Please sign in to comment.