forked from I2P_Developers/i2p.i2p
susidns: rework top nav, consolidate filter section, misc markup
This commit is contained in:
@@ -211,7 +211,7 @@ public class NamingServiceBean extends AddressbookBean
|
|||||||
warn(e);
|
warn(e);
|
||||||
}
|
}
|
||||||
if( message.length() > 0 )
|
if( message.length() > 0 )
|
||||||
message = "<p>" + message + "</p>";
|
message = "<p id=\"filtered\">" + message + "</p>";
|
||||||
return message;
|
return message;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -59,18 +59,17 @@
|
|||||||
<hr>
|
<hr>
|
||||||
<div id="navi">
|
<div id="navi">
|
||||||
<p>
|
<p>
|
||||||
<%=intl._t("Address books")%>:
|
<a id="overview" href="index"><%=intl._t("Overview")%></a>
|
||||||
<a href="addressbook?book=private&filter=none&begin=0&end=49"><%=intl._t("private")%></a> |
|
<a class="abook" href="addressbook?book=private"><%=intl._t("Private")%></a>
|
||||||
<a href="addressbook?book=master&filter=none&begin=0&end=49"><%=intl._t("master")%></a> |
|
<a class="abook" href="addressbook?book=master"><%=intl._t("Master")%></a>
|
||||||
<a href="addressbook?book=router&filter=none&begin=0&end=49"><%=intl._t("router")%></a> |
|
<a class="abook" href="addressbook?book=router"><%=intl._t("Router")%></a>
|
||||||
<a href="addressbook?book=published&filter=none&begin=0&end=49"><%=intl._t("published")%></a> *
|
<a class="abook" href="addressbook?book=published"><%=intl._t("Published")%></a>
|
||||||
<a href="subscriptions"><%=intl._t("Subscriptions")%></a> *
|
<a id="subs" href="subscriptions"><%=intl._t("Subscriptions")%></a>
|
||||||
<a href="config"><%=intl._t("Configuration")%></a> *
|
<a id="config" href="config"><%=intl._t("Configuration")%></a>
|
||||||
<a href="index"><%=intl._t("Overview")%></a>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<div id="headline">
|
<div class="headline" id="addressbook">
|
||||||
<h3><%=intl._t("Address book")%>: <%=intl._t(book.getBook())%></h3>
|
<h3><%=intl._t("Address book")%>: <%=intl._t(book.getBook())%></h3>
|
||||||
<h4><%=intl._t("Storage")%>: ${book.displayName}</h4>
|
<h4><%=intl._t("Storage")%>: ${book.displayName}</h4>
|
||||||
</div>
|
</div>
|
||||||
@@ -81,7 +80,14 @@ ${book.loadBookMessages}
|
|||||||
|
|
||||||
<c:if test="${book.notEmpty}">
|
<c:if test="${book.notEmpty}">
|
||||||
<div id="filter">
|
<div id="filter">
|
||||||
<p><%=intl._t("Filter")%>:
|
<c:if test="${book.hasFilter}">
|
||||||
|
<span><%=intl._t("Current filter")%>: <b>${book.filter}</b>
|
||||||
|
<a href="addressbook?filter=none&begin=0&end=49"><%=intl._t("clear filter")%></a></span>
|
||||||
|
</c:if>
|
||||||
|
<c:if test="${!book.hasFilter}">
|
||||||
|
<span><%=intl._t("Filter")%></span>
|
||||||
|
</c:if>
|
||||||
|
<p>
|
||||||
<a href="addressbook?filter=a&begin=0&end=49">a</a>
|
<a href="addressbook?filter=a&begin=0&end=49">a</a>
|
||||||
<a href="addressbook?filter=b&begin=0&end=49">b</a>
|
<a href="addressbook?filter=b&begin=0&end=49">b</a>
|
||||||
<a href="addressbook?filter=c&begin=0&end=49">c</a>
|
<a href="addressbook?filter=c&begin=0&end=49">c</a>
|
||||||
@@ -111,10 +117,6 @@ ${book.loadBookMessages}
|
|||||||
<a href="addressbook?filter=0-9&begin=0&end=49">0-9</a>
|
<a href="addressbook?filter=0-9&begin=0&end=49">0-9</a>
|
||||||
<a href="addressbook?filter=xn--&begin=0&end=49"><%=intl._t("other")%></a>
|
<a href="addressbook?filter=xn--&begin=0&end=49"><%=intl._t("other")%></a>
|
||||||
<a href="addressbook?filter=none&begin=0&end=49"><%=intl._t("all")%></a></p>
|
<a href="addressbook?filter=none&begin=0&end=49"><%=intl._t("all")%></a></p>
|
||||||
<c:if test="${book.hasFilter}">
|
|
||||||
<p><%=intl._t("Current filter")%>: <b>${book.filter}</b>
|
|
||||||
<a href="addressbook?filter=none&begin=0&end=49"><%=intl._t("clear filter")%></a></p>
|
|
||||||
</c:if>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="search">
|
<div id="search">
|
||||||
@@ -144,7 +146,7 @@ ${book.loadBookMessages}
|
|||||||
<tr class="head">
|
<tr class="head">
|
||||||
|
|
||||||
<c:if test="${book.master || book.router || book.published || book.private}">
|
<c:if test="${book.master || book.router || book.published || book.private}">
|
||||||
<th> </th>
|
<th></th>
|
||||||
</c:if>
|
</c:if>
|
||||||
|
|
||||||
<% if (book.getEntries().length > 0) { /* Don't show if no results. Can't figure out how to do this with c:if */ %>
|
<% if (book.getEntries().length > 0) { /* Don't show if no results. Can't figure out how to do this with c:if */ %>
|
||||||
|
|||||||
@@ -55,18 +55,19 @@
|
|||||||
</div><hr>
|
</div><hr>
|
||||||
<div id="navi">
|
<div id="navi">
|
||||||
<p>
|
<p>
|
||||||
<%=intl._t("Address books")%>:
|
<a id="overview" href="index"><%=intl._t("Overview")%></a>
|
||||||
<a href="addressbook?book=private"><%=intl._t("private")%></a> |
|
<a class="abook" href="addressbook?book=private"><%=intl._t("Private")%></a>
|
||||||
<a href="addressbook?book=master"><%=intl._t("master")%></a> |
|
<a class="abook" href="addressbook?book=master"><%=intl._t("Master")%></a>
|
||||||
<a href="addressbook?book=router"><%=intl._t("router")%></a> |
|
<a class="abook" href="addressbook?book=router"><%=intl._t("Router")%></a>
|
||||||
<a href="addressbook?book=published"><%=intl._t("published")%></a> *
|
<a class="abook" href="addressbook?book=published"><%=intl._t("Published")%></a>
|
||||||
<a href="subscriptions"><%=intl._t("Subscriptions")%></a> *
|
<a id="subs" href="subscriptions"><%=intl._t("Subscriptions")%></a>
|
||||||
<%=intl._t("Configuration")%> *
|
<a id="config" href="config"><%=intl._t("Configuration")%></a>
|
||||||
<a href="index"><%=intl._t("Overview")%></a>
|
|
||||||
</p>
|
</p>
|
||||||
</div><hr>
|
</div>
|
||||||
<div id="headline">
|
<hr>
|
||||||
<h3>${cfg.fileName}</h3>
|
<div class="headline" id="config">
|
||||||
|
<h3><%=intl._t("Configuration")%></h3>
|
||||||
|
<h4><%=intl._t("Location:")%> ${cfg.fileName}</h4>
|
||||||
</div>
|
</div>
|
||||||
<div id="messages">${cfg.messages}</div>
|
<div id="messages">${cfg.messages}</div>
|
||||||
<form method="POST" action="config">
|
<form method="POST" action="config">
|
||||||
@@ -79,7 +80,7 @@
|
|||||||
<input class="accept" type="submit" name="action" value="<%=intl._t("Save")%>" >
|
<input class="accept" type="submit" name="action" value="<%=intl._t("Save")%>" >
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<div id="help">
|
<div class="help" id="helpconfig">
|
||||||
<h3><%=intl._t("Hints")%></h3>
|
<h3><%=intl._t("Hints")%></h3>
|
||||||
<ol>
|
<ol>
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -53,18 +53,17 @@
|
|||||||
<hr>
|
<hr>
|
||||||
<div id="navi">
|
<div id="navi">
|
||||||
<p>
|
<p>
|
||||||
<%=intl._t("Address books")%>:
|
<a id="overview" href="index"><%=intl._t("Overview")%></a>
|
||||||
<a href="addressbook?book=private&filter=none&begin=0&end=49"><%=intl._t("private")%></a> |
|
<a class="abook" href="addressbook?book=private"><%=intl._t("Private")%></a>
|
||||||
<a href="addressbook?book=master&filter=none&begin=0&end=49"><%=intl._t("master")%></a> |
|
<a class="abook" href="addressbook?book=master"><%=intl._t("Master")%></a>
|
||||||
<a href="addressbook?book=router&filter=none&begin=0&end=49"><%=intl._t("router")%></a> |
|
<a class="abook" href="addressbook?book=router"><%=intl._t("Router")%></a>
|
||||||
<a href="addressbook?book=published&filter=none&begin=0&end=49"><%=intl._t("published")%></a> *
|
<a class="abook" href="addressbook?book=published"><%=intl._t("Published")%></a>
|
||||||
<a href="subscriptions"><%=intl._t("Subscriptions")%></a> *
|
<a id="subs" href="subscriptions"><%=intl._t("Subscriptions")%></a>
|
||||||
<a href="config"><%=intl._t("Configuration")%></a> *
|
<a id="config" href="config"><%=intl._t("Configuration")%></a>
|
||||||
<a href="index"><%=intl._t("Overview")%></a>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<div id="headline">
|
<div class="headline">
|
||||||
<h3><%=intl._t("Address book")%>: <%=intl._t(book.getBook())%></h3>
|
<h3><%=intl._t("Address book")%>: <%=intl._t(book.getBook())%></h3>
|
||||||
<h4><%=intl._t("Storage")%>: ${book.displayName}</h4>
|
<h4><%=intl._t("Storage")%>: ${book.displayName}</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -54,14 +54,13 @@
|
|||||||
<hr>
|
<hr>
|
||||||
<div id="navi">
|
<div id="navi">
|
||||||
<p>
|
<p>
|
||||||
<%=intl._t("Address books")%>:
|
<a id="overview" href="index"><%=intl._t("Overview")%></a>
|
||||||
<a href="addressbook?book=private"><%=intl._t("private")%></a> |
|
<a class="abook" href="addressbook?book=private"><%=intl._t("Private")%></a>
|
||||||
<a href="addressbook?book=master"><%=intl._t("master")%></a> |
|
<a class="abook" href="addressbook?book=master"><%=intl._t("Master")%></a>
|
||||||
<a href="addressbook?book=router"><%=intl._t("router")%></a> |
|
<a class="abook" href="addressbook?book=router"><%=intl._t("Router")%></a>
|
||||||
<a href="addressbook?book=published"><%=intl._t("published")%></a> *
|
<a class="abook" href="addressbook?book=published"><%=intl._t("Published")%></a>
|
||||||
<a href="subscriptions"><%=intl._t("Subscriptions")%></a> *
|
<a id="subs" href="subscriptions"><%=intl._t("Subscriptions")%></a>
|
||||||
<a href="config"><%=intl._t("Configuration")%></a> *
|
<a id="config" href="config"><%=intl._t("Configuration")%></a>
|
||||||
<%=intl._t("Overview")%>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
|
|||||||
@@ -54,18 +54,19 @@
|
|||||||
</div><hr>
|
</div><hr>
|
||||||
<div id="navi">
|
<div id="navi">
|
||||||
<p>
|
<p>
|
||||||
<%=intl._t("Address books")%>:
|
<a id="overview" href="index"><%=intl._t("Overview")%></a>
|
||||||
<a href="addressbook?book=private"><%=intl._t("private")%></a> |
|
<a class="abook" href="addressbook?book=private"><%=intl._t("Private")%></a>
|
||||||
<a href="addressbook?book=master"><%=intl._t("master")%></a> |
|
<a class="abook" href="addressbook?book=master"><%=intl._t("Master")%></a>
|
||||||
<a href="addressbook?book=router"><%=intl._t("router")%></a> |
|
<a class="abook" href="addressbook?book=router"><%=intl._t("Router")%></a>
|
||||||
<a href="addressbook?book=published"><%=intl._t("published")%></a> *
|
<a class="abook" href="addressbook?book=published"><%=intl._t("Published")%></a>
|
||||||
<%=intl._t("Subscriptions")%> *
|
<a id="subs" href="subscriptions"><%=intl._t("Subscriptions")%></a>
|
||||||
<a href="config"><%=intl._t("Configuration")%></a> *
|
<a id="config" href="config"><%=intl._t("Configuration")%></a>
|
||||||
<a href="index"><%=intl._t("Overview")%></a>
|
|
||||||
</p>
|
</p>
|
||||||
</div><hr>
|
</div>
|
||||||
<div id="headline">
|
<hr>
|
||||||
<h3>${subs.fileName}</h3>
|
<div class="headline" id="subscriptions">
|
||||||
|
<h3><%=intl._t("Subscriptions")%></h3>
|
||||||
|
<h4><%=intl._t("Location:")%> ${subs.fileName}</h4>
|
||||||
</div>
|
</div>
|
||||||
<div id="messages">${subs.messages}</div>
|
<div id="messages">${subs.messages}</div>
|
||||||
<form method="POST" action="subscriptions">
|
<form method="POST" action="subscriptions">
|
||||||
@@ -78,7 +79,7 @@
|
|||||||
<input class="accept" type="submit" name="action" value="<%=intl._t("Save")%>" >
|
<input class="accept" type="submit" name="action" value="<%=intl._t("Save")%>" >
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<div id="help">
|
<div class="help" id="helpsubs">
|
||||||
<p class="help">
|
<p class="help">
|
||||||
<%=intl._t("The subscription file contains a list of i2p URLs.")%>
|
<%=intl._t("The subscription file contains a list of i2p URLs.")%>
|
||||||
<%=intl._t("The addressbook application regularly checks this list for new eepsites.")%>
|
<%=intl._t("The addressbook application regularly checks this list for new eepsites.")%>
|
||||||
|
|||||||
Reference in New Issue
Block a user