comparison index.html @ 77:00d2584cdd7b

Renamed main.html to index.html.
author Atul Varma <avarma@mozilla.com>
date Sun, 25 Apr 2010 19:47:53 -0700
parents main.html@1a0a3abbba93
children 4bb45ff5788a
comparison
equal deleted inserted replaced
76:ea27d04a6522 77:00d2584cdd7b
1 <html>
2 <head>
3 <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
4 <link rel="stylesheet" type="text/css" media="all"
5 href="css/jquery-ui.css" />
6 <link rel="stylesheet" type="text/css" media="all"
7 href="css/main.css" />
8 <title>Bugzilla Dashboard</title>
9 </head>
10 <body>
11 <div id="header">
12 <h1 class="title">Bugzilla Dashboard</h1>
13 <ul class="menu hide-while-loading">
14 <li data-dialog="login"
15 class="requires-no-login"><span>Log In</span></li>
16 <li data-dialog="login"
17 class="requires-no-auth-login"><span>Authenticate</span></li>
18 <li data-dialog="login"
19 class="requires-login"><span>Change User</span></li>
20 <li data-command="refresh-dashboard"
21 class="requires-login"><span>Refresh</span></li>
22 <li data-dialog="find-user"
23 class="requires-auth-login"><span>Find A User</span></li>
24 <li data-dialog="file-bug"><span>File A Bug</span></li>
25 </ul>
26 </div>
27 <div id="loading-screen" class="loading">&nbsp;</div>
28 <div id="reports" class="requires-login hide-while-loading">
29 <div class="container">
30 <div id="code-reviews"><h2>Things To Review</h2></div>
31 <div id="assigned-bugs"><h2>Assigned Bugs</h2></div>
32 <div id="reported-bugs"><h2>Reported Bugs</h2></div>
33 <div id="cc-bugs"><h2>CC'd Bugs</h2></div>
34 <div id="fixed-bugs"><h2>Recently Fixed Bugs</h2></div>
35 </div>
36 </div>
37 <div id="login" class="dialog">
38 <div class="content">
39 <form id="login-form">
40 <p>Enter a user's Bugzilla information below. If you don't
41 provide a password, you'll only be able to see the user's
42 public bugs, and you also won't be able to use some of this
43 page's awesome functionality.</p>
44 <table>
45 <tr>
46 <td>Username</td>
47 <td><input type="text" class="username" id="login-username"/></td>
48 </tr>
49 <tr>
50 <td>Password</td>
51 <td><input type="password" class="password" id="login-password"/></td>
52 </tr>
53 </table>
54 <br/>
55 <input type="submit" id="login-submit" value="View Dashboard"/>
56 </form>
57 </div>
58 </div>
59 <div id="file-bug" class="dialog">
60 <div class="content">
61 <form id="file-bug">
62 <p>Just type in part of a product or component below, select from
63 the auto-complete list, and press enter. You'll then get sent to a
64 Bugzilla page where you can fill out a summary, description, and
65 more details for the bug.</p>
66 <table>
67 <tr>
68 <td>Category</td>
69 <td><input type="text" id="category"/></td>
70 </tr>
71 </table>
72 </form>
73 </div>
74 </div>
75 <div id="find-user" class="dialog">
76 <div class="content">
77 <form id="find-user-form">
78 <p>Just type in part of a user name below. You can optionally
79 open a customized Bugzilla dashboard for the user, too.</p>
80 <table>
81 <tr>
82 <td>Name</td>
83 <td><input type="text" class="query" id="find-user-query"/></td>
84 </tr>
85 </table>
86 <br/>
87 <input type="submit" id="find-user-submit"
88 value="Show User Dashboard"/>
89 </form>
90 </div>
91 </div>
92 <div id="templates">
93 <div class="more-link"><span class="number"></span> more&hellip;</div>
94 <div class="bug-tooltip">
95 <div>
96 <span class="priority"></span>
97 <span class="severity"></span>
98 </div>
99 <div>
100 <span class="product"></span>
101 <span class="component"></span>
102 </div>
103 <div>Created <span class="age"></span></div>
104 </div>
105 <table class="bugs">
106 <tr class="header">
107 <th>Summary</th>
108 <th>Last&nbsp;Changed</th>
109 </tr>
110 <tr class="bug-row">
111 <td class="summary"></td>
112 <td class="last-changed"></td>
113 </tr>
114 </table>
115 </div>
116 </body>
117 <!-- Base Scripts -->
118 <script src="js/jquery.js"></script>
119 <script src="js/jquery-ui.js"></script>
120 <script src="js/require.js"></script>
121 <script src="js/bugzilla.js"></script>
122 <script>
123 $(window).ready(function() {
124 var moduleScriptNames = [
125 "app",
126 "date-utils",
127 "cache",
128 "xhr"
129 ];
130
131 var moduleScripts = [];
132
133 moduleScriptNames.forEach(function(name) {
134 moduleScripts.push("js/modules/" + name + ".js");
135 });
136
137 var customModuleExports = {
138 jQuery: jQuery,
139 bugzilla: Bugzilla,
140 window: window
141 };
142
143 Require.preload(document, moduleScripts, function whenLoaded() {
144 $("#loading-screen").hide();
145 $(".hide-while-loading").show();
146 var require = Require.build(Require.modules, customModuleExports);
147 require("app/ui").init(document);
148 });
149 });
150 </script>
151 </html>