diff --git a/webui/src/main/css/muwire.css b/webui/src/main/css/muwire.css index 3aa2e0ca..78ce8927 100644 --- a/webui/src/main/css/muwire.css +++ b/webui/src/main/css/muwire.css @@ -32,32 +32,73 @@ div#activeSearches table td:nth-child(2) { text-align: right; } -div#topTable table thead th:nth-child(2) { +div#topTableSender table thead th:nth-child(2) { width: 100px; } -div#topTable table thead th:nth-child(3) { +div#topTableSender table thead th:nth-child(3) { width: 100px; } -div#topTable table thead th:nth-child(4) { +div#topTableSender table thead th:nth-child(4) { width: 300px; } -div#topTable table tbody td:nth-child(2) { +div#topTableSender table tbody td:nth-child(1) { + text-overflow: ellipsis; +} +div#topTableSender table tbody td:nth-child(2) { text-align: center; } -div#topTable table tbody td:nth-child(3) { +div#topTableSender table tbody td:nth-child(3) { text-align: right; } -div#bottomTable table thead th:nth-child(2) { +div#bottomTableSender table thead th:nth-child(2) { width: 100px; } -div#bottomTable table thead th:nth-child(3) { +div#bottomTableSender table thead th:nth-child(3) { width: 100px; } -div#bottomTable table tbody td:nth-child(2) { +div#bottomTableSender table tbody td:nth-child(1) { + text-overflow: ellipsis; +} +div#bottomTableSender table tbody td:nth-child(2) { text-align: right; } -div#bottomTable table tbody td:nth-child(3) { +div#bottomTableSender table tbody td:nth-child(3) { + text-align: center; +} + +div#topTableFile table thead th:nth-child(2) { + width: 100px; +} +div#topTableFile table thead th:nth-child(3) { + width: 100px; +} +div#topTableFile table thead th:nth-child(4) { + width: 100px; +} +div#topTableFile table tbody td:nth-child(1) { + text-overflow: ellipsis; +} +div#topTableFile table tbody td:nth-child(2) { + text-align: right; +} +div#topTableFile table tbody td:nth-child(3) { + text-align: right; +} +div#topTableFile table tbody td:nth-child(4) { + text-align: center; +} + +div#bottomTableFile table thead th:nth-child(2) { + width: 100px; +} +div#bottomTableFile table thead th:nth-child(3) { + width: 300px; +} +div#bottomTableFile table tbody td:nth-child(1) { + text-overflow: ellipsis; +} +div#bottomTableFile table tbody td:nth-child(2) { text-align: center; } @@ -67,6 +108,9 @@ div#activeBrowses table thead th:nth-child(2) { div#activeBrowses table thead th:nth-child(3) { width: 100px; } +div#activeBrowses table tbody td:nth-child(1) { + text-overflow: ellipsis; +} div#activeBrowses table tbody td:nth-child(2) { text-align: center; } @@ -77,6 +121,9 @@ div#activeBrowses table tbody td:nth-child(3) { div#filesTable table thead th:nth-child(2) { width: 100px; } +div#filesTable table tbody td:nth-child(1) { + text-overflow: ellipsis; +} div#filesTable table tbody td:nth-child(2) { text-align: right; } @@ -87,6 +134,9 @@ div#resultsTable table thead th:nth-child(2) { div#resultsTable table thead th:nth-child(3) { width: 100px; } +div#resultsTable table tbody td:nth-child(1) { + text-overflow: ellipsis; +} div#resultsTable table tbody td:nth-child(2) { text-align: right; } @@ -106,6 +156,9 @@ div#downloads table thead th:nth-child(4) { div#downloads table thead th:nth-child(5) { width: 120px; } +div#downloads table tbody td:nth-child(1) { + text-overflow: ellipsis; +} div#downloads table tbody td:nth-child(2) { text-align: center; } @@ -119,6 +172,31 @@ div#downloads table tbody td:nth-child(5) { text-align: right; } +div#uploads table thead th:nth-child(2) { + width: 120px; +} +div#uploads table thead th:nth-child(3) { + width: 120px; +} +div#uploads table thead th:nth-child(4) { + width: 100px; +} +div#uploads table thead th:nth-child(5) { + width: 100px; +} +div#uploads table tbody td:nth-child(1) { + text-overflow: ellipsis; +} +div#uploads table tbody td:nth-child(3) { + text-overflow: ellipsis; +} +div#uploads table tbody td:nth-child(4) { + text-align: right; +} +div#uploads table tbody td:nth-child(5) { + text-align: right; +} + div#trustedUsers table thead th:nth-child(2) { width: 100px; } @@ -128,6 +206,16 @@ div#trustedUsers table thead th:nth-child(3) { div#trustedUsers table tbody td:nth-child(3) { text-align: center; } +div#trustedUsers table tbody td:nth-child(1) { + text-overflow: ellipsis; +} +div#trustedUsers table tbody td:nth-child(3) { + text-align: center; +} + +div#distrustedUsers table tbody td:nth-child(1) { + text-overflow: ellipsis; +} div#distrustedUsers table thead th:nth-child(2) { width: 100px; } @@ -144,6 +232,9 @@ div#trustLists table thead th:nth-child(4) { div#trustLists table thead th:nth-child(5) { width: 180px; } +div#trustLists table tbody td:nth-child(1) { + text-overflow: ellipsis; +} div#trustLists table tbody td:nth-child(2) { text-align: right; } @@ -160,12 +251,18 @@ div#trusted table thead th:nth-child(2) { div#trusted table thead th:nth-child(3) { width: 300px; } +div#trusted table tbody td:nth-child(1) { + text-overflow: ellipsis; +} div#distrusted table thead th:nth-child(2) { width: 100px; } div#distrusted table thead th:nth-child(3) { width: 300px; } +div#distrusted table tbody td:nth-child(1) { + text-overflow: ellipsis; +} pre { background: #a7d5d5; @@ -190,6 +287,10 @@ span.right { float: right; } +input.right { + text-align: right; +} + /* File tree CSS */ /* Remove default bullets */ diff --git a/webui/src/main/webapp/ConfigurationPage.jsp b/webui/src/main/webapp/ConfigurationPage.jsp index ee6058d3..5734bdd9 100644 --- a/webui/src/main/webapp/ConfigurationPage.jsp +++ b/webui/src/main/webapp/ConfigurationPage.jsp @@ -56,7 +56,7 @@ Exception error = (Exception) application.getAttribute("MWConfigError"); - + @@ -73,11 +73,11 @@ Exception error = (Exception) application.getAttribute("MWConfigError");
<%=Util._t("Download retry frequency (seconds)")%>

