annotate zpt/staff/edit_profile.zpt @ 170:485bf377913a

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