Changeset 1982
- Timestamp:
- Aug 25, 2011, 3:01:09 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 56 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/dbnp/visualization/VisualizeController.groovy
r1981 r1982 41 41 entities.each { entity -> 42 42 def entityFields = TemplateField.findAll( "from TemplateField where entity = ?", [ entity ] ); 43 44 println "Entity " + entity + " -> " + entityFields45 46 43 def domainFields = entity.giveDomainFields(); 47 44 -
trunk/grails-app/views/visualize/index.gsp
r1981 r1982 148 148 149 149 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; } 151 160 </style> 152 161 </head> … … 174 183 Choose a study to visualize 175 184 </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> 177 188 178 189 <div id="step2"> 179 190 <h3><span class="nummer">2</span>Variables</h3> 180 191 <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 /> 182 193 <label for="columns">Columns</label> <select id="columns" name="columns" onChange="changeFields();"></select> 183 194 </p>
Note: See TracChangeset
for help on using the changeset viewer.