forked from I2P_Developers/i2p.i2p
SusiDNS: Add export button
This commit is contained in:
@ -178,7 +178,20 @@ ${book.loadBookMessages}
|
||||
</div></form>
|
||||
</c:if>
|
||||
|
||||
<form action="export" method="GET" target="_top">
|
||||
<div id="buttons">
|
||||
<p class="buttons">
|
||||
<input type="hidden" name="book" value="${book.book}">
|
||||
<c:if test="${book.search} != null && ${book.search}.length() > 0">
|
||||
<input type="hidden" name="search" value="${book.search}">
|
||||
</c:if>
|
||||
<c:if test="${book.hasFilter}">
|
||||
<input type="hidden" name="filter" value="${book.filter}">
|
||||
</c:if>
|
||||
<input type="submit" class="export" value="<%=intl._("Export in hosts.txt format")%>" />
|
||||
</p></div></form>
|
||||
|
||||
</c:if><% /* book.notEmpty */ %>
|
||||
|
||||
<c:if test="${book.isEmpty}">
|
||||
<div id="book">
|
||||
|
@ -290,6 +290,11 @@ public abstract class NamingService {
|
||||
Map<String, String> entries = getBase64Entries(options);
|
||||
out.write("# Address book: ");
|
||||
out.write(getName());
|
||||
if (options != null) {
|
||||
String list = options.getProperty("list");
|
||||
if (list != null)
|
||||
out.write(" (" + list + ')');
|
||||
}
|
||||
out.write('\n');
|
||||
int sz = entries.size();
|
||||
if (sz <= 0) {
|
||||
|
11
history.txt
11
history.txt
@ -1,6 +1,13 @@
|
||||
2015-05-03 zzz
|
||||
* SusiDNS: Add export button
|
||||
|
||||
2015-05-02 zzz
|
||||
* Console: Fix Indonesian translations
|
||||
* Jetty 8.1.17.v20150415
|
||||
* Transports: Cleanup of ticket #1458 fixes
|
||||
|
||||
2015-04-30 zzz
|
||||
* Transports:
|
||||
- Correctly handle IPv4 firewalled, IPv6 not (ticket #1458)
|
||||
* Transports: Correctly handle IPv4 firewalled, IPv6 not (ticket #1458)
|
||||
|
||||
2015-04-29 zzz
|
||||
* Clock: Make forward slewing work better
|
||||
|
@ -252,6 +252,12 @@ input.delete {
|
||||
min-height: 22px;
|
||||
}
|
||||
|
||||
input.export {
|
||||
background: #ddf url('/themes/console/images/arrow_right.png') no-repeat 2px center;
|
||||
padding: 2px 3px 2px 20px;
|
||||
min-height: 22px;
|
||||
}
|
||||
|
||||
input.reload {
|
||||
background: #ddf url('/themes/console/images/arrow_refresh.png') no-repeat 2px center;
|
||||
padding: 2px 3px 2px 20px;
|
||||
|
@ -222,6 +222,12 @@ input.delete {
|
||||
min-height: 22px;
|
||||
}
|
||||
|
||||
input.export {
|
||||
background: #ddf url('/themes/console/images/arrow_right.png') no-repeat 2px center;
|
||||
padding: 2px 3px 2px 20px;
|
||||
min-height: 22px;
|
||||
}
|
||||
|
||||
input.reload {
|
||||
background: #ddf url('/themes/console/images/arrow_refresh.png') no-repeat 2px center;
|
||||
padding: 2px 3px 2px 20px;
|
||||
|
@ -252,6 +252,12 @@ input.delete {
|
||||
min-height: 22px;
|
||||
}
|
||||
|
||||
input.export {
|
||||
background: #ddf url('/themes/console/images/arrow_right.png') no-repeat 2px center;
|
||||
padding: 2px 3px 2px 20px;
|
||||
min-height: 22px;
|
||||
}
|
||||
|
||||
input.reload {
|
||||
background: #ddf url('/themes/console/images/arrow_refresh.png') no-repeat 2px center;
|
||||
padding: 2px 3px 2px 20px;
|
||||
|
@ -18,7 +18,7 @@ public class RouterVersion {
|
||||
/** deprecated */
|
||||
public final static String ID = "Monotone";
|
||||
public final static String VERSION = CoreVersion.VERSION;
|
||||
public final static long BUILD = 12;
|
||||
public final static long BUILD = 13;
|
||||
|
||||
/** for example "-test" */
|
||||
public final static String EXTRA = "";
|
||||
|
Reference in New Issue
Block a user