Last change
on this file since 996 was
996,
checked in by robert@…, 12 years ago
|
Implemented clone feature in template editor (ticket #6), added a rest call 'getUser' and added webflow to the application.properties again.
|
-
Property svn:keywords set to
Author Date Rev
|
File size:
1.4 KB
|
Line | |
---|
1 | <span class="listButtons"> |
---|
2 | <img onClick="editTemplate( ${template.id} );" src="${createLinkTo( dir: 'images/icons', file: 'application_edit.png', plugin: 'famfamfam' )}" alt="Edit template properties" title="Edit template properties"> |
---|
3 | <img onClick="editFields( ${template.id} );"src="${createLinkTo( dir: 'images/icons', file: 'application_form.png', plugin: 'famfamfam' )}" alt="Add/remove template fields" title="Add/remove template fields"> |
---|
4 | <img onClick="cloneTemplate( ${template.id} );"src="${createLinkTo( dir: 'images/icons', file: 'page_copy.png', plugin: 'famfamfam' )}" alt="Clone this template" title="Clone this template"> |
---|
5 | <img onClick="if( confirm( 'Are you sure?' ) ) { deleteTemplate( ${template.id} ); }" src="${createLinkTo( dir: 'images/icons', file: 'delete.png', plugin: 'famfamfam' )}" alt="Delete this template" title="Delete this template"> |
---|
6 | </span> |
---|
7 | ${template.name} |
---|
8 | |
---|
9 | |
---|
10 | <form class="templateField_form" id="template_${template.id}_form" action="updateTemplate"> |
---|
11 | <g:hiddenField name="id" value="${template.id}" /> |
---|
12 | <g:hiddenField name="version" value="${template.version}" /> |
---|
13 | <g:render template="elements/templateForm" model="['template': template]"/> |
---|
14 | <div class="templateFieldButtons"> |
---|
15 | <input type="button" value="Save" onClick="updateTemplate( ${template.id} );"> |
---|
16 | <input type="button" value="Close" onClick="hideTemplateForm( ${template.id} );"> |
---|
17 | </div> |
---|
18 | </form> |
---|
Note: See
TracBrowser
for help on using the repository browser.