From 37c8ef5cb2750f8039f3b26422d5a5c7cfc61f59 Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Fri, 30 Nov 2012 15:03:59 -0500 Subject: Current dashboard work --- .../en/default/pages/mydashboard.html.tmpl | 203 ++++----------------- 1 file changed, 38 insertions(+), 165 deletions(-) (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 index 60c3be668..b85ba3cc8 100644 --- a/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl +++ b/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl @@ -10,53 +10,34 @@ [% 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", + style_urls = [ "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 = "MD.showQuerySection();" %] - - -[% standard_results = [] %] -[% saved_results = [] %] -[% FOREACH r = results %] - [% standard_results.push(r) IF !r.saved %] - [% saved_results.push(r) IF r.saved %] +[% standard_queries = [] %] +[% saved_queries = [] %] +[% FOREACH q = queries %] + [% standard_queries.push(q) IF !q.saved %] + [% saved_queries.push(q) IF q.saved %] [% END %] + +[%# These need to load after yui-min.js %] + +
-
+
Choose query: - - [% FOREACH r = standard_results %] + [% FOREACH r = standard_queries %] [% END%] - [% FOREACH r = saved_results %] + [% FOREACH r = saved_queries %] [% END %] @@ -66,157 +47,49 @@
- [% FOREACH r = standard_results %] - [% PROCESS query_results r = r %] - [% END %] - - [% FOREACH r = saved_results %] - [% PROCESS query_results r = r %] - [% END %] +
+
+
+ 0 bugs found + | Refresh + Loading... +
+
+
[% 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.changeddate FILTER time('%Y:%m:%d') FILTER html %][% bug.bug_status FILTER html %][% bug.short_desc FILTER html %]
-
- -
-[% END %] -- cgit v1.2.3-24-g4f1b