Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/746010a7573baa68f831627c5965314d96bed5d5
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/746010a7573baa68f831627c5965314d96bed5d5
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/746010a7573baa68f831627c5965314d96bed5d5

The branch, master has been updated
       via  746010a7573baa68f831627c5965314d96bed5d5 (commit)
       via  1b030bd8dea17ca1d91f68ee05f935e711e747be (commit)
      from  8cec045cb7b433a0c0fc8000ad6bd09f67aaa0c8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=746010a7573baa68f831627c5965314d96bed5d5
commit 746010a7573baa68f831627c5965314d96bed5d5
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>

    apply tlsa styling improvements to about scheme query pages

diff --git a/content/fetchers/about.c b/content/fetchers/about.c
index 182a3b6..72f2b05 100644
--- a/content/fetchers/about.c
+++ b/content/fetchers/about.c
@@ -799,28 +799,38 @@ static bool fetch_about_query_auth_handler(struct 
fetch_about_context *ctx)
                }
        }
 
+       res = ssenddataf(ctx, "<table>");
+       if (res != NSERROR_OK) {
+               goto fetch_about_query_auth_handler_aborted;
+       }
+
        res = ssenddataf(ctx,
-                        "<div>"
-                        "<label for=\"name\">%s:</label>"
-                        "<input type=\"text\" id=\"username\" "
-                        "name=\"username\" value=\"%s\">"
-                        "</div>",
+                        "<tr>"
+                        "<th><label for=\"name\">%s:</label></th>"
+                        "<td><input type=\"text\" id=\"username\" "
+                        "name=\"username\" value=\"%s\"></td>"
+                        "</tr>",
                         messages_get("Username"), username);
        if (res != NSERROR_OK) {
                goto fetch_about_query_auth_handler_aborted;
        }
 
        res = ssenddataf(ctx,
-                        "<div>"
-                        "<label for=\"password\">%s:</label>"
-                        "<input type=\"password\" id=\"password\" "
-                        "name=\"password\" value=\"%s\">"
-                        "</div>",
+                        "<tr>"
+                        "<th><label for=\"password\">%s:</label></th>"
+                        "<td><input type=\"password\" id=\"password\" "
+                        "name=\"password\" value=\"%s\"></td>"
+                        "</tr>",
                         messages_get("Password"), password);
        if (res != NSERROR_OK) {
                goto fetch_about_query_auth_handler_aborted;
        }
 
+       res = ssenddataf(ctx, "</table>");
+       if (res != NSERROR_OK) {
+               goto fetch_about_query_auth_handler_aborted;
+       }
+
        res = ssenddataf(ctx,
                         "<div id=\"buttons\">"
                         "<input type=\"submit\" id=\"cancel\" name=\"cancel\" "
diff --git a/resources/internal.css b/resources/internal.css
index 8de8ab4..5779cfd 100644
--- a/resources/internal.css
+++ b/resources/internal.css
@@ -97,6 +97,11 @@ dd > ul {
        padding-top: 0.4em;
        border-top: 2px solid #94adff; }
 
+input.default-action {
+    color: white;
+    background: rgb(0, 96, 223);
+    border-color: rgb(0, 96, 223);
+}
 
 /*
  * Directory Listing Style
@@ -242,7 +247,15 @@ p.imagecachelist span {
  */
 
 body#authentication {
-    max-width: 34em;
+    max-width: 45em;
+}
+
+body#authentication h1 {
+  padding: 0.8em 0.4em 0.5em 0.4em;
+  border-bottom: 0.1em solid #444;
+  margin: 0 0 1.3em 0;
+  background: #777;
+  color: white;
 }
 
 body#authentication form {
@@ -254,29 +267,43 @@ body#authentication form {
   border-radius: 1em;
 }
 
-body#authentication form div + div {
-  margin-top: 1em;
+body#authentication table {
+  box-sizing: border-box;
+  width: 100%;
+  margin: 1.5em auto;
 }
 
 body#authentication label {
   /* To make sure that all labels have the same size and are properly aligned 
*/
   display: inline-block;
-  width: 7em;
   text-align: right;
 }
 
