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 ++++++++++++++++++ .../en/default/pages/mydashboard_old.html.tmpl | 326 +++++++++++++++++++++ 2 files changed, 615 insertions(+) create mode 100644 extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl create mode 100644 extensions/MyDashboard/template/en/default/pages/mydashboard_old.html.tmpl (limited to 'extensions/MyDashboard/template/en/default/pages') 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 %] diff --git a/extensions/MyDashboard/template/en/default/pages/mydashboard_old.html.tmpl b/extensions/MyDashboard/template/en/default/pages/mydashboard_old.html.tmpl new file mode 100644 index 000000000..b7f34a183 --- /dev/null +++ b/extensions/MyDashboard/template/en/default/pages/mydashboard_old.html.tmpl @@ -0,0 +1,326 @@ +[%# 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" ] + yui = [ "datatable", "paginator" ] + javascript_urls = [ "extensions/MyDashboard/web/js/mydashboard.js" ] +%] + + + +[% standard_results = [] %] +[% saved_results = [] %] +[% FOREACH r = results %] + [% standard_results.push(r) IF !r.saved %] + [% saved_results.push(r) IF r.saved %] +[% END %] + + +
+
+ + +
+ + + + [% FOREACH r = standard_results %] + [% PROCESS query_results r = r %] + [% END %] + + + + (back to top) + +
+
+ + + + + + + + + + + [% FOREACH request = requestee_list %] + + + + + + + [% END %] + +
RequesterFlag[% terms.Bug %]Created
[% request.requester FILTER html %][% request.type FILTER html %][% request.status FILTER html %] + [% IF request.attach_id %] + + [% request.attach_id FILTER html %]: [%+ request.attach_summary FILTER html %] + + [% ELSE %] + + [% request.bug_id FILTER html %]: [%+ request.bug_summary FILTER html %] + [% END %] + [% request.created FILTER html %]
+
+ +
+ + + + (back to top) + +
+ + + + + + + + + + + [% FOREACH request = requester_list %] + + + + + + + [% END %] +
RequesteeFlag[% terms.Bug %]Created
[% request.requestee FILTER html %][% request.type FILTER html %][% request.status FILTER html %] + [% IF request.attach_id %] + + [% request.attach_id FILTER html %]: [%+ request.attach_summary FILTER html %] + [% ELSE %] + + [% request.bug_id FILTER html %]: [%+ request.bug_summary FILTER html %] + [% END %] + [% request.created FILTER html %]
+ +
+ +
+ + + + (back to top) + +
+
+ + + + + + + + + [% FOREACH product = products %] + + + + + [% END %] + +
CountProduct
[% product.count FILTER html %] + [% product.product FILTER html %]
+
+ +
+ + [% FOREACH r = saved_results %] + [% PROCESS query_results r = r %] + [% END %] +
+
+ +[% PROCESS global/footer.html.tmpl %] + +[% BLOCK query_results %] + + +
+ [% r.heading FILTER html %] +
+ [% IF r.description %] +
+ [% r.description FILTER html %] +
+ [% END %] + + [% r.bugs.size FILTER html %] [% terms.bugs %] found. + + + (show list) + + + (back to top) + +
+
+ + + + + + + + + + + + + + [% FOREACH bug = r.bugs %] + + + + + + + + + + [% END %] + +
IDProductVersionComponentStatusSeveritySummary
[% bug.bug_id FILTER html %][% bug.product FILTER html %][% bug.version FILTER html %][% bug.component FILTER html %][% bug.bug_status FILTER html %][% bug.bug_severity FILTER html %][% bug.short_desc FILTER html %]
+
+
+[% END %] -- cgit v1.2.3-24-g4f1b