Permalink
Browse files

Merge pull request #31 from ryanstewart/issue_8

Fix #8 by adding a z-index to the password box and clarifying that email...
  • Loading branch information...
2 parents fb6dc18 + 7d3bd45 commit 6f0b34d5422d29e799e83d7f8159c86ad945abaa @ryanstewart ryanstewart committed Oct 30, 2012
Showing with 9 additions and 4 deletions.
  1. +2 −2 main.js
  2. +1 −1 nls/fr/strings.js
  3. +1 −1 nls/root/strings.js
  4. +5 −0 pgb.css
View
@@ -324,8 +324,8 @@ define(function (require, exports, module) {
eve.on("pgb.before.login", function () {
var $form = $('<form action="#" style="text-align: center">\
- <input type="email" name="username" placeholder="' + Strings.USERNAME_PLACEHOLDER + '"><br><br>\
- <input type="password" name="password" placeholder="' + Strings.PASSWORD_PLACEHOLDER + '"><br><br>\
+ <input type="email" id="pgb-username" name="username" placeholder="' + Strings.USERNAME_PLACEHOLDER + '"><br><br>\
+ <input type="password" name="password" id="pgb-password" placeholder="' + Strings.PASSWORD_PLACEHOLDER + '"><br><br>\
<input type="submit" class="btn primary" value=" ' + Strings.LOGIN_BUTTON_LABEL + ' ">\
</form>');
$tableContainer.empty().append($form);
View
@@ -27,7 +27,7 @@
define({
"MENU_NAME": "PhoneGap",
"COMMAND_NAME": "PhoneGap Build",
- "USERNAME_PLACEHOLDER": "Nom d’utilisateur",
+ "USERNAME_PLACEHOLDER": "Courrier Électronique/AdobeId",
"PASSWORD_PLACEHOLDER": "Mot de passe",
"LOGIN_BUTTON_LABEL": "Se connecter",
"LOGIN_FAILED_DIALOG_TITLE": "Echec de la connexion",
View
@@ -27,7 +27,7 @@
define({
"MENU_NAME" : "PhoneGap",
"COMMAND_NAME" : "PhoneGap Build",
- "USERNAME_PLACEHOLDER" : "Username",
+ "USERNAME_PLACEHOLDER" : "Email/AdobeId",
"PASSWORD_PLACEHOLDER" : "Password",
"LOGIN_BUTTON_LABEL" : "Login",
"LOGIN_FAILED_DIALOG_TITLE" : "Login Failed",
View
@@ -159,6 +159,11 @@
font-size: 1.1em;
}
+#pgb-password {
+ z-index: -1;
+ position: relative;
+}
+
.pgb-project-label{
width: 100%;
text-align: left;

0 comments on commit 6f0b34d

Please sign in to comment.