liquid_feedback_frontend
diff app/main/_layout/report.html @ 31:a6caaff47205
Report view for all closed issues added
author | bsw |
---|---|
date | Tue Feb 23 21:09:10 2010 +0100 (2010-02-23) |
parents | |
children | a851cc1d9903 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/app/main/_layout/report.html Tue Feb 23 21:09:10 2010 +0100 1.3 @@ -0,0 +1,65 @@ 1.4 +<html> 1.5 + <head> 1.6 + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 1.7 + <title><!-- WEBMCP SLOTNODIV app_name --></title> 1.8 + <link rel="stylesheet" type="text/css" media="screen" href="<!-- WEBMCP SLOTNODIV stylesheet_url -->" /> 1.9 + <script> 1.10 + var lastEls = new Array(); 1.11 + function openEl(el) { 1.12 + var el = document.getElementById(el); 1.13 + if (! el) { 1.14 + return; 1.15 + } 1.16 + if (lastEls.length > 0) { 1.17 + lastEls[lastEls.length-1].style.display='none'; 1.18 + }; 1.19 + lastEls.push(el); 1.20 + el.style.display = 'block'; 1.21 + } 1.22 + function undo() { 1.23 + if (lastEls.length > 0) { 1.24 + var el = lastEls.pop(); 1.25 + el.style.display='none'; 1.26 + }; 1.27 + if (lastEls.length > 0) { 1.28 + lastEls[lastEls.length-1].style.display = 'block'; 1.29 + }; 1.30 + } 1.31 + var prev_issues = {}; 1.32 + var prev_initiatives = {}; 1.33 + var next_initiatives = {}; 1.34 + var next_issues = {}; 1.35 + function openPrevIssue() { 1.36 + openEl(prev_issues[lastEls[lastEls.length-1].id]); 1.37 + }; 1.38 + function openPrevInitiative() { 1.39 + openEl(prev_initiatives[lastEls[lastEls.length-1].id]); 1.40 + }; 1.41 + function openNextInitiative() { 1.42 + openEl(next_initiatives[lastEls[lastEls.length-1].id]); 1.43 + }; 1.44 + function openNextIssue() { 1.45 + openEl(next_issues[lastEls[lastEls.length-1].id]); 1.46 + }; 1.47 + function openElDirect() { 1.48 + var issue_id_el = document.getElementById("input_issue"); 1.49 + var initiative_id_el = document.getElementById("input_initiative"); 1.50 + if (initiative_id_el.value) { 1.51 + openEl("initiative_" + initiative_id_el.value); 1.52 + } else if (issue_id_el.value) { 1.53 + openEl("issue_" + issue_id_el.value); 1.54 + }; 1.55 + issue_id_el.value = ""; 1.56 + initiative_id_el.value = ""; 1.57 + } 1.58 + </script> 1.59 + </head> 1.60 + <body> 1.61 + <div class="main" id="default"> 1.62 + <!-- WEBMCP SLOT default --> 1.63 + </div> 1.64 + </body> 1.65 + <script> 1.66 + </script> 1.67 +</html> 1.68 +