-body#authentication input#username, body#authentication input#password {
-/* To give the same size to all text fields */
-  width: 24em;
+body#authentication table th {
+  text-align: right;
+}
+
+body#authentication table td {
+  text-align: left;
+}
+
+body#authentication table input {
+  /* To give the same size to all text fields */
+  width: 20em;
   box-sizing: border-box;
+  margin-right: 10%;
 
   /* To harmonize the look & feel of text field border */
   border: 1px solid #999;
 }
 
 body#authentication div#buttons {
-    text-align: right;
-    margin-right: 1em;
+  text-align: right;
+  margin-right: 1em;
+}
+
+body#authentication div#buttons input#login {
+  margin-left: 1em;
 }
 
 /*
@@ -284,7 +311,15 @@ body#authentication div#buttons {
  */
 
 body#privacy {
-    max-width: 34em;
+  max-width: 45em;
+}
+
+body#privacy h1 {
+  padding: 0.8em 0.4em 0.5em 0.4em;
+  border-bottom: 0.1em solid #444;
+  margin: 0 0 1.3em 0;
+  background: #c55;
+  color: white;
 }
 
 body#privacy form {
@@ -304,3 +339,7 @@ body#privacy div#buttons {
     text-align: right;
     margin-right: 1em;
 }
+
+body#authentication div#buttons input#proceed {
+  margin-left: 1em;
+}


commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=1b030bd8dea17ca1d91f68ee05f935e711e747be
commit 1b030bd8dea17ca1d91f68ee05f935e711e747be
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>

    add basic styling to about scheme privacy query page

diff --git a/content/fetchers/about.c b/content/fetchers/about.c
index 0a92221..182a3b6 100644
--- a/content/fetchers/about.c
+++ b/content/fetchers/about.c
@@ -81,6 +81,16 @@ struct about_handlers {
 };
 
 /**
+ * authentication query description if messages fails to retrieve usable text
+ */
+static const char *authentication_description_fallback = "The site %s is 
requesting your username and password. The realm is \"%s\"";
+
+/**
+ * privacy query description if messages fails to retrieve usable text
+ */
+static const char *privacy_description_fallback = "A privacy error occurred 
while communicating with %s this may be a site configuration error or an 
attempt to steal private information (passwords, messages or credit cards)";
+
+/**
  * issue fetch callbacks with locking
  */
 static inline bool
@@ -653,44 +663,14 @@ static bool fetch_about_srverror(struct 
fetch_about_context *ctx)
 
 
 /**
- * generate the description of the privacy query
- */
-static nserror
-get_privacy_description(struct nsurl *url,
-                     const char *reason,
-                     char **out_str)
-{
-       nserror res;
-       char *url_s;
-       size_t url_l;
-       char *str = NULL;
-       const char *key = "PrivacyDescription";
-       res = nsurl_get(url, NSURL_SCHEME | NSURL_HOST, &url_s, &url_l);
-       if (res != NSERROR_OK) {
-               return res;
-       }
-
-       str = messages_get_buff(key, url_s, reason);
-
-       if ((str != NULL) && (strcmp(key, str) != 0)) {
-               *out_str = str;
-       } else {
-               *out_str = strdup(reason);
-       }
-       free(url_s);
-
-       return res;
-}
-
-/**
  * generate the description of the login query
  */
 static nserror
