annotate zpt/staff/edit_profile.zpt @ 284:1a103b073c72 default tip

make favicon url host and schema relative.
author casties
date Thu, 25 Jun 2015 17:44:57 +0200
parents e2d2f018a8e2
children
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">
187
71c2d76f09b5 fix editProfile.
casties
parents: 170
diff changeset
8 <script type="text/javascript" src="/kupuEditor/kupuinit_form.js"></script>
71c2d76f09b5 fix editProfile.
casties
parents: 170
diff changeset
9 <script type="text/javascript" src="/kupuEditor/kupustart_form.js"></script>
170
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
10 </metal:macros>
37
9b38ba45773b ?berarbeitung MPIWGStaff
dwinter
parents:
diff changeset
11 </metal:macros>
9b38ba45773b ?berarbeitung MPIWGStaff
dwinter
parents:
diff changeset
12 </metal:x>
9b38ba45773b ?berarbeitung MPIWGStaff
dwinter
parents:
diff changeset
13 <body>
170
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
14 <tal:block metal:fill-slot="navsel" tal:define="global menusel string:cv" />
37
9b38ba45773b ?berarbeitung MPIWGStaff
dwinter
parents:
diff changeset
15
170
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
16 <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
17 <form tal:attributes="action string:$root/editProfile" method="post">
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
18 <input type="hidden" name="key" tal:attributes="value here/content/key"/>
187
71c2d76f09b5 fix editProfile.
casties
parents: 170
diff changeset
19 <tal:x tal:condition="not:here/content/profile">
170
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
20 <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
21 entry, and research interests entry from you old profile!</p>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
22 </tal:x>
37
9b38ba45773b ?berarbeitung MPIWGStaff
dwinter
parents:
diff changeset
23
170
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
24 <div>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
25 <span class="kupu-tb-buttongroup">
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
26 <button type="button" id="kupu-preview-button" title="preview: alt-p" accesskey="p">Preview</button>
187
71c2d76f09b5 fix editProfile.
casties
parents: 170
diff changeset
27 </span>
170
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
28 <span class="kupu-tb-buttongroup">
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
29 <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
30 </span>
233
e2d2f018a8e2 add character count to staff profile editing page.
casties
parents: 187
diff changeset
31 <span>(currently published: <span tal:replace="python:len(here.getProfile(filter='plaintext', length=0))"/> characters)</span>
170
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
32 </div>
37
9b38ba45773b ?berarbeitung MPIWGStaff
dwinter
parents:
diff changeset
33
170
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
34 <metal:macros use-macro="here/kupuEditor/kupumacros/macros/xmlconfig">
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
35 <metal:macros fill-slot="dst">saveEditedContent</metal:macros>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
36 </metal:macros>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
37 <metal:macros use-macro="here/kupuEditor/kupumacros/macros/fulleditor">
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
38 <metal:macros fill-slot="toolbox_properties">
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
39 <div class="kupu-toolbox" id="kupu-toolbox-properties">
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
40 <input type="hidden" class="wide" id="kupu-properties-title" />
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
41 <input type="hidden" class="wide" id="kupu-properties-description" />
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
42 </div>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
43 </metal:macros>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
44 <metal:macros fill-slot="toolbox_tables">
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
45 <div class="kupu-toolbox" id="kupu-toolbox-properties">
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
46 <input type="hidden" class="wide" id="kupu-table-classchooser" />
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
47 <input type="hidden" class="wide" id="kupu-table-newrows" />
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
48 <input type="hidden" class="wide" id="kupu-table-newcols" />
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
49 </div>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
50 </metal:macros>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
51
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
52 <metal:macros fill-slot="editorframe">
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
53 <iframe class="kupu-editor-iframe" id="kupu-editor" frameborder="0" scrolling="auto" src="fulldoc"
233
e2d2f018a8e2 add character count to staff profile editing page.
casties
parents: 187
diff changeset
54 tal:attributes="src python:root+'/getProfileHtml?time='+request.get('time','0')">
170
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
55 </iframe>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
56 </metal:macros>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
57
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
58 </metal:macros>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
59 </form>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
60 </tal:block>
37
9b38ba45773b ?berarbeitung MPIWGStaff
dwinter
parents:
diff changeset
61 </body>
9b38ba45773b ?berarbeitung MPIWGStaff
dwinter
parents:
diff changeset
62 </html>