From b0f7006e467249d5cbff2b84febe0b658744b559 Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Thu, 9 Aug 2012 19:06:02 -0400 Subject: Initial import of MyDashboard extension --- .../en/default/pages/mydashboard.html.tmpl | 289 +++++++++++++++++++++ 1 file changed, 289 insertions(+) create mode 100644 extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl (limited to 'extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl') diff --git a/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl b/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl new file mode 100644 index 000000000..23c478e3f --- /dev/null +++ b/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl @@ -0,0 +1,289 @@ +[%# This Source Code Form is subject to the terms of the Mozilla Public + # License, v. 2.0. If a copy of the MPL was not distributed with this + # file, You can obtain one at http://mozilla.org/MPL/2.0/. + # + # This Source Code Form is "Incompatible With Secondary Licenses", as + # defined by the Mozilla Public License, v. 2.0. + #%] + +[% PROCESS global/variables.none.tmpl %] + +[% PROCESS global/header.html.tmpl + title = "My Dashboard" + style_urls = [ "skins/standard/buglist.css", + "js/yui/assets/skins/sam/paginator.css", + "extensions/MyDashboard/web/styles/mydashboard.css", + "extensions/MyDashboard/web/styles/prod_comp_search.css" ] + yui = [ "datatable", "paginator", "autocomplete" ] + javascript_urls = [ "extensions/MyDashboard/web/js/mydashboard.js", + "extensions/MyDashboard/web/js/prod_comp_search.js" ] + onload = "showQuerySection();" +%] + + + +[% standard_results = [] %] +[% saved_results = [] %] +[% FOREACH r = results %] + [% standard_results.push(r) IF !r.saved %] + [% saved_results.push(r) IF r.saved %] +[% END %] + +
+
+
+
+ Choose query: + + [% IF NOT saved_results.size %] + + (add or remove saved searches) + + [% END %] +
+ + [% FOREACH r = standard_results %] + [% PROCESS query_results r = r %] + [% END %] + + [% FOREACH r = saved_results %] + [% PROCESS query_results r = r %] + [% END %] +
+ + +
+
+
+ +[% PROCESS global/footer.html.tmpl %] + +[% BLOCK query_results %] +
+ [% IF r.description %] +
+ [% r.description FILTER html %] +
+ [% END %] + + + [% r.bugs.size FILTER html %] [% terms.bugs %] found + +
+ + + + + + + + + + + [% FOREACH bug = r.bugs %] + + + + + + + [% END %] + +
IDUpdatedStatusSummary
[% bug.bug_id FILTER html %][% bug.updated FILTER html %][% bug.bug_status FILTER html %][% bug.short_desc FILTER html %]
+
+ +
+[% END %] -- cgit v1.2.3-24-g4f1b