-get_login_description(struct nsurl *url,
-                     const char *realm,
-                     const char *username,
-                     const char *password,
-                     char **out_str)
+get_authentication_description(struct nsurl *url,
+                              const char *realm,
+                              const char *username,
+                              const char *password,
+                              char **out_str)
 {
        nserror res;
        char *url_s;
@@ -718,13 +698,14 @@ get_login_description(struct nsurl *url,
                *out_str = str;
        } else {
                /* no message so fallback */
-               const char *fmt = "The site %s is requesting your username and 
password. The realm is \"%s\"";
-               slen = snprintf(str, 0, fmt, url_s, realm) + 1;
+               slen = snprintf(str, 0, authentication_description_fallback,
+                               url_s, realm) + 1;
                str = malloc(slen);
                if (str == NULL) {
                        res = NSERROR_NOMEM;
                } else {
-                       snprintf(str, slen, fmt, url_s, realm);
+                       snprintf(str, slen, authentication_description_fallback,
+                                url_s, realm);
                        *out_str = str;
                }
        }
@@ -736,7 +717,7 @@ get_login_description(struct nsurl *url,
 
 
 /**
- * Handler to generate about scheme authorisation query page
+ * Handler to generate about scheme authentication query page
  */
 static bool fetch_about_query_auth_handler(struct fetch_about_context *ctx)
 {
@@ -778,8 +759,9 @@ static bool fetch_about_query_auth_handler(struct 
fetch_about_context *ctx)
        fetch_set_http_code(ctx->fetchh, 200);
 
        /* content type */
-       if (fetch_about_send_header(ctx, "Content-Type: text/html; 
charset=utf-8"))
+       if (fetch_about_send_header(ctx, "Content-Type: text/html; 
charset=utf-8")) {
                goto fetch_about_query_auth_handler_aborted;
+       }
 
 
        title = messages_get("LoginTitle");
@@ -797,7 +779,6 @@ static bool fetch_about_query_auth_handler(struct 
fetch_about_context *ctx)
                goto fetch_about_query_auth_handler_aborted;
        }
 
-
        res = ssenddataf(ctx,
                         "<form method=\"post\""
                         " enctype=\"multipart/form-data\">");
@@ -805,11 +786,11 @@ static bool fetch_about_query_auth_handler(struct 
fetch_about_context *ctx)
                goto fetch_about_query_auth_handler_aborted;
        }
 
-       res = get_login_description(siteurl,
-                                   realm,
-                                   username,
-                                   password,
-                                   &description);
+       res = get_authentication_description(siteurl,
+                                            realm,
+                                            username,
+                                            password,
+                                            &description);
        if (res == NSERROR_OK) {
                res = ssenddataf(ctx, "<p>%s</p>", description);
                free(description);
@@ -891,6 +872,54 @@ fetch_about_query_auth_handler_aborted:
        return false;
 }
 
+
+/**
+ * generate the description of the privacy query
+ */
+static nserror get_privacy_description(struct nsurl *url, char **out_str)
+{
+       nserror res;
+       char *url_s;
+       size_t url_l;
+       char *str = NULL;
+       const char *key = "PrivacyDescription";
+
+       /* get the host in question */
+       res = nsurl_get(url, NSURL_HOST, &url_s, &url_l);
+       if (res != NSERROR_OK) {
+               return res;
+       }
+
+       /* obtain the description with the url substituted */
+       str = messages_get_buff(key, url_s);
+       if ((str != NULL) && (strcmp(key, str) == 0)) {
+               /* the returned string was simply the key */
+               free(str);
+               str = NULL;
+       }
+       if (str == NULL) {
+               /* failed to get suitable translated message text so
+                *  fall back to basic english.
+                */
+               int slen;
+               slen = snprintf(str, 0, privacy_description_fallback, url_s) + 
1;
+               str = malloc(slen);
+               if (str != NULL) {
+                       snprintf(str, slen, privacy_description_fallback, 
url_s);
+               }
+       }
+
+       if (str == NULL) {
+               res = NSERROR_NOMEM;
+       } else {
+               *out_str = str;
+       }
+       free(url_s);
+
+       return res;
+}
+
+
 /**
  * Handler to generate about scheme privacy query page
  */
@@ -946,24 +975,28 @@ static bool fetch_about_query_privacy_handler(struct 
fetch_about_context *ctx)
                goto fetch_about_query_ssl_handler_aborted;
        }
 
-       res = get_privacy_description(siteurl, reason, &description);
+       res = ssenddataf(ctx,
+                        "<form method=\"post\""
+                        " enctype=\"multipart/form-data\">");
+       if (res != NSERROR_OK) {
+               goto fetch_about_query_ssl_handler_aborted;
+       }
+
+       res = get_privacy_description(siteurl, &description);
        if (res == NSERROR_OK) {
-               res = ssenddataf(ctx, "<p>%s</p>", description);
+               res = ssenddataf(ctx, "<div><p>%s</p></div>", description);
                free(description);
                if (res != NSERROR_OK) {
                        goto fetch_about_query_ssl_handler_aborted;
                }
        }
-
-       res = ssenddataf(ctx,
-                        "<form method=\"post\""
-                        " enctype=\"multipart/form-data\">");
+       res = ssenddataf(ctx, "<div><p>%s</p></div>", messages_get(reason));
        if (res != NSERROR_OK) {
                goto fetch_about_query_ssl_handler_aborted;
        }
 
        res = ssenddataf(ctx,
-                        "<div>"
+                        "<div id=\"buttons\">"
                         "<input type=\"submit\" id=\"back\" name=\"back\" "
                         "value=\"%s\">"
                         "<input type=\"submit\" id=\"proceed\" 
name=\"proceed\" "
diff --git a/resources/FatMessages b/resources/FatMessages
index 487fe31..2c0aa06 100644
--- a/resources/FatMessages
+++ b/resources/FatMessages
@@ -2784,9 +2784,21 @@ nl.all.Cancel:Annuleer
 #
 
 en.all.PrivacyTitle:Privacy error
-en.all.PrivacyDescription:Attackers might be trying to steal your information 
from %s (for example, passwords, messages or credit cards) %s
+de.all.PrivacyTitle:Datenschutzfehler
+fr.all.PrivacyTitle:Erreur de confidentialité
+it.all.PrivacyTitle:Errore di privacy
+nl.all.PrivacyTitle:Privacyfout
+en.all.PrivacyDescription:A privacy error occurred while communicating with %s 
this may be a site configuration error or an attempt to steal private 
information (passwords, messages or credit cards)
 en.all.Proceed:Proceed
+de.all.Proceed:Vorgehen
+fr.all.Proceed:Procéder
+it.all.Proceed:Procedere
+nl.all.Proceed:Doorgaan
 en.all.Backtosafety:Back to safety
+de.all.Backtosafety:Zurück zur Sicherheit
+fr.all.Backtosafety:Retour a la sécurité
+it.all.Backtosafety:Ritorno alla sicurezza
+nl.all.Backtosafety:Terug naar veiligheid
 
 # SSL certificate viewer
 # ======================
diff --git a/resources/internal.css b/resources/internal.css
index 5e5dbf2..8de8ab4 100644
--- a/resources/internal.css
+++ b/resources/internal.css
@@ -238,7 +238,7 @@ p.imagecachelist span {
 }
 
 /*
- * authentication styling
+ * authentication query styling
  */
 
 body#authentication {
@@ -278,3 +278,29 @@ body#authentication div#buttons {
     text-align: right;
     margin-right: 1em;
 }
+
+/*
+ * privacy query styling
+ */
+
+body#privacy {
+    max-width: 34em;
+}
+
+body#privacy form {
+  /* Just to center the form on the page */
+  margin: 0 auto;
+  /* To see the outline of the form */
+  padding: 1em;
+  border: 1px solid #CCC;
+  border-radius: 1em;
+}
+
+body#privacy form div + div {
+  margin-top: 1em;
+}
+
+body#privacy div#buttons {
+    text-align: right;
+    margin-right: 1em;
+}


