Mercurial > bugzilla-dashboard
diff index.html @ 78:4bb45ff5788a
added repair dialog
author | Atul Varma <avarma@mozilla.com> |
---|---|
date | Sun, 25 Apr 2010 20:54:51 -0700 |
parents | 00d2584cdd7b |
children | 677df912e92d |
line wrap: on
line diff
--- a/index.html Sun Apr 25 19:47:53 2010 -0700 +++ b/index.html Sun Apr 25 20:54:51 2010 -0700 @@ -19,10 +19,11 @@ class="requires-login"><span>Change User</span></li> <li data-command="refresh-dashboard" class="requires-login"><span>Refresh</span></li> + <li data-dialog="repair"><span>Repair</span></li> <li data-dialog="find-user" class="requires-auth-login"><span>Find A User</span></li> <li data-dialog="file-bug"><span>File A Bug</span></li> - </ul> + </ul> </div> <div id="loading-screen" class="loading"> </div> <div id="reports" class="requires-login hide-while-loading"> @@ -59,19 +60,31 @@ <div id="file-bug" class="dialog"> <div class="content"> <form id="file-bug"> - <p>Just type in part of a product or component below, select from + <p>Type in part of a product or component below, select from the auto-complete list, and press enter. You'll then get sent to a Bugzilla page where you can fill out a summary, description, and more details for the bug.</p> <table> <tr> <td>Category</td> - <td><input type="text" id="category"/></td> + <td><input type="text" class="category" id="file-bug-category"/></td> </tr> </table> </form> </div> </div> +<div id="repair" class="dialog"> + <div class="content"> + <form id="repair-form"> + <p>If this page isn't working as you expect, enter the + text “repair my dashboard” below and + press enter. Hopefully that will fix things.</p> + <br/> + <input type="text" class="phrase" id="repair-phrase"/> + </form> + <div class="result"></div> + </div> +</div> <div id="find-user" class="dialog"> <div class="content"> <form id="find-user-form"> @@ -90,6 +103,9 @@ </div> </div> <div id="templates"> + <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> <div class="more-link"><span class="number"></span> more…</div> <div class="bug-tooltip"> <div>