liquid_feedback_frontend

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

Impressum / About Us