-----------------------------------------------------------------------

Summary of changes:
 content/fetchers/about.c |  169 +++++++++++++++++++++++++++++-----------------
 resources/FatMessages    |   14 +++-
 resources/internal.css   |   81 +++++++++++++++++++---
 3 files changed, 192 insertions(+), 72 deletions(-)

diff --git a/content/fetchers/about.c b/content/fetchers/about.c
index 0a92221..72f2b05 100644
--- a/content/fetchers/about.c
+++ b/content/fetchers/about.c
@@ -81,6 +81,16 @@ struct about_handlers {
 };
 
 /**
+ * authentication query description if messages fails to retrieve usable text
+ */
+static const char *authentication_description_fallback = "The site %s is 
requesting your username and password. The realm is \"%s\"";
+
+/**
+ * privacy query description if messages fails to retrieve usable text
+ */
+static const char *privacy_description_fallback = "A privacy error occurred 
while communicating with %s this may be a site configuration error or an 
attempt to steal private information (passwords, messages or credit cards)";
+
+/**
  * issue fetch callbacks with locking
  */
 static inline bool
@@ -653,44 +663,14 @@ static bool fetch_about_srverror(struct 
fetch_about_context *ctx)
 
 
 /**
- * generate the description of the privacy query
- */
-static nserror
-get_privacy_description(struct nsurl *url,
-                     const char *reason,
-                     char **out_str)
-{
-       nserror res;
-       char *url_s;
-       size_t url_l;
-       char *str = NULL;
-       const char *key = "PrivacyDescription";
-       res = nsurl_get(url, NSURL_SCHEME | NSURL_HOST, &url_s, &url_l);
-       if (res != NSERROR_OK) {
-               return res;
-       }
-
-       str = messages_get_buff(key, url_s, reason);
-
-       if ((str != NULL) && (strcmp(key, str) != 0)) {
-               *out_str = str;
-       } else {
-               *out_str = strdup(reason);
-       }
-       free(url_s);
-
-       return res;
-}
-
-/**
  * generate the description of the login query
  */
 static nserror
