Changeset 67 for Dev/trunk


Ignore:
Timestamp:
08/02/11 16:15:51 (14 years ago)
Author:
fpvanagthoven
Message:

colors

Location:
Dev/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/classes/SessionCreationTool.php

    r66 r67  
    4242        <script type="text/javascript">
    4343            var surveys = new Array();
    44                                                                                                                                    
     44                                                                                                                                           
    4545            init();
    46                                                                                                                                                
     46                                                                                                                                                       
    4747            function init() {
    4848                loadSurveys();
    4949                loadApplications();
    5050            }
    51                                                                                                                                                
     51                                                                                                                                                       
    5252            function loadSurveys() {
    5353        <?php
     
    6262        ?>
    6363            }
    64                                                                                                                                    
     64                                                                                                                                           
    6565            function loadApplications() {
    66                                                                                                                                        
    67             }
    68                                                                                                                                    
     66                                                                                                                                               
     67            }
     68                                                                                                                                           
    6969            function Survey(title, id)
    7070            {
     
    7272                this.id = id;
    7373            }
    74                                                                                                                                    
     74                                                                                                                                           
    7575            // =============================================================
    76                                                                                                                                    
     76                                                                                                                                           
    7777            function addSurvey() {
    7878                var pipeline = document.getElementById("pipeline");
    7979                var surveysList = document.getElementById("surveysList");
    80                                
     80                                       
    8181                var entry = document.createElement("option");
    8282                entry.setAttribute("value", surveys[surveysList.selectedIndex].id);
     83                entry.style.backgroundColor = "#88c5e4";
    8384                entry.innerHTML = surveys[surveysList.selectedIndex].title;
     85                               
     86                pipeline.appendChild(entry);
     87            }
     88                   
     89            function addDashboard() {
     90                var pipeline = document.getElementById("pipeline");
     91                       
     92                var entry = document.createElement("option");
     93                entry.setAttribute("value", "dashboard");
     94                entry.style.backgroundColor = "#555";
     95                entry.style.color = "white";
     96                entry.innerHTML = "Dashboard";
     97               
    8498                       
    8599                pipeline.appendChild(entry);
    86100            }
    87                                                                                                                                            
     101                                                                                                                                                   
    88102        </script>
    89103        <?php
     
    142156    private function pipelineSelect() {
    143157        ?>
    144         <select id="pipeline" size="5">
     158        <select id="pipeline" size="1000">
    145159
    146160        </select>
     
    166180    private function applicationsSelect() {
    167181        ?>
    168         <select size="5" class="width100p">
     182        <select id="applicationsList" size="5" class="width100p">
    169183        </select>
    170184        <?php
     
    185199    private function addDashboardToPipelineButton() {
    186200        ?>
    187         <input type="button" class="surveyButton nextLine pipelineButton leftAlign leftPadding1" value="+ Dashboard" />
     201        <input type="button" class="surveyButton nextLine pipelineButton leftAlign leftPadding1" value="+ Dashboard" onclick="addDashboard()"/>
    188202        <?php
    189203    }
  • Dev/trunk/css/awesome.css

    r66 r67  
    397397   ===================== STYLESHEET OF GLORY ======================== */
    398398#sessionCreationForm {
    399     padding-bottom: 10em;
     399    padding-bottom: 16em;
    400400}
    401401
     
    413413    display: block;
    414414    width: 100%;
     415    height: 15em;
    415416    overflow: hidden;
    416417}
    417418
     419#surveysList {
     420    height: 15em;
     421}
     422
     423#applicationsList {
     424    height: 15em;
     425}
     426
    418427.pipelineButton {
    419    
     428
    420429}
    421430
Note: See TracChangeset for help on using the changeset viewer.