comparison 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
comparison
equal deleted inserted replaced
88:392fd25a6e21 89:ee0a4597c067
42 provide a password, you'll only be able to see the user's 42 provide a password, you'll only be able to see the user's
43 public bugs, and you also won't be able to use some of this 43 public bugs, and you also won't be able to use some of this
44 page's awesome functionality.</p> 44 page's awesome functionality.</p>
45 <table> 45 <table>
46 <tr> 46 <tr>
47 <td>Username</td> 47 <td>Bugzilla Username</td>
48 <td><input type="text" class="username" id="login-username"/></td> 48 <td><input type="text" class="username" id="login-username"/></td>
49 </tr> 49 </tr>
50 <tr> 50 <tr>
51 <td>Password</td> 51 <td>Bugzilla Password</td>
52 <td><input type="password" class="password" id="login-password"/></td> 52 <td><input type="password" class="password" id="login-password"/></td>
53 </tr> 53 </tr>
54 </table> 54 </table>
55 <br/> 55 <br/>
56 <input type="submit" id="login-submit" value="View Dashboard"/> 56 <input type="submit" id="login-submit" value="View Dashboard"/>
100 <input type="submit" id="find-user-submit" 100 <input type="submit" id="find-user-submit"
101 value="Show User Dashboard"/> 101 value="Show User Dashboard"/>
102 </form> 102 </form>
103 </div> 103 </div>
104 </div> 104 </div>
105 <div id="errors"></div>
105 <div id="templates"> 106 <div id="templates">
107 <div class="errors">
108 <div class="bugzilla-api-error">I had trouble talking to Bugzilla.
109 Perhaps you entered the wrong username/password, or I
110 messed up.</div>
111 <div class="unknown-error">An unknown error occurred.</div>
112 </div>
106 <div class="repair-success">Done. Try reloading this page and see 113 <div class="repair-success">Done. Try reloading this page and see
107 if your problem is fixed.</div> 114 if your problem is fixed.</div>
108 <div class="repair-failure">Hey, that wasn't the right text.</div> 115 <div class="repair-failure">Hey, that wasn't the right text.</div>
109 <div class="more-link"><span class="number"></span> more&hellip;</div> 116 <div class="more-link"><span class="number"></span> more&hellip;</div>
110 <div class="bug-tooltip"> 117 <div class="bug-tooltip">