-get_login_description(struct nsurl *url,
-                     const char *realm,
-                     const char *username,
-                     const char *password,
-                     char **out_str)
+get_authentication_description(struct nsurl *url,
+                              const char *realm,
+                              const char *username,
+                              const char *password,
+                              char **out_str)
 {
        nserror res;
        char *url_s;
@@ -718,13 +698,14 @@ get_login_description(struct nsurl *url,
                *out_str = str;
        } else {
                /* no message so fallback */
-               const char *fmt = "The site %s is requesting your username and 
password. The realm is \"%s\"";
-               slen = snprintf(str, 0, fmt, url_s, realm) + 1;
+               slen = snprintf(str, 0, authentication_description_fallback,
+                               url_s, realm) + 1;
                str = malloc(slen);
                if (str == NULL) {
                        res = NSERROR_NOMEM;
                } else {
-                       snprintf(str, slen, fmt, url_s, realm);
+                       snprintf(str, slen, authentication_description_fallback,
+                                url_s, realm);
                        *out_str = str;
                }
        }
@@ -736,7 +717,7 @@ get_login_description(struct nsurl *url,
 
 
 /**
- * Handler to generate about scheme authorisation query page
+ * Handler to generate about scheme authentication query page
  */
 static bool fetch_about_query_auth_handler(struct fetch_about_context *ctx)
 {
@@ -778,8 +759,9 @@ static bool fetch_about_query_auth_handler(struct 
fetch_about_context *ctx)
        fetch_set_http_code(ctx->fetchh, 200);
 
        /* content type */
-       if (fetch_about_send_header(ctx, "Content-Type: text/html; 
charset=utf-8"))
+       if (fetch_about_send_header(ctx, "Content-Type: text/html; 
charset=utf-8")) {
                goto fetch_about_query_auth_handler_aborted;
+       }
 
 
        title = messages_get("LoginTitle");
@@ -797,7 +779,6 @@ static bool fetch_about_query_auth_handler(struct 
fetch_about_context *ctx)
                goto fetch_about_query_auth_handler_aborted;
        }
 
-
        res = ssenddataf(ctx,
                         "<form method=\"post\""
                         " enctype=\"multipart/form-data\">");
@@ -805,11 +786,11 @@ static bool fetch_about_query_auth_handler(struct 
fetch_about_context *ctx)
                goto fetch_about_query_auth_handler_aborted;
        }
 
-       res = get_login_description(siteurl,
-                                   realm,
-                                   username,
-                                   password,
-                                   &description);
+       res = get_authentication_description(siteurl,
+                                            realm,
+                                            username,
+                                            password,
+                                            &description);
        if (res == NSERROR_OK) {
                res = ssenddataf(ctx, "<p>%s</p>", description);
                free(description);
@@ -818,28 +799,38 @@ static bool fetch_about_query_auth_handler(struct 
fetch_about_context *ctx)
                }
        }
 
+       res = ssenddataf(ctx, "<table>");
+       if (res != NSERROR_OK) {
+               goto fetch_about_query_auth_handler_aborted;
+       }
+
        res = ssenddataf(ctx,
-                        "<div>"
-                        "<label for=\"name\">%s:</label>"
-                        "<input type=\"text\" id=\"username\" "
-                        "name=\"username\" value=\"%s\">"
-                        "</div>",
+                        "<tr>"
+                        "<th><label for=\"name\">%s:</label></th>"
+                        "<td><input type=\"text\" id=\"username\" "
+                        "name=\"username\" value=\"%s\"></td>"
+                        "</tr>",
                         messages_get("Username"), username);
        if (res != NSERROR_OK) {
                goto fetch_about_query_auth_handler_aborted;
        }
 
        res = ssenddataf(ctx,
-                        "<div>"
-                        "<label for=\"password\">%s:</label>"
-                        "<input type=\"password\" id=\"password\" "
-                        "name=\"password\" value=\"%s\">"
-                        "</div>",
+                        "<tr>"
+                        "<th><label for=\"password\">%s:</label></th>"
+                        "<td><input type=\"password\" id=\"password\" "
+                        "name=\"password\" value=\"%s\"></td>"
+                        "</tr>",
                         messages_get("Password"), password);
        if (res != NSERROR_OK) {
                goto fetch_about_query_auth_handler_aborted;
        }
 
+       res = ssenddataf(ctx, "</table>");
+       if (res != NSERROR_OK) {
+               goto fetch_about_query_auth_handler_aborted;
+       }
+
        res = ssenddataf(ctx,
                         "<div id=\"buttons\">"
                         "<input type=\"submit\" id=\"cancel\" name=\"cancel\" "
@@ -891,6 +882,54 @@ fetch_about_query_auth_handler_aborted:
        return false;
 }
 
+
+/**
+ * generate the description of the privacy query
+ */
+static nserror get_privacy_description(struct nsurl *url, char **out_str)
+{
+       nserror res;
+       char *url_s;
+       size_t url_l;
+       char *str = NULL;
+       const char *key = "PrivacyDescription";
+
+       /* get the host in question */
+       res = nsurl_get(url, NSURL_HOST, &url_s, &url_l);
+       if (res != NSERROR_OK) {
+               return res;
+       }
+
+       /* obtain the description with the url substituted */
+       str = messages_get_buff(key, url_s);
+       if ((str != NULL) && (strcmp(key, str) == 0)) {
+               /* the returned string was simply the key */
+               free(str);
+               str = NULL;
+       }
+       if (str == NULL) {
+               /* failed to get suitable translated message text so
+                *  fall back to basic english.
+                */
+               int slen;
+               slen = snprintf(str, 0, privacy_description_fallback, url_s) + 
1;
+               str = malloc(slen);
+               if (str != NULL) {
+                       snprintf(str, slen, privacy_description_fallback, 
url_s);
+               }
+       }
+
+       if (str == NULL) {
+               res = NSERROR_NOMEM;
+       } else {
+               *out_str = str;
+       }
+       free(url_s);
+
+       return res;
+}
+
+
 /**
  * Handler to generate about scheme privacy query page
  */
@@ -946,24 +985,28 @@ static bool fetch_about_query_privacy_handler(struct 
fetch_about_context *ctx)
                goto fetch_about_query_ssl_handler_aborted;
        }
 
-       res = get_privacy_description(siteurl, reason, &description);
+       res = ssenddataf(ctx,
+                        "<form method=\"post\""
+                        " enctype=\"multipart/form-data\">");
+       if (res != NSERROR_OK) {
+               goto fetch_about_query_ssl_handler_aborted;
+       }
+
+       res = get_privacy_description(siteurl, &description);
        if (res == NSERROR_OK) {
-               res = ssenddataf(ctx, "<p>%s</p>", description);
+               res = ssenddataf(ctx, "<div><p>%s</p></div>", description);
                free(description);
                if (res != NSERROR_OK) {
                        goto fetch_about_query_ssl_handler_aborted;
                }
        }
-
-       res = ssenddataf(ctx,
-                        "<form method=\"post\""
-                        " enctype=\"multipart/form-data\">");
+       res = ssenddataf(ctx, "<div><p>%s</p></div>", messages_get(reason));
        if (res != NSERROR_OK) {
                goto fetch_about_query_ssl_handler_aborted;
        }
 
        res = ssenddataf(ctx,
-                        "<div>"
+                        "<div id=\"buttons\">"
                         "<input type=\"submit\" id=\"back\" name=\"back\" "
                         "value=\"%s\">"
                         "<input type=\"submit\" id=\"proceed\" 
name=\"proceed\" "
diff --git a/resources/FatMessages b/resources/FatMessages
index 487fe31..2c0aa06 100644
--- a/resources/FatMessages
+++ b/resources/FatMessages
@@ -2784,9 +2784,21 @@ nl.all.Cancel:Annuleer
 #
 
 en.all.PrivacyTitle:Privacy error
-en.all.PrivacyDescription:Attackers might be trying to steal your information 
from %s (for example, passwords, messages or credit cards) %s
+de.all.PrivacyTitle:Datenschutzfehler
+fr.all.PrivacyTitle:Erreur de confidentialité
+it.all.PrivacyTitle:Errore di privacy
+nl.all.PrivacyTitle:Privacyfout
+en.all.PrivacyDescription:A privacy error occurred while communicating with %s 
this may be a site configuration error or an attempt to steal private 
information (passwords, messages or credit cards)
 en.all.Proceed:Proceed
+de.all.Proceed:Vorgehen
+fr.all.Proceed:Procéder
+it.all.Proceed:Procedere
+nl.all.Proceed:Doorgaan
 en.all.Backtosafety:Back to safety
+de.all.Backtosafety:Zurück zur Sicherheit
+fr.all.Backtosafety:Retour a la sécurité
+it.all.Backtosafety:Ritorno alla sicurezza
+nl.all.Backtosafety:Terug naar veiligheid
 
 # SSL certificate viewer
 # ======================
diff --git a/resources/internal.css b/resources/internal.css
index 5e5dbf2..5779cfd 100644
--- a/resources/internal.css
+++ b/resources/internal.css
@@ -97,6 +97,11 @@ dd > ul {
        padding-top: 0.4em;
        border-top: 2px solid #94adff; }
 
+input.default-action {
+    color: white;
+    background: rgb(0, 96, 223);
+    border-color: rgb(0, 96, 223);
+}
 
 /*
  * Directory Listing Style
@@ -238,11 +243,19 @@ p.imagecachelist span {
 }
 
 /*
- * authentication styling
+ * authentication query styling
  */
 
 body#authentication {
-    max-width: 34em;
+    max-width: 45em;
+}
+
+body#authentication h1 {
+  padding: 0.8em 0.4em 0.5em 0.4em;
+  border-bottom: 0.1em solid #444;
+  margin: 0 0 1.3em 0;
+  background: #777;
+  color: white;
 }
 
 body#authentication form {
@@ -254,27 +267,79 @@ body#authentication form {
   border-radius: 1em;
 }
 
-body#authentication form div + div {
-  margin-top: 1em;
+body#authentication table {
+  box-sizing: border-box;
+  width: 100%;
+  margin: 1.5em auto;
 }
 
 body#authentication label {
   /* To make sure that all labels have the same size and are properly aligned 
*/
   display: inline-block;
