Gitweb links:

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

The branch, master has been updated
       via  c6a2c76867cbb6f108eb31e8eb9df0db51114dd5 (commit)
      from  3a23e944dd1a81a1e9b7b3acf0c13d53a0669d5d (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=c6a2c76867cbb6f108eb31e8eb9df0db51114dd5
commit c6a2c76867cbb6f108eb31e8eb9df0db51114dd5
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>

    About: Tweak the new about query page renderng.

diff --git a/content/fetchers/about.c b/content/fetchers/about.c
index 050fcc2..32a7dbe 100644
--- a/content/fetchers/about.c
+++ b/content/fetchers/about.c
@@ -889,13 +889,13 @@ static bool fetch_about_query_auth_handler(struct 
fetch_about_context *ctx)
 
        res = ssenddataf(ctx,
                         "<div id=\"buttons\">"
-                        "<input type=\"submit\" id=\"cancel\" name=\"cancel\" "
-                        "value=\"%s\">"
                         "<input type=\"submit\" id=\"login\" name=\"login\" "
+                        "value=\"%s\" class=\"default-action\">"
+                        "<input type=\"submit\" id=\"cancel\" name=\"cancel\" "
                         "value=\"%s\">"
                         "</div>",
-                        messages_get("Cancel"),
-                        messages_get("Login"));
+                        messages_get("Login"),
+                        messages_get("Cancel"));
        if (res != NSERROR_OK) {
                goto fetch_about_query_auth_handler_aborted;
        }
@@ -1065,7 +1065,7 @@ static bool fetch_about_query_privacy_handler(struct 
fetch_about_context *ctx)
        res = ssenddataf(ctx,
                         "<div id=\"buttons\">"
                         "<input type=\"submit\" id=\"back\" name=\"back\" "
-                        "value=\"%s\">"
+                        "value=\"%s\" class=\"default-action\">"
                         "<input type=\"submit\" id=\"proceed\" 
name=\"proceed\" "
                         "value=\"%s\">"
                         "</div>",
diff --git a/resources/internal.css b/resources/internal.css
index 5779cfd..e43d183 100644
--- a/resources/internal.css
+++ b/resources/internal.css
@@ -98,9 +98,9 @@ dd > ul {
        border-top: 2px solid #94adff; }
 
 input.default-action {
-    color: white;
-    background: rgb(0, 96, 223);
-    border-color: rgb(0, 96, 223);
+       color: white;
+       background: rgb(0, 96, 223);
+       border-color: rgb(0, 96, 223);
 }
 
 /*
@@ -303,7 +303,7 @@ body#authentication div#buttons {
 }
 
 body#authentication div#buttons input#login {
-  margin-left: 1em;
+  margin-right: 1em;
 }
 
 /*
@@ -340,6 +340,6 @@ body#privacy div#buttons {
     margin-right: 1em;
 }
 
-body#authentication div#buttons input#proceed {
-  margin-left: 1em;
+body#privacy div#buttons input#back {
+  margin-right: 1em;
 }


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

Summary of changes:
 content/fetchers/about.c |   10 +++++-----
 resources/internal.css   |   12 ++++++------
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/content/fetchers/about.c b/content/fetchers/about.c
index 050fcc2..32a7dbe 100644
--- a/content/fetchers/about.c
+++ b/content/fetchers/about.c
@@ -889,13 +889,13 @@ static bool fetch_about_query_auth_handler(struct 
fetch_about_context *ctx)
 
        res = ssenddataf(ctx,
                         "<div id=\"buttons\">"
-                        "<input type=\"submit\" id=\"cancel\" name=\"cancel\" "
-                        "value=\"%s\">"
                         "<input type=\"submit\" id=\"login\" name=\"login\" "
+                        "value=\"%s\" class=\"default-action\">"
+                        "<input type=\"submit\" id=\"cancel\" name=\"cancel\" "
                         "value=\"%s\">"
                         "</div>",
-                        messages_get("Cancel"),
-                        messages_get("Login"));
+                        messages_get("Login"),
+                        messages_get("Cancel"));
        if (res != NSERROR_OK) {
                goto fetch_about_query_auth_handler_aborted;
        }
@@ -1065,7 +1065,7 @@ static bool fetch_about_query_privacy_handler(struct 
fetch_about_context *ctx)
        res = ssenddataf(ctx,
                         "<div id=\"buttons\">"
                         "<input type=\"submit\" id=\"back\" name=\"back\" "
-                        "value=\"%s\">"
+                        "value=\"%s\" class=\"default-action\">"
                         "<input type=\"submit\" id=\"proceed\" 
name=\"proceed\" "
                         "value=\"%s\">"
                         "</div>",
diff --git a/resources/internal.css b/resources/internal.css
index 5779cfd..e43d183 100644
--- a/resources/internal.css
+++ b/resources/internal.css
@@ -98,9 +98,9 @@ dd > ul {
        border-top: 2px solid #94adff; }
 
 input.default-action {
-    color: white;
-    background: rgb(0, 96, 223);
-    border-color: rgb(0, 96, 223);
+       color: white;
+       background: rgb(0, 96, 223);
+       border-color: rgb(0, 96, 223);
 }
 
 /*
@@ -303,7 +303,7 @@ body#authentication div#buttons {
 }
 
 body#authentication div#buttons input#login {
-  margin-left: 1em;
+  margin-right: 1em;
 }
 
 /*
@@ -340,6 +340,6 @@ body#privacy div#buttons {
     margin-right: 1em;
 }
 
-body#authentication div#buttons input#proceed {
-  margin-left: 1em;
+body#privacy div#buttons input#back {
+  margin-right: 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