From 4ffe100287fecbc78e912db50251df1f68b70043 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 20 Sep 2011 20:35:33 +0300 Subject: [PATCH] Web UI: Slight settings CSS improvements --- src/webui/css/style.css | 12 +++++ src/webui/html/preferences_content.html | 58 +++++++++++++------------ 2 files changed, 42 insertions(+), 28 deletions(-) diff --git a/src/webui/css/style.css b/src/webui/css/style.css index 416d8b11d..64f2587ec 100644 --- a/src/webui/css/style.css +++ b/src/webui/css/style.css @@ -289,4 +289,16 @@ a.tristate { a.checked { background-position: 0 -13px; } a.partial { background-position: 0 -26px; } +fieldset.settings { + border: solid 1px black; + border-radius: 8px; + -webkit-border-radius: 8px; + -moz-border-radius: 8px; + padding: 4px; +} +fieldset.settings legend { + margin-left: 8px; + padding: 4px; + font-weight: bold; +} diff --git a/src/webui/html/preferences_content.html b/src/webui/html/preferences_content.html index 4417eddf3..e47271f6c 100644 --- a/src/webui/html/preferences_content.html +++ b/src/webui/html/preferences_content.html @@ -1,6 +1,6 @@
-
- _(Listening Port) +
+ _(Listening Port)
_(Port used for incoming connections:) @@ -12,8 +12,8 @@
-
- _(Connections Limits) +
+ _(Connections Limits)
@@ -28,8 +28,8 @@
-
- _(Global Rate Limits) +
+ _(Global Rate Limits)
@@ -39,8 +39,8 @@
_(Download:)  _(KiB/s)
-
- _(Options) +
+ _(Options)   _(Enable bandwidth management (uTP))
  _(Apply rate limit to uTP connections)
  _(Apply rate limit to transport overhead)
@@ -50,8 +50,8 @@