-  width: 7em;
   text-align: right;
 }
 
-body#authentication input#username, body#authentication input#password {
-/* To give the same size to all text fields */
-  width: 24em;
+body#authentication table th {
+  text-align: right;
+}
+
+body#authentication table td {
+  text-align: left;
+}
+
+body#authentication table input {
+  /* To give the same size to all text fields */
+  width: 20em;
   box-sizing: border-box;
+  margin-right: 10%;
 
   /* To harmonize the look & feel of text field border */
   border: 1px solid #999;
 }
 
 body#authentication div#buttons {
+  text-align: right;
+  margin-right: 1em;
+}
+
+body#authentication div#buttons input#login {
+  margin-left: 1em;
+}
+
+/*
+ * privacy query styling
+ */
+
+body#privacy {
+  max-width: 45em;
+}
+
+body#privacy h1 {
+  padding: 0.8em 0.4em 0.5em 0.4em;
+  border-bottom: 0.1em solid #444;
+  margin: 0 0 1.3em 0;
+  background: #c55;
+  color: white;
+}
+
+body#privacy form {
+  /* Just to center the form on the page */
+  margin: 0 auto;
+  /* To see the outline of the form */
+  padding: 1em;
+  border: 1px solid #CCC;
+  border-radius: 1em;
+}
+
+body#privacy form div + div {
+  margin-top: 1em;
+}
+
+body#privacy div#buttons {
     text-align: right;
     margin-right: 1em;
 }
+
+body#authentication div#buttons input#proceed {
+  margin-left: 1em;
+}


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to