Changeset 1982


Ignore:
Timestamp:
Aug 25, 2011, 3:01:09 PM (12 years ago)
Author:
robert@…
Message:

Added jqplot javascripts

Location:
trunk
Files:
56 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/visualization/VisualizeController.groovy

    r1981 r1982  
    4141                entities.each { entity ->
    4242                        def entityFields = TemplateField.findAll( "from TemplateField where entity = ?", [ entity ] );
    43                        
    44                         println "Entity " + entity + " -> " + entityFields
    45                        
    4643                        def domainFields = entity.giveDomainFields();
    4744                       
  • trunk/grails-app/views/visualize/index.gsp

    r1981 r1982  
    148148               
    149149                        background: #ffe0e0 url(${fam.icon( name: 'error' )}) 10px 10px no-repeat;
    150                         padding: 10px 10px 10px 33px;           
     150                        padding: 10px 10px 10px 33px;
     151                }
     152               
     153                label { display: inline-block; zoom: 1; *display: inline; width: 110px; margin-top: 10px;  }
     154
     155                #visualizationForm { position: relative; margin: 10px 0; font-size: 11px; }
     156                #visualizationForm h3 { font-size: 13px; }
     157                #visualizationForm h3 .nummer { display: inline-block; zoom: 1; *display: inline; width: 25px; }
     158               
     159                #visualizationForm p { margin-left: 25px; }
    151160        </style>
    152161</head>
     
    174183                        Choose a study to visualize
    175184                </p>
    176                 <g:select from="${studies}" optionKey="id" optionValue="title" name="study" onChange="changeStudy();"/>
     185                <p>
     186                        <label>Study</label><g:select from="${studies}" optionKey="id" optionValue="title" name="study" onChange="changeStudy();"/>
     187                </p>
    177188               
    178189                <div id="step2">
    179190                        <h3><span class="nummer">2</span>Variables</h3>
    180191                        <p>
    181                                 <label for="rows">Rows</label> <select id="rows" name="rows" onChange="changeFields();"></select>
     192                                <label for="rows">Rows</label> <select id="rows" name="rows" onChange="changeFields();"></select><br />
    182193                                <label for="columns">Columns</label> <select id="columns" name="columns" onChange="changeFields();"></select>
    183194                        </p>
Note: See TracChangeset for help on using the changeset viewer.