<%=Util._t("Directory for downloaded files")%>
- + - +
<%=Util._t("Total upload slots (-1 means unlimited)")%>

<%=Util._t("Upload slots per user (-1 means unlimited)")%>

@@ -111,7 +111,7 @@ Exception error = (Exception) application.getAttribute("MWConfigError"); <%=Util._t("Trust list update frequency (hours)")%> -

+

@@ -120,19 +120,19 @@ Exception error = (Exception) application.getAttribute("MWConfigError"); - + - + - + - +
<%=Util._t("Inbound tunnel length")%>

<%=Util._t("Inbound tunnel quantity")%>

<%=Util._t("Outbound tunnel length")%>

<%=Util._t("Outbound tunnel quantity")%>

diff --git a/webui/src/main/webapp/Downloads.jsp b/webui/src/main/webapp/Downloads.jsp index cd793b4c..4f4ae4ce 100644 --- a/webui/src/main/webapp/Downloads.jsp +++ b/webui/src/main/webapp/Downloads.jsp @@ -22,9 +22,6 @@ <%@include file="header.jsi"%>
diff --git a/webui/src/main/webapp/Uploads.jsp b/webui/src/main/webapp/Uploads.jsp index aa8cae8c..e43d15f4 100644 --- a/webui/src/main/webapp/Uploads.jsp +++ b/webui/src/main/webapp/Uploads.jsp @@ -22,9 +22,6 @@ <%@include file="header.jsi"%>