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">
|
|
8 <script type="text/javascript" src="/kupuEditor/kupuinit_form.js">
|
|
9
|
|
10 </script>
|
|
11 <script type="text/javascript" src="/kupuEditor/kupustart_form.js">
|
|
12
|
|
13 </script>
|
|
14 </metal:macros>
|
37
|
15 </metal:macros>
|
|
16 </metal:x>
|
|
17 <body>
|
170
|
18 <tal:block metal:fill-slot="navsel" tal:define="global menusel string:cv" />
|
37
|
19
|
170
|
20 <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">
|
|
21 <form tal:attributes="action string:$root/editProfile" method="post">
|
|
22 <input type="hidden" name="key" tal:attributes="value here/content/key"/>
|
|
23 <tal:x tal:condition="python:(here.content.profile is None) | (here.content.profile=='')">
|
|
24 <p>You haven't edited your profile yet, this entry is generated automatically from you old CV entry, your current work
|
|
25 entry, and research interests entry from you old profile!</p>
|
|
26 </tal:x>
|
37
|
27
|
170
|
28 <div>
|
|
29 <span class="kupu-tb-buttongroup">
|
|
30 <button type="button" id="kupu-preview-button" title="preview: alt-p" accesskey="p">Preview</button>
|
|
31 </span>
|
|
32 <span class="kupu-tb-buttongroup">
|
|
33 <button type="button" id="kupu-save-button" title="save: alt-s" accesskey="s">Publish</button>
|
|
34 </span>
|
|
35 </div>
|
37
|
36
|
170
|
37 <metal:macros use-macro="here/kupuEditor/kupumacros/macros/xmlconfig">
|
|
38 <metal:macros fill-slot="dst">saveEditedContent</metal:macros>
|
|
39 </metal:macros>
|
|
40 <metal:macros use-macro="here/kupuEditor/kupumacros/macros/fulleditor">
|
|
41 <metal:macros fill-slot="toolbox_properties">
|
|
42 <div class="kupu-toolbox" id="kupu-toolbox-properties">
|
|
43 <input type="hidden" class="wide" id="kupu-properties-title" />
|
|
44 <input type="hidden" class="wide" id="kupu-properties-description" />
|
|
45 </div>
|
|
46 </metal:macros>
|
|
47 <metal:macros fill-slot="toolbox_tables">
|
|
48 <div class="kupu-toolbox" id="kupu-toolbox-properties">
|
|
49 <input type="hidden" class="wide" id="kupu-table-classchooser" />
|
|
50 <input type="hidden" class="wide" id="kupu-table-newrows" />
|
|
51 <input type="hidden" class="wide" id="kupu-table-newcols" />
|
|
52 </div>
|
|
53 </metal:macros>
|
|
54
|
|
55 <metal:macros fill-slot="editorframe">
|
|
56 <iframe class="kupu-editor-iframe" id="kupu-editor" frameborder="0" scrolling="auto" src="fulldoc"
|
|
57 tal:attributes="src python:here.REQUEST['URL1']+'/'+here.getStaffURL()+'/getProfile?time='+here.REQUEST.get('time','0')">
|
|
58 </iframe>
|
|
59 </metal:macros>
|
|
60
|
|
61 </metal:macros>
|
|
62 </form>
|
|
63 </tal:block>
|
37
|
64 </body>
|
|
65 </html>
|