diff index.html @ 89:ee0a4597c067

Added a really basic error log that gets populated when the wrong username/pass is entered. Also, the username/password prompt for login now emphasizes the fact that it is a bugzilla login.
author Atul Varma <avarma@mozilla.com>
date Mon, 26 Apr 2010 17:45:02 -0700
parents 516e69809e06
children 16e98d4313e6
line wrap: on
line diff
--- a/index.html	Mon Apr 26 16:41:32 2010 -0700
+++ b/index.html	Mon Apr 26 17:45:02 2010 -0700
@@ -44,11 +44,11 @@
   page's awesome functionality.</p>
   <table>
     <tr>
-      <td>Username</td>
+      <td>Bugzilla Username</td>
       <td><input type="text" class="username" id="login-username"/></td>
     </tr>
     <tr>
-      <td>Password</td>
+      <td>Bugzilla Password</td>
       <td><input type="password" class="password" id="login-password"/></td>
     </tr>
   </table>
@@ -102,7 +102,14 @@
   </form>
   </div>
 </div>
+<div id="errors"></div>
 <div id="templates">
+  <div class="errors">
+    <div class="bugzilla-api-error">I had trouble talking to Bugzilla.
+    Perhaps you entered the wrong username/password, or I
+    messed up.</div>
+    <div class="unknown-error">An unknown error occurred.</div>
+ </div>
   <div class="repair-success">Done. Try reloading this page and see
   if your problem is fixed.</div>
   <div class="repair-failure">Hey, that wasn't the right text.</div>