css changes from zzz

pull/34/head
Zlatin Balevsky 2019-12-17 14:25:42 +00:00
parent 67ee634f20
commit 3abc617e9f
5 changed files with 61 additions and 15 deletions

View File

@ -39,7 +39,7 @@ div#topTableSender table thead th:nth-child(3) {
width: 100px;
}
div#topTableSender table thead th:nth-child(4) {
width: 300px;
width: 340px;
}
div#topTableSender table tbody td:nth-child(1) {
text-overflow: ellipsis;
@ -93,7 +93,7 @@ div#bottomTableFile table thead th:nth-child(2) {
width: 100px;
}
div#bottomTableFile table thead th:nth-child(3) {
width: 300px;
width: 340px;
}
div#bottomTableFile table tbody td:nth-child(1) {
text-overflow: ellipsis;
@ -198,7 +198,7 @@ div#uploads table tbody td:nth-child(5) {
}
div#trustedUsers table thead th:nth-child(2) {
width: 100px;
width: 200px;
}
div#trustedUsers table thead th:nth-child(3) {
width: 100px;
@ -217,7 +217,7 @@ div#distrustedUsers table tbody td:nth-child(1) {
text-overflow: ellipsis;
}
div#distrustedUsers table thead th:nth-child(2) {
width: 100px;
width: 300px;
}
div#trustLists table thead th:nth-child(2) {
@ -246,27 +246,58 @@ div#trustLists table tbody td:nth-child(4) {
}
div#trusted table thead th:nth-child(2) {
width: 100px;
width: 200px;
}
div#trusted table thead th:nth-child(3) {
width: 300px;
width: 100px;
}
div#trusted table tbody td:nth-child(1) {
text-overflow: ellipsis;
}
div#trusted table tbody td:nth-child(3) {
text-align: center;
}
div#distrusted table thead th:nth-child(2) {
width: 100px;
width: 200px;
}
div#distrusted table thead th:nth-child(3) {
width: 300px;
width: 100px;
}
div#distrusted table tbody td:nth-child(1) {
text-overflow: ellipsis;
}
div#distrusted table tbody td:nth-child(3) {
text-align: center;
}
table.certificates * {
background: #a5c7e7 !important;
}
table.certificates thead th:nth-child(2) {
width: 200px !important;
}
table.certificates thead th:nth-child(3) {
width: 180px !important;
}
table.certificates thead th:nth-child(4) {
width: 80px !important;
}
table.certificates tbody td:nth-child(1) {
text-overflow: ellipsis !important;
}
table.certificates tbody td:nth-child(2) {
text-overflow: ellipsis !important;
}
table.certificates tbody td:nth-child(3) {
text-overflow: ellipsis !important;
}
table.certificates tbody td:nth-child(4) {
text-align: center !important;
}
pre {
background: #a7d5d5;
padding: 5px;
padding: 8px;
margin: 10px 20px 10px 5px;
}
@ -275,11 +306,19 @@ div.right {
float: right;
}
div.right a {
color: #1f3b57 !important;
}
div.centercomment {
display: block;
text-align: center;
}
div.centercomment textarea {
background: #bcd1e5 !important;
}
span.right {
display: inline-block;
float: right;
@ -290,6 +329,9 @@ input.right {
}
pre.comment {
background: #bcd1e5 !important;
max-height: 80px;
overflow: auto;
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;

View File

@ -60,13 +60,13 @@ public class MuWireServlet extends HttpServlet {
"</head><body>\n" +
"<header class=\"titlebar\">" +
"<div class=\"title\">" +
"<img src=\"images/muwire.png\" alt=\"\">" +
"<img src=\"images/muwire.png\" alt=\"\"><br>" +
_t("Welcome to MuWire") +
"</div>" +
"<div class=\"subtitle\"><br><br><br><br></div>" +
"<div class=\"pagetitle\">" +
_t("MuWire is initializing, please wait") +
"</div>" +
"&hellip;</div>" +
"</header>" +
"<noscript><center><b>" +
_t("MuWire requires JavaScript. Please enable JavaScript in your browser.") +

View File

@ -57,8 +57,6 @@ public class Util {
_x("Host"),
_x("Import"),
_x("Imported"),
_x("Inbound tunnel length"),
_x("Inbound tunnel quantity"),
_x("Known Sources"),
_x("Last Updated"),
_x("Mark Distrusted"),

View File

@ -27,7 +27,10 @@ String pagetitle=Util._t("Browse Host");
<form action="/MuWire/Browse" method="post">
<input type="text" name="host">
<input type="hidden" name="action" value="browse">
<input type="submit" value=<%=Util._t("Browse")%>>
<div class="menuitem shared">
<div class="menu-icon"></div>
<input type="submit" value=<%=Util._t("Browse")%>>
</div>
</form>
</div>
<div class="menubox-divider"></div>

View File

@ -36,7 +36,10 @@ if (viewAs == null)
<% if (viewAs.equals("table")) { %>
<input type="hidden" name="viewAs" value="table">
<% } %>
<input type="submit" value="<%=Util._t("Share")%>">
<div class="menuitem shared">
<div class="menu-icon"></div>
<input type="submit" value="<%=Util._t("Share")%>">
</div>
</form>
<% if (viewAs.equals("tree")) { %>
<a class="menuitem" href="SharedFiles?viewAs=table"><%=Util._t("View As Table")%></a>