annotate zpt/project/edit_description.zpt @ 284:1a103b073c72 default tip

make favicon url host and schema relative.
author casties
date Thu, 25 Jun 2015 17:44:57 +0200
parents 649f74b167e6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
22
5ed0b0c21fe5 started to clean up MPIWGProject.
casties
parents: 0
diff changeset
3 <html metal:use-macro="here/edit_template/macros/page" xmlns:metal="http://xml.zope.org/namespaces/metal" >
0
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
4 <head>
22
5ed0b0c21fe5 started to clean up MPIWGProject.
casties
parents: 0
diff changeset
5 <metal:block metal:fill-slot="html_head">
50
e30a4bd074db more cleaning up projects.
casties
parents: 22
diff changeset
6 <metal:macros use-macro="here/kupuEditor/kupumacros/macros/head">
22
5ed0b0c21fe5 started to clean up MPIWGProject.
casties
parents: 0
diff changeset
7 <metal:macros fill-slot="bootstrap-editor">
5ed0b0c21fe5 started to clean up MPIWGProject.
casties
parents: 0
diff changeset
8 <script type="text/javascript" src="/kupuEditor/kupuinit_form.js"> </script>
5ed0b0c21fe5 started to clean up MPIWGProject.
casties
parents: 0
diff changeset
9 <script type="text/javascript" src="/kupuEditor/kupustart_form.js"> </script>
5ed0b0c21fe5 started to clean up MPIWGProject.
casties
parents: 0
diff changeset
10 </metal:macros>
5ed0b0c21fe5 started to clean up MPIWGProject.
casties
parents: 0
diff changeset
11 </metal:macros>
5ed0b0c21fe5 started to clean up MPIWGProject.
casties
parents: 0
diff changeset
12 <tal:block tal:define="global onload string:kupu = startKupu();"/>
5ed0b0c21fe5 started to clean up MPIWGProject.
casties
parents: 0
diff changeset
13 </metal:block>
0
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
14 </head>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
15 <body>
22
5ed0b0c21fe5 started to clean up MPIWGProject.
casties
parents: 0
diff changeset
16 <tal:block metal:fill-slot="navsel" tal:define="global menusel string:description" />
0
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
17 <tal:block metal:fill-slot="body">
97
7b96a85552aa fix bugs in project editing.
casties
parents: 50
diff changeset
18 <form action="saveEditedContent" method="post">
0
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
19 <div>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
20 <span class="kupu-tb-buttongroup">
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
21 <button type="button" id="kupu-preview-button" title="preview: alt-p" accesskey="p">Preview</button>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
22 </span>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
23 <span class="kupu-tb-buttongroup">
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
24 <button type="button" id="kupu-save-button" title="save: alt-s" accesskey="s">Publish</button>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
25 </span>
231
649f74b167e6 extract getPlaintext to SrvTxtUtils. add character count to project description editor.
casties
parents: 97
diff changeset
26 <span>(currently published: <span tal:replace="python:len(here.getDescription(filter='plaintext', length=0))"/> characters)</span>
0
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
27 </div>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
28 <metal:macros use-macro="here/kupuEditor/kupumacros/macros/xmlconfig">
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
29 <metal:macros fill-slot="dst">saveEditedContent</metal:macros>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
30 </metal:macros>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
31 <metal:macros use-macro="here/kupuEditor/kupumacros/macros/fulleditor">
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
32 <metal:macros fill-slot="tb_select_styles">
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
33 <select id="kupu-tb-styles">
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
34 <option xmlns:i18n="http://xml.zope.org/namespaces/i18n" value="P" i18n:translate="">
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
35 Normal
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
36 </option>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
37 <option value="H3">
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
38 <span xmlns:i18n="http://xml.zope.org/namespaces/i18n" i18n:translate="">Heading</span>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
39 </option>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
40 </select>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
41 </metal:macros>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
42 <metal:macros fill-slot="toolbox_properties">
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
43 <div class="kupu-toolbox" id="kupu-toolbox-properties">
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
44 <input type="hidden" class="wide" id="kupu-properties-title"/>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
45 <input type="hidden" class="wide" id="kupu-properties-description"/>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
46 </div>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
47 </metal:macros>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
48 <metal:macros fill-slot="toolbox_tables">
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
49 <div class="kupu-toolbox" id="kupu-toolbox-properties">
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
50 <input type="hidden" class="wide" id="kupu-table-classchooser"/>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
51 <input type="hidden" class="wide" id="kupu-table-newrows" />
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
52 <input type="hidden" class="wide" id="kupu-table-newcols" />
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
53 </div>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
54 </metal:macros>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
55 <metal:macros fill-slot="editorframe">
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
56 <tal:block tal:condition="not:python:here.REQUEST.get('fromPreview',None)">
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
57 <iframe class="kupu-editor-iframe" id="kupu-editor" frameborder="0" scrolling="auto" src="fulldoc"
50
e30a4bd074db more cleaning up projects.
casties
parents: 22
diff changeset
58 tal:attributes="src python:here.absolute_url()+'/description_only_html'"> </iframe>
0
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
59 </tal:block>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
60 <tal:block tal:condition="python:here.REQUEST.get('fromPreview',None)">
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
61 <iframe class="kupu-editor-iframe" id="kupu-editor" frameborder="0" scrolling="auto" src="fulldoc"
50
e30a4bd074db more cleaning up projects.
casties
parents: 22
diff changeset
62 tal:attributes="src python:here.absolute_url()+'/previewTemplate/description_only_html'"> </iframe>
0
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
63 </tal:block>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
64 </metal:macros>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
65 </metal:macros>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
66 <p></p>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
67 </form>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
68 </tal:block>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
69 </body>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
70 </html>