liquid_feedback_frontend
annotate 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 | 
| rev | line source | 
|---|---|
| bsw@31 | 1 <html> | 
| bsw@31 | 2 <head> | 
| bsw@31 | 3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | 
| bsw@31 | 4 <title><!-- WEBMCP SLOTNODIV app_name --></title> | 
| bsw@31 | 5 <link rel="stylesheet" type="text/css" media="screen" href="<!-- WEBMCP SLOTNODIV stylesheet_url -->" /> | 
| bsw@31 | 6 <script> | 
| bsw@31 | 7 var lastEls = new Array(); | 
| bsw@31 | 8 function openEl(el) { | 
| bsw@31 | 9 var el = document.getElementById(el); | 
| bsw@31 | 10 if (! el) { | 
| bsw@31 | 11 return; | 
| bsw@31 | 12 } | 
| bsw@31 | 13 if (lastEls.length > 0) { | 
| bsw@31 | 14 lastEls[lastEls.length-1].style.display='none'; | 
| bsw@31 | 15 }; | 
| bsw@31 | 16 lastEls.push(el); | 
| bsw@31 | 17 el.style.display = 'block'; | 
| bsw@31 | 18 } | 
| bsw@31 | 19 function undo() { | 
| bsw@31 | 20 if (lastEls.length > 0) { | 
| bsw@31 | 21 var el = lastEls.pop(); | 
| bsw@31 | 22 el.style.display='none'; | 
| bsw@31 | 23 }; | 
| bsw@31 | 24 if (lastEls.length > 0) { | 
| bsw@31 | 25 lastEls[lastEls.length-1].style.display = 'block'; | 
| bsw@31 | 26 }; | 
| bsw@31 | 27 } | 
| bsw@31 | 28 var prev_issues = {}; | 
| bsw@31 | 29 var prev_initiatives = {}; | 
| bsw@31 | 30 var next_initiatives = {}; | 
| bsw@31 | 31 var next_issues = {}; | 
| bsw@31 | 32 function openPrevIssue() { | 
| bsw@31 | 33 openEl(prev_issues[lastEls[lastEls.length-1].id]); | 
| bsw@31 | 34 }; | 
| bsw@31 | 35 function openPrevInitiative() { | 
| bsw@31 | 36 openEl(prev_initiatives[lastEls[lastEls.length-1].id]); | 
| bsw@31 | 37 }; | 
| bsw@31 | 38 function openNextInitiative() { | 
| bsw@31 | 39 openEl(next_initiatives[lastEls[lastEls.length-1].id]); | 
| bsw@31 | 40 }; | 
| bsw@31 | 41 function openNextIssue() { | 
| bsw@31 | 42 openEl(next_issues[lastEls[lastEls.length-1].id]); | 
| bsw@31 | 43 }; | 
| bsw@31 | 44 function openElDirect() { | 
| bsw@31 | 45 var issue_id_el = document.getElementById("input_issue"); | 
| bsw@31 | 46 var initiative_id_el = document.getElementById("input_initiative"); | 
| bsw@31 | 47 if (initiative_id_el.value) { | 
| bsw@31 | 48 openEl("initiative_" + initiative_id_el.value); | 
| bsw@31 | 49 } else if (issue_id_el.value) { | 
| bsw@31 | 50 openEl("issue_" + issue_id_el.value); | 
| bsw@31 | 51 }; | 
| bsw@31 | 52 issue_id_el.value = ""; | 
| bsw@31 | 53 initiative_id_el.value = ""; | 
| bsw@31 | 54 } | 
| bsw@31 | 55 </script> | 
| bsw@31 | 56 </head> | 
| bsw@31 | 57 <body> | 
| bsw@31 | 58 <div class="main" id="default"> | 
| bsw@31 | 59 <!-- WEBMCP SLOT default --> | 
| bsw@31 | 60 </div> | 
| bsw@31 | 61 </body> | 
| bsw@31 | 62 <script> | 
| bsw@31 | 63 </script> | 
| bsw@31 | 64 </html> | 
| bsw@31 | 65 |