Last change
on this file since 428 was
428,
checked in by duh, 13 years ago
|
- upgraded jQuery plugin to 1.4.2
- fixed bug in qTip library
- fixed new grails issue in template editor
- removed jQuery-ui old version before upgrading...
|
-
Property svn:keywords set to
Date Author Rev
|
File size:
1.0 KB
|
Line | |
---|
1 | <% |
---|
2 | /** |
---|
3 | * Template Editor overview template |
---|
4 | * |
---|
5 | * @author Jeroen Wesbeek |
---|
6 | * @since 20100422 |
---|
7 | * @package wizard |
---|
8 | * @see dbnp.studycapturing.TemplateEditorController |
---|
9 | * |
---|
10 | * Revision information: |
---|
11 | * $Rev: 428 $ |
---|
12 | * $Author: duh $ |
---|
13 | * $Date: 2010-05-18 09:09:55 +0000 (di, 18 mei 2010) $ |
---|
14 | */ |
---|
15 | %> |
---|
16 | <%@ page contentType="text/html;charset=UTF-8" %> |
---|
17 | <html> |
---|
18 | <head> |
---|
19 | <meta name="layout" content="dialog"/> |
---|
20 | <title>template editor</title> |
---|
21 | </head> |
---|
22 | <body> |
---|
23 | |
---|
24 | <script type="text/javascript"> |
---|
25 | $(function() { |
---|
26 | $("#sortable").sortable({ |
---|
27 | placeholder: 'ui-state-highlight' |
---|
28 | }); |
---|
29 | $("#sortable").disableSelection(); |
---|
30 | }); |
---|
31 | </script> |
---|
32 | |
---|
33 | <g:form action="pages" name="wizardForm" id="wizardForm"> |
---|
34 | <wizard:templateSelect name="template" description="Template" value="${template}" entity="${entity}" addDummy="true" onChange="this.form.submit();" /> |
---|
35 | </g:form> |
---|
36 | |
---|
37 | <g:if test="${template}"> |
---|
38 | <ul id="sortable"> |
---|
39 | <g:render template="elements/all" collection="${template.fields}" /> |
---|
40 | </ul> |
---|
41 | </g:if> |
---|
42 | |
---|
43 | add a new field: |
---|
44 | <!-- g:select from="${templateFields}" //--> |
---|
45 | |
---|
46 | </body> |
---|
47 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.