susidns: Move web resources to war

This commit is contained in:
zzz
2020-12-06 12:02:11 +00:00
parent 127b93c1e2
commit c3f7c5d154
14 changed files with 35 additions and 34 deletions

View File

@@ -168,9 +168,10 @@
<property name="workspace.changes.tr" value="" />
<war destfile="${project}.war" webxml="WEB-INF/web-out.xml">
<fileset dir=".">
<include name="WEB-INF/**/*.class"/>
<include name="svg/*"/>
<include name="js/*"/>
<include name="WEB-INF/**/*.class"/>
<include name="svg/*"/>
<include name="themes/**/*"/>
<include name="js/*"/>
</fileset>
<manifest>
<attribute name="Implementation-Version" value="${full.version}" />

View File

@@ -29,7 +29,7 @@ public class BaseBean
private static final String RC_PROP_THEME_NAME = "routerconsole.theme";
private static final String PROP_THEME_NAME = "theme";
private static final String DEFAULT_THEME = "light";
private static final String BASE_THEME_PATH = "/themes/susidns/";
private static final String BASE_THEME_PATH = "themes/";
/** From CSSHelper */
private static final String PROP_DISABLE_OLD = "routerconsole.disableOldThemes";
private static final boolean DEFAULT_DISABLE_OLD = true;

View File

@@ -86,7 +86,7 @@
</p>
<div class="illustrate">
<object type="image/svg+xml" data="images/how.svg?<%=net.i2p.CoreVersion.VERSION%>">
<img src="/themes/susidns/images/how.png" border="0" alt="address book working scheme" title="How the address book works" class="illustrate" />
<img src="images/how.png" border="0" alt="address book working scheme" title="How the address book works" class="illustrate" />
</object>
</div>
</div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 793 B

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 526 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 953 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 672 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 680 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

File diff suppressed because it is too large Load Diff