liquid_feedback_frontend

diff app/main/_layout/report.html @ 34:a851cc1d9903

Beautified report view for closed issues
author bsw
date Wed Feb 24 12:37:28 2010 +0100 (2010-02-24)
parents a6caaff47205
children
line diff
     1.1 --- a/app/main/_layout/report.html	Tue Feb 23 21:10:56 2010 +0100
     1.2 +++ b/app/main/_layout/report.html	Wed Feb 24 12:37:28 2010 +0100
     1.3 @@ -17,7 +17,7 @@
     1.4          el.style.display = 'block';
     1.5        }
     1.6        function undo() {
     1.7 -        if (lastEls.length > 0) {
     1.8 +        if (lastEls.length > 1) {
     1.9            var el = lastEls.pop();
    1.10            el.style.display='none';
    1.11          };
    1.12 @@ -27,6 +27,7 @@
    1.13        }
    1.14        var prev_issues = {};
    1.15        var prev_initiatives = {};
    1.16 +      var parents = {};
    1.17        var next_initiatives = {};
    1.18        var next_issues = {};
    1.19        function openPrevIssue() {
    1.20 @@ -35,6 +36,9 @@
    1.21        function openPrevInitiative() {
    1.22          openEl(prev_initiatives[lastEls[lastEls.length-1].id]);
    1.23        };
    1.24 +      function openParent() {
    1.25 +        openEl(parents[lastEls[lastEls.length-1].id]);
    1.26 +      };
    1.27        function openNextInitiative() {
    1.28          openEl(next_initiatives[lastEls[lastEls.length-1].id]);
    1.29        };
    1.30 @@ -53,6 +57,24 @@
    1.31          initiative_id_el.value = "";
    1.32        }
    1.33      </script>
    1.34 +    <style>
    1.35 +      .nav {
    1.36 +        font-size: 75%;
    1.37 +      }
    1.38 +      .nav .left {
    1.39 +        float: left;
    1.40 +      }
    1.41 +
    1.42 +      .nav a {
    1.43 +        text-decoration: none;
    1.44 +        margin-left: 0.5em;
    1.45 +        padding: 1ex;
    1.46 +        background-color: #ddd;
    1.47 +      }
    1.48 +      .nav img {
    1.49 +        vertical-align: middle;
    1.50 +      }
    1.51 +    </style>
    1.52    </head>
    1.53    <body>
    1.54      <div class="main" id="default">

Impressum / About Us