From db8d09625a1a6be774d1f7532d49551d72cf941d Mon Sep 17 00:00:00 2001 From: zeroleak Date: Mon, 9 Mar 2020 14:24:30 +0100 Subject: [PATCH] cleanup --- .../samourai/javaserver/web/models/ConfigTemplateModel.java | 5 ----- src/main/resources/templates/decorators/system.html | 6 ++++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/samourai/javaserver/web/models/ConfigTemplateModel.java b/src/main/java/com/samourai/javaserver/web/models/ConfigTemplateModel.java index b8940eb..b206875 100644 --- a/src/main/java/com/samourai/javaserver/web/models/ConfigTemplateModel.java +++ b/src/main/java/com/samourai/javaserver/web/models/ConfigTemplateModel.java @@ -1,14 +1,10 @@ package com.samourai.javaserver.web.models; -import com.samourai.javaserver.utils.ServerUtils; import java.util.Map; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.boot.autoconfigure.web.ServerProperties; import org.springframework.ui.Model; public class ConfigTemplateModel extends DashboardTemplateModel { public Map configInfo; - @Autowired protected ServerProperties serverProperties; public ConfigTemplateModel(String pageTitle, String logoTitle, Map configInfo) { super(pageTitle, logoTitle); @@ -17,7 +13,6 @@ public ConfigTemplateModel(String pageTitle, String logoTitle, MapSystem -
-
+
+
+ +