[geeklog-cvs] geeklog: Denim: imported templates from modern_curve

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun May 6 13:45:53 EDT 2012


changeset 8681:9cf3b7735e9a
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/9cf3b7735e9a
user: dengen
date: Mon May 07 02:32:29 2012 +0900
description:
Denim: imported templates from modern_curve

diffstat:

 public_html/layout/denim/loginform_oauth.thtml  |   5 +++--
 public_html/layout/denim/loginform_openid.thtml |  17 +++++++++++------
 2 files changed, 14 insertions(+), 8 deletions(-)

diffs (42 lines):

diff -r 335c8887cea6 -r 9cf3b7735e9a public_html/layout/denim/loginform_oauth.thtml
--- a/public_html/layout/denim/loginform_oauth.thtml	Mon May 07 02:29:59 2012 +0900
+++ b/public_html/layout/denim/loginform_oauth.thtml	Mon May 07 02:32:29 2012 +0900
@@ -1,8 +1,9 @@
 <!-- loginform_oauth.thtml { -->
 
-<form action="{site_url}/users.php?oauth_login={oauth_service}" method="post">
+<form class="third-party-login" action="{site_url}/users.php?oauth_login={oauth_service}" method="post">
   <div>
-    <input src="{oauth_sign_in_image}"{oauth_sign_in_image_style} type="image"{xhtml}>
+    <img alt="" src="{oauth_sign_in_image}"{xhtml}>
+    <input value="{lang_oauth_service}" type="submit" class="submit"{xhtml}>
   </div>
 </form>
 
diff -r 335c8887cea6 -r 9cf3b7735e9a public_html/layout/denim/loginform_openid.thtml
--- a/public_html/layout/denim/loginform_openid.thtml	Mon May 07 02:29:59 2012 +0900
+++ b/public_html/layout/denim/loginform_openid.thtml	Mon May 07 02:32:29 2012 +0900
@@ -1,12 +1,17 @@
 
 <!-- loginform_openid.thtml { -->
-
-<form action="{site_url}/users.php?openid_login=1" method="post">
+<form class="third-party-login" action="{site_url}/users.php?openid_login=1" method="post">
   <div>
-    <label for="identity_url">{lang_openid_login}</label><br{xhtml}>
-    <input name="identity_url" id="identity_url" style='background: url("{site_url}/images/openid_login_icon.png") no-repeat;background-color:#fff;background-position:0 50%;color:#000;padding-left:18px;font-family:monospace;font-size:10px' value="http://" size="{input_field_size}"{xhtml}>
-    <input src="{site_url}/images/right_arrow.png" style="padding:1px;margin-bottom:-5px;height:16px;width:16px;border:1px" type="image"{xhtml}>
+    <div style="display: none;">
+      <!-- this is revealed by login.js -->
+      <img alt="" src="{site_url}/images/openid_login_icon.png"{xhtml}>
+      <input value="{lang_openid_login}" type="submit" class="submit"{xhtml}>
+    </div>
+    <noscript>
+      <label for="identity_url">{lang_openid_login}</label><br{xhtml}>
+      <input name="identity_url" id="identity_url" style='background: url("{site_url}/images/openid_login_icon.png") no-repeat;background-color:#fff;background-position:0 50%;color:#000;padding-left:18px;font-family:monospace;font-size:10px' value="http://" size="{input_field_size}"{xhtml}>
+      <input src="{site_url}/images/right_arrow.png" style="padding:1px;margin-bottom:-5px;height:16px;width:16px;border:1px" type="image"{xhtml}>
+    </noscript>
   </div>
 </form>
-
 <!-- } loginform_openid.thtml -->



More information about the geeklog-cvs mailing list