37
|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
170
|
3 <html xmlns:metal="http://xml.zope.org/namespaces/metal" xmlns:tal="http://xml.zope.org/namespaces/tal"
|
|
4 metal:use-macro="here/mainEditFile/macros/page">
|
|
5 <metal:x metal:fill-slot="javascript" tal:define="global onload string:kupu = startKupu();">
|
|
6 <metal:macros xmlns:metal="http://xml.zope.org/namespaces/metal" use-macro="here/kupuEditor/kupumacros/macros/head">
|
|
7 <metal:macros fill-slot="bootstrap-editor">
|
187
|
8 <script type="text/javascript" src="/kupuEditor/kupuinit_form.js"></script>
|
|
9 <script type="text/javascript" src="/kupuEditor/kupustart_form.js"></script>
|
170
|
10 </metal:macros>
|
37
|
11 </metal:macros>
|
|
12 </metal:x>
|
|
13 <body>
|
170
|
14 <tal:block metal:fill-slot="navsel" tal:define="global menusel string:cv" />
|
37
|
15
|
170
|
16 <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">
|
|
17 <form tal:attributes="action string:$root/editProfile" method="post">
|
|
18 <input type="hidden" name="key" tal:attributes="value here/content/key"/>
|
187
|
19 <tal:x tal:condition="not:here/content/profile">
|
170
|
20 <p>You haven't edited your profile yet, this entry is generated automatically from you old CV entry, your current work
|
|
21 entry, and research interests entry from you old profile!</p>
|
|
22 </tal:x>
|
37
|
23
|
170
|
24 <div>
|
|
25 <span class="kupu-tb-buttongroup">
|
|
26 <button type="button" id="kupu-preview-button" title="preview: alt-p" accesskey="p">Preview</button>
|
187
|
27 </span>
|
170
|
28 <span class="kupu-tb-buttongroup">
|
|
29 <button type="button" id="kupu-save-button" title="save: alt-s" accesskey="s">Publish</button>
|
|
30 </span>
|
|
31 </div>
|
37
|
32
|
170
|
33 <metal:macros use-macro="here/kupuEditor/kupumacros/macros/xmlconfig">
|
|
34 <metal:macros fill-slot="dst">saveEditedContent</metal:macros>
|
|
35 </metal:macros>
|
|
36 <metal:macros use-macro="here/kupuEditor/kupumacros/macros/fulleditor">
|
|
37 <metal:macros fill-slot="toolbox_properties">
|
|
38 <div class="kupu-toolbox" id="kupu-toolbox-properties">
|
|
39 <input type="hidden" class="wide" id="kupu-properties-title" />
|
|
40 <input type="hidden" class="wide" id="kupu-properties-description" />
|
|
41 </div>
|
|
42 </metal:macros>
|
|
43 <metal:macros fill-slot="toolbox_tables">
|
|
44 <div class="kupu-toolbox" id="kupu-toolbox-properties">
|
|
45 <input type="hidden" class="wide" id="kupu-table-classchooser" />
|
|
46 <input type="hidden" class="wide" id="kupu-table-newrows" />
|
|
47 <input type="hidden" class="wide" id="kupu-table-newcols" />
|
|
48 </div>
|
|
49 </metal:macros>
|
|
50
|
|
51 <metal:macros fill-slot="editorframe">
|
|
52 <iframe class="kupu-editor-iframe" id="kupu-editor" frameborder="0" scrolling="auto" src="fulldoc"
|
187
|
53 tal:attributes="src python:root+'/getProfile?time='+here.REQUEST.get('time','0')">
|
170
|
54 </iframe>
|
|
55 </metal:macros>
|
|
56
|
|
57 </metal:macros>
|
|
58 </form>
|
|
59 </tal:block>
|
37
|
60 </body>
|
|
61 </html>
|