1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
---|
2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" |
---|
4 | xmlns:tal="http://xml.zope.org/namespaces/tal"> |
---|
5 | <head> |
---|
6 | <title>Content migration configuration</title> |
---|
7 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
---|
8 | </head> |
---|
9 | <body> |
---|
10 | |
---|
11 | <h1>Configuration of transmogrifier pipelines for content migration</h1> |
---|
12 | |
---|
13 | <div style="background-color:#eee; padding:0.5em; line-height:1.2em;"> |
---|
14 | The default configuration is registered in ZCML and it's initially displayed |
---|
15 | in this form. If you click 'Save' button for the first time it will be |
---|
16 | persisted in datebase and will override the default configuration. To swich |
---|
17 | back to default configuration simply leave blank input area and click 'Save'. |
---|
18 | </div> |
---|
19 | |
---|
20 | <pre tal:content="view/status" tal:condition="view/status" |
---|
21 | style="background-color:#ddd; padding:0.5em; |
---|
22 | border: 1px black dashed; line-height:1.2em;"> |
---|
23 | Status |
---|
24 | </pre> |
---|
25 | |
---|
26 | <form action="#" method="POST" |
---|
27 | tal:attributes="action request/getURL"> |
---|
28 | |
---|
29 | <table> |
---|
30 | <tr> |
---|
31 | <td> |
---|
32 | <label>Export configuration <span style="color: red;" tal:condition="python:view.isDefault('export')">(default)</span></label> |
---|
33 | <br/> |
---|
34 | <textarea name="export" cols="80" rows="30" |
---|
35 | tal:content="python:view.getConfig('export')"> |
---|
36 | config |
---|
37 | </textarea> |
---|
38 | </td> |
---|
39 | <td> |
---|
40 | <label>Import configuration <span style="color: red;" tal:condition="python:view.isDefault('import')">(default)</span></label> |
---|
41 | <br/> |
---|
42 | <textarea name="import" cols="80" rows="30" |
---|
43 | tal:content="python:view.getConfig('import')"> |
---|
44 | config |
---|
45 | </textarea> |
---|
46 | </td> |
---|
47 | </table> |
---|
48 | <input type="submit" name="action" value="Save" /> |
---|
49 | </form> |
---|
50 | |
---|
51 | </body> |
---|
52 | </html> |
---|